Documentation ¶
Overview ¶
Package v1beta1 is the v1beta1 version of the API.
Index ¶
- Constants
- Variables
- func Convert_config_Configuration_To_v1beta1_Configuration(in *config.Configuration, out *Configuration, s conversion.Scope) error
- func Convert_config_SchedulingArgs_To_v1beta1_SchedulingArgs(in *config.SchedulingArgs, out *SchedulingArgs, s conversion.Scope) error
- func Convert_v1beta1_Configuration_To_config_Configuration(in *Configuration, out *config.Configuration, s conversion.Scope) error
- func Convert_v1beta1_SchedulingArgs_To_config_SchedulingArgs(in *SchedulingArgs, out *config.SchedulingArgs, s conversion.Scope) error
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- type Configuration
- type SchedulingArgs
Constants ¶
const GroupName = "kubescheduler.config.k8s.io"
GroupName is the group name used in this package
Variables ¶
var (
// AddToScheme is a global function that registers this API group & version to a scheme
AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_config_Configuration_To_v1beta1_Configuration ¶
func Convert_config_Configuration_To_v1beta1_Configuration(in *config.Configuration, out *Configuration, s conversion.Scope) error
Convert_config_Configuration_To_v1beta1_Configuration is an autogenerated conversion function.
func Convert_config_SchedulingArgs_To_v1beta1_SchedulingArgs ¶
func Convert_config_SchedulingArgs_To_v1beta1_SchedulingArgs(in *config.SchedulingArgs, out *SchedulingArgs, s conversion.Scope) error
Convert_config_SchedulingArgs_To_v1beta1_SchedulingArgs is an autogenerated conversion function.
func Convert_v1beta1_Configuration_To_config_Configuration ¶
func Convert_v1beta1_Configuration_To_config_Configuration(in *Configuration, out *config.Configuration, s conversion.Scope) error
Convert_v1beta1_Configuration_To_config_Configuration is an autogenerated conversion function.
func Convert_v1beta1_SchedulingArgs_To_config_SchedulingArgs ¶
func Convert_v1beta1_SchedulingArgs_To_config_SchedulingArgs(in *SchedulingArgs, out *config.SchedulingArgs, s conversion.Scope) error
Convert_v1beta1_SchedulingArgs_To_config_SchedulingArgs 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.
Types ¶
type Configuration ¶
type Configuration struct { // clusterName Name *string `json:"name"` // Master URL KubeMaster *string `json:"kubeMaster,omitempty"` // KubeConfig of the cluster KubeConfig *string `json:"kubeConfig,omitempty"` }
Configuration defines the lower cluster configuration
func (*Configuration) DeepCopy ¶
func (in *Configuration) DeepCopy() *Configuration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configuration.
func (*Configuration) DeepCopyInto ¶
func (in *Configuration) DeepCopyInto(out *Configuration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SchedulingArgs ¶
type SchedulingArgs struct { metav1.TypeMeta `json:",inline"` // KubeConfigPath is the path of kubeconfig. KubeConfigPath *string `json:"kubeConfigPath,omitempty"` // KubeMaster is the url of kubernetes master. KubeMaster *string `json:"kubeMaster,omitempty"` // ClusterConfiguration is a key-value map to store configuration ClusterConfiguration map[string]Configuration `json:"clusterConfiguration"` }
SchedulingArgs defines the scheduling parameters for CapacityScheduling plugin.
func (*SchedulingArgs) DeepCopy ¶
func (in *SchedulingArgs) DeepCopy() *SchedulingArgs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SchedulingArgs.
func (*SchedulingArgs) DeepCopyInto ¶
func (in *SchedulingArgs) DeepCopyInto(out *SchedulingArgs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SchedulingArgs) DeepCopyObject ¶
func (in *SchedulingArgs) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.