Documentation ¶
Index ¶
- Variables
- type PriorityClass
- func (*PriorityClass) Descriptor() ([]byte, []int)
- func (this *PriorityClass) Equal(that interface{}) bool
- func (m *PriorityClass) GetDescription() string
- func (m *PriorityClass) GetGlobalDefault() bool
- func (m *PriorityClass) GetMetadata() *v1.ObjectMeta
- func (m *PriorityClass) GetPreemptionPolicy() string
- func (m *PriorityClass) GetValue() int32
- func (this *PriorityClass) GoString() string
- func (m *PriorityClass) Marshal() (dAtA []byte, err error)
- func (m *PriorityClass) MarshalTo(dAtA []byte) (int, error)
- func (m *PriorityClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriorityClass) ProtoMessage()
- func (m *PriorityClass) Reset()
- func (m *PriorityClass) Size() (n int)
- func (this *PriorityClass) String() string
- func (m *PriorityClass) Unmarshal(dAtA []byte) error
- func (m *PriorityClass) XXX_DiscardUnknown()
- func (m *PriorityClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriorityClass) XXX_Merge(src proto.Message)
- func (m *PriorityClass) XXX_Size() int
- func (m *PriorityClass) XXX_Unmarshal(b []byte) error
- type PriorityClassList
- func (*PriorityClassList) Descriptor() ([]byte, []int)
- func (this *PriorityClassList) Equal(that interface{}) bool
- func (m *PriorityClassList) GetItems() []*PriorityClass
- func (m *PriorityClassList) GetMetadata() *v1.ListMeta
- func (this *PriorityClassList) GoString() string
- func (m *PriorityClassList) Marshal() (dAtA []byte, err error)
- func (m *PriorityClassList) MarshalTo(dAtA []byte) (int, error)
- func (m *PriorityClassList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PriorityClassList) ProtoMessage()
- func (m *PriorityClassList) Reset()
- func (m *PriorityClassList) Size() (n int)
- func (this *PriorityClassList) String() string
- func (m *PriorityClassList) Unmarshal(dAtA []byte) error
- func (m *PriorityClassList) XXX_DiscardUnknown()
- func (m *PriorityClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PriorityClassList) XXX_Merge(src proto.Message)
- func (m *PriorityClassList) XXX_Size() int
- func (m *PriorityClassList) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenerated = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type PriorityClass ¶
type PriorityClass struct { // Standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/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"` // 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"` // 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"` // PreemptionPolicy is the Policy for preempting pods with lower priority. // One of Never, PreemptLowerPriority. // Defaults to PreemptLowerPriority if unset. // This field is alpha-level and is only honored by servers that enable the NonPreemptingPriority feature. // +optional PreemptionPolicy string `protobuf:"bytes,5,opt,name=preemptionPolicy" json:"preemptionPolicy"` }
PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.
func (*PriorityClass) Descriptor ¶
func (*PriorityClass) Descriptor() ([]byte, []int)
func (*PriorityClass) Equal ¶
func (this *PriorityClass) Equal(that interface{}) bool
func (*PriorityClass) GetDescription ¶
func (m *PriorityClass) GetDescription() string
func (*PriorityClass) GetGlobalDefault ¶
func (m *PriorityClass) GetGlobalDefault() bool
func (*PriorityClass) GetMetadata ¶
func (m *PriorityClass) GetMetadata() *v1.ObjectMeta
func (*PriorityClass) GetPreemptionPolicy ¶
func (m *PriorityClass) GetPreemptionPolicy() string
func (*PriorityClass) GetValue ¶
func (m *PriorityClass) GetValue() int32
func (*PriorityClass) GoString ¶
func (this *PriorityClass) GoString() string
func (*PriorityClass) Marshal ¶
func (m *PriorityClass) Marshal() (dAtA []byte, err error)
func (*PriorityClass) MarshalToSizedBuffer ¶
func (m *PriorityClass) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriorityClass) ProtoMessage ¶
func (*PriorityClass) ProtoMessage()
func (*PriorityClass) Reset ¶
func (m *PriorityClass) Reset()
func (*PriorityClass) Size ¶
func (m *PriorityClass) Size() (n int)
func (*PriorityClass) String ¶
func (this *PriorityClass) String() string
func (*PriorityClass) Unmarshal ¶
func (m *PriorityClass) Unmarshal(dAtA []byte) error
func (*PriorityClass) XXX_DiscardUnknown ¶
func (m *PriorityClass) XXX_DiscardUnknown()
func (*PriorityClass) XXX_Marshal ¶
func (m *PriorityClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriorityClass) XXX_Merge ¶
func (m *PriorityClass) XXX_Merge(src proto.Message)
func (*PriorityClass) XXX_Size ¶
func (m *PriorityClass) XXX_Size() int
func (*PriorityClass) XXX_Unmarshal ¶
func (m *PriorityClass) XXX_Unmarshal(b []byte) error
type PriorityClassList ¶
type PriorityClassList struct { // Standard list metadata // More info: https://git.k8s.io/community/contributors/devel/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"` }
PriorityClassList is a collection of priority classes.
func (*PriorityClassList) Descriptor ¶
func (*PriorityClassList) Descriptor() ([]byte, []int)
func (*PriorityClassList) Equal ¶
func (this *PriorityClassList) Equal(that interface{}) bool
func (*PriorityClassList) GetItems ¶
func (m *PriorityClassList) GetItems() []*PriorityClass
func (*PriorityClassList) GetMetadata ¶
func (m *PriorityClassList) GetMetadata() *v1.ListMeta
func (*PriorityClassList) GoString ¶
func (this *PriorityClassList) GoString() string
func (*PriorityClassList) Marshal ¶
func (m *PriorityClassList) Marshal() (dAtA []byte, err error)
func (*PriorityClassList) MarshalTo ¶
func (m *PriorityClassList) MarshalTo(dAtA []byte) (int, error)
func (*PriorityClassList) MarshalToSizedBuffer ¶
func (m *PriorityClassList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PriorityClassList) ProtoMessage ¶
func (*PriorityClassList) ProtoMessage()
func (*PriorityClassList) Reset ¶
func (m *PriorityClassList) Reset()
func (*PriorityClassList) Size ¶
func (m *PriorityClassList) Size() (n int)
func (*PriorityClassList) String ¶
func (this *PriorityClassList) String() string
func (*PriorityClassList) Unmarshal ¶
func (m *PriorityClassList) Unmarshal(dAtA []byte) error
func (*PriorityClassList) XXX_DiscardUnknown ¶
func (m *PriorityClassList) XXX_DiscardUnknown()
func (*PriorityClassList) XXX_Marshal ¶
func (m *PriorityClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PriorityClassList) XXX_Merge ¶
func (m *PriorityClassList) XXX_Merge(src proto.Message)
func (*PriorityClassList) XXX_Size ¶
func (m *PriorityClassList) XXX_Size() int
func (*PriorityClassList) XXX_Unmarshal ¶
func (m *PriorityClassList) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.