Documentation ¶
Overview ¶
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 ¶
- Constants
- Variables
- func Convert_example_ReplicaSetSpec_To_v1_ReplicaSetSpec(in *example.ReplicaSetSpec, out *ReplicaSetSpec, s conversion.Scope) error
- func Convert_example_ReplicaSetStatus_To_v1_ReplicaSetStatus(in *example.ReplicaSetStatus, out *ReplicaSetStatus, s conversion.Scope) error
- func Convert_example_ReplicaSet_To_v1_ReplicaSet(in *example.ReplicaSet, out *ReplicaSet, s conversion.Scope) error
- func Convert_v1_ReplicaSetSpec_To_example_ReplicaSetSpec(in *ReplicaSetSpec, out *example.ReplicaSetSpec, s conversion.Scope) error
- func Convert_v1_ReplicaSetStatus_To_example_ReplicaSetStatus(in *ReplicaSetStatus, out *example.ReplicaSetStatus, s conversion.Scope) error
- func Convert_v1_ReplicaSet_To_example_ReplicaSet(in *ReplicaSet, out *example.ReplicaSet, s conversion.Scope) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(s *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type ReplicaSet
- func (in *ReplicaSet) DeepCopy() *ReplicaSet
- func (in *ReplicaSet) DeepCopyInto(out *ReplicaSet)
- func (in *ReplicaSet) DeepCopyObject() runtime.Object
- func (*ReplicaSet) Descriptor() ([]byte, []int)
- func (m *ReplicaSet) Marshal() (dAtA []byte, err error)
- func (m *ReplicaSet) MarshalTo(dAtA []byte) (int, error)
- func (*ReplicaSet) ProtoMessage()
- func (m *ReplicaSet) Reset()
- func (m *ReplicaSet) Size() (n int)
- func (this *ReplicaSet) String() string
- func (m *ReplicaSet) Unmarshal(dAtA []byte) error
- type ReplicaSetSpec
- func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec
- func (in *ReplicaSetSpec) DeepCopyInto(out *ReplicaSetSpec)
- func (*ReplicaSetSpec) Descriptor() ([]byte, []int)
- func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error)
- func (m *ReplicaSetSpec) MarshalTo(dAtA []byte) (int, error)
- func (*ReplicaSetSpec) ProtoMessage()
- func (m *ReplicaSetSpec) Reset()
- func (m *ReplicaSetSpec) Size() (n int)
- func (this *ReplicaSetSpec) String() string
- func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error
- type ReplicaSetStatus
- func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus
- func (in *ReplicaSetStatus) DeepCopyInto(out *ReplicaSetStatus)
- func (*ReplicaSetStatus) Descriptor() ([]byte, []int)
- func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error)
- func (m *ReplicaSetStatus) MarshalTo(dAtA []byte) (int, error)
- func (*ReplicaSetStatus) ProtoMessage()
- func (m *ReplicaSetStatus) Reset()
- func (m *ReplicaSetStatus) Size() (n int)
- func (this *ReplicaSetStatus) String() string
- func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error
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
Functions ¶
func Convert_example_ReplicaSetSpec_To_v1_ReplicaSetSpec ¶
func Convert_example_ReplicaSetSpec_To_v1_ReplicaSetSpec(in *example.ReplicaSetSpec, out *ReplicaSetSpec, s conversion.Scope) error
func Convert_example_ReplicaSetStatus_To_v1_ReplicaSetStatus ¶
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 ¶
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 ¶
func Convert_v1_ReplicaSetSpec_To_example_ReplicaSetSpec(in *ReplicaSetSpec, out *example.ReplicaSetSpec, s conversion.Scope) error
func Convert_v1_ReplicaSetStatus_To_example_ReplicaSetStatus ¶
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 ¶
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 RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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 ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ReplicaSet ¶
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 ¶
func (in *ReplicaSet) DeepCopy() *ReplicaSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSet.
func (*ReplicaSet) DeepCopyInto ¶
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 ¶
func (in *ReplicaSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ReplicaSet) Descriptor ¶
func (*ReplicaSet) Descriptor() ([]byte, []int)
func (*ReplicaSet) Marshal ¶
func (m *ReplicaSet) Marshal() (dAtA []byte, err error)
func (*ReplicaSet) ProtoMessage ¶
func (*ReplicaSet) ProtoMessage()
func (*ReplicaSet) Reset ¶
func (m *ReplicaSet) Reset()
func (*ReplicaSet) Size ¶
func (m *ReplicaSet) Size() (n int)
func (*ReplicaSet) String ¶
func (this *ReplicaSet) String() string
func (*ReplicaSet) Unmarshal ¶
func (m *ReplicaSet) Unmarshal(dAtA []byte) error
type ReplicaSetSpec ¶
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 ¶
func (in *ReplicaSetSpec) DeepCopy() *ReplicaSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetSpec.
func (*ReplicaSetSpec) DeepCopyInto ¶
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 ¶
func (*ReplicaSetSpec) Descriptor() ([]byte, []int)
func (*ReplicaSetSpec) Marshal ¶
func (m *ReplicaSetSpec) Marshal() (dAtA []byte, err error)
func (*ReplicaSetSpec) ProtoMessage ¶
func (*ReplicaSetSpec) ProtoMessage()
func (*ReplicaSetSpec) Reset ¶
func (m *ReplicaSetSpec) Reset()
func (*ReplicaSetSpec) Size ¶
func (m *ReplicaSetSpec) Size() (n int)
func (*ReplicaSetSpec) String ¶
func (this *ReplicaSetSpec) String() string
func (*ReplicaSetSpec) Unmarshal ¶
func (m *ReplicaSetSpec) Unmarshal(dAtA []byte) error
type ReplicaSetStatus ¶
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 ¶
func (in *ReplicaSetStatus) DeepCopy() *ReplicaSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicaSetStatus.
func (*ReplicaSetStatus) DeepCopyInto ¶
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 ¶
func (*ReplicaSetStatus) Descriptor() ([]byte, []int)
func (*ReplicaSetStatus) Marshal ¶
func (m *ReplicaSetStatus) Marshal() (dAtA []byte, err error)
func (*ReplicaSetStatus) ProtoMessage ¶
func (*ReplicaSetStatus) ProtoMessage()
func (*ReplicaSetStatus) Reset ¶
func (m *ReplicaSetStatus) Reset()
func (*ReplicaSetStatus) Size ¶
func (m *ReplicaSetStatus) Size() (n int)
func (*ReplicaSetStatus) String ¶
func (this *ReplicaSetStatus) String() string
func (*ReplicaSetStatus) Unmarshal ¶
func (m *ReplicaSetStatus) Unmarshal(dAtA []byte) error