Documentation ¶
Overview ¶
+groupName=cluster.bytebuilders.dev
Index ¶
- Constants
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- func Resource(resource string) schema.GroupResource
- type Cluster
- func (_ Cluster) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
- func (in *Cluster) DeepCopy() *Cluster
- func (in *Cluster) DeepCopyInto(out *Cluster)
- func (in *Cluster) DeepCopyObject() runtime.Object
- func (*Cluster) Descriptor() ([]byte, []int)
- func (m *Cluster) Marshal() (dAtA []byte, err error)
- func (m *Cluster) MarshalTo(dAtA []byte) (int, error)
- func (m *Cluster) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cluster) ProtoMessage()
- func (m *Cluster) Reset()
- func (m *Cluster) Size() (n int)
- func (this *Cluster) String() string
- func (m *Cluster) Unmarshal(dAtA []byte) error
- func (m *Cluster) XXX_DiscardUnknown()
- func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cluster) XXX_Merge(src proto.Message)
- func (m *Cluster) XXX_Size() int
- func (m *Cluster) XXX_Unmarshal(b []byte) error
- type ClusterList
- func (in *ClusterList) DeepCopy() *ClusterList
- func (in *ClusterList) DeepCopyInto(out *ClusterList)
- func (in *ClusterList) DeepCopyObject() runtime.Object
- func (*ClusterList) Descriptor() ([]byte, []int)
- func (m *ClusterList) Marshal() (dAtA []byte, err error)
- func (m *ClusterList) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterList) ProtoMessage()
- func (m *ClusterList) Reset()
- func (m *ClusterList) Size() (n int)
- func (this *ClusterList) String() string
- func (m *ClusterList) Unmarshal(dAtA []byte) error
- func (m *ClusterList) XXX_DiscardUnknown()
- func (m *ClusterList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterList) XXX_Merge(src proto.Message)
- func (m *ClusterList) XXX_Size() int
- func (m *ClusterList) XXX_Unmarshal(b []byte) error
- type ClusterSpec
- func (in *ClusterSpec) DeepCopy() *ClusterSpec
- func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
- func (*ClusterSpec) Descriptor() ([]byte, []int)
- func (m *ClusterSpec) Marshal() (dAtA []byte, err error)
- func (m *ClusterSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterSpec) ProtoMessage()
- func (m *ClusterSpec) Reset()
- func (m *ClusterSpec) Size() (n int)
- func (this *ClusterSpec) String() string
- func (m *ClusterSpec) Unmarshal(dAtA []byte) error
- func (m *ClusterSpec) XXX_DiscardUnknown()
- func (m *ClusterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterSpec) XXX_Merge(src proto.Message)
- func (m *ClusterSpec) XXX_Size() int
- func (m *ClusterSpec) XXX_Unmarshal(b []byte) error
- type ClusterStatus
- func (in *ClusterStatus) DeepCopy() *ClusterStatus
- func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
- func (*ClusterStatus) Descriptor() ([]byte, []int)
- func (m *ClusterStatus) Marshal() (dAtA []byte, err error)
- func (m *ClusterStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *ClusterStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ClusterStatus) ProtoMessage()
- func (m *ClusterStatus) Reset()
- func (m *ClusterStatus) Size() (n int)
- func (this *ClusterStatus) String() string
- func (m *ClusterStatus) Unmarshal(dAtA []byte) error
- func (m *ClusterStatus) XXX_DiscardUnknown()
- func (m *ClusterStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterStatus) XXX_Merge(src proto.Message)
- func (m *ClusterStatus) XXX_Size() int
- func (m *ClusterStatus) XXX_Unmarshal(b []byte) error
Constants ¶
const ( ResourceKindCluster = "Cluster" ResourcePluralCluster = "clusters" ResourceSingularCluster = "cluster" )
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.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: cluster.GroupName, Version: "v1alpha1"}
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec ClusterSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` Status ClusterStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=clusters,singular=cluster,categories={kubernetes,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
func (Cluster) CustomResourceDefinition ¶
func (_ Cluster) CustomResourceDefinition() *apiextensions.CustomResourceDefinition
func (*Cluster) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) Descriptor ¶
func (*Cluster) MarshalToSizedBuffer ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) XXX_DiscardUnknown ¶
func (m *Cluster) XXX_DiscardUnknown()
func (*Cluster) XXX_Marshal ¶
func (*Cluster) XXX_Unmarshal ¶
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Cluster `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"` }
func (*ClusterList) DeepCopy ¶
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶
func (in *ClusterList) DeepCopyInto(out *ClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterList) DeepCopyObject ¶
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterList) Descriptor ¶
func (*ClusterList) Descriptor() ([]byte, []int)
func (*ClusterList) Marshal ¶
func (m *ClusterList) Marshal() (dAtA []byte, err error)
func (*ClusterList) MarshalToSizedBuffer ¶
func (m *ClusterList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterList) ProtoMessage ¶
func (*ClusterList) ProtoMessage()
func (*ClusterList) Reset ¶
func (m *ClusterList) Reset()
func (*ClusterList) Size ¶
func (m *ClusterList) Size() (n int)
func (*ClusterList) String ¶
func (this *ClusterList) String() string
func (*ClusterList) Unmarshal ¶
func (m *ClusterList) Unmarshal(dAtA []byte) error
func (*ClusterList) XXX_DiscardUnknown ¶
func (m *ClusterList) XXX_DiscardUnknown()
func (*ClusterList) XXX_Marshal ¶
func (m *ClusterList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterList) XXX_Merge ¶
func (m *ClusterList) XXX_Merge(src proto.Message)
func (*ClusterList) XXX_Size ¶
func (m *ClusterList) XXX_Size() int
func (*ClusterList) XXX_Unmarshal ¶
func (m *ClusterList) XXX_Unmarshal(b []byte) error
type ClusterSpec ¶
type ClusterSpec struct { DeploymentName string `json:"deploymentName"` ReplicaCount *int32 `json:"replicaCount"` }
func (*ClusterSpec) DeepCopy ¶
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶
func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSpec) Descriptor ¶
func (*ClusterSpec) Descriptor() ([]byte, []int)
func (*ClusterSpec) Marshal ¶
func (m *ClusterSpec) Marshal() (dAtA []byte, err error)
func (*ClusterSpec) MarshalToSizedBuffer ¶
func (m *ClusterSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterSpec) ProtoMessage ¶
func (*ClusterSpec) ProtoMessage()
func (*ClusterSpec) Reset ¶
func (m *ClusterSpec) Reset()
func (*ClusterSpec) Size ¶
func (m *ClusterSpec) Size() (n int)
func (*ClusterSpec) String ¶
func (this *ClusterSpec) String() string
func (*ClusterSpec) Unmarshal ¶
func (m *ClusterSpec) Unmarshal(dAtA []byte) error
func (*ClusterSpec) XXX_DiscardUnknown ¶
func (m *ClusterSpec) XXX_DiscardUnknown()
func (*ClusterSpec) XXX_Marshal ¶
func (m *ClusterSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterSpec) XXX_Merge ¶
func (m *ClusterSpec) XXX_Merge(src proto.Message)
func (*ClusterSpec) XXX_Size ¶
func (m *ClusterSpec) XXX_Size() int
func (*ClusterSpec) XXX_Unmarshal ¶
func (m *ClusterSpec) XXX_Unmarshal(b []byte) error
type ClusterStatus ¶
type ClusterStatus struct { CurrentReplica int32 `json:"currentReplica"` // ObservedGeneration is the most recent generation observed for this Cluster. It corresponds to the // Cluster's generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,1,opt,name=observedGeneration"` }
func (*ClusterStatus) DeepCopy ¶
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶
func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterStatus) Descriptor ¶
func (*ClusterStatus) Descriptor() ([]byte, []int)
func (*ClusterStatus) Marshal ¶
func (m *ClusterStatus) Marshal() (dAtA []byte, err error)
func (*ClusterStatus) MarshalToSizedBuffer ¶
func (m *ClusterStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ClusterStatus) ProtoMessage ¶
func (*ClusterStatus) ProtoMessage()
func (*ClusterStatus) Reset ¶
func (m *ClusterStatus) Reset()
func (*ClusterStatus) Size ¶
func (m *ClusterStatus) Size() (n int)
func (*ClusterStatus) String ¶
func (this *ClusterStatus) String() string
func (*ClusterStatus) Unmarshal ¶
func (m *ClusterStatus) Unmarshal(dAtA []byte) error
func (*ClusterStatus) XXX_DiscardUnknown ¶
func (m *ClusterStatus) XXX_DiscardUnknown()
func (*ClusterStatus) XXX_Marshal ¶
func (m *ClusterStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterStatus) XXX_Merge ¶
func (m *ClusterStatus) XXX_Merge(src proto.Message)
func (*ClusterStatus) XXX_Size ¶
func (m *ClusterStatus) XXX_Size() int
func (*ClusterStatus) XXX_Unmarshal ¶
func (m *ClusterStatus) XXX_Unmarshal(b []byte) error