Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the replica v1alpha1 API group +kubebuilder:object:generate=true +groupName=replica.example.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "replica.example.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ConfigMapReplica ¶
type ConfigMapReplica struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConfigMapReplicaSpec `json:"spec,omitempty"` Status ConfigMapReplicaStatus `json:"status,omitempty"` }
ConfigMapReplica is the Schema for the configmapreplicas API
func (*ConfigMapReplica) DeepCopy ¶
func (in *ConfigMapReplica) DeepCopy() *ConfigMapReplica
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapReplica.
func (*ConfigMapReplica) DeepCopyInto ¶
func (in *ConfigMapReplica) DeepCopyInto(out *ConfigMapReplica)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapReplica) DeepCopyObject ¶
func (in *ConfigMapReplica) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigMapReplicaCopy ¶
type ConfigMapReplicaCopy struct { // Name for resource Name string `json:"name"` // Namespace of resource Namespace string `json:"namespace"` // Last time we probed the condition LastProbeTime metav1.Time `json:"lastProbeTime,omitempty"` // Last time the condition transitioned LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // Ready returns true when a configmap is ready Ready bool `json:"ready"` // Reason for not being ready. CamelCase // +optional Reason string `json:"reason,omitempty"` // Message detail for Reason // +optional Message string `json:"message,omitempty"` }
ConfigMapReplicaCopy a condition for one Copy
func (*ConfigMapReplicaCopy) DeepCopy ¶
func (in *ConfigMapReplicaCopy) DeepCopy() *ConfigMapReplicaCopy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapReplicaCopy.
func (*ConfigMapReplicaCopy) DeepCopyInto ¶
func (in *ConfigMapReplicaCopy) DeepCopyInto(out *ConfigMapReplicaCopy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigMapReplicaList ¶
type ConfigMapReplicaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ConfigMapReplica `json:"items"` }
ConfigMapReplicaList contains a list of ConfigMapReplica
func (*ConfigMapReplicaList) DeepCopy ¶
func (in *ConfigMapReplicaList) DeepCopy() *ConfigMapReplicaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapReplicaList.
func (*ConfigMapReplicaList) DeepCopyInto ¶
func (in *ConfigMapReplicaList) DeepCopyInto(out *ConfigMapReplicaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapReplicaList) DeepCopyObject ¶
func (in *ConfigMapReplicaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigMapReplicaSpec ¶
type ConfigMapReplicaSpec struct { // Template defines the data that should be replicated Template ConfigMapTemplate `json:"template"` // Selector as namespace selector rule to replicate configmaps to Selector map[string]string `json:"selector"` }
ConfigMapReplicaSpec defines the desired state of ConfigMapReplica
func (*ConfigMapReplicaSpec) DeepCopy ¶
func (in *ConfigMapReplicaSpec) DeepCopy() *ConfigMapReplicaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapReplicaSpec.
func (*ConfigMapReplicaSpec) DeepCopyInto ¶
func (in *ConfigMapReplicaSpec) DeepCopyInto(out *ConfigMapReplicaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigMapReplicaStatus ¶
type ConfigMapReplicaStatus struct { // Status for each configmap // +optional ConfigMapStatuses []ConfigMapReplicaCopy `json:"configMapStatuses,omitempty"` }
ConfigMapReplicaStatus defines the observed state of ConfigMapReplica
func (*ConfigMapReplicaStatus) DeepCopy ¶
func (in *ConfigMapReplicaStatus) DeepCopy() *ConfigMapReplicaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapReplicaStatus.
func (*ConfigMapReplicaStatus) DeepCopyInto ¶
func (in *ConfigMapReplicaStatus) DeepCopyInto(out *ConfigMapReplicaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigMapTemplate ¶
type ConfigMapTemplate struct { // Labels to be given to replicated ConfigMap // +optional Labels map[string]string `json:"labels,omitempty"` // Data to be replicated Data map[string]string `json:"data,omitempty"` }
ConfigMapTemplate template data for all replicated ConfigMaps
func (*ConfigMapTemplate) DeepCopy ¶
func (in *ConfigMapTemplate) DeepCopy() *ConfigMapTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapTemplate.
func (*ConfigMapTemplate) DeepCopyInto ¶
func (in *ConfigMapTemplate) DeepCopyInto(out *ConfigMapTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.