v1beta1

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: 6 Imported by: 0

Documentation

Overview

Package v1beta1 is the v1beta1 version of the API.

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: "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

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.

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.

Jump to

Keyboard shortcuts

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