Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the plumber v1 API group +kubebuilder:object:generate=true +groupName=plumber.jnytnai0613.github.io
Index ¶
- Variables
- type ClusterDetector
- type ClusterDetectorList
- type ClusterDetectorSpec
- type ClusterDetectorStatus
- type DeploymentSpecApplyConfiguration
- type IngressSpecApplyConfiguration
- type PerResourceApplyStatus
- type Replicator
- type ReplicatorList
- type ReplicatorSpec
- type ReplicatorStatus
- type ServiceSpecApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "plumber.jnytnai0613.github.io", Version: "v1"} // 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 ClusterDetector ¶
type ClusterDetector struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterDetectorSpec `json:"spec,omitempty"` Status ClusterDetectorStatus `json:"status,omitempty"` }
ClusterDetector is the Schema for the clusterdetectors API
func (*ClusterDetector) DeepCopy ¶
func (in *ClusterDetector) DeepCopy() *ClusterDetector
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDetector.
func (*ClusterDetector) DeepCopyInto ¶
func (in *ClusterDetector) DeepCopyInto(out *ClusterDetector)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterDetector) DeepCopyObject ¶
func (in *ClusterDetector) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterDetectorList ¶
type ClusterDetectorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterDetector `json:"items"` }
ClusterDetectorList contains a list of ClusterDetector
func (*ClusterDetectorList) DeepCopy ¶
func (in *ClusterDetectorList) DeepCopy() *ClusterDetectorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDetectorList.
func (*ClusterDetectorList) DeepCopyInto ¶
func (in *ClusterDetectorList) DeepCopyInto(out *ClusterDetectorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterDetectorList) DeepCopyObject ¶
func (in *ClusterDetectorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterDetectorSpec ¶
type ClusterDetectorSpec struct { // The kubeconfig file context,cluster,user Context string `json:"context,omitempty"` Cluster string `json:"cluster,omitempty"` User string `json:"user,omitempty"` }
ClusterDetectorSpec defines the desired state of ClusterDetector
func (*ClusterDetectorSpec) DeepCopy ¶
func (in *ClusterDetectorSpec) DeepCopy() *ClusterDetectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDetectorSpec.
func (*ClusterDetectorSpec) DeepCopyInto ¶
func (in *ClusterDetectorSpec) DeepCopyInto(out *ClusterDetectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterDetectorStatus ¶
type ClusterDetectorStatus struct { // If communication to the remote Kubernetes cluster is possible, // Running is set; if not, Unknown is set. ClusterStatus string `json:"clusterstatus,omitempty"` // An error message is output when communication with a remote Kubernetes cluster is not possible. // Output only when the wide option of the Kubectl get command is given. Reason string `json:"reason,omitempty"` }
ClusterDetectorStatus defines the observed state of ClusterDetector
func (*ClusterDetectorStatus) DeepCopy ¶
func (in *ClusterDetectorStatus) DeepCopy() *ClusterDetectorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDetectorStatus.
func (*ClusterDetectorStatus) DeepCopyInto ¶
func (in *ClusterDetectorStatus) DeepCopyInto(out *ClusterDetectorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentSpecApplyConfiguration ¶
type DeploymentSpecApplyConfiguration appsv1apply.DeploymentSpecApplyConfiguration
func (*DeploymentSpecApplyConfiguration) DeepCopy ¶
func (c *DeploymentSpecApplyConfiguration) DeepCopy() *DeploymentSpecApplyConfiguration
func (*DeploymentSpecApplyConfiguration) DeepCopyInto ¶
func (in *DeploymentSpecApplyConfiguration) DeepCopyInto(out *DeploymentSpecApplyConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressSpecApplyConfiguration ¶
type IngressSpecApplyConfiguration networkv1apply.IngressSpecApplyConfiguration
func (*IngressSpecApplyConfiguration) DeepCopy ¶
func (c *IngressSpecApplyConfiguration) DeepCopy() *IngressSpecApplyConfiguration
func (*IngressSpecApplyConfiguration) DeepCopyInto ¶
func (in *IngressSpecApplyConfiguration) DeepCopyInto(out *IngressSpecApplyConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PerResourceApplyStatus ¶
type PerResourceApplyStatus struct { Cluster string `json:"cluster"` Kind string `json:"kind"` Name string `json:"name"` ApplyStatus string `json:"applyStatus"` }
func (*PerResourceApplyStatus) DeepCopy ¶
func (in *PerResourceApplyStatus) DeepCopy() *PerResourceApplyStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PerResourceApplyStatus.
func (*PerResourceApplyStatus) DeepCopyInto ¶
func (in *PerResourceApplyStatus) DeepCopyInto(out *PerResourceApplyStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Replicator ¶
type Replicator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ReplicatorSpec `json:"spec,omitempty"` Status ReplicatorStatus `json:"status,omitempty"` }
Replicator is the Schema for the replicators API
func (*Replicator) DeepCopy ¶
func (in *Replicator) DeepCopy() *Replicator
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Replicator.
func (*Replicator) DeepCopyInto ¶
func (in *Replicator) DeepCopyInto(out *Replicator)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Replicator) DeepCopyObject ¶
func (in *Replicator) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReplicatorList ¶
type ReplicatorList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Replicator `json:"items"` }
ReplicatorList contains a list of Replicator
func (*ReplicatorList) DeepCopy ¶
func (in *ReplicatorList) DeepCopy() *ReplicatorList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicatorList.
func (*ReplicatorList) DeepCopyInto ¶
func (in *ReplicatorList) DeepCopyInto(out *ReplicatorList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReplicatorList) DeepCopyObject ¶
func (in *ReplicatorList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReplicatorSpec ¶
type ReplicatorSpec struct { ReplicationNamespace string `json:"replicationNamespace"` DeploymentName string `json:"deploymentName"` DeploymentSpec *DeploymentSpecApplyConfiguration `json:"deploymentSpec"` //+optional ConfigMapName string `json:"configMapName"` //+optional ConfigMapData map[string]string `json:"configMapData"` //+optional ServiceName string `json:"serviceName"` //+optional ServiceSpec *ServiceSpecApplyConfiguration `json:"serviceSpec"` //+optional IngressName string `json:"ingressName"` //+optional IngressSpec *IngressSpecApplyConfiguration `json:"ingressSpec"` //+optional IngressSecureEnabled bool `json:"ingressSecureEnabled"` //+optional TargetCluster []string `json:"targetCluster"` }
ReplicatorSpec defines the desired state of Replicator
func (*ReplicatorSpec) DeepCopy ¶
func (in *ReplicatorSpec) DeepCopy() *ReplicatorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicatorSpec.
func (*ReplicatorSpec) DeepCopyInto ¶
func (in *ReplicatorSpec) DeepCopyInto(out *ReplicatorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReplicatorStatus ¶
type ReplicatorStatus struct { // Synchronization status with remote Kubernetes cluster per resource Applied []PerResourceApplyStatus `json:"applied"` // The status will be as follows // synced: Resource Apply succeeded on all clusters // not synced: Resource Apply failed in any of the clusters. Synced string `json:"synced"` }
ReplicatorStatus defines the observed state of Replicator
func (*ReplicatorStatus) DeepCopy ¶
func (in *ReplicatorStatus) DeepCopy() *ReplicatorStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicatorStatus.
func (*ReplicatorStatus) DeepCopyInto ¶
func (in *ReplicatorStatus) DeepCopyInto(out *ReplicatorStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceSpecApplyConfiguration ¶
type ServiceSpecApplyConfiguration corev1apply.ServiceSpecApplyConfiguration
func (*ServiceSpecApplyConfiguration) DeepCopy ¶
func (c *ServiceSpecApplyConfiguration) DeepCopy() *ServiceSpecApplyConfiguration
func (*ServiceSpecApplyConfiguration) DeepCopyInto ¶
func (in *ServiceSpecApplyConfiguration) DeepCopyInto(out *ServiceSpecApplyConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.