Documentation ¶
Overview ¶
Package v1alpha1 contains database service resources for Rook +kubebuilder:object:generate=true +groupName=database.rook.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type CockroachCluster
- func (in *CockroachCluster) DeepCopy() *CockroachCluster
- func (in *CockroachCluster) DeepCopyInto(out *CockroachCluster)
- func (in *CockroachCluster) DeepCopyObject() runtime.Object
- func (mg *CockroachCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *CockroachCluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *CockroachCluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *CockroachCluster) GetProviderReference() *xpv1.Reference
- func (mg *CockroachCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *CockroachCluster) SetConditions(c ...xpv1.Condition)
- func (mg *CockroachCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *CockroachCluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *CockroachCluster) SetProviderReference(r *xpv1.Reference)
- func (mg *CockroachCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type CockroachClusterList
- type CockroachClusterParameters
- type CockroachClusterSpec
- type CockroachClusterStatus
- type NetworkSpec
- type PortSpec
- type ServerSpec
- type YugabyteCluster
- func (in *YugabyteCluster) DeepCopy() *YugabyteCluster
- func (in *YugabyteCluster) DeepCopyInto(out *YugabyteCluster)
- func (in *YugabyteCluster) DeepCopyObject() runtime.Object
- func (mg *YugabyteCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *YugabyteCluster) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *YugabyteCluster) GetProviderConfigReference() *xpv1.Reference
- func (mg *YugabyteCluster) GetProviderReference() *xpv1.Reference
- func (mg *YugabyteCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *YugabyteCluster) SetConditions(c ...xpv1.Condition)
- func (mg *YugabyteCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *YugabyteCluster) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *YugabyteCluster) SetProviderReference(r *xpv1.Reference)
- func (mg *YugabyteCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type YugabyteClusterList
- type YugabyteClusterParameters
- type YugabyteClusterSpec
- type YugabyteClusterStatus
Constants ¶
const ( Group = "database.rook.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( YugabyteClusterKind = reflect.TypeOf(YugabyteCluster{}).Name() YugabyteClusterKindAPIVersion = YugabyteClusterKind + "." + SchemeGroupVersion.String() YugabyteClusterGroupVersionKind = SchemeGroupVersion.WithKind(YugabyteClusterKind) )
YugabyteCluster type metadata.
var ( CockroachClusterKind = reflect.TypeOf(CockroachCluster{}).Name() CockroachClusterKindAPIVersion = CockroachClusterKind + "." + SchemeGroupVersion.String() CockroachClusterGroupVersionKind = SchemeGroupVersion.WithKind(CockroachClusterKind) )
CockroachCluster type metadata.
Functions ¶
This section is empty.
Types ¶
type CockroachCluster ¶
type CockroachCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CockroachClusterSpec `json:"spec"` Status CockroachClusterStatus `json:"status,omitempty"` }
A CockroachCluster configures a Rook 'clusters.cockroachdb.rook.io' +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,rook}
func (*CockroachCluster) DeepCopy ¶
func (in *CockroachCluster) DeepCopy() *CockroachCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CockroachCluster.
func (*CockroachCluster) DeepCopyInto ¶
func (in *CockroachCluster) DeepCopyInto(out *CockroachCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CockroachCluster) DeepCopyObject ¶
func (in *CockroachCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CockroachCluster) GetCondition ¶
func (mg *CockroachCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this CockroachCluster.
func (*CockroachCluster) GetDeletionPolicy ¶ added in v0.8.0
func (mg *CockroachCluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this CockroachCluster.
func (*CockroachCluster) GetProviderConfigReference ¶ added in v0.8.0
func (mg *CockroachCluster) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this CockroachCluster.
func (*CockroachCluster) GetProviderReference ¶
func (mg *CockroachCluster) GetProviderReference() *xpv1.Reference
GetProviderReference of this CockroachCluster. Deprecated: Use GetProviderConfigReference.
func (*CockroachCluster) GetWriteConnectionSecretToReference ¶
func (mg *CockroachCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this CockroachCluster.
func (*CockroachCluster) SetConditions ¶
func (mg *CockroachCluster) SetConditions(c ...xpv1.Condition)
SetConditions of this CockroachCluster.
func (*CockroachCluster) SetDeletionPolicy ¶ added in v0.8.0
func (mg *CockroachCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this CockroachCluster.
func (*CockroachCluster) SetProviderConfigReference ¶ added in v0.8.0
func (mg *CockroachCluster) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this CockroachCluster.
func (*CockroachCluster) SetProviderReference ¶
func (mg *CockroachCluster) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this CockroachCluster. Deprecated: Use SetProviderConfigReference.
func (*CockroachCluster) SetWriteConnectionSecretToReference ¶
func (mg *CockroachCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this CockroachCluster.
type CockroachClusterList ¶
type CockroachClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CockroachCluster `json:"items"` }
CockroachClusterList contains a list of CockroachCluster
func (*CockroachClusterList) DeepCopy ¶
func (in *CockroachClusterList) DeepCopy() *CockroachClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CockroachClusterList.
func (*CockroachClusterList) DeepCopyInto ¶
func (in *CockroachClusterList) DeepCopyInto(out *CockroachClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CockroachClusterList) DeepCopyObject ¶
func (in *CockroachClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CockroachClusterList) GetItems ¶ added in v0.6.0
func (l *CockroachClusterList) GetItems() []resource.Managed
GetItems of this CockroachClusterList.
type CockroachClusterParameters ¶
type CockroachClusterParameters struct { Name string `json:"name"` Namespace string `json:"namespace"` // The annotations-related configuration to add/set on each Pod related object. Annotations v1alpha1.Annotations `json:"annotations,omitempty"` Storage v1alpha1.StorageScopeSpec `json:"scope,omitempty"` Network NetworkSpec `json:"network,omitempty"` Secure bool `json:"secure,omitempty"` CachePercent int `json:"cachePercent,omitempty"` MaxSQLMemoryPercent int `json:"maxSQLMemoryPercent,omitempty"` }
A CockroachClusterParameters defines the desired state of a CockroachCluster.
func (*CockroachClusterParameters) DeepCopy ¶
func (in *CockroachClusterParameters) DeepCopy() *CockroachClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CockroachClusterParameters.
func (*CockroachClusterParameters) DeepCopyInto ¶
func (in *CockroachClusterParameters) DeepCopyInto(out *CockroachClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CockroachClusterSpec ¶
type CockroachClusterSpec struct { xpv1.ResourceSpec `json:",inline"` CockroachClusterParameters `json:"forProvider"` }
A CockroachClusterSpec defines the desired state of a CockroachCluster.
func (*CockroachClusterSpec) DeepCopy ¶
func (in *CockroachClusterSpec) DeepCopy() *CockroachClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CockroachClusterSpec.
func (*CockroachClusterSpec) DeepCopyInto ¶
func (in *CockroachClusterSpec) DeepCopyInto(out *CockroachClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CockroachClusterStatus ¶
type CockroachClusterStatus struct {
xpv1.ResourceStatus `json:",inline"`
}
A CockroachClusterStatus defines the current state of a CockroachCluster.
func (*CockroachClusterStatus) DeepCopy ¶
func (in *CockroachClusterStatus) DeepCopy() *CockroachClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CockroachClusterStatus.
func (*CockroachClusterStatus) DeepCopyInto ¶
func (in *CockroachClusterStatus) DeepCopyInto(out *CockroachClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkSpec ¶
type NetworkSpec struct { // Set of named ports that can be configured for this resource Ports []PortSpec `json:"ports,omitempty"` }
NetworkSpec describes network related settings of the cluster
func (*NetworkSpec) DeepCopy ¶
func (in *NetworkSpec) DeepCopy() *NetworkSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkSpec.
func (*NetworkSpec) DeepCopyInto ¶
func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortSpec ¶
type PortSpec struct { // Name of port Name string `json:"name,omitempty"` // Port number Port int32 `json:"port,omitempty"` }
PortSpec is named port
func (*PortSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortSpec.
func (*PortSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerSpec ¶
type ServerSpec struct { Replicas int32 `json:"replicas,omitempty"` Network NetworkSpec `json:"network,omitempty"` VolumeClaimTemplate corev1.PersistentVolumeClaim `json:"volumeClaimTemplate,omitempty"` }
ServerSpec describes server related settings of the cluster
func (*ServerSpec) DeepCopy ¶
func (in *ServerSpec) DeepCopy() *ServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerSpec.
func (*ServerSpec) DeepCopyInto ¶
func (in *ServerSpec) DeepCopyInto(out *ServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type YugabyteCluster ¶
type YugabyteCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec YugabyteClusterSpec `json:"spec"` Status YugabyteClusterStatus `json:"status,omitempty"` }
A YugabyteCluster configures a Rook 'ybclusters.yugabytedb.rook.io' +kubebuilder:subresource:status +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.state" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,rook}
func (*YugabyteCluster) DeepCopy ¶
func (in *YugabyteCluster) DeepCopy() *YugabyteCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YugabyteCluster.
func (*YugabyteCluster) DeepCopyInto ¶
func (in *YugabyteCluster) DeepCopyInto(out *YugabyteCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*YugabyteCluster) DeepCopyObject ¶
func (in *YugabyteCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*YugabyteCluster) GetCondition ¶
func (mg *YugabyteCluster) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this YugabyteCluster.
func (*YugabyteCluster) GetDeletionPolicy ¶ added in v0.8.0
func (mg *YugabyteCluster) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this YugabyteCluster.
func (*YugabyteCluster) GetProviderConfigReference ¶ added in v0.8.0
func (mg *YugabyteCluster) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this YugabyteCluster.
func (*YugabyteCluster) GetProviderReference ¶
func (mg *YugabyteCluster) GetProviderReference() *xpv1.Reference
GetProviderReference of this YugabyteCluster. Deprecated: Use GetProviderConfigReference.
func (*YugabyteCluster) GetWriteConnectionSecretToReference ¶
func (mg *YugabyteCluster) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this YugabyteCluster.
func (*YugabyteCluster) SetConditions ¶
func (mg *YugabyteCluster) SetConditions(c ...xpv1.Condition)
SetConditions of this YugabyteCluster.
func (*YugabyteCluster) SetDeletionPolicy ¶ added in v0.8.0
func (mg *YugabyteCluster) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this YugabyteCluster.
func (*YugabyteCluster) SetProviderConfigReference ¶ added in v0.8.0
func (mg *YugabyteCluster) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this YugabyteCluster.
func (*YugabyteCluster) SetProviderReference ¶
func (mg *YugabyteCluster) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this YugabyteCluster. Deprecated: Use SetProviderConfigReference.
func (*YugabyteCluster) SetWriteConnectionSecretToReference ¶
func (mg *YugabyteCluster) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this YugabyteCluster.
type YugabyteClusterList ¶
type YugabyteClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []YugabyteCluster `json:"items"` }
YugabyteClusterList contains a list of YugabyteCluster
func (*YugabyteClusterList) DeepCopy ¶
func (in *YugabyteClusterList) DeepCopy() *YugabyteClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YugabyteClusterList.
func (*YugabyteClusterList) DeepCopyInto ¶
func (in *YugabyteClusterList) DeepCopyInto(out *YugabyteClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*YugabyteClusterList) DeepCopyObject ¶
func (in *YugabyteClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*YugabyteClusterList) GetItems ¶ added in v0.6.0
func (l *YugabyteClusterList) GetItems() []resource.Managed
GetItems of this YugabyteClusterList.
type YugabyteClusterParameters ¶
type YugabyteClusterParameters struct { Name string `json:"name"` Namespace string `json:"namespace"` Annotations v1alpha1.Annotations `json:"annotations,omitempty"` Master ServerSpec `json:"master"` TServer ServerSpec `json:"tserver"` }
A YugabyteClusterParameters defines the desired state of a YugabyteCluster.
func (*YugabyteClusterParameters) DeepCopy ¶
func (in *YugabyteClusterParameters) DeepCopy() *YugabyteClusterParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YugabyteClusterParameters.
func (*YugabyteClusterParameters) DeepCopyInto ¶
func (in *YugabyteClusterParameters) DeepCopyInto(out *YugabyteClusterParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type YugabyteClusterSpec ¶
type YugabyteClusterSpec struct { xpv1.ResourceSpec `json:",inline"` YugabyteClusterParameters `json:"forProvider"` }
A YugabyteClusterSpec defines the desired state of a YugabyteCluster.
func (*YugabyteClusterSpec) DeepCopy ¶
func (in *YugabyteClusterSpec) DeepCopy() *YugabyteClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YugabyteClusterSpec.
func (*YugabyteClusterSpec) DeepCopyInto ¶
func (in *YugabyteClusterSpec) DeepCopyInto(out *YugabyteClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type YugabyteClusterStatus ¶
type YugabyteClusterStatus struct {
xpv1.ResourceStatus `json:",inline"`
}
A YugabyteClusterStatus defines the current state of a YugabyteCluster.
func (*YugabyteClusterStatus) DeepCopy ¶
func (in *YugabyteClusterStatus) DeepCopy() *YugabyteClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new YugabyteClusterStatus.
func (*YugabyteClusterStatus) DeepCopyInto ¶
func (in *YugabyteClusterStatus) DeepCopyInto(out *YugabyteClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.