Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_config_ControllerLeaderConfiguration_To_v1alpha1_ControllerLeaderConfiguration(in *config.ControllerLeaderConfiguration, out *ControllerLeaderConfiguration, ...) error
- func Convert_config_GenericControllerManagerConfiguration_To_v1alpha1_GenericControllerManagerConfiguration(in *cmconfig.GenericControllerManagerConfiguration, ...) error
- func Convert_config_LeaderMigrationConfiguration_To_v1alpha1_LeaderMigrationConfiguration(in *config.LeaderMigrationConfiguration, out *LeaderMigrationConfiguration, ...) error
- func Convert_v1alpha1_ControllerLeaderConfiguration_To_config_ControllerLeaderConfiguration(in *ControllerLeaderConfiguration, out *config.ControllerLeaderConfiguration, ...) error
- func Convert_v1alpha1_GenericControllerManagerConfiguration_To_config_GenericControllerManagerConfiguration(in *GenericControllerManagerConfiguration, ...) error
- func Convert_v1alpha1_LeaderMigrationConfiguration_To_config_LeaderMigrationConfiguration(in *LeaderMigrationConfiguration, out *config.LeaderMigrationConfiguration, ...) error
- func RecommendedDefaultGenericControllerManagerConfiguration(obj *GenericControllerManagerConfiguration)
- func RegisterConversions(s *runtime.Scheme) error
- type ControllerLeaderConfiguration
- type GenericControllerManagerConfiguration
- type LeaderMigrationConfiguration
Constants ¶
const GroupName = "controllermanager.config.k8s.io"
GroupName is the "group" that is needed to uniquely identify the API
Variables ¶
var ( // 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 )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_config_ControllerLeaderConfiguration_To_v1alpha1_ControllerLeaderConfiguration ¶
func Convert_config_ControllerLeaderConfiguration_To_v1alpha1_ControllerLeaderConfiguration(in *config.ControllerLeaderConfiguration, out *ControllerLeaderConfiguration, s conversion.Scope) error
Convert_config_ControllerLeaderConfiguration_To_v1alpha1_ControllerLeaderConfiguration is an autogenerated conversion function.
func Convert_config_GenericControllerManagerConfiguration_To_v1alpha1_GenericControllerManagerConfiguration ¶
func Convert_config_GenericControllerManagerConfiguration_To_v1alpha1_GenericControllerManagerConfiguration(in *cmconfig.GenericControllerManagerConfiguration, out *GenericControllerManagerConfiguration, s conversion.Scope) error
Convert_config_GenericControllerManagerConfiguration_To_v1alpha1_GenericControllerManagerConfiguration is an autogenerated conversion function.
func Convert_config_LeaderMigrationConfiguration_To_v1alpha1_LeaderMigrationConfiguration ¶
func Convert_config_LeaderMigrationConfiguration_To_v1alpha1_LeaderMigrationConfiguration(in *config.LeaderMigrationConfiguration, out *LeaderMigrationConfiguration, s conversion.Scope) error
Convert_config_LeaderMigrationConfiguration_To_v1alpha1_LeaderMigrationConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_ControllerLeaderConfiguration_To_config_ControllerLeaderConfiguration ¶
func Convert_v1alpha1_ControllerLeaderConfiguration_To_config_ControllerLeaderConfiguration(in *ControllerLeaderConfiguration, out *config.ControllerLeaderConfiguration, s conversion.Scope) error
Convert_v1alpha1_ControllerLeaderConfiguration_To_config_ControllerLeaderConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_GenericControllerManagerConfiguration_To_config_GenericControllerManagerConfiguration ¶
func Convert_v1alpha1_GenericControllerManagerConfiguration_To_config_GenericControllerManagerConfiguration(in *GenericControllerManagerConfiguration, out *cmconfig.GenericControllerManagerConfiguration, s conversion.Scope) error
Convert_v1alpha1_GenericControllerManagerConfiguration_To_config_GenericControllerManagerConfiguration is an autogenerated conversion function.
func Convert_v1alpha1_LeaderMigrationConfiguration_To_config_LeaderMigrationConfiguration ¶
func Convert_v1alpha1_LeaderMigrationConfiguration_To_config_LeaderMigrationConfiguration(in *LeaderMigrationConfiguration, out *config.LeaderMigrationConfiguration, s conversion.Scope) error
Convert_v1alpha1_LeaderMigrationConfiguration_To_config_LeaderMigrationConfiguration is an autogenerated conversion function.
func RecommendedDefaultGenericControllerManagerConfiguration ¶
func RecommendedDefaultGenericControllerManagerConfiguration(obj *GenericControllerManagerConfiguration)
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
Types ¶
type ControllerLeaderConfiguration ¶
type ControllerLeaderConfiguration struct { // Name is the name of the controller being migrated // E.g. service-controller, route-controller, cloud-node-controller, etc Name string `json:"name"` // Component is the name of the component in which the controller should be running. // E.g. kube-controller-manager, cloud-controller-manager, etc Component string `json:"component"` }
ControllerLeaderConfiguration provides the configuration for a migrating leader lock.
func (*ControllerLeaderConfiguration) DeepCopy ¶
func (in *ControllerLeaderConfiguration) DeepCopy() *ControllerLeaderConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerLeaderConfiguration.
func (*ControllerLeaderConfiguration) DeepCopyInto ¶
func (in *ControllerLeaderConfiguration) DeepCopyInto(out *ControllerLeaderConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GenericControllerManagerConfiguration ¶
type GenericControllerManagerConfiguration struct { // port is the port that the controller-manager's http service runs on. Port int32 // address is the IP address to serve on (set to 0.0.0.0 for all interfaces). Address string // minResyncPeriod is the resync period in reflectors; will be random between // minResyncPeriod and 2*minResyncPeriod. MinResyncPeriod metav1.Duration // ClientConnection specifies the kubeconfig file and client connection // settings for the proxy server to use when communicating with the apiserver. ClientConnection componentbaseconfigv1alpha1.ClientConnectionConfiguration // How long to wait between starting controller managers ControllerStartInterval metav1.Duration // leaderElection defines the configuration of leader election client. LeaderElection componentbaseconfigv1alpha1.LeaderElectionConfiguration // Controllers is the list of controllers to enable or disable // '*' means "all enabled by default controllers" // 'foo' means "enable 'foo'" // '-foo' means "disable 'foo'" // first item for a particular name wins Controllers []string // DebuggingConfiguration holds configuration for Debugging related features. Debugging componentbaseconfigv1alpha1.DebuggingConfiguration }
GenericControllerManagerConfiguration holds configuration for a generic controller-manager.
func (*GenericControllerManagerConfiguration) DeepCopy ¶
func (in *GenericControllerManagerConfiguration) DeepCopy() *GenericControllerManagerConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericControllerManagerConfiguration.
func (*GenericControllerManagerConfiguration) DeepCopyInto ¶
func (in *GenericControllerManagerConfiguration) DeepCopyInto(out *GenericControllerManagerConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LeaderMigrationConfiguration ¶
type LeaderMigrationConfiguration struct { metav1.TypeMeta `json:",inline"` // LeaderName is the name of the leader election resource that protects the migration // E.g. 1-20-KCM-to-1-21-CCM LeaderName string `json:"leaderName"` // ResourceLock indicates the resource object type that will be used to lock // Should be "leases" or "endpoints" ResourceLock string `json:"resourceLock"` // ControllerLeaders contains a list of migrating leader lock configurations ControllerLeaders []ControllerLeaderConfiguration `json:"controllerLeaders"` }
LeaderMigrationConfiguration provides versioned configuration for all migrating leader locks. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*LeaderMigrationConfiguration) DeepCopy ¶
func (in *LeaderMigrationConfiguration) DeepCopy() *LeaderMigrationConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LeaderMigrationConfiguration.
func (*LeaderMigrationConfiguration) DeepCopyInto ¶
func (in *LeaderMigrationConfiguration) DeepCopyInto(out *LeaderMigrationConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LeaderMigrationConfiguration) DeepCopyObject ¶
func (in *LeaderMigrationConfiguration) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.