Documentation ¶
Overview ¶
Package v1alpha1 contains portable resource claims for caching services such as Redis clusters. +kubebuilder:object:generate=true +groupName=cache.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type RedisCluster
- func (in *RedisCluster) DeepCopy() *RedisCluster
- func (in *RedisCluster) DeepCopyInto(out *RedisCluster)
- func (in *RedisCluster) DeepCopyObject() runtime.Object
- func (cm *RedisCluster) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (cm *RedisCluster) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (cm *RedisCluster) GetPortableClassReference() *corev1.LocalObjectReference
- func (cm *RedisCluster) GetResourceReference() *corev1.ObjectReference
- func (cm *RedisCluster) GetWriteConnectionSecretToReference() corev1.LocalObjectReference
- func (cm *RedisCluster) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (cm *RedisCluster) SetConditions(c ...runtimev1alpha1.Condition)
- func (cm *RedisCluster) SetPortableClassReference(r *corev1.LocalObjectReference)
- func (cm *RedisCluster) SetResourceReference(r *corev1.ObjectReference)
- func (cm *RedisCluster) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)
- type RedisClusterClass
- type RedisClusterClassList
- func (in *RedisClusterClassList) DeepCopy() *RedisClusterClassList
- func (in *RedisClusterClassList) DeepCopyInto(out *RedisClusterClassList)
- func (in *RedisClusterClassList) DeepCopyObject() runtime.Object
- func (csl *RedisClusterClassList) GetPortableClassItems() []resource.PortableClass
- func (csl *RedisClusterClassList) SetPortableClassItems(i []resource.PortableClass)
- type RedisClusterList
- type RedisClusterSpec
Constants ¶
const ( Group = "cache.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 ( RedisClusterKind = reflect.TypeOf(RedisCluster{}).Name() RedisClusterKindAPIVersion = RedisClusterKind + "." + SchemeGroupVersion.String() RedisClusterGroupVersionKind = SchemeGroupVersion.WithKind(RedisClusterKind) )
RedisCluster type metadata.
var ( RedisClusterClassKind = reflect.TypeOf(RedisClusterClass{}).Name() RedisClusterClassKindAPIVersion = RedisClusterClassKind + "." + SchemeGroupVersion.String() RedisClusterClassGroupVersionKind = SchemeGroupVersion.WithKind(RedisClusterClassKind) )
RedisClusterClass type metadata.
var ( RedisClusterClassListKind = reflect.TypeOf(RedisClusterClassList{}).Name() RedisClusterClassListKindAPIVersion = RedisClusterClassListKind + "." + SchemeGroupVersion.String() RedisClusterClassListGroupVersionKind = SchemeGroupVersion.WithKind(RedisClusterClassListKind) )
RedisClusterClassList type metadata.
Functions ¶
This section is empty.
Types ¶
type RedisCluster ¶
type RedisCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RedisClusterSpec `json:"spec,omitempty"` Status runtimev1alpha1.ResourceClaimStatus `json:"status,omitempty"` }
A RedisCluster is a portable resource claim that may be satisfied by binding to a Redis managed resource such as a GCP CloudMemorystore instance or an AWS ReplicationGroup. Despite the name RedisCluster claims may bind to Redis managed resources that are a single node, or not in cluster mode. +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=".spec.engineVersion" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status
func (*RedisCluster) DeepCopy ¶
func (in *RedisCluster) DeepCopy() *RedisCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisCluster.
func (*RedisCluster) DeepCopyInto ¶
func (in *RedisCluster) DeepCopyInto(out *RedisCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisCluster) DeepCopyObject ¶
func (in *RedisCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RedisCluster) GetBindingPhase ¶
func (cm *RedisCluster) GetBindingPhase() runtimev1alpha1.BindingPhase
GetBindingPhase of this RedisCluster.
func (*RedisCluster) GetCondition ¶ added in v0.4.0
func (cm *RedisCluster) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
GetCondition of this RedisCluster.
func (*RedisCluster) GetPortableClassReference ¶
func (cm *RedisCluster) GetPortableClassReference() *corev1.LocalObjectReference
GetPortableClassReference of this RedisCluster.
func (*RedisCluster) GetResourceReference ¶
func (cm *RedisCluster) GetResourceReference() *corev1.ObjectReference
GetResourceReference of this RedisCluster.
func (*RedisCluster) GetWriteConnectionSecretToReference ¶
func (cm *RedisCluster) GetWriteConnectionSecretToReference() corev1.LocalObjectReference
GetWriteConnectionSecretToReference of this RedisCluster.
func (*RedisCluster) SetBindingPhase ¶
func (cm *RedisCluster) SetBindingPhase(p runtimev1alpha1.BindingPhase)
SetBindingPhase of this RedisCluster.
func (*RedisCluster) SetConditions ¶
func (cm *RedisCluster) SetConditions(c ...runtimev1alpha1.Condition)
SetConditions of this RedisCluster.
func (*RedisCluster) SetPortableClassReference ¶
func (cm *RedisCluster) SetPortableClassReference(r *corev1.LocalObjectReference)
SetPortableClassReference of this RedisCluster.
func (*RedisCluster) SetResourceReference ¶
func (cm *RedisCluster) SetResourceReference(r *corev1.ObjectReference)
SetResourceReference of this RedisCluster.
func (*RedisCluster) SetWriteConnectionSecretToReference ¶
func (cm *RedisCluster) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)
SetWriteConnectionSecretToReference of this RedisCluster.
type RedisClusterClass ¶
type RedisClusterClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` runtimev1alpha1.PortableClass `json:",inline"` }
RedisClusterClass contains a namespace-scoped portable class for RedisCluster
func (*RedisClusterClass) DeepCopy ¶
func (in *RedisClusterClass) DeepCopy() *RedisClusterClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisClusterClass.
func (*RedisClusterClass) DeepCopyInto ¶
func (in *RedisClusterClass) DeepCopyInto(out *RedisClusterClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisClusterClass) DeepCopyObject ¶
func (in *RedisClusterClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisClusterClassList ¶
type RedisClusterClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RedisClusterClass `json:"items"` }
RedisClusterClassList contains a list of RedisClusterClass.
func (*RedisClusterClassList) DeepCopy ¶
func (in *RedisClusterClassList) DeepCopy() *RedisClusterClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisClusterClassList.
func (*RedisClusterClassList) DeepCopyInto ¶
func (in *RedisClusterClassList) DeepCopyInto(out *RedisClusterClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisClusterClassList) DeepCopyObject ¶
func (in *RedisClusterClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RedisClusterClassList) GetPortableClassItems ¶
func (csl *RedisClusterClassList) GetPortableClassItems() []resource.PortableClass
GetPortableClassItems of this RedisClusterClassList.
func (*RedisClusterClassList) SetPortableClassItems ¶
func (csl *RedisClusterClassList) SetPortableClassItems(i []resource.PortableClass)
SetPortableClassItems of this RedisClusterClassList.
type RedisClusterList ¶
type RedisClusterList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RedisCluster `json:"items"` }
RedisClusterList contains a list of RedisCluster.
func (*RedisClusterList) DeepCopy ¶
func (in *RedisClusterList) DeepCopy() *RedisClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisClusterList.
func (*RedisClusterList) DeepCopyInto ¶
func (in *RedisClusterList) DeepCopyInto(out *RedisClusterList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisClusterList) DeepCopyObject ¶
func (in *RedisClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisClusterSpec ¶
type RedisClusterSpec struct { runtimev1alpha1.ResourceClaimSpec `json:",inline"` // EngineVersion specifies the desired Redis version. // +kubebuilder:validation:Enum="2.6";"2.8";"3.2";"4.0";"5.0" EngineVersion string `json:"engineVersion,omitempty"` }
RedisClusterSpec specifies the desired state of a RedisCluster.
func (*RedisClusterSpec) DeepCopy ¶
func (in *RedisClusterSpec) DeepCopy() *RedisClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisClusterSpec.
func (*RedisClusterSpec) DeepCopyInto ¶
func (in *RedisClusterSpec) DeepCopyInto(out *RedisClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.