Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package,register +k8s:conversion-gen=k8s.io/kubernetes/federation/apis/federation +k8s:openapi-gen=true +k8s:defaulter-gen=TypeMeta
Package v1beta1 is a generated protocol buffer package. It is generated from these files: k8s.io/kubernetes/federation/apis/federation/v1beta1/generated.proto It has these top-level messages: Cluster ClusterCondition ClusterList ClusterSelectorRequirement ClusterSpec ClusterStatus ServerAddressByClientCIDR
Index ¶
- Constants
- Variables
- func Convert_federation_ClusterCondition_To_v1beta1_ClusterCondition(in *federation.ClusterCondition, out *ClusterCondition, s conversion.Scope) error
- func Convert_federation_ClusterList_To_v1beta1_ClusterList(in *federation.ClusterList, out *ClusterList, s conversion.Scope) error
- func Convert_federation_ClusterSpec_To_v1beta1_ClusterSpec(in *federation.ClusterSpec, out *ClusterSpec, s conversion.Scope) error
- func Convert_federation_ClusterStatus_To_v1beta1_ClusterStatus(in *federation.ClusterStatus, out *ClusterStatus, s conversion.Scope) error
- func Convert_federation_Cluster_To_v1beta1_Cluster(in *federation.Cluster, out *Cluster, s conversion.Scope) error
- func Convert_federation_ServerAddressByClientCIDR_To_v1beta1_ServerAddressByClientCIDR(in *federation.ServerAddressByClientCIDR, out *ServerAddressByClientCIDR, ...) error
- func Convert_v1beta1_ClusterCondition_To_federation_ClusterCondition(in *ClusterCondition, out *federation.ClusterCondition, s conversion.Scope) error
- func Convert_v1beta1_ClusterList_To_federation_ClusterList(in *ClusterList, out *federation.ClusterList, s conversion.Scope) error
- func Convert_v1beta1_ClusterSpec_To_federation_ClusterSpec(in *ClusterSpec, out *federation.ClusterSpec, s conversion.Scope) error
- func Convert_v1beta1_ClusterStatus_To_federation_ClusterStatus(in *ClusterStatus, out *federation.ClusterStatus, s conversion.Scope) error
- func Convert_v1beta1_Cluster_To_federation_Cluster(in *Cluster, out *federation.Cluster, s conversion.Scope) error
- func Convert_v1beta1_ServerAddressByClientCIDR_To_federation_ServerAddressByClientCIDR(in *ServerAddressByClientCIDR, out *federation.ServerAddressByClientCIDR, ...) error
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDeepCopies(scheme *runtime.Scheme) errordeprecated
- func RegisterDefaults(scheme *runtime.Scheme) error
- type Cluster
- 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 (*Cluster) ProtoMessage()
- func (m *Cluster) Reset()
- func (m *Cluster) Size() (n int)
- func (this *Cluster) String() string
- func (Cluster) SwaggerDoc() map[string]string
- func (m *Cluster) Unmarshal(dAtA []byte) error
- type ClusterCondition
- func (in *ClusterCondition) DeepCopy() *ClusterCondition
- func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition)
- func (*ClusterCondition) Descriptor() ([]byte, []int)
- func (m *ClusterCondition) Marshal() (dAtA []byte, err error)
- func (m *ClusterCondition) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterCondition) ProtoMessage()
- func (m *ClusterCondition) Reset()
- func (m *ClusterCondition) Size() (n int)
- func (this *ClusterCondition) String() string
- func (ClusterCondition) SwaggerDoc() map[string]string
- func (m *ClusterCondition) Unmarshal(dAtA []byte) error
- type ClusterConditionType
- 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 (*ClusterList) ProtoMessage()
- func (m *ClusterList) Reset()
- func (m *ClusterList) Size() (n int)
- func (this *ClusterList) String() string
- func (ClusterList) SwaggerDoc() map[string]string
- func (m *ClusterList) Unmarshal(dAtA []byte) error
- type ClusterSelector
- type ClusterSelectorRequirement
- func (in *ClusterSelectorRequirement) DeepCopy() *ClusterSelectorRequirement
- func (in *ClusterSelectorRequirement) DeepCopyInto(out *ClusterSelectorRequirement)
- func (*ClusterSelectorRequirement) Descriptor() ([]byte, []int)
- func (m *ClusterSelectorRequirement) Marshal() (dAtA []byte, err error)
- func (m *ClusterSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
- func (*ClusterSelectorRequirement) ProtoMessage()
- func (m *ClusterSelectorRequirement) Reset()
- func (m *ClusterSelectorRequirement) Size() (n int)
- func (this *ClusterSelectorRequirement) String() string
- func (ClusterSelectorRequirement) SwaggerDoc() map[string]string
- func (m *ClusterSelectorRequirement) Unmarshal(dAtA []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 (*ClusterSpec) ProtoMessage()
- func (m *ClusterSpec) Reset()
- func (m *ClusterSpec) Size() (n int)
- func (this *ClusterSpec) String() string
- func (ClusterSpec) SwaggerDoc() map[string]string
- func (m *ClusterSpec) Unmarshal(dAtA []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 (*ClusterStatus) ProtoMessage()
- func (m *ClusterStatus) Reset()
- func (m *ClusterStatus) Size() (n int)
- func (this *ClusterStatus) String() string
- func (ClusterStatus) SwaggerDoc() map[string]string
- func (m *ClusterStatus) Unmarshal(dAtA []byte) error
- type ServerAddressByClientCIDR
- func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR
- func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR)
- func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int)
- func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error)
- func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error)
- func (*ServerAddressByClientCIDR) ProtoMessage()
- func (m *ServerAddressByClientCIDR) Reset()
- func (m *ServerAddressByClientCIDR) Size() (n int)
- func (this *ServerAddressByClientCIDR) String() string
- func (ServerAddressByClientCIDR) SwaggerDoc() map[string]string
- func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error
Constants ¶
const ( // FederationNamespaceSystem is the system namespace where we place federation control plane components. FederationNamespaceSystem string = "federation-system" // FederationClusterSelectorAnnotation is used to determine placement of objects on federated clusters FederationClusterSelectorAnnotation string = "federation.alpha.kubernetes.io/cluster-selector" // FederationOnlyClusterSelector is the cluster selector to indicate any object in // federation having this annotation should not be synced to federated clusters. FederationOnlyClusterSelector string = "federation.kubernetes.io/federation-control-plane=true" )
const GroupName = "federation"
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: "v1beta1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_federation_ClusterCondition_To_v1beta1_ClusterCondition ¶
func Convert_federation_ClusterCondition_To_v1beta1_ClusterCondition(in *federation.ClusterCondition, out *ClusterCondition, s conversion.Scope) error
Convert_federation_ClusterCondition_To_v1beta1_ClusterCondition is an autogenerated conversion function.
func Convert_federation_ClusterList_To_v1beta1_ClusterList ¶
func Convert_federation_ClusterList_To_v1beta1_ClusterList(in *federation.ClusterList, out *ClusterList, s conversion.Scope) error
Convert_federation_ClusterList_To_v1beta1_ClusterList is an autogenerated conversion function.
func Convert_federation_ClusterSpec_To_v1beta1_ClusterSpec ¶
func Convert_federation_ClusterSpec_To_v1beta1_ClusterSpec(in *federation.ClusterSpec, out *ClusterSpec, s conversion.Scope) error
Convert_federation_ClusterSpec_To_v1beta1_ClusterSpec is an autogenerated conversion function.
func Convert_federation_ClusterStatus_To_v1beta1_ClusterStatus ¶
func Convert_federation_ClusterStatus_To_v1beta1_ClusterStatus(in *federation.ClusterStatus, out *ClusterStatus, s conversion.Scope) error
Convert_federation_ClusterStatus_To_v1beta1_ClusterStatus is an autogenerated conversion function.
func Convert_federation_Cluster_To_v1beta1_Cluster ¶
func Convert_federation_Cluster_To_v1beta1_Cluster(in *federation.Cluster, out *Cluster, s conversion.Scope) error
Convert_federation_Cluster_To_v1beta1_Cluster is an autogenerated conversion function.
func Convert_federation_ServerAddressByClientCIDR_To_v1beta1_ServerAddressByClientCIDR ¶
func Convert_federation_ServerAddressByClientCIDR_To_v1beta1_ServerAddressByClientCIDR(in *federation.ServerAddressByClientCIDR, out *ServerAddressByClientCIDR, s conversion.Scope) error
Convert_federation_ServerAddressByClientCIDR_To_v1beta1_ServerAddressByClientCIDR is an autogenerated conversion function.
func Convert_v1beta1_ClusterCondition_To_federation_ClusterCondition ¶
func Convert_v1beta1_ClusterCondition_To_federation_ClusterCondition(in *ClusterCondition, out *federation.ClusterCondition, s conversion.Scope) error
Convert_v1beta1_ClusterCondition_To_federation_ClusterCondition is an autogenerated conversion function.
func Convert_v1beta1_ClusterList_To_federation_ClusterList ¶
func Convert_v1beta1_ClusterList_To_federation_ClusterList(in *ClusterList, out *federation.ClusterList, s conversion.Scope) error
Convert_v1beta1_ClusterList_To_federation_ClusterList is an autogenerated conversion function.
func Convert_v1beta1_ClusterSpec_To_federation_ClusterSpec ¶
func Convert_v1beta1_ClusterSpec_To_federation_ClusterSpec(in *ClusterSpec, out *federation.ClusterSpec, s conversion.Scope) error
Convert_v1beta1_ClusterSpec_To_federation_ClusterSpec is an autogenerated conversion function.
func Convert_v1beta1_ClusterStatus_To_federation_ClusterStatus ¶
func Convert_v1beta1_ClusterStatus_To_federation_ClusterStatus(in *ClusterStatus, out *federation.ClusterStatus, s conversion.Scope) error
Convert_v1beta1_ClusterStatus_To_federation_ClusterStatus is an autogenerated conversion function.
func Convert_v1beta1_Cluster_To_federation_Cluster ¶
func Convert_v1beta1_Cluster_To_federation_Cluster(in *Cluster, out *federation.Cluster, s conversion.Scope) error
Convert_v1beta1_Cluster_To_federation_Cluster is an autogenerated conversion function.
func Convert_v1beta1_ServerAddressByClientCIDR_To_federation_ServerAddressByClientCIDR ¶
func Convert_v1beta1_ServerAddressByClientCIDR_To_federation_ServerAddressByClientCIDR(in *ServerAddressByClientCIDR, out *federation.ServerAddressByClientCIDR, s conversion.Scope) error
Convert_v1beta1_ServerAddressByClientCIDR_To_federation_ServerAddressByClientCIDR is an autogenerated conversion function.
func RegisterConversions ¶ added in v1.4.2
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDeepCopies
deprecated
added in
v1.4.2
func RegisterDefaults ¶ added in v1.6.0
RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.
Types ¶
type Cluster ¶
type Cluster struct { metav1.TypeMeta `json:",inline"` // Standard object's metadata. // 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"` // Spec defines the behavior of the Cluster. // +optional Spec ClusterSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` // Status describes the current status of a Cluster // +optional Status ClusterStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"` }
Information about a registered cluster in a federated kubernetes setup. Clusters are not namespaced and have unique names in the federation.
func (*Cluster) DeepCopy ¶ added in v1.8.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶ added in v1.8.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶ added in v1.8.0
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Cluster) Descriptor ¶ added in v1.4.2
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (Cluster) SwaggerDoc ¶ added in v1.4.2
type ClusterCondition ¶
type ClusterCondition struct { // Type of cluster condition, Complete or Failed. Type ClusterConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ClusterConditionType"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"` // Last time the condition was checked. // +optional LastProbeTime metav1.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"` // Last time the condition transit from one status to another. // +optional LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"` // (brief) reason for the condition's last transition. // +optional Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"` // Human readable message indicating details about last transition. // +optional Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"` }
ClusterCondition describes current state of a cluster.
func (*ClusterCondition) DeepCopy ¶ added in v1.8.0
func (in *ClusterCondition) DeepCopy() *ClusterCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCondition.
func (*ClusterCondition) DeepCopyInto ¶ added in v1.8.0
func (in *ClusterCondition) DeepCopyInto(out *ClusterCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterCondition) Descriptor ¶ added in v1.4.2
func (*ClusterCondition) Descriptor() ([]byte, []int)
func (*ClusterCondition) Marshal ¶
func (m *ClusterCondition) Marshal() (dAtA []byte, err error)
func (*ClusterCondition) ProtoMessage ¶
func (*ClusterCondition) ProtoMessage()
func (*ClusterCondition) Reset ¶
func (m *ClusterCondition) Reset()
func (*ClusterCondition) Size ¶
func (m *ClusterCondition) Size() (n int)
func (*ClusterCondition) String ¶
func (this *ClusterCondition) String() string
func (ClusterCondition) SwaggerDoc ¶ added in v1.4.2
func (ClusterCondition) SwaggerDoc() map[string]string
func (*ClusterCondition) Unmarshal ¶
func (m *ClusterCondition) Unmarshal(dAtA []byte) error
type ClusterConditionType ¶
type ClusterConditionType string
const ( // ClusterReady means the cluster is ready to accept workloads. ClusterReady ClusterConditionType = "Ready" // ClusterOffline means the cluster is temporarily down or not reachable ClusterOffline ClusterConditionType = "Offline" )
These are valid conditions of a cluster.
type ClusterList ¶
type ClusterList struct { metav1.TypeMeta `json:",inline"` // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds // +optional metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` // List of Cluster objects. Items []Cluster `json:"items" protobuf:"bytes,2,rep,name=items"` }
A list of all the kubernetes clusters registered to the federation
func (*ClusterList) DeepCopy ¶ added in v1.8.0
func (in *ClusterList) DeepCopy() *ClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.
func (*ClusterList) DeepCopyInto ¶ added in v1.8.0
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 ¶ added in v1.8.0
func (in *ClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ClusterList) Descriptor ¶ added in v1.4.2
func (*ClusterList) Descriptor() ([]byte, []int)
func (*ClusterList) Marshal ¶
func (m *ClusterList) Marshal() (dAtA []byte, err 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) SwaggerDoc ¶ added in v1.4.2
func (ClusterList) SwaggerDoc() map[string]string
func (*ClusterList) Unmarshal ¶
func (m *ClusterList) Unmarshal(dAtA []byte) error
type ClusterSelector ¶ added in v1.7.0
type ClusterSelector []ClusterSelectorRequirement
Expressed as value of annotation for selecting the clusters on which a resource is created.
type ClusterSelectorRequirement ¶ added in v1.7.0
type ClusterSelectorRequirement struct { // +patchMergeKey=key // +patchStrategy=merge Key string `json:"key" patchStrategy:"merge" patchMergeKey:"key" protobuf:"bytes,1,opt,name=key"` // The Operator defines how the Key is matched to the Values. One of "in", "notin", // "exists", "!", "=", "!=", "gt" or "lt". Operator string `json:"operator" protobuf:"bytes,2,opt,name=operator"` // An array of string values. If the operator is "in" or "notin", // the values array must be non-empty. If the operator is "exists" or "!", // the values array must be empty. If the operator is "gt" or "lt", the values // array must have a single element, which will be interpreted as an integer. // This array is replaced during a strategic merge patch. // +optional Values []string `json:"values,omitempty" protobuf:"bytes,3,rep,name=values"` }
ClusterSelectorRequirement contains values, a key, and an operator that relates the key and values. The zero value of ClusterSelectorRequirement is invalid. ClusterSelectorRequirement implements both set based match and exact match
func (*ClusterSelectorRequirement) DeepCopy ¶ added in v1.8.0
func (in *ClusterSelectorRequirement) DeepCopy() *ClusterSelectorRequirement
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSelectorRequirement.
func (*ClusterSelectorRequirement) DeepCopyInto ¶ added in v1.8.0
func (in *ClusterSelectorRequirement) DeepCopyInto(out *ClusterSelectorRequirement)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSelectorRequirement) Descriptor ¶ added in v1.7.0
func (*ClusterSelectorRequirement) Descriptor() ([]byte, []int)
func (*ClusterSelectorRequirement) Marshal ¶ added in v1.7.0
func (m *ClusterSelectorRequirement) Marshal() (dAtA []byte, err error)
func (*ClusterSelectorRequirement) MarshalTo ¶ added in v1.7.0
func (m *ClusterSelectorRequirement) MarshalTo(dAtA []byte) (int, error)
func (*ClusterSelectorRequirement) ProtoMessage ¶ added in v1.7.0
func (*ClusterSelectorRequirement) ProtoMessage()
func (*ClusterSelectorRequirement) Reset ¶ added in v1.7.0
func (m *ClusterSelectorRequirement) Reset()
func (*ClusterSelectorRequirement) Size ¶ added in v1.7.0
func (m *ClusterSelectorRequirement) Size() (n int)
func (*ClusterSelectorRequirement) String ¶ added in v1.7.0
func (this *ClusterSelectorRequirement) String() string
func (ClusterSelectorRequirement) SwaggerDoc ¶ added in v1.7.0
func (ClusterSelectorRequirement) SwaggerDoc() map[string]string
func (*ClusterSelectorRequirement) Unmarshal ¶ added in v1.7.0
func (m *ClusterSelectorRequirement) Unmarshal(dAtA []byte) error
type ClusterSpec ¶
type ClusterSpec struct { // A map of client CIDR to server address. // This is to help clients reach servers in the most network-efficient way possible. // Clients can use the appropriate server address as per the CIDR that they match. // In case of multiple matches, clients should use the longest matching CIDR. // +patchMergeKey=clientCIDR // +patchStrategy=merge ServerAddressByClientCIDRs []ServerAddressByClientCIDR `` /* 137-byte string literal not displayed */ // Name of the secret containing kubeconfig to access this cluster. // The secret is read from the kubernetes cluster that is hosting federation control plane. // Admin needs to ensure that the required secret exists. Secret should be in the same namespace where federation control plane is hosted and it should have kubeconfig in its data with key "kubeconfig". // This will later be changed to a reference to secret in federation control plane when the federation control plane supports secrets. // This can be left empty if the cluster allows insecure access. // +optional SecretRef *v1.LocalObjectReference `json:"secretRef,omitempty" protobuf:"bytes,2,opt,name=secretRef"` }
ClusterSpec describes the attributes of a kubernetes cluster.
func (*ClusterSpec) DeepCopy ¶ added in v1.8.0
func (in *ClusterSpec) DeepCopy() *ClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.
func (*ClusterSpec) DeepCopyInto ¶ added in v1.8.0
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 ¶ added in v1.4.2
func (*ClusterSpec) Descriptor() ([]byte, []int)
func (*ClusterSpec) Marshal ¶
func (m *ClusterSpec) Marshal() (dAtA []byte, err 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) SwaggerDoc ¶ added in v1.4.2
func (ClusterSpec) SwaggerDoc() map[string]string
func (*ClusterSpec) Unmarshal ¶
func (m *ClusterSpec) Unmarshal(dAtA []byte) error
type ClusterStatus ¶
type ClusterStatus struct { // Conditions is an array of current cluster conditions. // +optional Conditions []ClusterCondition `json:"conditions,omitempty" protobuf:"bytes,1,rep,name=conditions"` // Zones is the list of availability zones in which the nodes of the cluster exist, e.g. 'us-east1-a'. // These will always be in the same region. // +optional Zones []string `json:"zones,omitempty" protobuf:"bytes,5,rep,name=zones"` // Region is the name of the region in which all of the nodes in the cluster exist. e.g. 'us-east1'. // +optional Region string `json:"region,omitempty" protobuf:"bytes,6,opt,name=region"` }
ClusterStatus is information about the current status of a cluster updated by cluster controller periodically.
func (*ClusterStatus) DeepCopy ¶ added in v1.8.0
func (in *ClusterStatus) DeepCopy() *ClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.
func (*ClusterStatus) DeepCopyInto ¶ added in v1.8.0
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 ¶ added in v1.4.2
func (*ClusterStatus) Descriptor() ([]byte, []int)
func (*ClusterStatus) Marshal ¶
func (m *ClusterStatus) Marshal() (dAtA []byte, err 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) SwaggerDoc ¶ added in v1.4.2
func (ClusterStatus) SwaggerDoc() map[string]string
func (*ClusterStatus) Unmarshal ¶
func (m *ClusterStatus) Unmarshal(dAtA []byte) error
type ServerAddressByClientCIDR ¶
type ServerAddressByClientCIDR struct { // The CIDR with which clients can match their IP to figure out the server address that they should use. ClientCIDR string `json:"clientCIDR" protobuf:"bytes,1,opt,name=clientCIDR"` // Address of this server, suitable for a client that matches the above CIDR. // This can be a hostname, hostname:port, IP or IP:port. ServerAddress string `json:"serverAddress" protobuf:"bytes,2,opt,name=serverAddress"` }
ServerAddressByClientCIDR helps the client to determine the server address that they should use, depending on the clientCIDR that they match.
func (*ServerAddressByClientCIDR) DeepCopy ¶ added in v1.8.0
func (in *ServerAddressByClientCIDR) DeepCopy() *ServerAddressByClientCIDR
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerAddressByClientCIDR.
func (*ServerAddressByClientCIDR) DeepCopyInto ¶ added in v1.8.0
func (in *ServerAddressByClientCIDR) DeepCopyInto(out *ServerAddressByClientCIDR)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServerAddressByClientCIDR) Descriptor ¶ added in v1.4.2
func (*ServerAddressByClientCIDR) Descriptor() ([]byte, []int)
func (*ServerAddressByClientCIDR) Marshal ¶
func (m *ServerAddressByClientCIDR) Marshal() (dAtA []byte, err error)
func (*ServerAddressByClientCIDR) MarshalTo ¶
func (m *ServerAddressByClientCIDR) MarshalTo(dAtA []byte) (int, error)
func (*ServerAddressByClientCIDR) ProtoMessage ¶
func (*ServerAddressByClientCIDR) ProtoMessage()
func (*ServerAddressByClientCIDR) Reset ¶
func (m *ServerAddressByClientCIDR) Reset()
func (*ServerAddressByClientCIDR) Size ¶
func (m *ServerAddressByClientCIDR) Size() (n int)
func (*ServerAddressByClientCIDR) String ¶
func (this *ServerAddressByClientCIDR) String() string
func (ServerAddressByClientCIDR) SwaggerDoc ¶ added in v1.4.2
func (ServerAddressByClientCIDR) SwaggerDoc() map[string]string
func (*ServerAddressByClientCIDR) Unmarshal ¶
func (m *ServerAddressByClientCIDR) Unmarshal(dAtA []byte) error