Documentation
¶
Overview ¶
Package v1beta1 contains managed resources for GCP cache services such as CloudMemorystore. +kubebuilder:object:generate=true +groupName=cache.gcp.crossplane.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type CloudMemorystoreInstance
- func (in *CloudMemorystoreInstance) DeepCopy() *CloudMemorystoreInstance
- func (in *CloudMemorystoreInstance) DeepCopyInto(out *CloudMemorystoreInstance)
- func (in *CloudMemorystoreInstance) DeepCopyObject() runtime.Object
- func (mg *CloudMemorystoreInstance) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *CloudMemorystoreInstance) GetClaimReference() *corev1.ObjectReference
- func (mg *CloudMemorystoreInstance) GetClassReference() *corev1.ObjectReference
- func (mg *CloudMemorystoreInstance) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *CloudMemorystoreInstance) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *CloudMemorystoreInstance) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *CloudMemorystoreInstance) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *CloudMemorystoreInstance) SetClaimReference(r *corev1.ObjectReference)
- func (mg *CloudMemorystoreInstance) SetClassReference(r *corev1.ObjectReference)
- func (mg *CloudMemorystoreInstance) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *CloudMemorystoreInstance) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *CloudMemorystoreInstance) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- type CloudMemorystoreInstanceClass
- func (in *CloudMemorystoreInstanceClass) DeepCopy() *CloudMemorystoreInstanceClass
- func (in *CloudMemorystoreInstanceClass) DeepCopyInto(out *CloudMemorystoreInstanceClass)
- func (in *CloudMemorystoreInstanceClass) DeepCopyObject() runtime.Object
- func (cs *CloudMemorystoreInstanceClass) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (cs *CloudMemorystoreInstanceClass) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- type CloudMemorystoreInstanceClassList
- type CloudMemorystoreInstanceClassSpecTemplate
- type CloudMemorystoreInstanceList
- type CloudMemorystoreInstanceObservation
- type CloudMemorystoreInstanceParameters
- type CloudMemorystoreInstanceSpec
- type CloudMemorystoreInstanceStatus
Constants ¶
const ( Group = "cache.gcp.crossplane.io" Version = "v1beta1" )
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 ( CloudMemorystoreInstanceKind = reflect.TypeOf(CloudMemorystoreInstance{}).Name() CloudMemorystoreInstanceKindAPIVersion = CloudMemorystoreInstanceKind + "." + SchemeGroupVersion.String() CloudMemorystoreInstanceGroupVersionKind = SchemeGroupVersion.WithKind(CloudMemorystoreInstanceKind) )
CloudMemorystoreInstance type metadata.
var ( CloudMemorystoreInstanceClassKind = reflect.TypeOf(CloudMemorystoreInstanceClass{}).Name() CloudMemorystoreInstanceClassKindAPIVersion = CloudMemorystoreInstanceClassKind + "." + SchemeGroupVersion.String() CloudMemorystoreInstanceClassGroupVersionKind = SchemeGroupVersion.WithKind(CloudMemorystoreInstanceClassKind) )
CloudMemorystoreInstanceClass type metadata.
Functions ¶
This section is empty.
Types ¶
type CloudMemorystoreInstance ¶
type CloudMemorystoreInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CloudMemorystoreInstanceSpec `json:"spec,omitempty"` Status CloudMemorystoreInstanceStatus `json:"status,omitempty"` }
A CloudMemorystoreInstance is a managed resource that represents a Google Cloud Memorystore instance. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="STATUS",type="string",JSONPath=".status.bindingPhase" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.state" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="VERSION",type="string",JSONPath=".spec.forProvider.redisVersion" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster
func (*CloudMemorystoreInstance) DeepCopy ¶
func (in *CloudMemorystoreInstance) DeepCopy() *CloudMemorystoreInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) DeepCopyInto ¶
func (in *CloudMemorystoreInstance) DeepCopyInto(out *CloudMemorystoreInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudMemorystoreInstance) DeepCopyObject ¶
func (in *CloudMemorystoreInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CloudMemorystoreInstance) GetBindingPhase ¶
func (mg *CloudMemorystoreInstance) GetBindingPhase() runtimev1alpha1.BindingPhase
GetBindingPhase of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) GetClaimReference ¶
func (mg *CloudMemorystoreInstance) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) GetClassReference ¶
func (mg *CloudMemorystoreInstance) GetClassReference() *corev1.ObjectReference
GetClassReference of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) GetCondition ¶
func (mg *CloudMemorystoreInstance) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
GetCondition of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) GetReclaimPolicy ¶
func (mg *CloudMemorystoreInstance) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) GetWriteConnectionSecretToReference ¶
func (mg *CloudMemorystoreInstance) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
GetWriteConnectionSecretToReference of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) SetBindingPhase ¶
func (mg *CloudMemorystoreInstance) SetBindingPhase(p runtimev1alpha1.BindingPhase)
SetBindingPhase of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) SetClaimReference ¶
func (mg *CloudMemorystoreInstance) SetClaimReference(r *corev1.ObjectReference)
SetClaimReference of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) SetClassReference ¶
func (mg *CloudMemorystoreInstance) SetClassReference(r *corev1.ObjectReference)
SetClassReference of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) SetConditions ¶
func (mg *CloudMemorystoreInstance) SetConditions(c ...runtimev1alpha1.Condition)
SetConditions of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) SetReclaimPolicy ¶
func (mg *CloudMemorystoreInstance) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this CloudMemorystoreInstance.
func (*CloudMemorystoreInstance) SetWriteConnectionSecretToReference ¶
func (mg *CloudMemorystoreInstance) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
SetWriteConnectionSecretToReference of this CloudMemorystoreInstance.
type CloudMemorystoreInstanceClass ¶
type CloudMemorystoreInstanceClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // SpecTemplate is a template for the spec of a dynamically provisioned // CloudMemorystoreInstance. SpecTemplate CloudMemorystoreInstanceClassSpecTemplate `json:"specTemplate"` }
A CloudMemorystoreInstanceClass is a resource class. It defines the desired spec of resource claims that use it to dynamically provision a managed resource. +kubebuilder:printcolumn:name="PROVIDER-REF",type="string",JSONPath=".specTemplate.providerRef.name" +kubebuilder:printcolumn:name="RECLAIM-POLICY",type="string",JSONPath=".specTemplate.reclaimPolicy" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster
func (*CloudMemorystoreInstanceClass) DeepCopy ¶
func (in *CloudMemorystoreInstanceClass) DeepCopy() *CloudMemorystoreInstanceClass
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMemorystoreInstanceClass.
func (*CloudMemorystoreInstanceClass) DeepCopyInto ¶
func (in *CloudMemorystoreInstanceClass) DeepCopyInto(out *CloudMemorystoreInstanceClass)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudMemorystoreInstanceClass) DeepCopyObject ¶
func (in *CloudMemorystoreInstanceClass) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*CloudMemorystoreInstanceClass) GetReclaimPolicy ¶
func (cs *CloudMemorystoreInstanceClass) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this CloudMemorystoreInstanceClass.
func (*CloudMemorystoreInstanceClass) SetReclaimPolicy ¶
func (cs *CloudMemorystoreInstanceClass) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this CloudMemorystoreInstanceClass.
type CloudMemorystoreInstanceClassList ¶
type CloudMemorystoreInstanceClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CloudMemorystoreInstanceClass `json:"items"` }
CloudMemorystoreInstanceClassList contains a list of cloud memorystore resource classes.
func (*CloudMemorystoreInstanceClassList) DeepCopy ¶
func (in *CloudMemorystoreInstanceClassList) DeepCopy() *CloudMemorystoreInstanceClassList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMemorystoreInstanceClassList.
func (*CloudMemorystoreInstanceClassList) DeepCopyInto ¶
func (in *CloudMemorystoreInstanceClassList) DeepCopyInto(out *CloudMemorystoreInstanceClassList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudMemorystoreInstanceClassList) DeepCopyObject ¶
func (in *CloudMemorystoreInstanceClassList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CloudMemorystoreInstanceClassSpecTemplate ¶
type CloudMemorystoreInstanceClassSpecTemplate struct { runtimev1alpha1.ClassSpecTemplate `json:",inline"` ForProvider CloudMemorystoreInstanceParameters `json:"forProvider,omitempty"` }
A CloudMemorystoreInstanceClassSpecTemplate is a template for the spec of a dynamically provisioned CloudMemorystoreInstance.
func (*CloudMemorystoreInstanceClassSpecTemplate) DeepCopy ¶
func (in *CloudMemorystoreInstanceClassSpecTemplate) DeepCopy() *CloudMemorystoreInstanceClassSpecTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMemorystoreInstanceClassSpecTemplate.
func (*CloudMemorystoreInstanceClassSpecTemplate) DeepCopyInto ¶
func (in *CloudMemorystoreInstanceClassSpecTemplate) DeepCopyInto(out *CloudMemorystoreInstanceClassSpecTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudMemorystoreInstanceList ¶
type CloudMemorystoreInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []CloudMemorystoreInstance `json:"items"` }
CloudMemorystoreInstanceList contains a list of CloudMemorystoreInstance
func (*CloudMemorystoreInstanceList) DeepCopy ¶
func (in *CloudMemorystoreInstanceList) DeepCopy() *CloudMemorystoreInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMemorystoreInstanceList.
func (*CloudMemorystoreInstanceList) DeepCopyInto ¶
func (in *CloudMemorystoreInstanceList) DeepCopyInto(out *CloudMemorystoreInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CloudMemorystoreInstanceList) DeepCopyObject ¶
func (in *CloudMemorystoreInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CloudMemorystoreInstanceObservation ¶
type CloudMemorystoreInstanceObservation struct { // Unique name of the resource in this scope including project and // location using the form: // `projects/{project_id}/locations/{location_id}/instances/{instance_id}` // // Note: Redis instances are managed and addressed at regional level so // location_id here refers to a GCP region; however, users may choose which // specific zone (or collection of zones for cross-zone instances) an instance // should be provisioned in. Refer to [location_id] and // [alternative_location_id] fields for more details. Name string `json:"name,omitempty"` // Hostname or IP address of the exposed Redis endpoint used by // clients to connect to the service. Host string `json:"host,omitempty"` // The port number of the exposed Redis endpoint. Port int32 `json:"port,omitempty"` // The current zone where the Redis endpoint is placed. For Basic // Tier instances, this will always be the same as the [location_id] // provided by the user at creation time. For Standard Tier instances, // this can be either [location_id] or [alternative_location_id] and can // change after a failover event. CurrentLocationID string `json:"currentLocationId,omitempty"` // The time the instance was created. CreateTime *metav1.Time `json:"createTime,omitempty"` // The current state of this instance. State string `json:"state,omitempty"` // Additional information about the current status of this // instance, if available. StatusMessage string `json:"statusMessage,omitempty"` // Cloud IAM identity used by import / export operations to // transfer data to/from Cloud Storage. Format is // "serviceAccount:<service_account_email>". The value may change over time // for a given instance so should be checked before each import/export // operation. PersistenceIAMIdentity string `json:"persistenceIamIdentity,omitempty"` }
CloudMemorystoreInstanceObservation is used to show the observed state of the CloudMemorystore resource on GCP.
func (*CloudMemorystoreInstanceObservation) DeepCopy ¶
func (in *CloudMemorystoreInstanceObservation) DeepCopy() *CloudMemorystoreInstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMemorystoreInstanceObservation.
func (*CloudMemorystoreInstanceObservation) DeepCopyInto ¶
func (in *CloudMemorystoreInstanceObservation) DeepCopyInto(out *CloudMemorystoreInstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudMemorystoreInstanceParameters ¶
type CloudMemorystoreInstanceParameters struct { // Region in which to create this Cloud Memorystore cluster. // +immutable Region string `json:"region"` // Tier specifies the replication level of the Redis cluster. BASIC provides // a single Redis instance with no high availability. STANDARD_HA provides a // cluster of two Redis instances in distinct availability zones. // https://cloud.google.com/memorystore/docs/redis/redis-tiers // +kubebuilder:validation:Enum=BASIC;STANDARD_HA // +immutable Tier string `json:"tier"` // Redis memory size in GiB. MemorySizeGB int32 `json:"memorySizeGb"` // An arbitrary and optional user-provided name for the instance. // +optional DisplayName *string `json:"displayName,omitempty"` // Resource labels to represent user provided metadata // +optional Labels map[string]string `json:"labels,omitempty"` // The zone where the instance will be provisioned. If not provided, // the service will choose a zone for the instance. For STANDARD_HA tier, // instances will be created across two zones for protection against zonal // failures. If [alternative_location_id] is also provided, it must be // different from [location_id]. // +optional // +immutable LocationID *string `json:"locationId,omitempty"` // Only applicable to STANDARD_HA tier which protects the instance // against zonal failures by provisioning it across two zones. If provided, it // must be a different zone from the one provided in [location_id]. // +optional // +immutable AlternativeLocationID *string `json:"alternativeLocationId,omitempty"` // The version of Redis software. // If not provided, latest supported version will be used. Updating the // version will perform an upgrade/downgrade to the new version. Currently, // the supported values are: // // * `REDIS_4_0` for Redis 4.0 compatibility (default) // * `REDIS_3_2` for Redis 3.2 compatibility // +optional // +immutable RedisVersion *string `json:"redisVersion,omitempty"` // The CIDR range of internal addresses that are reserved for this // instance. If not provided, the service will choose an unused /29 block, // for example, 10.0.0.0/29 or 192.168.0.0/29. Ranges must be unique // and non-overlapping with existing subnets in an authorized network. // +optional // +immutable ReservedIPRange *string `json:"reservedIpRange,omitempty"` // Redis configuration parameters, according to // http://redis.io/topics/config. Currently, the only supported parameters // are: // // Redis 3.2 and above: // // * maxmemory-policy // * notify-keyspace-events // // Redis 4.0 and above: // // * activedefrag // * lfu-log-factor // * lfu-decay-time // +optional RedisConfigs map[string]string `json:"redisConfigs,omitempty"` // The full name of the Google Compute Engine // [network](/compute/docs/networks-and-firewalls#networks) to which the // instance is connected. If left unspecified, the `default` network // will be used. // +optional // +immutable AuthorizedNetwork *string `json:"authorizedNetwork,omitempty"` }
CloudMemorystoreInstanceParameters define the desired state of an Google Cloud Memorystore instance. Most fields map directly to an Instance: https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance
func (*CloudMemorystoreInstanceParameters) DeepCopy ¶
func (in *CloudMemorystoreInstanceParameters) DeepCopy() *CloudMemorystoreInstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMemorystoreInstanceParameters.
func (*CloudMemorystoreInstanceParameters) DeepCopyInto ¶
func (in *CloudMemorystoreInstanceParameters) DeepCopyInto(out *CloudMemorystoreInstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudMemorystoreInstanceSpec ¶
type CloudMemorystoreInstanceSpec struct { runtimev1alpha1.ResourceSpec `json:",inline"` ForProvider CloudMemorystoreInstanceParameters `json:"forProvider,omitempty"` }
A CloudMemorystoreInstanceSpec defines the desired state of a CloudMemorystoreInstance.
func (*CloudMemorystoreInstanceSpec) DeepCopy ¶
func (in *CloudMemorystoreInstanceSpec) DeepCopy() *CloudMemorystoreInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMemorystoreInstanceSpec.
func (*CloudMemorystoreInstanceSpec) DeepCopyInto ¶
func (in *CloudMemorystoreInstanceSpec) DeepCopyInto(out *CloudMemorystoreInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudMemorystoreInstanceStatus ¶
type CloudMemorystoreInstanceStatus struct { runtimev1alpha1.ResourceStatus `json:",inline"` AtProvider CloudMemorystoreInstanceObservation `json:"atProvider,omitempty"` }
A CloudMemorystoreInstanceStatus represents the observed state of a CloudMemorystoreInstance.
func (*CloudMemorystoreInstanceStatus) DeepCopy ¶
func (in *CloudMemorystoreInstanceStatus) DeepCopy() *CloudMemorystoreInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudMemorystoreInstanceStatus.
func (*CloudMemorystoreInstanceStatus) DeepCopyInto ¶
func (in *CloudMemorystoreInstanceStatus) DeepCopyInto(out *CloudMemorystoreInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.