package scheduling
import "k8s.io/kubernetes/pkg/apis/scheduling"
+k8s:deepcopy-gen=package,register +groupName=scheduling.k8s.io
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type PriorityClass
- func (in *PriorityClass) DeepCopy() *PriorityClass
- func (in *PriorityClass) DeepCopyInto(out *PriorityClass)
- func (in *PriorityClass) DeepCopyObject() runtime.Object
- type PriorityClassList
Constants ¶
const ( // DefaultPriorityWhenNoDefaultClassExists is used to set priority of pods // that do not specify any priority class and there is no priority class // marked as default. DefaultPriorityWhenNoDefaultClassExists = 0 )
const GroupName = "scheduling.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func RegisterDeepCopies ¶
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
Deprecated: deepcopy registration will go away when static deepcopy is fully implemented.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type PriorityClass ¶
type PriorityClass struct { metav1.TypeMeta // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata. // +optional metav1.ObjectMeta // The value of this priority class. This is the actual priority that pods // receive when they have the name of this class in their pod spec. Value int32 // GlobalDefault specifies whether this PriorityClass should be considered as // the default priority for pods that do not have any priority class. // +optional GlobalDefault bool // Description is an arbitrary string that usually provides guidelines on // when this priority class should be used. // +optional Description string }
PriorityClass defines the mapping from a priority class name to the priority integer value. The value can be any valid integer.
func (*PriorityClass) DeepCopy ¶
func (in *PriorityClass) DeepCopy() *PriorityClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.
func (*PriorityClass) DeepCopyInto ¶
func (in *PriorityClass) DeepCopyInto(out *PriorityClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PriorityClass) DeepCopyObject ¶
func (in *PriorityClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PriorityClassList ¶
type PriorityClassList struct { metav1.TypeMeta // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds // +optional metav1.ListMeta // Items is the list of PriorityClasses. Items []PriorityClass }
PriorityClassList is a collection of priority classes.
func (*PriorityClassList) DeepCopy ¶
func (in *PriorityClassList) DeepCopy() *PriorityClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList.
func (*PriorityClassList) DeepCopyInto ¶
func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PriorityClassList) DeepCopyObject ¶
func (in *PriorityClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
Source Files ¶
doc.go register.go types.go zz_generated.deepcopy.go
Directories ¶
Path | Synopsis |
---|---|
pkg/apis/scheduling/fuzzer | |
pkg/apis/scheduling/install | Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery. |
pkg/apis/scheduling/v1alpha1 | +k8s:conversion-gen=k8s.io/kubernetes/pkg/apis/scheduling +k8s:conversion-gen-external-types=../../../../vendor/k8s.io/api/scheduling/v1alpha1 +groupName=scheduling.k8s.io +k8s:defaulter-gen=TypeMeta +k8s:defaulter-gen-input=../../../../vendor/k8s.io/api/scheduling/v1alpha1 |
pkg/apis/scheduling/validation |
- Version
- v1.8.5-beta.0
- Published
- Nov 20, 2017
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 2 minutes ago –
Tools for package owners.