v1alpha1

package
v0.0.0-...-e2cac0c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GodelControllerManagerSecurePort   = 10659
	GodelControllerManagerInSecurePort = 10651
	// DefaultClientConnectionQPS is default scheduler qps
	DefaultClientConnectionQPS = 10000.0
	// DefaultClientConnectionBurst is default scheduler burst
	DefaultClientConnectionBurst = 10000
	// DefaultGodelControllerManagerAddress is the default address for the scheduler status server.
	// May be overridden by a flag at startup.
	DefaultGodelControllerManagerAddress = "0.0.0.0"
)
View Source
const GroupName = "godelcontrollermanager.config.kubewharf.io"

GroupName is the group name used in this package

Variables

View Source
var (

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
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 *config.GenericControllerManagerConfiguration, out *GenericControllerManagerConfiguration, s conversion.Scope) error

Convert_config_GenericControllerManagerConfiguration_To_v1alpha1_GenericControllerManagerConfiguration is an autogenerated conversion function.

func Convert_config_GodelControllerManagerConfiguration_To_v1alpha1_GodelControllerManagerConfiguration

func Convert_config_GodelControllerManagerConfiguration_To_v1alpha1_GodelControllerManagerConfiguration(in *config.GodelControllerManagerConfiguration, out *GodelControllerManagerConfiguration, s conversion.Scope) error

Convert_config_GodelControllerManagerConfiguration_To_v1alpha1_GodelControllerManagerConfiguration 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 *config.GenericControllerManagerConfiguration, s conversion.Scope) error

Convert_v1alpha1_GenericControllerManagerConfiguration_To_config_GenericControllerManagerConfiguration is an autogenerated conversion function.

func Convert_v1alpha1_GodelControllerManagerConfiguration_To_config_GodelControllerManagerConfiguration

func Convert_v1alpha1_GodelControllerManagerConfiguration_To_config_GodelControllerManagerConfiguration(in *GodelControllerManagerConfiguration, out *config.GodelControllerManagerConfiguration, s conversion.Scope) error

Convert_v1alpha1_GodelControllerManagerConfiguration_To_config_GodelControllerManagerConfiguration is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

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 SetDefaultGenericControllerManagerConfiguration

func SetDefaultGenericControllerManagerConfiguration(obj *GenericControllerManagerConfiguration)

func SetDefaults_GodelControllerManagerConfiguration

func SetDefaults_GodelControllerManagerConfiguration(obj *GodelControllerManagerConfiguration)

func SetObjectDefaults_GodelControllerManagerConfiguration

func SetObjectDefaults_GodelControllerManagerConfiguration(in *GodelControllerManagerConfiguration)

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

	// Component is the name of the component in which the controller should be running.
	// E.g. kube-controller-manager, cloud-controller-manager, etc
	// Or '*' meaning the controller can be run under any component that participates in the migration
	Component string
}

ControllerLeaderConfiguration provides the configuration for a migrating leader lock.

func (*ControllerLeaderConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControllerLeaderConfiguration.

func (*ControllerLeaderConfiguration) DeepCopyInto

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
}

func (*GenericControllerManagerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericControllerManagerConfiguration.

func (*GenericControllerManagerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type GodelControllerManagerConfiguration

type GodelControllerManagerConfiguration struct {
	metav1.TypeMeta

	Generic               *GenericControllerManagerConfiguration
	ReservationController *reservationconfig.ReservationControllerConfiguration
	// defaulting to 0.0.0.0:10651
	HealthzBindAddress string
	// MetricsBindAddress is the IP address and port for the metrics       server to
	// serve on, defaulting to 0.0.0.0:10651.
	MetricsBindAddress string
	// Tracer defines the configuration of tracer
	Tracer *tracing.TracerConfiguration
}

func (*GodelControllerManagerConfiguration) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GodelControllerManagerConfiguration.

func (*GodelControllerManagerConfiguration) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GodelControllerManagerConfiguration) DeepCopyObject

func (in *GodelControllerManagerConfiguration) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL