apiserver: k8s.io/apiserver/pkg/apis/example2/v1 Index | Files

package v1

import "k8s.io/apiserver/pkg/apis/example2/v1"

Package v1 is a generated protocol buffer package.

It is generated from these files:

k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/apis/example2/v1/generated.proto

It has these top-level messages:

ReplicaSet
ReplicaSetSpec
ReplicaSetStatus

Index

Package Files

conversion.go defaults.go doc.go generated.pb.go register.go types.go zz_generated.conversion.go zz_generated.deepcopy.go zz_generated.defaults.go

Constants

const GroupName = "example2.apiserver.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.SchemeBuilder

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

SchemeGroupVersion is group version used to register these objects

func Convert_example_ReplicaSetSpec_To_v1_ReplicaSetSpec Uses

func Convert_example_ReplicaSetSpec_To_v1_ReplicaSetSpec(in *example.ReplicaSetSpec, out *ReplicaSetSpec, s conversion.Scope) error

func Convert_example_ReplicaSetStatus_To_v1_ReplicaSetStatus Uses

func Convert_example_ReplicaSetStatus_To_v1_ReplicaSetStatus(in *example.ReplicaSetStatus, out *ReplicaSetStatus, s conversion.Scope) error

Convert_example_ReplicaSetStatus_To_v1_ReplicaSetStatus is an autogenerated conversion function.

func Convert_example_ReplicaSet_To_v1_ReplicaSet Uses

func Convert_example_ReplicaSet_To_v1_ReplicaSet(in *example.ReplicaSet, out *ReplicaSet, s conversion.Scope) error

Convert_example_ReplicaSet_To_v1_ReplicaSet is an autogenerated conversion function.

func Convert_v1_ReplicaSetSpec_To_example_ReplicaSetSpec Uses

func Convert_v1_ReplicaSetSpec_To_example_ReplicaSetSpec(in *ReplicaSetSpec, out *example.ReplicaSetSpec, s conversion.Scope) error

func Convert_v1_ReplicaSetStatus_To_example_ReplicaSetStatus Uses

func Convert_v1_ReplicaSetStatus_To_example_ReplicaSetStatus(in *ReplicaSetStatus, out *example.ReplicaSetStatus, s conversion.Scope) error

Convert_v1_ReplicaSetStatus_To_example_ReplicaSetStatus is an autogenerated conversion function.

func Convert_v1_ReplicaSet_To_example_ReplicaSet Uses

func Convert_v1_ReplicaSet_To_example_ReplicaSet(in *ReplicaSet, out *example.ReplicaSet, s conversion.Scope) error

Convert_v1_ReplicaSet_To_example_ReplicaSet is an autogenerated conversion function.

func Kind Uses

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterConversions Uses

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults Uses

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource Uses

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

type ReplicaSet Uses

type ReplicaSet struct {
    metav1.TypeMeta `json:",inline"`

    // If the Labels of a ReplicaSet are empty, they are defaulted to
    // be the same as the Pod(s) that the ReplicaSet manages.
    // 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"`

    // Spec defines the specification of the desired behavior of the ReplicaSet.
    // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
    // +optional
    Spec ReplicaSetSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

    // Status is the most recently observed status of the ReplicaSet.
    // This data may be out of date by some window of time.
    // Populated by the system.
    // Read-only.
    // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
    // +optional
    Status ReplicaSetStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ReplicaSet ensures that a specified number of pod replicas are running at any given time.

func (*ReplicaSet) DeepCopy Uses

func (in *ReplicaSet) DeepCopy() *ReplicaSet

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

func (*ReplicaSet) DeepCopyInto Uses

func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet)

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

func (*ReplicaSet) DeepCopyObject Uses

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

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

func (*ReplicaSet) Descriptor Uses

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

func (*ReplicaSet) Marshal Uses

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

func (*ReplicaSet) MarshalTo Uses

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

func (*ReplicaSet) ProtoMessage Uses

func (*ReplicaSet) ProtoMessage()

func (*ReplicaSet) Reset Uses

func (m *ReplicaSet) Reset()

func (*ReplicaSet) Size Uses

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

func (*ReplicaSet) String Uses

func (this *ReplicaSet) String() string

func (*ReplicaSet) Unmarshal Uses

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

type ReplicaSetSpec Uses

type ReplicaSetSpec struct {
    // Replicas is the number of desired replicas.
    // This is a pointer to distinguish between explicit zero and unspecified.
    // Defaults to 1.
    // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
    // +optional
    Replicas *int32 `json:"replicas,omitempty" protobuf:"varint,1,opt,name=replicas"`
}

ReplicaSetSpec is the specification of a ReplicaSet.

func (*ReplicaSetSpec) DeepCopy Uses

func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec

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

func (*ReplicaSetSpec) DeepCopyInto Uses

func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec)

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

func (*ReplicaSetSpec) Descriptor Uses

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

func (*ReplicaSetSpec) Marshal Uses

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

func (*ReplicaSetSpec) MarshalTo Uses

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

func (*ReplicaSetSpec) ProtoMessage Uses

func (*ReplicaSetSpec) ProtoMessage()

func (*ReplicaSetSpec) Reset Uses

func (m *ReplicaSetSpec) Reset()

func (*ReplicaSetSpec) Size Uses

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

func (*ReplicaSetSpec) String Uses

func (this *ReplicaSetSpec) String() string

func (*ReplicaSetSpec) Unmarshal Uses

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

type ReplicaSetStatus Uses

type ReplicaSetStatus struct {
    // Replicas is the most recently oberved number of replicas.
    // More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller
    Replicas int32 `json:"replicas" protobuf:"varint,1,opt,name=replicas"`
}

ReplicaSetStatus represents the current status of a ReplicaSet.

func (*ReplicaSetStatus) DeepCopy Uses

func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus

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

func (*ReplicaSetStatus) DeepCopyInto Uses

func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus)

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

func (*ReplicaSetStatus) Descriptor Uses

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

func (*ReplicaSetStatus) Marshal Uses

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

func (*ReplicaSetStatus) MarshalTo Uses

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

func (*ReplicaSetStatus) ProtoMessage Uses

func (*ReplicaSetStatus) ProtoMessage()

func (*ReplicaSetStatus) Reset Uses

func (m *ReplicaSetStatus) Reset()

func (*ReplicaSetStatus) Size Uses

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

func (*ReplicaSetStatus) String Uses

func (this *ReplicaSetStatus) String() string

func (*ReplicaSetStatus) Unmarshal Uses

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

Package v1 imports 11 packages (graph) and is imported by 2 packages. Updated 2019-12-12. Refresh now. Tools for package owners.