package config
import "k8s.io/cloud-provider/config"
Index ¶
- Constants
- Variables
- type CloudControllerManagerConfiguration
- func (in *CloudControllerManagerConfiguration) DeepCopy() *CloudControllerManagerConfiguration
- func (in *CloudControllerManagerConfiguration) DeepCopyInto(out *CloudControllerManagerConfiguration)
- func (in *CloudControllerManagerConfiguration) DeepCopyObject() runtime.Object
- type CloudProviderConfiguration
- func (in *CloudProviderConfiguration) DeepCopy() *CloudProviderConfiguration
- func (in *CloudProviderConfiguration) DeepCopyInto(out *CloudProviderConfiguration)
- type KubeCloudSharedConfiguration
- func (in *KubeCloudSharedConfiguration) DeepCopy() *KubeCloudSharedConfiguration
- func (in *KubeCloudSharedConfiguration) DeepCopyInto(out *KubeCloudSharedConfiguration)
- type WebhookConfiguration
Constants ¶
const GroupName = "cloudcontrollermanager.config.k8s.io"
GroupName is the group name used in this package
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal} // SchemeBuilder is the scheme builder with scheme init functions to run for this API package SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme )
Types ¶
type CloudControllerManagerConfiguration ¶
type CloudControllerManagerConfiguration struct { metav1.TypeMeta // Generic holds configuration for a generic controller-manager Generic cmconfig.GenericControllerManagerConfiguration // KubeCloudSharedConfiguration holds configuration for shared related features // both in cloud controller manager and kube-controller manager. KubeCloudSharedConfiguration // NodeController holds configuration for node controller // related features. NodeController nodeconfig.NodeControllerConfiguration // ServiceControllerConfiguration holds configuration for ServiceController // related features. ServiceController serviceconfig.ServiceControllerConfiguration // NodeStatusUpdateFrequency is the frequency at which the controller updates nodes' status NodeStatusUpdateFrequency metav1.Duration // Webhook is the configuration for cloud-controller-manager hosted webhooks Webhook WebhookConfiguration }
CloudControllerManagerConfiguration contains elements describing cloud-controller manager.
func (*CloudControllerManagerConfiguration) DeepCopy ¶
func (in *CloudControllerManagerConfiguration) DeepCopy() *CloudControllerManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudControllerManagerConfiguration.
func (*CloudControllerManagerConfiguration) DeepCopyInto ¶
func (in *CloudControllerManagerConfiguration) DeepCopyInto(out *CloudControllerManagerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudControllerManagerConfiguration) DeepCopyObject ¶
func (in *CloudControllerManagerConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CloudProviderConfiguration ¶
type CloudProviderConfiguration struct { // Name is the provider for cloud services. Name string // cloudConfigFile is the path to the cloud provider configuration file. CloudConfigFile string }
CloudProviderConfiguration contains basically elements about cloud provider.
func (*CloudProviderConfiguration) DeepCopy ¶
func (in *CloudProviderConfiguration) DeepCopy() *CloudProviderConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudProviderConfiguration.
func (*CloudProviderConfiguration) DeepCopyInto ¶
func (in *CloudProviderConfiguration) DeepCopyInto(out *CloudProviderConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KubeCloudSharedConfiguration ¶
type KubeCloudSharedConfiguration struct { // CloudProviderConfiguration holds configuration for CloudProvider related features. CloudProviderConfiguration // externalCloudVolumePlugin specifies the plugin to use when cloudProvider is "external". // It is currently used by the in repo cloud providers to handle node and volume control in the KCM. string // useServiceAccountCredentials indicates whether controllers should be run with // individual service account credentials. bool // run with untagged cloud instances bool // routeReconciliationPeriod is the period for reconciling routes created for Nodes by cloud provider.. metav1.Duration // nodeMonitorPeriod is the period for syncing NodeStatus in CloudNodeLifecycleController. metav1.Duration // clusterName is the instance prefix for the cluster. string // clusterCIDR is CIDR Range for Pods in cluster. string // AllocateNodeCIDRs enables CIDRs for Pods to be allocated and, if // ConfigureCloudRoutes is true, to be set on the cloud provider. bool // CIDRAllocatorType determines what kind of pod CIDR allocator will be used. string // configureCloudRoutes enables CIDRs allocated with allocateNodeCIDRs // to be configured on the cloud provider. bool // nodeSyncPeriod is the period for syncing nodes from cloudprovider. Longer // periods will result in fewer calls to cloud provider, but may delay addition // of new nodes to cluster. metav1.Duration }
KubeCloudSharedConfiguration contains elements shared by both kube-controller manager and cloud-controller manager, but not genericconfig.
func (*KubeCloudSharedConfiguration) DeepCopy ¶
func (in *KubeCloudSharedConfiguration) DeepCopy() *KubeCloudSharedConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubeCloudSharedConfiguration.
func (*KubeCloudSharedConfiguration) DeepCopyInto ¶
func (in *KubeCloudSharedConfiguration) DeepCopyInto(out *KubeCloudSharedConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebhookConfiguration ¶
type WebhookConfiguration struct { // Webhooks is the list of webhooks to enable or disable // '*' means "all enabled by default webhooks" // 'foo' means "enable 'foo'" // '-foo' means "disable 'foo'" // first item for a particular name wins Webhooks []string }
func (*WebhookConfiguration) DeepCopy ¶
func (in *WebhookConfiguration) DeepCopy() *WebhookConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfiguration.
func (*WebhookConfiguration) DeepCopyInto ¶
func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
doc.go register.go types.go zz_generated.deepcopy.go
Directories ¶
Path | Synopsis |
---|---|
config/install | |
config/v1alpha1 |
- Version
- v0.32.2 (latest)
- Published
- Feb 13, 2025
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 2 months ago –
Tools for package owners.