Documentation

Overview

    Package v1alpha1 is a generated protocol buffer package.

    It is generated from these files:

    k8s.io/kubernetes/vendor/k8s.io/api/node/v1alpha1/generated.proto
    

    It has these top-level messages:

    RuntimeClass
    RuntimeClassList
    RuntimeClassSpec
    

    Index

    Constants

    View Source
    const GroupName = "node.k8s.io"

      GroupName is the group name use in this package

      Variables

      View Source
      var (
      	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
      	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
      )
      View Source
      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
      )
      View Source
      var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

        SchemeGroupVersion is group version used to register these objects

        Functions

        func Resource

        func Resource(resource string) schema.GroupResource

          Resource takes an unqualified resource and returns a Group qualified GroupResource

          Types

          type RuntimeClass

          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

            func (in *RuntimeClass) DeepCopy() *RuntimeClass

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

              func (*RuntimeClass) DeepCopyInto

              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

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

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

                  func (*RuntimeClass) Descriptor

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

                  func (*RuntimeClass) Marshal

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

                  func (*RuntimeClass) MarshalTo

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

                  func (*RuntimeClass) ProtoMessage

                  func (*RuntimeClass) ProtoMessage()

                  func (*RuntimeClass) Reset

                  func (m *RuntimeClass) Reset()

                  func (*RuntimeClass) Size

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

                  func (*RuntimeClass) String

                  func (this *RuntimeClass) String() string

                  func (RuntimeClass) SwaggerDoc

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

                  func (*RuntimeClass) Unmarshal

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

                  type RuntimeClassList

                  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

                    func (in *RuntimeClassList) DeepCopy() *RuntimeClassList

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

                      func (*RuntimeClassList) DeepCopyInto

                      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

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

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

                          func (*RuntimeClassList) Descriptor

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

                          func (*RuntimeClassList) Marshal

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

                          func (*RuntimeClassList) MarshalTo

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

                          func (*RuntimeClassList) ProtoMessage

                          func (*RuntimeClassList) ProtoMessage()

                          func (*RuntimeClassList) Reset

                          func (m *RuntimeClassList) Reset()

                          func (*RuntimeClassList) Size

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

                          func (*RuntimeClassList) String

                          func (this *RuntimeClassList) String() string

                          func (RuntimeClassList) SwaggerDoc

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

                          func (*RuntimeClassList) Unmarshal

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

                          type RuntimeClassSpec

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

                            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

                            func (in *RuntimeClassSpec) DeepCopy() *RuntimeClassSpec

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

                              func (*RuntimeClassSpec) DeepCopyInto

                              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

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

                                func (*RuntimeClassSpec) Marshal

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

                                func (*RuntimeClassSpec) MarshalTo

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

                                func (*RuntimeClassSpec) ProtoMessage

                                func (*RuntimeClassSpec) ProtoMessage()

                                func (*RuntimeClassSpec) Reset

                                func (m *RuntimeClassSpec) Reset()

                                func (*RuntimeClassSpec) Size

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

                                func (*RuntimeClassSpec) String

                                func (this *RuntimeClassSpec) String() string

                                func (RuntimeClassSpec) SwaggerDoc

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

                                func (*RuntimeClassSpec) Unmarshal

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