import { IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1ServiceExternalTrafficPolicy } from "../../v1/ServiceExternalTrafficPolicy.js"; import { IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1IPFamily } from "../../v1/IPFamily.js"; import { IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1IPFamilyPolicy } from "../../v1/IPFamilyPolicy.js"; import { IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1LoadBalancerSourceRangesPolicyType } from "./LoadBalancerSourceRangesPolicyType.js"; import { IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1ServiceType } from "../../v1/ServiceType.js"; import { ModelData, Model } from "@kubernetes-models/base"; export interface IServiceConfig { /** * Sets the Service.Spec.AllocateLoadBalancerNodePorts in generated Service objects to the given value. */ "allocateLoadBalancerNodePorts"?: boolean; /** * Sets the Service.Spec.ExternalTrafficPolicy in generated Service objects to the given value. */ "externalTrafficPolicy"?: IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1ServiceExternalTrafficPolicy; /** * Sets the Service.Spec.IPFamilies in generated Service objects to the given value. */ "ipFamilies"?: Array; /** * Sets the Service.Spec.IPFamilyPolicy in generated Service objects to the given value. */ "ipFamilyPolicy"?: IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1IPFamilyPolicy; /** * Sets the Service.Spec.LoadBalancerClass in generated Service objects to the given value. */ "loadBalancerClass"?: string; /** * Sets the Service.Spec.LoadBalancerSourceRanges in generated Service objects to the given value. */ "loadBalancerSourceRanges"?: Array; /** * LoadBalancerSourceRangesPolicy defines the policy for the LoadBalancerSourceRanges if the incoming traffic * is allowed or denied. */ "loadBalancerSourceRangesPolicy"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1LoadBalancerSourceRangesPolicyType; /** * Sets the Service.Spec.TrafficDistribution in generated Service objects to the given value. */ "trafficDistribution"?: string; /** * Sets the Service.Spec.Type in generated Service objects to the given value. * Only LoadBalancer and NodePort are supported. */ "type"?: IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1ServiceType; } export declare class ServiceConfig extends Model implements IServiceConfig { "allocateLoadBalancerNodePorts"?: boolean; "externalTrafficPolicy"?: IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1ServiceExternalTrafficPolicy; "ipFamilies"?: Array; "ipFamilyPolicy"?: IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1IPFamilyPolicy; "loadBalancerClass"?: string; "loadBalancerSourceRanges"?: Array; "loadBalancerSourceRangesPolicy"?: IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1LoadBalancerSourceRangesPolicyType; "trafficDistribution"?: string; "type"?: IComGithubCiliumCiliumPkgK8sSlimK8sApiCoreV1ServiceType; constructor(data?: ModelData); } export type { IServiceConfig as IComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1ServiceConfig, ServiceConfig as ComGithubCiliumCiliumPkgK8sApisCiliumIoV2alpha1ServiceConfig };