v1beta2

package
v0.0.0-...-c2c0533 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1beta2 is the v1beta2 version of the API.

Index

Constants

This section is empty.

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: kubeschedulerconfig.GroupName, Version: "v1beta2"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_config_DynamicArgs_To_v1beta2_DynamicArgs

func Convert_config_DynamicArgs_To_v1beta2_DynamicArgs(in *config.DynamicArgs, out *DynamicArgs, s conversion.Scope) error

Convert_config_DynamicArgs_To_v1beta2_DynamicArgs is an autogenerated conversion function.

func Convert_config_NodeResourceTopologyMatchArgs_To_v1beta2_NodeResourceTopologyMatchArgs

func Convert_config_NodeResourceTopologyMatchArgs_To_v1beta2_NodeResourceTopologyMatchArgs(in *config.NodeResourceTopologyMatchArgs, out *NodeResourceTopologyMatchArgs, s conversion.Scope) error

Convert_config_NodeResourceTopologyMatchArgs_To_v1beta2_NodeResourceTopologyMatchArgs is an autogenerated conversion function.

func Convert_v1beta2_DynamicArgs_To_config_DynamicArgs

func Convert_v1beta2_DynamicArgs_To_config_DynamicArgs(in *DynamicArgs, out *config.DynamicArgs, s conversion.Scope) error

Convert_v1beta2_DynamicArgs_To_config_DynamicArgs is an autogenerated conversion function.

func Convert_v1beta2_NodeResourceTopologyMatchArgs_To_config_NodeResourceTopologyMatchArgs

func Convert_v1beta2_NodeResourceTopologyMatchArgs_To_config_NodeResourceTopologyMatchArgs(in *NodeResourceTopologyMatchArgs, out *config.NodeResourceTopologyMatchArgs, s conversion.Scope) error

Convert_v1beta2_NodeResourceTopologyMatchArgs_To_config_NodeResourceTopologyMatchArgs 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 SetDefaults_DynamicArgs

func SetDefaults_DynamicArgs(obj *DynamicArgs)

func SetDefaults_NodeResourceTopologyMatchArgs

func SetDefaults_NodeResourceTopologyMatchArgs(obj *NodeResourceTopologyMatchArgs)

func SetObjectDefaults_DynamicArgs

func SetObjectDefaults_DynamicArgs(in *DynamicArgs)

func SetObjectDefaults_NodeResourceTopologyMatchArgs

func SetObjectDefaults_NodeResourceTopologyMatchArgs(in *NodeResourceTopologyMatchArgs)

Types

type DynamicArgs

type DynamicArgs struct {
	metav1.TypeMeta `json:",inline"`
	// PolicyConfigPath specified the path of policy config.
	PolicyConfigPath string `json:"policyConfigPath"`
}

DynamicArgs is the args struction of Dynamic scheduler plugin.

func (*DynamicArgs) DeepCopy

func (in *DynamicArgs) DeepCopy() *DynamicArgs

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

func (*DynamicArgs) DeepCopyInto

func (in *DynamicArgs) DeepCopyInto(out *DynamicArgs)

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

func (*DynamicArgs) DeepCopyObject

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

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

type NodeResourceTopologyMatchArgs

type NodeResourceTopologyMatchArgs struct {
	metav1.TypeMeta `json:",inline"`
	// TopologyAwareResources represents the resource names of topology.
	TopologyAwareResources []string `json:"topologyAwareResources,omitempty"`
}

NodeResourceTopologyMatchArgs holds arguments used to configure the NodeResourceTopologyMatch plugin.

func (*NodeResourceTopologyMatchArgs) DeepCopy

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

func (*NodeResourceTopologyMatchArgs) DeepCopyInto

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

func (*NodeResourceTopologyMatchArgs) DeepCopyObject

func (in *NodeResourceTopologyMatchArgs) 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