v1

package
v1.25.12 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 10 Imported by: 23

Documentation

Index

Constants

View Source
const GroupName = "scheduling.k8s.io"

GroupName is the group name use in this package

Variables

View Source
var (

	// AddToScheme applies all the stored functions to the scheme.
	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_scheduling_PriorityClassList_To_v1_PriorityClassList

func Convert_scheduling_PriorityClassList_To_v1_PriorityClassList(in *scheduling.PriorityClassList, out *v1.PriorityClassList, s conversion.Scope) error

Convert_scheduling_PriorityClassList_To_v1_PriorityClassList is an autogenerated conversion function.

func Convert_scheduling_PriorityClass_To_v1_PriorityClass

func Convert_scheduling_PriorityClass_To_v1_PriorityClass(in *scheduling.PriorityClass, out *v1.PriorityClass, s conversion.Scope) error

Convert_scheduling_PriorityClass_To_v1_PriorityClass is an autogenerated conversion function.

func Convert_v1_PriorityClassList_To_scheduling_PriorityClassList

func Convert_v1_PriorityClassList_To_scheduling_PriorityClassList(in *v1.PriorityClassList, out *scheduling.PriorityClassList, s conversion.Scope) error

Convert_v1_PriorityClassList_To_scheduling_PriorityClassList is an autogenerated conversion function.

func Convert_v1_PriorityClass_To_scheduling_PriorityClass

func Convert_v1_PriorityClass_To_scheduling_PriorityClass(in *v1.PriorityClass, out *scheduling.PriorityClass, s conversion.Scope) error

Convert_v1_PriorityClass_To_scheduling_PriorityClass is an autogenerated conversion function.

func IsKnownSystemPriorityClass added in v1.17.0

func IsKnownSystemPriorityClass(name string, value int32, globalDefault bool) (bool, error)

IsKnownSystemPriorityClass returns true if there's any of the system priority classes exactly matches "name", "value", "globalDefault". otherwise it will return an error.

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 Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

func SetDefaults_PriorityClass added in v1.15.0

func SetDefaults_PriorityClass(obj *v1.PriorityClass)

SetDefaults_PriorityClass sets additional defaults compared to its counterpart in extensions.

func SetObjectDefaults_PriorityClass added in v1.15.0

func SetObjectDefaults_PriorityClass(in *v1.PriorityClass)

func SetObjectDefaults_PriorityClassList added in v1.15.0

func SetObjectDefaults_PriorityClassList(in *v1.PriorityClassList)

func SystemPriorityClasses added in v1.17.0

func SystemPriorityClasses() []*v1.PriorityClass

SystemPriorityClasses returns the list of system priority classes. NOTE: be careful not to modify any of elements of the returned array directly.

Types

This section is empty.

Jump to

Keyboard shortcuts

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