Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_config_CloudControllerManagerConfiguration_To_v1alpha1_CloudControllerManagerConfiguration(in *config.CloudControllerManagerConfiguration, ...) error
- func Convert_config_CloudProviderConfiguration_To_v1alpha1_CloudProviderConfiguration(in *cpconfig.CloudProviderConfiguration, out *CloudProviderConfiguration, ...) error
- func Convert_config_KubeCloudSharedConfiguration_To_v1alpha1_KubeCloudSharedConfiguration(in *cpconfig.KubeCloudSharedConfiguration, out *KubeCloudSharedConfiguration, ...) error
- func Convert_config_WebhookConfiguration_To_v1alpha1_WebhookConfiguration(in *config.WebhookConfiguration, out *WebhookConfiguration, s conversion.Scope) error
- func Convert_v1alpha1_CloudControllerManagerConfiguration_To_config_CloudControllerManagerConfiguration(in *CloudControllerManagerConfiguration, ...) error
- func Convert_v1alpha1_CloudProviderConfiguration_To_config_CloudProviderConfiguration(in *CloudProviderConfiguration, out *cpconfig.CloudProviderConfiguration, ...) error
- func Convert_v1alpha1_KubeCloudSharedConfiguration_To_config_KubeCloudSharedConfiguration(in *KubeCloudSharedConfiguration, out *cpconfig.KubeCloudSharedConfiguration, ...) error
- func Convert_v1alpha1_WebhookConfiguration_To_config_WebhookConfiguration(in *WebhookConfiguration, out *config.WebhookConfiguration, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func SetDefaults_CloudControllerManagerConfiguration(obj *CloudControllerManagerConfiguration)
- func SetDefaults_KubeCloudSharedConfiguration(obj *KubeCloudSharedConfiguration)
- func SetObjectDefaults_CloudControllerManagerConfiguration(in *CloudControllerManagerConfiguration)
- type CloudControllerManagerConfiguration
- type CloudProviderConfiguration
- type KubeCloudSharedConfiguration
- type WebhookConfiguration
Constants ¶
const GroupName = "cloudcontrollermanager.config.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( // GroupName is the group name use in this package SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} // 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 = localSchemeBuilder.AddToScheme )
Functions ¶
func Convert_config_CloudControllerManagerConfiguration_To_v1alpha1_CloudControllerManagerConfiguration ¶
func Convert_config_CloudControllerManagerConfiguration_To_v1alpha1_CloudControllerManagerConfiguration(in *config.CloudControllerManagerConfiguration, out *CloudControllerManagerConfiguration, s conversion.Scope) error
Convert_config_CloudControllerManagerConfiguration_To_v1alpha1_CloudControllerManagerConfiguration is an autogenerated conversion function.
func Convert_config_CloudProviderConfiguration_To_v1alpha1_CloudProviderConfiguration ¶
func Convert_config_CloudProviderConfiguration_To_v1alpha1_CloudProviderConfiguration(in *cpconfig.CloudProviderConfiguration, out *CloudProviderConfiguration, s conversion.Scope) error
Convert_config_CloudProviderConfiguration_To_v1alpha1_CloudProviderConfiguration is an autogenerated conversion function.
func Convert_config_KubeCloudSharedConfiguration_To_v1alpha1_KubeCloudSharedConfiguration ¶
func Convert_config_KubeCloudSharedConfiguration_To_v1alpha1_KubeCloudSharedConfiguration(in *cpconfig.KubeCloudSharedConfiguration, out *KubeCloudSharedConfiguration, s conversion.Scope) error
Convert_config_KubeCloudSharedConfiguration_To_v1alpha1_KubeCloudSharedConfiguration is an autogenerated conversion function.
func Convert_config_WebhookConfiguration_To_v1alpha1_WebhookConfiguration ¶ added in v0.27.0
func Convert_config_WebhookConfiguration_To_v1alpha1_WebhookConfiguration(in *config.WebhookConfiguration, out *WebhookConfiguration, s conversion.Scope) error
Convert_config_WebhookConfiguration_To_v1alpha1_WebhookConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_CloudControllerManagerConfiguration_To_config_CloudControllerManagerConfiguration ¶
func Convert_v1alpha1_CloudControllerManagerConfiguration_To_config_CloudControllerManagerConfiguration(in *CloudControllerManagerConfiguration, out *config.CloudControllerManagerConfiguration, s conversion.Scope) error
Convert_v1alpha1_CloudControllerManagerConfiguration_To_config_CloudControllerManagerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_CloudProviderConfiguration_To_config_CloudProviderConfiguration ¶
func Convert_v1alpha1_CloudProviderConfiguration_To_config_CloudProviderConfiguration(in *CloudProviderConfiguration, out *cpconfig.CloudProviderConfiguration, s conversion.Scope) error
Convert_v1alpha1_CloudProviderConfiguration_To_config_CloudProviderConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_KubeCloudSharedConfiguration_To_config_KubeCloudSharedConfiguration ¶
func Convert_v1alpha1_KubeCloudSharedConfiguration_To_config_KubeCloudSharedConfiguration(in *KubeCloudSharedConfiguration, out *cpconfig.KubeCloudSharedConfiguration, s conversion.Scope) error
Convert_v1alpha1_KubeCloudSharedConfiguration_To_config_KubeCloudSharedConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_WebhookConfiguration_To_config_WebhookConfiguration ¶ added in v0.27.0
func Convert_v1alpha1_WebhookConfiguration_To_config_WebhookConfiguration(in *WebhookConfiguration, out *config.WebhookConfiguration, s conversion.Scope) error
Convert_v1alpha1_WebhookConfiguration_To_config_WebhookConfiguration is an autogenerated conversion function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
func SetDefaults_CloudControllerManagerConfiguration ¶
func SetDefaults_CloudControllerManagerConfiguration(obj *CloudControllerManagerConfiguration)
func SetDefaults_KubeCloudSharedConfiguration ¶
func SetDefaults_KubeCloudSharedConfiguration(obj *KubeCloudSharedConfiguration)
func SetObjectDefaults_CloudControllerManagerConfiguration ¶
func SetObjectDefaults_CloudControllerManagerConfiguration(in *CloudControllerManagerConfiguration)
Types ¶
type CloudControllerManagerConfiguration ¶
type CloudControllerManagerConfiguration struct { metav1.TypeMeta `json:",inline"` // Generic holds configuration for a generic controller-manager Generic cmconfigv1alpha1.GenericControllerManagerConfiguration // both in cloud controller manager and kube-controller manager. KubeCloudShared KubeCloudSharedConfiguration // NodeController holds configuration for node controller // related features. NodeController nodeconfigv1alpha1.NodeControllerConfiguration // ServiceControllerConfiguration holds configuration for ServiceController // related features. ServiceController serviceconfigv1alpha1.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 // It is currently used by the in repo cloud providers to handle node and volume control in the KCM. ExternalCloudVolumePlugin string // individual service account credentials. UseServiceAccountCredentials bool AllowUntaggedCloud bool RouteReconciliationPeriod metav1.Duration NodeMonitorPeriod metav1.Duration ClusterName string ClusterCIDR string // ConfigureCloudRoutes is true, to be set on the cloud provider. AllocateNodeCIDRs bool CIDRAllocatorType string // to be configured on the cloud provider. ConfigureCloudRoutes *bool // periods will result in fewer calls to cloud provider, but may delay addition // of new nodes to cluster. NodeSyncPeriod metav1.Duration }CloudProvider
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 ¶ added in v0.27.0
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 }
WebhookConfiguration contains configuration related to cloud-controller-manager hosted webhooks
func (*WebhookConfiguration) DeepCopy ¶ added in v0.27.0
func (in *WebhookConfiguration) DeepCopy() *WebhookConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConfiguration.
func (*WebhookConfiguration) DeepCopyInto ¶ added in v0.27.0
func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.