Documentation ¶
Index ¶
- Variables
- type PriorityClass
- func (*PriorityClass) Descriptor() ([]byte, []int)deprecated
- func (x *PriorityClass) GetDescription() string
- func (x *PriorityClass) GetGlobalDefault() bool
- func (x *PriorityClass) GetMetadata() *v1.ObjectMeta
- func (x *PriorityClass) GetPreemptionPolicy() string
- func (x *PriorityClass) GetValue() int32
- func (*PriorityClass) ProtoMessage()
- func (x *PriorityClass) ProtoReflect() protoreflect.Message
- func (x *PriorityClass) Reset()
- func (x *PriorityClass) String() string
- type PriorityClassList
- func (*PriorityClassList) Descriptor() ([]byte, []int)deprecated
- func (x *PriorityClassList) GetItems() []*PriorityClass
- func (x *PriorityClassList) GetMetadata() *v1.ListMeta
- func (*PriorityClassList) ProtoMessage()
- func (x *PriorityClassList) ProtoReflect() protoreflect.Message
- func (x *PriorityClassList) Reset()
- func (x *PriorityClassList) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_k8s_io_api_scheduling_v1_generated_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type PriorityClass ¶
type PriorityClass struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // 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 `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` // globalDefault specifies whether this PriorityClass should be considered as // the default priority for pods that do not have any priority class. // Only one PriorityClass can be marked as `globalDefault`. However, if more than // one PriorityClasses exists with their `globalDefault` field set to true, // the smallest value of such global default PriorityClasses will be used as the default priority. // +optional GlobalDefault *bool `protobuf:"varint,3,opt,name=globalDefault" json:"globalDefault,omitempty"` // description is an arbitrary string that usually provides guidelines on // when this priority class should be used. // +optional Description *string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"` // PreemptionPolicy is the Policy for preempting pods with lower priority. // One of Never, PreemptLowerPriority. // Defaults to PreemptLowerPriority if unset. // This field is beta-level, gated by the NonPreemptingPriority feature-gate. // +optional PreemptionPolicy *string `protobuf:"bytes,5,opt,name=preemptionPolicy" json:"preemptionPolicy,omitempty"` // contains filtered or unexported fields }
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
func (*PriorityClass) Descriptor
deprecated
func (*PriorityClass) Descriptor() ([]byte, []int)
Deprecated: Use PriorityClass.ProtoReflect.Descriptor instead.
func (*PriorityClass) GetDescription ¶
func (x *PriorityClass) GetDescription() string
func (*PriorityClass) GetGlobalDefault ¶
func (x *PriorityClass) GetGlobalDefault() bool
func (*PriorityClass) GetMetadata ¶
func (x *PriorityClass) GetMetadata() *v1.ObjectMeta
func (*PriorityClass) GetPreemptionPolicy ¶
func (x *PriorityClass) GetPreemptionPolicy() string
func (*PriorityClass) GetValue ¶
func (x *PriorityClass) GetValue() int32
func (*PriorityClass) ProtoMessage ¶
func (*PriorityClass) ProtoMessage()
func (*PriorityClass) ProtoReflect ¶
func (x *PriorityClass) ProtoReflect() protoreflect.Message
func (*PriorityClass) Reset ¶
func (x *PriorityClass) Reset()
func (*PriorityClass) String ¶
func (x *PriorityClass) String() string
type PriorityClassList ¶
type PriorityClassList struct { // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // items is the list of PriorityClasses Items []*PriorityClass `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` // contains filtered or unexported fields }
PriorityClassList is a collection of priority classes.
func (*PriorityClassList) Descriptor
deprecated
func (*PriorityClassList) Descriptor() ([]byte, []int)
Deprecated: Use PriorityClassList.ProtoReflect.Descriptor instead.
func (*PriorityClassList) GetItems ¶
func (x *PriorityClassList) GetItems() []*PriorityClass
func (*PriorityClassList) GetMetadata ¶
func (x *PriorityClassList) GetMetadata() *v1.ListMeta
func (*PriorityClassList) ProtoMessage ¶
func (*PriorityClassList) ProtoMessage()
func (*PriorityClassList) ProtoReflect ¶
func (x *PriorityClassList) ProtoReflect() protoreflect.Message
func (*PriorityClassList) Reset ¶
func (x *PriorityClassList) Reset()
func (*PriorityClassList) String ¶
func (x *PriorityClassList) String() string
Click to show internal directories.
Click to hide internal directories.