config

package
v0.0.0-...-3dc4fa0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "kubescheduler.config.k8s.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: 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.

Directories

Path Synopsis
Package v1beta1 is the v1beta1 version of the API.
Package v1beta1 is the v1beta1 version of the API.

Jump to

Keyboard shortcuts

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