Documentation
¶
Index ¶
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: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
type Configuration struct { // clusterName Name string // Master URL KubeMaster string // KubeConfig of the cluster KubeConfig string }
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 // KubeConfigPath is the path of kubeconfig. KubeConfigPath string // KubeMaster is the url of kubernetes master. KubeMaster string // ClusterConfiguration is a key-value map to store configuration ClusterConfiguration map[string]Configuration }
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.