...

Package v1beta1

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

Overview ▾

Index ▾

Constants
Variables
func Resource(resource string) schema.GroupResource
type PriorityClass
    func (in *PriorityClass) APILifecycleDeprecated() (major, minor int)
    func (in *PriorityClass) APILifecycleIntroduced() (major, minor int)
    func (in *PriorityClass) APILifecycleRemoved() (major, minor int)
    func (in *PriorityClass) APILifecycleReplacement() schema.GroupVersionKind
    func (in *PriorityClass) DeepCopy() *PriorityClass
    func (in *PriorityClass) DeepCopyInto(out *PriorityClass)
    func (in *PriorityClass) DeepCopyObject() runtime.Object
    func (*PriorityClass) Descriptor() ([]byte, []int)
    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 (PriorityClass) SwaggerDoc() map[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 (in *PriorityClassList) APILifecycleDeprecated() (major, minor int)
    func (in *PriorityClassList) APILifecycleIntroduced() (major, minor int)
    func (in *PriorityClassList) APILifecycleRemoved() (major, minor int)
    func (in *PriorityClassList) APILifecycleReplacement() schema.GroupVersionKind
    func (in *PriorityClassList) DeepCopy() *PriorityClassList
    func (in *PriorityClassList) DeepCopyInto(out *PriorityClassList)
    func (in *PriorityClassList) DeepCopyObject() runtime.Object
    func (*PriorityClassList) Descriptor() ([]byte, []int)
    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 (PriorityClassList) SwaggerDoc() map[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

Package files

doc.go generated.pb.go register.go types.go types_swagger_doc_generated.go zz_generated.deepcopy.go zz_generated.prerelease-lifecycle.go

Constants

GroupName is the group name use in this package

const GroupName = "scheduling.k8s.io"

Variables

var (
    ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
    ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
    ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
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
)

SchemeGroupVersion is group version used to register these objects

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

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type PriorityClass

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.

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"`

    // value represents the integer 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.
    // +optional
    PreemptionPolicy *apiv1.PreemptionPolicy `json:"preemptionPolicy,omitempty" protobuf:"bytes,5,opt,name=preemptionPolicy"`
}

func (*PriorityClass) APILifecycleDeprecated

func (in *PriorityClass) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*PriorityClass) APILifecycleIntroduced

func (in *PriorityClass) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*PriorityClass) APILifecycleRemoved

func (in *PriorityClass) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*PriorityClass) APILifecycleReplacement

func (in *PriorityClass) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

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.

func (*PriorityClass) Descriptor

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

func (*PriorityClass) Marshal

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

func (*PriorityClass) MarshalTo

func (m *PriorityClass) MarshalTo(dAtA []byte) (int, 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) SwaggerDoc

func (PriorityClass) SwaggerDoc() map[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

PriorityClassList is a collection of priority classes.

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"`
}

func (*PriorityClassList) APILifecycleDeprecated

func (in *PriorityClassList) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*PriorityClassList) APILifecycleIntroduced

func (in *PriorityClassList) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*PriorityClassList) APILifecycleRemoved

func (in *PriorityClassList) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*PriorityClassList) APILifecycleReplacement

func (in *PriorityClassList) APILifecycleReplacement() schema.GroupVersionKind

APILifecycleReplacement is an autogenerated function, returning the group, version, and kind that should be used instead of this deprecated type. It is controlled by "k8s:prerelease-lifecycle-gen:replacement=<group>,<version>,<kind>" tags in types.go.

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.

func (*PriorityClassList) Descriptor

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

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) SwaggerDoc

func (PriorityClassList) SwaggerDoc() map[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