api: k8s.io/api/scheduling/v1beta1 Index | Files

package v1beta1

import "k8s.io/api/scheduling/v1beta1"

Package v1beta1 is a generated protocol buffer package.

It is generated from these files:

k8s.io/kubernetes/vendor/k8s.io/api/scheduling/v1beta1/generated.proto

It has these top-level messages:

PriorityClass
PriorityClassList

Index

Package Files

doc.go generated.pb.go register.go types.go types_swagger_doc_generated.go zz_generated.deepcopy.go

Constants

const GroupName = "scheduling.k8s.io"

GroupName is the group name use in this package

Variables

var (
    ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
var (
    // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
    // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

    AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type PriorityClass Uses

type PriorityClass struct {
    metav1.TypeMeta `json:",inline"`
    // Standard object's metadata.
    // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    // +optional
    metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // 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 `json:"value" protobuf:"bytes,2,opt,name=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 `json:"globalDefault,omitempty" protobuf:"bytes,3,opt,name=globalDefault"`

    // description is an arbitrary string that usually provides guidelines on
    // when this priority class should be used.
    // +optional
    Description string `json:"description,omitempty" protobuf:"bytes,4,opt,name=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 *apiv1.PreemptionPolicy `json:"preemptionPolicy,omitempty" protobuf:"bytes,5,opt,name=preemptionPolicy"`
}

DEPRECATED - This group version of PriorityClass is deprecated by scheduling.k8s.io/v1/PriorityClass. PriorityClass defines mapping from a priority class name to the priority integer value. The value can be any valid integer.

func (*PriorityClass) DeepCopy Uses

func (in *PriorityClass) DeepCopy() *PriorityClass

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClass.

func (*PriorityClass) DeepCopyInto Uses

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 Uses

func (in *PriorityClass) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PriorityClass) Descriptor Uses

func (*PriorityClass) Descriptor() ([]byte, []int)

func (*PriorityClass) Marshal Uses

func (m *PriorityClass) Marshal() (dAtA []byte, err error)

func (*PriorityClass) MarshalTo Uses

func (m *PriorityClass) MarshalTo(dAtA []byte) (int, error)

func (*PriorityClass) ProtoMessage Uses

func (*PriorityClass) ProtoMessage()

func (*PriorityClass) Reset Uses

func (m *PriorityClass) Reset()

func (*PriorityClass) Size Uses

func (m *PriorityClass) Size() (n int)

func (*PriorityClass) String Uses

func (this *PriorityClass) String() string

func (PriorityClass) SwaggerDoc Uses

func (PriorityClass) SwaggerDoc() map[string]string

func (*PriorityClass) Unmarshal Uses

func (m *PriorityClass) Unmarshal(dAtA []byte) error

type PriorityClassList Uses

type PriorityClassList struct {
    metav1.TypeMeta `json:",inline"`
    // Standard list metadata
    // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    // +optional
    metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

    // items is the list of PriorityClasses
    Items []PriorityClass `json:"items" protobuf:"bytes,2,rep,name=items"`
}

PriorityClassList is a collection of priority classes.

func (*PriorityClassList) DeepCopy Uses

func (in *PriorityClassList) DeepCopy() *PriorityClassList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PriorityClassList.

func (*PriorityClassList) DeepCopyInto Uses

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 Uses

func (in *PriorityClassList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*PriorityClassList) Descriptor Uses

func (*PriorityClassList) Descriptor() ([]byte, []int)

func (*PriorityClassList) Marshal Uses

func (m *PriorityClassList) Marshal() (dAtA []byte, err error)

func (*PriorityClassList) MarshalTo Uses

func (m *PriorityClassList) MarshalTo(dAtA []byte) (int, error)

func (*PriorityClassList) ProtoMessage Uses

func (*PriorityClassList) ProtoMessage()

func (*PriorityClassList) Reset Uses

func (m *PriorityClassList) Reset()

func (*PriorityClassList) Size Uses

func (m *PriorityClassList) Size() (n int)

func (*PriorityClassList) String Uses

func (this *PriorityClassList) String() string

func (PriorityClassList) SwaggerDoc Uses

func (PriorityClassList) SwaggerDoc() map[string]string

func (*PriorityClassList) Unmarshal Uses

func (m *PriorityClassList) Unmarshal(dAtA []byte) error

Package v1beta1 imports 10 packages (graph) and is imported by 65 packages. Updated 2019-06-04. Refresh now. Tools for package owners.