Documentation ¶
Index ¶
- Constants
- Variables
- func Convert_scheduling_PriorityClassList_To_v1_PriorityClassList(in *scheduling.PriorityClassList, out *schedulingv1.PriorityClassList, ...) error
- func Convert_scheduling_PriorityClass_To_v1_PriorityClass(in *scheduling.PriorityClass, out *schedulingv1.PriorityClass, ...) error
- func Convert_v1_PriorityClassList_To_scheduling_PriorityClassList(in *schedulingv1.PriorityClassList, out *scheduling.PriorityClassList, ...) error
- func Convert_v1_PriorityClass_To_scheduling_PriorityClass(in *schedulingv1.PriorityClass, out *scheduling.PriorityClass, ...) error
- func IsKnownSystemPriorityClass(name string, value int32, globalDefault bool) (bool, error)
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_PriorityClass(obj *v1.PriorityClass)
- func SetObjectDefaults_PriorityClass(in *schedulingv1.PriorityClass)
- func SetObjectDefaults_PriorityClassList(in *schedulingv1.PriorityClassList)
- func SystemPriorityClasses() []*v1.PriorityClass
Constants ¶
const GroupName = "scheduling.k8s.io"
GroupName is the group name use in this package
Variables ¶
var (
// AddToScheme applies all the stored functions to the scheme.
AddToScheme = localSchemeBuilder.AddToScheme
)
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 *schedulingv1.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 *schedulingv1.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 *schedulingv1.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 *schedulingv1.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
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 ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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 *schedulingv1.PriorityClass)
func SetObjectDefaults_PriorityClassList ¶ added in v1.15.0
func SetObjectDefaults_PriorityClassList(in *schedulingv1.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.