api: k8s.io/api/node/v1alpha1 Index | Files

package v1alpha1

import "k8s.io/api/node/v1alpha1"

Index

Package Files

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

Constants

const GroupName = "node.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 (
    // SchemeBuilder is the scheme builder with scheme init functions to run for this API package
    SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
    // AddToScheme is a common registration function for mapping packaged scoped group & version keys to a scheme
    AddToScheme = SchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

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 Overhead Uses

type Overhead struct {
    // PodFixed represents the fixed resource overhead associated with running a pod.
    // +optional
    PodFixed corev1.ResourceList `json:"podFixed,omitempty" protobuf:"bytes,1,opt,name=podFixed,casttype=k8s.io/api/core/v1.ResourceList,castkey=k8s.io/api/core/v1.ResourceName,castvalue=k8s.io/apimachinery/pkg/api/resource.Quantity"`
}

Overhead structure represents the resource overhead associated with running a pod.

func (*Overhead) DeepCopy Uses

func (in *Overhead) DeepCopy() *Overhead

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

func (*Overhead) DeepCopyInto Uses

func (in *Overhead) DeepCopyInto(out *Overhead)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Overhead) Descriptor Uses

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

func (*Overhead) Marshal Uses

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

func (*Overhead) MarshalTo Uses

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

func (*Overhead) MarshalToSizedBuffer Uses

func (m *Overhead) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Overhead) ProtoMessage Uses

func (*Overhead) ProtoMessage()

func (*Overhead) Reset Uses

func (m *Overhead) Reset()

func (*Overhead) Size Uses

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

func (*Overhead) String Uses

func (this *Overhead) String() string

func (Overhead) SwaggerDoc Uses

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

func (*Overhead) Unmarshal Uses

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

func (*Overhead) XXX_DiscardUnknown Uses

func (m *Overhead) XXX_DiscardUnknown()

func (*Overhead) XXX_Marshal Uses

func (m *Overhead) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Overhead) XXX_Merge Uses

func (m *Overhead) XXX_Merge(src proto.Message)

func (*Overhead) XXX_Size Uses

func (m *Overhead) XXX_Size() int

func (*Overhead) XXX_Unmarshal Uses

func (m *Overhead) XXX_Unmarshal(b []byte) error

type RuntimeClass Uses

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

    // Specification of the RuntimeClass
    // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
    Spec RuntimeClassSpec `json:"spec" protobuf:"bytes,2,name=spec"`
}

RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md

func (*RuntimeClass) DeepCopy Uses

func (in *RuntimeClass) DeepCopy() *RuntimeClass

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

func (*RuntimeClass) DeepCopyInto Uses

func (in *RuntimeClass) DeepCopyInto(out *RuntimeClass)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuntimeClass) DeepCopyObject Uses

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

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

func (*RuntimeClass) Descriptor Uses

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

func (*RuntimeClass) Marshal Uses

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

func (*RuntimeClass) MarshalTo Uses

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

func (*RuntimeClass) MarshalToSizedBuffer Uses

func (m *RuntimeClass) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeClass) ProtoMessage Uses

func (*RuntimeClass) ProtoMessage()

func (*RuntimeClass) Reset Uses

func (m *RuntimeClass) Reset()

func (*RuntimeClass) Size Uses

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

func (*RuntimeClass) String Uses

func (this *RuntimeClass) String() string

func (RuntimeClass) SwaggerDoc Uses

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

func (*RuntimeClass) Unmarshal Uses

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

func (*RuntimeClass) XXX_DiscardUnknown Uses

func (m *RuntimeClass) XXX_DiscardUnknown()

func (*RuntimeClass) XXX_Marshal Uses

func (m *RuntimeClass) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeClass) XXX_Merge Uses

func (m *RuntimeClass) XXX_Merge(src proto.Message)

func (*RuntimeClass) XXX_Size Uses

func (m *RuntimeClass) XXX_Size() int

func (*RuntimeClass) XXX_Unmarshal Uses

func (m *RuntimeClass) XXX_Unmarshal(b []byte) error

type RuntimeClassList Uses

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

    // Items is a list of schema objects.
    Items []RuntimeClass `json:"items" protobuf:"bytes,2,rep,name=items"`
}

RuntimeClassList is a list of RuntimeClass objects.

func (*RuntimeClassList) DeepCopy Uses

func (in *RuntimeClassList) DeepCopy() *RuntimeClassList

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

func (*RuntimeClassList) DeepCopyInto Uses

func (in *RuntimeClassList) DeepCopyInto(out *RuntimeClassList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuntimeClassList) DeepCopyObject Uses

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

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

func (*RuntimeClassList) Descriptor Uses

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

func (*RuntimeClassList) Marshal Uses

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

func (*RuntimeClassList) MarshalTo Uses

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

func (*RuntimeClassList) MarshalToSizedBuffer Uses

func (m *RuntimeClassList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeClassList) ProtoMessage Uses

func (*RuntimeClassList) ProtoMessage()

func (*RuntimeClassList) Reset Uses

func (m *RuntimeClassList) Reset()

func (*RuntimeClassList) Size Uses

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

func (*RuntimeClassList) String Uses

func (this *RuntimeClassList) String() string

func (RuntimeClassList) SwaggerDoc Uses

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

func (*RuntimeClassList) Unmarshal Uses

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

func (*RuntimeClassList) XXX_DiscardUnknown Uses

func (m *RuntimeClassList) XXX_DiscardUnknown()

func (*RuntimeClassList) XXX_Marshal Uses

func (m *RuntimeClassList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeClassList) XXX_Merge Uses

func (m *RuntimeClassList) XXX_Merge(src proto.Message)

func (*RuntimeClassList) XXX_Size Uses

func (m *RuntimeClassList) XXX_Size() int

func (*RuntimeClassList) XXX_Unmarshal Uses

func (m *RuntimeClassList) XXX_Unmarshal(b []byte) error

type RuntimeClassSpec Uses

type RuntimeClassSpec struct {
    // RuntimeHandler specifies the underlying runtime and configuration that the
    // CRI implementation will use to handle pods of this class. The possible
    // values are specific to the node & CRI configuration.  It is assumed that
    // all handlers are available on every node, and handlers of the same name are
    // equivalent on every node.
    // For example, a handler called "runc" might specify that the runc OCI
    // runtime (using native Linux containers) will be used to run the containers
    // in a pod.
    // The RuntimeHandler must conform to the DNS Label (RFC 1123) requirements
    // and is immutable.
    RuntimeHandler string `json:"runtimeHandler" protobuf:"bytes,1,opt,name=runtimeHandler"`

    // Overhead represents the resource overhead associated with running a pod for a
    // given RuntimeClass. For more details, see
    // https://git.k8s.io/enhancements/keps/sig-node/20190226-pod-overhead.md
    // This field is alpha-level as of Kubernetes v1.15, and is only honored by servers that enable the PodOverhead feature.
    // +optional
    Overhead *Overhead `json:"overhead,omitempty" protobuf:"bytes,2,opt,name=overhead"`

    // Scheduling holds the scheduling constraints to ensure that pods running
    // with this RuntimeClass are scheduled to nodes that support it.
    // If scheduling is nil, this RuntimeClass is assumed to be supported by all
    // nodes.
    // +optional
    Scheduling *Scheduling `json:"scheduling,omitempty" protobuf:"bytes,3,opt,name=scheduling"`
}

RuntimeClassSpec is a specification of a RuntimeClass. It contains parameters that are required to describe the RuntimeClass to the Container Runtime Interface (CRI) implementation, as well as any other components that need to understand how the pod will be run. The RuntimeClassSpec is immutable.

func (*RuntimeClassSpec) DeepCopy Uses

func (in *RuntimeClassSpec) DeepCopy() *RuntimeClassSpec

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

func (*RuntimeClassSpec) DeepCopyInto Uses

func (in *RuntimeClassSpec) DeepCopyInto(out *RuntimeClassSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*RuntimeClassSpec) Descriptor Uses

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

func (*RuntimeClassSpec) Marshal Uses

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

func (*RuntimeClassSpec) MarshalTo Uses

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

func (*RuntimeClassSpec) MarshalToSizedBuffer Uses

func (m *RuntimeClassSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RuntimeClassSpec) ProtoMessage Uses

func (*RuntimeClassSpec) ProtoMessage()

func (*RuntimeClassSpec) Reset Uses

func (m *RuntimeClassSpec) Reset()

func (*RuntimeClassSpec) Size Uses

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

func (*RuntimeClassSpec) String Uses

func (this *RuntimeClassSpec) String() string

func (RuntimeClassSpec) SwaggerDoc Uses

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

func (*RuntimeClassSpec) Unmarshal Uses

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

func (*RuntimeClassSpec) XXX_DiscardUnknown Uses

func (m *RuntimeClassSpec) XXX_DiscardUnknown()

func (*RuntimeClassSpec) XXX_Marshal Uses

func (m *RuntimeClassSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RuntimeClassSpec) XXX_Merge Uses

func (m *RuntimeClassSpec) XXX_Merge(src proto.Message)

func (*RuntimeClassSpec) XXX_Size Uses

func (m *RuntimeClassSpec) XXX_Size() int

func (*RuntimeClassSpec) XXX_Unmarshal Uses

func (m *RuntimeClassSpec) XXX_Unmarshal(b []byte) error

type Scheduling Uses

type Scheduling struct {
    // nodeSelector lists labels that must be present on nodes that support this
    // RuntimeClass. Pods using this RuntimeClass can only be scheduled to a
    // node matched by this selector. The RuntimeClass nodeSelector is merged
    // with a pod's existing nodeSelector. Any conflicts will cause the pod to
    // be rejected in admission.
    // +optional
    NodeSelector map[string]string `json:"nodeSelector,omitempty" protobuf:"bytes,1,opt,name=nodeSelector"`

    // tolerations are appended (excluding duplicates) to pods running with this
    // RuntimeClass during admission, effectively unioning the set of nodes
    // tolerated by the pod and the RuntimeClass.
    // +optional
    // +listType=atomic
    Tolerations []corev1.Toleration `json:"tolerations,omitempty" protobuf:"bytes,2,rep,name=tolerations"`
}

Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.

func (*Scheduling) DeepCopy Uses

func (in *Scheduling) DeepCopy() *Scheduling

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

func (*Scheduling) DeepCopyInto Uses

func (in *Scheduling) DeepCopyInto(out *Scheduling)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Scheduling) Descriptor Uses

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

func (*Scheduling) Marshal Uses

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

func (*Scheduling) MarshalTo Uses

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

func (*Scheduling) MarshalToSizedBuffer Uses

func (m *Scheduling) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Scheduling) ProtoMessage Uses

func (*Scheduling) ProtoMessage()

func (*Scheduling) Reset Uses

func (m *Scheduling) Reset()

func (*Scheduling) Size Uses

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

func (*Scheduling) String Uses

func (this *Scheduling) String() string

func (Scheduling) SwaggerDoc Uses

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

func (*Scheduling) Unmarshal Uses

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

func (*Scheduling) XXX_DiscardUnknown Uses

func (m *Scheduling) XXX_DiscardUnknown()

func (*Scheduling) XXX_Marshal Uses

func (m *Scheduling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Scheduling) XXX_Merge Uses

func (m *Scheduling) XXX_Merge(src proto.Message)

func (*Scheduling) XXX_Size Uses

func (m *Scheduling) XXX_Size() int

func (*Scheduling) XXX_Unmarshal Uses

func (m *Scheduling) XXX_Unmarshal(b []byte) error

Package v1alpha1 imports 13 packages (graph) and is imported by 29 packages. Updated 2019-08-14. Refresh now. Tools for package owners.