Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=redis.gcp.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Instance) GetConnectionDetailsMapping() map[string]string
- func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Instance) GetID() string
- func (tr *Instance) GetInitParameters() (map[string]any, error)
- func (mg *Instance) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Instance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Instance) GetObservation() (map[string]any, error)
- func (tr *Instance) GetParameters() (map[string]any, error)
- func (mg *Instance) GetProviderConfigReference() *xpv1.Reference
- func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Instance) GetTerraformResourceType() string
- func (tr *Instance) GetTerraformSchemaVersion() int
- func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Instance) Hub()
- func (tr *Instance) LateInitialize(attrs []byte) (bool, error)
- func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Instance) SetConditions(c ...xpv1.Condition)
- func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Instance) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Instance) SetObservation(obs map[string]any) error
- func (tr *Instance) SetParameters(params map[string]any) error
- func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InstanceInitParameters
- type InstanceList
- type InstanceObservation
- type InstanceParameters
- type InstanceSpec
- type InstanceStatus
- type MaintenancePolicyInitParameters
- type MaintenancePolicyObservation
- type MaintenancePolicyParameters
- type MaintenanceScheduleInitParameters
- type MaintenanceScheduleObservation
- type MaintenanceScheduleParameters
- type NodesInitParameters
- type NodesObservation
- type NodesParameters
- type PersistenceConfigInitParameters
- type PersistenceConfigObservation
- type PersistenceConfigParameters
- type ServerCACertsInitParameters
- type ServerCACertsObservation
- type ServerCACertsParameters
- type StartTimeInitParameters
- type StartTimeObservation
- type StartTimeParameters
- type WeeklyMaintenanceWindowInitParameters
- type WeeklyMaintenanceWindowObservation
- type WeeklyMaintenanceWindowParameters
Constants ¶
const ( CRDGroup = "redis.gcp.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Instance_Kind = "Instance" Instance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String() Instance_KindAPIVersion = Instance_Kind + "." + CRDGroupVersion.String() Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.memorySizeGb) || (has(self.initProvider) && has(self.initProvider.memorySizeGb))",message="spec.forProvider.memorySizeGb is a required parameter" Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the Instances API. A Google Cloud Redis instance. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
func (*Instance) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.
func (*Instance) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Instance) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Instance) GetCondition ¶
func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Instance.
func (*Instance) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Instance
func (*Instance) GetDeletionPolicy ¶
func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Instance.
func (*Instance) GetInitParameters ¶
GetInitParameters of this Instance
func (*Instance) GetManagementPolicies ¶
func (mg *Instance) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Instance.
func (*Instance) GetMergedParameters ¶
GetInitParameters of this Instance
func (*Instance) GetObservation ¶
GetObservation of this Instance
func (*Instance) GetParameters ¶
GetParameters of this Instance
func (*Instance) GetProviderConfigReference ¶
GetProviderConfigReference of this Instance.
func (*Instance) GetPublishConnectionDetailsTo ¶
func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Instance.
func (*Instance) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Instance
func (*Instance) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Instance) GetWriteConnectionSecretToReference ¶
func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Instance.
func (*Instance) LateInitialize ¶
LateInitialize this Instance using its observed tfState. returns True if there are any spec changes for the resource.
func (*Instance) ResolveReferences ¶
func (*Instance) SetConditions ¶
SetConditions of this Instance.
func (*Instance) SetDeletionPolicy ¶
func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Instance.
func (*Instance) SetManagementPolicies ¶
func (mg *Instance) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Instance.
func (*Instance) SetObservation ¶
SetObservation for this Instance
func (*Instance) SetParameters ¶
SetParameters for this Instance
func (*Instance) SetProviderConfigReference ¶
SetProviderConfigReference of this Instance.
func (*Instance) SetPublishConnectionDetailsTo ¶
func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Instance.
func (*Instance) SetWriteConnectionSecretToReference ¶
func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Instance.
type InstanceInitParameters ¶
type InstanceInitParameters struct { // 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 // [locationId]. AlternativeLocationID *string `json:"alternativeLocationId,omitempty" tf:"alternative_location_id,omitempty"` // Optional. Indicates whether OSS Redis AUTH is enabled for the // instance. If set to "true" AUTH is enabled on the instance. // Default value is "false" meaning AUTH is disabled. AuthEnabled *bool `json:"authEnabled,omitempty" tf:"auth_enabled,omitempty"` // The full name of the Google Compute Engine network to which the // instance is connected. If left unspecified, the default network // will be used. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() AuthorizedNetwork *string `json:"authorizedNetwork,omitempty" tf:"authorized_network,omitempty"` // Reference to a Network in compute to populate authorizedNetwork. // +kubebuilder:validation:Optional AuthorizedNetworkRef *v1.Reference `json:"authorizedNetworkRef,omitempty" tf:"-"` // Selector for a Network in compute to populate authorizedNetwork. // +kubebuilder:validation:Optional AuthorizedNetworkSelector *v1.Selector `json:"authorizedNetworkSelector,omitempty" tf:"-"` // The connection mode of the Redis instance. // Default value is DIRECT_PEERING. // Possible values are: DIRECT_PEERING, PRIVATE_SERVICE_ACCESS. ConnectMode *string `json:"connectMode,omitempty" tf:"connect_mode,omitempty"` // Optional. The KMS key reference that you want to use to encrypt the data at rest for this Redis // instance. If this is provided, CMEK is enabled. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/kms/v1beta2.CryptoKey // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() CustomerManagedKey *string `json:"customerManagedKey,omitempty" tf:"customer_managed_key,omitempty"` // Reference to a CryptoKey in kms to populate customerManagedKey. // +kubebuilder:validation:Optional CustomerManagedKeyRef *v1.Reference `json:"customerManagedKeyRef,omitempty" tf:"-"` // Selector for a CryptoKey in kms to populate customerManagedKey. // +kubebuilder:validation:Optional CustomerManagedKeySelector *v1.Selector `json:"customerManagedKeySelector,omitempty" tf:"-"` // An arbitrary and optional user-provided name for the instance. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Resource labels to represent user provided metadata. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"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 [alternativeLocationId] is also provided, it must // be different from [locationId]. LocationID *string `json:"locationId,omitempty" tf:"location_id,omitempty"` // Maintenance policy for an instance. // Structure is documented below. MaintenancePolicy *MaintenancePolicyInitParameters `json:"maintenancePolicy,omitempty" tf:"maintenance_policy,omitempty"` // The self service update maintenance version. MaintenanceVersion *string `json:"maintenanceVersion,omitempty" tf:"maintenance_version,omitempty"` // Redis memory size in GiB. MemorySizeGb *float64 `json:"memorySizeGb,omitempty" tf:"memory_size_gb,omitempty"` // Persistence configuration for an instance. // Structure is documented below. PersistenceConfig *PersistenceConfigInitParameters `json:"persistenceConfig,omitempty" tf:"persistence_config,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // Optional. Read replica mode. Can only be specified when trying to create the instance. // If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED. ReadReplicasMode *string `json:"readReplicasMode,omitempty" tf:"read_replicas_mode,omitempty"` // Redis configuration parameters, according to http://redis.io/topics/config. // Please check Memorystore documentation for the list of supported parameters: // https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs // +mapType=granular RedisConfigs map[string]*string `json:"redisConfigs,omitempty" tf:"redis_configs,omitempty"` // The version of Redis software. If not provided, latest supported // version will be used. Please check the API documentation linked // at the top for the latest valid values. RedisVersion *string `json:"redisVersion,omitempty" tf:"redis_version,omitempty"` // Optional. The number of replica nodes. The valid range for the Standard Tier with // read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled // for a Standard Tier instance, the only valid value is 1 and the default is 1. // The valid value for basic tier is 0 and the default is also 0. ReplicaCount *float64 `json:"replicaCount,omitempty" tf:"replica_count,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. ReservedIPRange *string `json:"reservedIpRange,omitempty" tf:"reserved_ip_range,omitempty"` // Optional. Additional IP range for node placement. Required when enabling read replicas on // an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or // "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address // range associated with the private service access connection, or "auto". SecondaryIPRange *string `json:"secondaryIpRange,omitempty" tf:"secondary_ip_range,omitempty"` // The service tier of the instance. Must be one of these values: Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance. TransitEncryptionMode *string `json:"transitEncryptionMode,omitempty" tf:"transit_encryption_mode,omitempty"` }
func (*InstanceInitParameters) DeepCopy ¶
func (in *InstanceInitParameters) DeepCopy() *InstanceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceInitParameters.
func (*InstanceInitParameters) DeepCopyInto ¶
func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains a list of Instances
func (*InstanceList) DeepCopy ¶
func (in *InstanceList) DeepCopy() *InstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceList.
func (*InstanceList) DeepCopyInto ¶
func (in *InstanceList) DeepCopyInto(out *InstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InstanceList) DeepCopyObject ¶
func (in *InstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InstanceList) GetItems ¶
func (l *InstanceList) GetItems() []resource.Managed
GetItems of this InstanceList.
type InstanceObservation ¶
type InstanceObservation struct { // 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 // [locationId]. AlternativeLocationID *string `json:"alternativeLocationId,omitempty" tf:"alternative_location_id,omitempty"` // Optional. Indicates whether OSS Redis AUTH is enabled for the // instance. If set to "true" AUTH is enabled on the instance. // Default value is "false" meaning AUTH is disabled. AuthEnabled *bool `json:"authEnabled,omitempty" tf:"auth_enabled,omitempty"` // The full name of the Google Compute Engine network to which the // instance is connected. If left unspecified, the default network // will be used. AuthorizedNetwork *string `json:"authorizedNetwork,omitempty" tf:"authorized_network,omitempty"` // The connection mode of the Redis instance. // Default value is DIRECT_PEERING. // Possible values are: DIRECT_PEERING, PRIVATE_SERVICE_ACCESS. ConnectMode *string `json:"connectMode,omitempty" tf:"connect_mode,omitempty"` // The time the instance was created in RFC3339 UTC "Zulu" format, // accurate to nanoseconds. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // The current zone where the Redis endpoint is placed. // For Basic Tier instances, this will always be the same as the // [locationId] provided by the user at creation time. For Standard Tier // instances, this can be either [locationId] or [alternativeLocationId] // and can change after a failover event. CurrentLocationID *string `json:"currentLocationId,omitempty" tf:"current_location_id,omitempty"` // Optional. The KMS key reference that you want to use to encrypt the data at rest for this Redis // instance. If this is provided, CMEK is enabled. CustomerManagedKey *string `json:"customerManagedKey,omitempty" tf:"customer_managed_key,omitempty"` // An arbitrary and optional user-provided name for the instance. DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // +mapType=granular EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"` // Hostname or IP address of the exposed Redis endpoint used by clients // to connect to the service. Host *string `json:"host,omitempty" tf:"host,omitempty"` // an identifier for the resource with format projects/{{project}}/locations/{{region}}/instances/{{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // Resource labels to represent user provided metadata. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"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 [alternativeLocationId] is also provided, it must // be different from [locationId]. LocationID *string `json:"locationId,omitempty" tf:"location_id,omitempty"` // Maintenance policy for an instance. // Structure is documented below. MaintenancePolicy *MaintenancePolicyObservation `json:"maintenancePolicy,omitempty" tf:"maintenance_policy,omitempty"` // Upcoming maintenance schedule. // Structure is documented below. MaintenanceSchedule []MaintenanceScheduleObservation `json:"maintenanceSchedule,omitempty" tf:"maintenance_schedule,omitempty"` // The self service update maintenance version. MaintenanceVersion *string `json:"maintenanceVersion,omitempty" tf:"maintenance_version,omitempty"` // Redis memory size in GiB. MemorySizeGb *float64 `json:"memorySizeGb,omitempty" tf:"memory_size_gb,omitempty"` // Output only. Info per node. // Structure is documented below. Nodes []NodesObservation `json:"nodes,omitempty" tf:"nodes,omitempty"` // Persistence configuration for an instance. // Structure is documented below. PersistenceConfig *PersistenceConfigObservation `json:"persistenceConfig,omitempty" tf:"persistence_config,omitempty"` // Output only. Cloud IAM identity used by import / export operations // to transfer data to/from Cloud Storage. Format is "serviceAccount:". // The value may change over time for a given instance so should be // checked before each import/export operation. PersistenceIAMIdentity *string `json:"persistenceIamIdentity,omitempty" tf:"persistence_iam_identity,omitempty"` // The port number of the exposed Redis endpoint. Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // Output only. Hostname or IP address of the exposed readonly Redis endpoint. Standard tier only. // Targets all healthy replica nodes in instance. Replication is asynchronous and replica nodes // will exhibit some lag behind the primary. Write requests must target 'host'. ReadEndpoint *string `json:"readEndpoint,omitempty" tf:"read_endpoint,omitempty"` // Output only. The port number of the exposed readonly redis endpoint. Standard tier only. // Write requests should target 'port'. ReadEndpointPort *float64 `json:"readEndpointPort,omitempty" tf:"read_endpoint_port,omitempty"` // Optional. Read replica mode. Can only be specified when trying to create the instance. // If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED. ReadReplicasMode *string `json:"readReplicasMode,omitempty" tf:"read_replicas_mode,omitempty"` // Redis configuration parameters, according to http://redis.io/topics/config. // Please check Memorystore documentation for the list of supported parameters: // https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs // +mapType=granular RedisConfigs map[string]*string `json:"redisConfigs,omitempty" tf:"redis_configs,omitempty"` // The version of Redis software. If not provided, latest supported // version will be used. Please check the API documentation linked // at the top for the latest valid values. RedisVersion *string `json:"redisVersion,omitempty" tf:"redis_version,omitempty"` // The name of the Redis region of the instance. Region *string `json:"region,omitempty" tf:"region,omitempty"` // Optional. The number of replica nodes. The valid range for the Standard Tier with // read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled // for a Standard Tier instance, the only valid value is 1 and the default is 1. // The valid value for basic tier is 0 and the default is also 0. ReplicaCount *float64 `json:"replicaCount,omitempty" tf:"replica_count,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. ReservedIPRange *string `json:"reservedIpRange,omitempty" tf:"reserved_ip_range,omitempty"` // Optional. Additional IP range for node placement. Required when enabling read replicas on // an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or // "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address // range associated with the private service access connection, or "auto". SecondaryIPRange *string `json:"secondaryIpRange,omitempty" tf:"secondary_ip_range,omitempty"` // List of server CA certificates for the instance. // Structure is documented below. ServerCACerts []ServerCACertsObservation `json:"serverCaCerts,omitempty" tf:"server_ca_certs,omitempty"` // The combination of labels configured directly on the resource // and default labels configured on the provider. // +mapType=granular TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"` // The service tier of the instance. Must be one of these values: Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance. TransitEncryptionMode *string `json:"transitEncryptionMode,omitempty" tf:"transit_encryption_mode,omitempty"` }
func (*InstanceObservation) DeepCopy ¶
func (in *InstanceObservation) DeepCopy() *InstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation.
func (*InstanceObservation) DeepCopyInto ¶
func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceParameters ¶
type InstanceParameters struct { // 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 // [locationId]. // +kubebuilder:validation:Optional AlternativeLocationID *string `json:"alternativeLocationId,omitempty" tf:"alternative_location_id,omitempty"` // Optional. Indicates whether OSS Redis AUTH is enabled for the // instance. If set to "true" AUTH is enabled on the instance. // Default value is "false" meaning AUTH is disabled. // +kubebuilder:validation:Optional AuthEnabled *bool `json:"authEnabled,omitempty" tf:"auth_enabled,omitempty"` // The full name of the Google Compute Engine network to which the // instance is connected. If left unspecified, the default network // will be used. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional AuthorizedNetwork *string `json:"authorizedNetwork,omitempty" tf:"authorized_network,omitempty"` // Reference to a Network in compute to populate authorizedNetwork. // +kubebuilder:validation:Optional AuthorizedNetworkRef *v1.Reference `json:"authorizedNetworkRef,omitempty" tf:"-"` // Selector for a Network in compute to populate authorizedNetwork. // +kubebuilder:validation:Optional AuthorizedNetworkSelector *v1.Selector `json:"authorizedNetworkSelector,omitempty" tf:"-"` // The connection mode of the Redis instance. // Default value is DIRECT_PEERING. // Possible values are: DIRECT_PEERING, PRIVATE_SERVICE_ACCESS. // +kubebuilder:validation:Optional ConnectMode *string `json:"connectMode,omitempty" tf:"connect_mode,omitempty"` // Optional. The KMS key reference that you want to use to encrypt the data at rest for this Redis // instance. If this is provided, CMEK is enabled. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/kms/v1beta2.CryptoKey // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional CustomerManagedKey *string `json:"customerManagedKey,omitempty" tf:"customer_managed_key,omitempty"` // Reference to a CryptoKey in kms to populate customerManagedKey. // +kubebuilder:validation:Optional CustomerManagedKeyRef *v1.Reference `json:"customerManagedKeyRef,omitempty" tf:"-"` // Selector for a CryptoKey in kms to populate customerManagedKey. // +kubebuilder:validation:Optional CustomerManagedKeySelector *v1.Selector `json:"customerManagedKeySelector,omitempty" tf:"-"` // An arbitrary and optional user-provided name for the instance. // +kubebuilder:validation:Optional DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"` // Resource labels to represent user provided metadata. // Note: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field effective_labels for all of the labels present on the resource. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"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 [alternativeLocationId] is also provided, it must // be different from [locationId]. // +kubebuilder:validation:Optional LocationID *string `json:"locationId,omitempty" tf:"location_id,omitempty"` // Maintenance policy for an instance. // Structure is documented below. // +kubebuilder:validation:Optional MaintenancePolicy *MaintenancePolicyParameters `json:"maintenancePolicy,omitempty" tf:"maintenance_policy,omitempty"` // The self service update maintenance version. // +kubebuilder:validation:Optional MaintenanceVersion *string `json:"maintenanceVersion,omitempty" tf:"maintenance_version,omitempty"` // Redis memory size in GiB. // +kubebuilder:validation:Optional MemorySizeGb *float64 `json:"memorySizeGb,omitempty" tf:"memory_size_gb,omitempty"` // Persistence configuration for an instance. // Structure is documented below. // +kubebuilder:validation:Optional PersistenceConfig *PersistenceConfigParameters `json:"persistenceConfig,omitempty" tf:"persistence_config,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // Optional. Read replica mode. Can only be specified when trying to create the instance. // If not set, Memorystore Redis backend will default to READ_REPLICAS_DISABLED. // +kubebuilder:validation:Optional ReadReplicasMode *string `json:"readReplicasMode,omitempty" tf:"read_replicas_mode,omitempty"` // Redis configuration parameters, according to http://redis.io/topics/config. // Please check Memorystore documentation for the list of supported parameters: // https://cloud.google.com/memorystore/docs/redis/reference/rest/v1/projects.locations.instances#Instance.FIELDS.redis_configs // +kubebuilder:validation:Optional // +mapType=granular RedisConfigs map[string]*string `json:"redisConfigs,omitempty" tf:"redis_configs,omitempty"` // The version of Redis software. If not provided, latest supported // version will be used. Please check the API documentation linked // at the top for the latest valid values. // +kubebuilder:validation:Optional RedisVersion *string `json:"redisVersion,omitempty" tf:"redis_version,omitempty"` // The name of the Redis region of the instance. // +kubebuilder:validation:Required Region *string `json:"region" tf:"region,omitempty"` // Optional. The number of replica nodes. The valid range for the Standard Tier with // read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled // for a Standard Tier instance, the only valid value is 1 and the default is 1. // The valid value for basic tier is 0 and the default is also 0. // +kubebuilder:validation:Optional ReplicaCount *float64 `json:"replicaCount,omitempty" tf:"replica_count,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. // +kubebuilder:validation:Optional ReservedIPRange *string `json:"reservedIpRange,omitempty" tf:"reserved_ip_range,omitempty"` // Optional. Additional IP range for node placement. Required when enabling read replicas on // an existing instance. For DIRECT_PEERING mode value must be a CIDR range of size /28, or // "auto". For PRIVATE_SERVICE_ACCESS mode value must be the name of an allocated address // range associated with the private service access connection, or "auto". // +kubebuilder:validation:Optional SecondaryIPRange *string `json:"secondaryIpRange,omitempty" tf:"secondary_ip_range,omitempty"` // The service tier of the instance. Must be one of these values: // +kubebuilder:validation:Optional Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance. // +kubebuilder:validation:Optional TransitEncryptionMode *string `json:"transitEncryptionMode,omitempty" tf:"transit_encryption_mode,omitempty"` }
func (*InstanceParameters) DeepCopy ¶
func (in *InstanceParameters) DeepCopy() *InstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters.
func (*InstanceParameters) DeepCopyInto ¶
func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider InstanceInitParameters `json:"initProvider,omitempty"` }
InstanceSpec defines the desired state of Instance
func (*InstanceSpec) DeepCopy ¶
func (in *InstanceSpec) DeepCopy() *InstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpec.
func (*InstanceSpec) DeepCopyInto ¶
func (in *InstanceSpec) DeepCopyInto(out *InstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceObservation `json:"atProvider,omitempty"` }
InstanceStatus defines the observed state of Instance.
func (*InstanceStatus) DeepCopy ¶
func (in *InstanceStatus) DeepCopy() *InstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStatus.
func (*InstanceStatus) DeepCopyInto ¶
func (in *InstanceStatus) DeepCopyInto(out *InstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenancePolicyInitParameters ¶
type MaintenancePolicyInitParameters struct { // Optional. Description of what this policy is for. // Create/Update methods return INVALID_ARGUMENT if the // length is greater than 512. Description *string `json:"description,omitempty" tf:"description,omitempty"` // Optional. Maintenance window that is applied to resources covered by this policy. // Minimum 1. For the current version, the maximum number // of weekly_window is expected to be one. // Structure is documented below. WeeklyMaintenanceWindow []WeeklyMaintenanceWindowInitParameters `json:"weeklyMaintenanceWindow,omitempty" tf:"weekly_maintenance_window,omitempty"` }
func (*MaintenancePolicyInitParameters) DeepCopy ¶
func (in *MaintenancePolicyInitParameters) DeepCopy() *MaintenancePolicyInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenancePolicyInitParameters.
func (*MaintenancePolicyInitParameters) DeepCopyInto ¶
func (in *MaintenancePolicyInitParameters) DeepCopyInto(out *MaintenancePolicyInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenancePolicyObservation ¶
type MaintenancePolicyObservation struct { // (Output) // Output only. The time when the policy was created. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // Optional. Description of what this policy is for. // Create/Update methods return INVALID_ARGUMENT if the // length is greater than 512. Description *string `json:"description,omitempty" tf:"description,omitempty"` // (Output) // Output only. The time when the policy was last updated. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"` // Optional. Maintenance window that is applied to resources covered by this policy. // Minimum 1. For the current version, the maximum number // of weekly_window is expected to be one. // Structure is documented below. WeeklyMaintenanceWindow []WeeklyMaintenanceWindowObservation `json:"weeklyMaintenanceWindow,omitempty" tf:"weekly_maintenance_window,omitempty"` }
func (*MaintenancePolicyObservation) DeepCopy ¶
func (in *MaintenancePolicyObservation) DeepCopy() *MaintenancePolicyObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenancePolicyObservation.
func (*MaintenancePolicyObservation) DeepCopyInto ¶
func (in *MaintenancePolicyObservation) DeepCopyInto(out *MaintenancePolicyObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenancePolicyParameters ¶
type MaintenancePolicyParameters struct { // Optional. Description of what this policy is for. // Create/Update methods return INVALID_ARGUMENT if the // length is greater than 512. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Optional. Maintenance window that is applied to resources covered by this policy. // Minimum 1. For the current version, the maximum number // of weekly_window is expected to be one. // Structure is documented below. // +kubebuilder:validation:Optional WeeklyMaintenanceWindow []WeeklyMaintenanceWindowParameters `json:"weeklyMaintenanceWindow,omitempty" tf:"weekly_maintenance_window,omitempty"` }
func (*MaintenancePolicyParameters) DeepCopy ¶
func (in *MaintenancePolicyParameters) DeepCopy() *MaintenancePolicyParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenancePolicyParameters.
func (*MaintenancePolicyParameters) DeepCopyInto ¶
func (in *MaintenancePolicyParameters) DeepCopyInto(out *MaintenancePolicyParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceScheduleInitParameters ¶
type MaintenanceScheduleInitParameters struct { }
func (*MaintenanceScheduleInitParameters) DeepCopy ¶
func (in *MaintenanceScheduleInitParameters) DeepCopy() *MaintenanceScheduleInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceScheduleInitParameters.
func (*MaintenanceScheduleInitParameters) DeepCopyInto ¶
func (in *MaintenanceScheduleInitParameters) DeepCopyInto(out *MaintenanceScheduleInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceScheduleObservation ¶
type MaintenanceScheduleObservation struct { // (Output) // Output only. The end time of any upcoming scheduled maintenance for this instance. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. EndTime *string `json:"endTime,omitempty" tf:"end_time,omitempty"` // (Output) // Output only. The deadline that the maintenance schedule start time // can not go beyond, including reschedule. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. ScheduleDeadlineTime *string `json:"scheduleDeadlineTime,omitempty" tf:"schedule_deadline_time,omitempty"` // (Output) // Output only. The start time of any upcoming scheduled maintenance for this instance. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond // resolution and up to nine fractional digits. StartTime *string `json:"startTime,omitempty" tf:"start_time,omitempty"` }
func (*MaintenanceScheduleObservation) DeepCopy ¶
func (in *MaintenanceScheduleObservation) DeepCopy() *MaintenanceScheduleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceScheduleObservation.
func (*MaintenanceScheduleObservation) DeepCopyInto ¶
func (in *MaintenanceScheduleObservation) DeepCopyInto(out *MaintenanceScheduleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MaintenanceScheduleParameters ¶
type MaintenanceScheduleParameters struct { }
func (*MaintenanceScheduleParameters) DeepCopy ¶
func (in *MaintenanceScheduleParameters) DeepCopy() *MaintenanceScheduleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MaintenanceScheduleParameters.
func (*MaintenanceScheduleParameters) DeepCopyInto ¶
func (in *MaintenanceScheduleParameters) DeepCopyInto(out *MaintenanceScheduleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodesInitParameters ¶
type NodesInitParameters struct { }
func (*NodesInitParameters) DeepCopy ¶
func (in *NodesInitParameters) DeepCopy() *NodesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodesInitParameters.
func (*NodesInitParameters) DeepCopyInto ¶
func (in *NodesInitParameters) DeepCopyInto(out *NodesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodesObservation ¶
type NodesObservation struct { // (Output) // Node identifying string. e.g. 'node-0', 'node-1' ID *string `json:"id,omitempty" tf:"id,omitempty"` // (Output) // Location of the node. Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*NodesObservation) DeepCopy ¶
func (in *NodesObservation) DeepCopy() *NodesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodesObservation.
func (*NodesObservation) DeepCopyInto ¶
func (in *NodesObservation) DeepCopyInto(out *NodesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodesParameters ¶
type NodesParameters struct { }
func (*NodesParameters) DeepCopy ¶
func (in *NodesParameters) DeepCopy() *NodesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodesParameters.
func (*NodesParameters) DeepCopyInto ¶
func (in *NodesParameters) DeepCopyInto(out *NodesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistenceConfigInitParameters ¶
type PersistenceConfigInitParameters struct { // Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. PersistenceMode *string `json:"persistenceMode,omitempty" tf:"persistence_mode,omitempty"` // Optional. Available snapshot periods for scheduling. RdbSnapshotPeriod *string `json:"rdbSnapshotPeriod,omitempty" tf:"rdb_snapshot_period,omitempty"` // Optional. Date and time that the first snapshot was/will be attempted, // and to which future snapshots will be aligned. If not provided, // the current time will be used. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution // and up to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". RdbSnapshotStartTime *string `json:"rdbSnapshotStartTime,omitempty" tf:"rdb_snapshot_start_time,omitempty"` }
func (*PersistenceConfigInitParameters) DeepCopy ¶
func (in *PersistenceConfigInitParameters) DeepCopy() *PersistenceConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceConfigInitParameters.
func (*PersistenceConfigInitParameters) DeepCopyInto ¶
func (in *PersistenceConfigInitParameters) DeepCopyInto(out *PersistenceConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistenceConfigObservation ¶
type PersistenceConfigObservation struct { // Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. PersistenceMode *string `json:"persistenceMode,omitempty" tf:"persistence_mode,omitempty"` // (Output) // Output only. The next time that a snapshot attempt is scheduled to occur. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up // to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". RdbNextSnapshotTime *string `json:"rdbNextSnapshotTime,omitempty" tf:"rdb_next_snapshot_time,omitempty"` // Optional. Available snapshot periods for scheduling. RdbSnapshotPeriod *string `json:"rdbSnapshotPeriod,omitempty" tf:"rdb_snapshot_period,omitempty"` // Optional. Date and time that the first snapshot was/will be attempted, // and to which future snapshots will be aligned. If not provided, // the current time will be used. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution // and up to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". RdbSnapshotStartTime *string `json:"rdbSnapshotStartTime,omitempty" tf:"rdb_snapshot_start_time,omitempty"` }
func (*PersistenceConfigObservation) DeepCopy ¶
func (in *PersistenceConfigObservation) DeepCopy() *PersistenceConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceConfigObservation.
func (*PersistenceConfigObservation) DeepCopyInto ¶
func (in *PersistenceConfigObservation) DeepCopyInto(out *PersistenceConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PersistenceConfigParameters ¶
type PersistenceConfigParameters struct { // Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. // +kubebuilder:validation:Optional PersistenceMode *string `json:"persistenceMode,omitempty" tf:"persistence_mode,omitempty"` // Optional. Available snapshot periods for scheduling. // +kubebuilder:validation:Optional RdbSnapshotPeriod *string `json:"rdbSnapshotPeriod,omitempty" tf:"rdb_snapshot_period,omitempty"` // Optional. Date and time that the first snapshot was/will be attempted, // and to which future snapshots will be aligned. If not provided, // the current time will be used. // A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution // and up to nine fractional digits. // Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z". // +kubebuilder:validation:Optional RdbSnapshotStartTime *string `json:"rdbSnapshotStartTime,omitempty" tf:"rdb_snapshot_start_time,omitempty"` }
func (*PersistenceConfigParameters) DeepCopy ¶
func (in *PersistenceConfigParameters) DeepCopy() *PersistenceConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceConfigParameters.
func (*PersistenceConfigParameters) DeepCopyInto ¶
func (in *PersistenceConfigParameters) DeepCopyInto(out *PersistenceConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerCACertsInitParameters ¶
type ServerCACertsInitParameters struct { }
func (*ServerCACertsInitParameters) DeepCopy ¶
func (in *ServerCACertsInitParameters) DeepCopy() *ServerCACertsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertsInitParameters.
func (*ServerCACertsInitParameters) DeepCopyInto ¶
func (in *ServerCACertsInitParameters) DeepCopyInto(out *ServerCACertsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerCACertsObservation ¶
type ServerCACertsObservation struct { // (Output) // The certificate data in PEM format. Cert *string `json:"cert,omitempty" tf:"cert,omitempty"` // (Output) // The time when the certificate was created. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // (Output) // The time when the certificate expires. ExpireTime *string `json:"expireTime,omitempty" tf:"expire_time,omitempty"` // (Output) // Serial number, as extracted from the certificate. SerialNumber *string `json:"serialNumber,omitempty" tf:"serial_number,omitempty"` // (Output) // Sha1 Fingerprint of the certificate. Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty" tf:"sha1_fingerprint,omitempty"` }
func (*ServerCACertsObservation) DeepCopy ¶
func (in *ServerCACertsObservation) DeepCopy() *ServerCACertsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertsObservation.
func (*ServerCACertsObservation) DeepCopyInto ¶
func (in *ServerCACertsObservation) DeepCopyInto(out *ServerCACertsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServerCACertsParameters ¶
type ServerCACertsParameters struct { }
func (*ServerCACertsParameters) DeepCopy ¶
func (in *ServerCACertsParameters) DeepCopy() *ServerCACertsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServerCACertsParameters.
func (*ServerCACertsParameters) DeepCopyInto ¶
func (in *ServerCACertsParameters) DeepCopyInto(out *ServerCACertsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StartTimeInitParameters ¶
type StartTimeInitParameters struct { // Hours of day in 24 hour format. Should be from 0 to 23. // An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"` // Minutes of hour of day. Must be from 0 to 59. Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"` // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. Nanos *float64 `json:"nanos,omitempty" tf:"nanos,omitempty"` // Seconds of minutes of the time. Must normally be from 0 to 59. // An API may allow the value 60 if it allows leap-seconds. Seconds *float64 `json:"seconds,omitempty" tf:"seconds,omitempty"` }
func (*StartTimeInitParameters) DeepCopy ¶
func (in *StartTimeInitParameters) DeepCopy() *StartTimeInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTimeInitParameters.
func (*StartTimeInitParameters) DeepCopyInto ¶
func (in *StartTimeInitParameters) DeepCopyInto(out *StartTimeInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StartTimeObservation ¶
type StartTimeObservation struct { // Hours of day in 24 hour format. Should be from 0 to 23. // An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"` // Minutes of hour of day. Must be from 0 to 59. Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"` // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. Nanos *float64 `json:"nanos,omitempty" tf:"nanos,omitempty"` // Seconds of minutes of the time. Must normally be from 0 to 59. // An API may allow the value 60 if it allows leap-seconds. Seconds *float64 `json:"seconds,omitempty" tf:"seconds,omitempty"` }
func (*StartTimeObservation) DeepCopy ¶
func (in *StartTimeObservation) DeepCopy() *StartTimeObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTimeObservation.
func (*StartTimeObservation) DeepCopyInto ¶
func (in *StartTimeObservation) DeepCopyInto(out *StartTimeObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StartTimeParameters ¶
type StartTimeParameters struct { // Hours of day in 24 hour format. Should be from 0 to 23. // An API may choose to allow the value "24:00:00" for scenarios like business closing time. // +kubebuilder:validation:Optional Hours *float64 `json:"hours,omitempty" tf:"hours,omitempty"` // Minutes of hour of day. Must be from 0 to 59. // +kubebuilder:validation:Optional Minutes *float64 `json:"minutes,omitempty" tf:"minutes,omitempty"` // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. // +kubebuilder:validation:Optional Nanos *float64 `json:"nanos,omitempty" tf:"nanos,omitempty"` // Seconds of minutes of the time. Must normally be from 0 to 59. // An API may allow the value 60 if it allows leap-seconds. // +kubebuilder:validation:Optional Seconds *float64 `json:"seconds,omitempty" tf:"seconds,omitempty"` }
func (*StartTimeParameters) DeepCopy ¶
func (in *StartTimeParameters) DeepCopy() *StartTimeParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StartTimeParameters.
func (*StartTimeParameters) DeepCopyInto ¶
func (in *StartTimeParameters) DeepCopyInto(out *StartTimeParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeeklyMaintenanceWindowInitParameters ¶
type WeeklyMaintenanceWindowInitParameters struct { // Required. The day of week that maintenance updates occur. Day *string `json:"day,omitempty" tf:"day,omitempty"` // Required. Start time of the window in UTC time. // Structure is documented below. StartTime *StartTimeInitParameters `json:"startTime,omitempty" tf:"start_time,omitempty"` }
func (*WeeklyMaintenanceWindowInitParameters) DeepCopy ¶
func (in *WeeklyMaintenanceWindowInitParameters) DeepCopy() *WeeklyMaintenanceWindowInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeeklyMaintenanceWindowInitParameters.
func (*WeeklyMaintenanceWindowInitParameters) DeepCopyInto ¶
func (in *WeeklyMaintenanceWindowInitParameters) DeepCopyInto(out *WeeklyMaintenanceWindowInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeeklyMaintenanceWindowObservation ¶
type WeeklyMaintenanceWindowObservation struct { // Required. The day of week that maintenance updates occur. Day *string `json:"day,omitempty" tf:"day,omitempty"` // (Output) // Output only. Duration of the maintenance window. // The current window is fixed at 1 hour. // A duration in seconds with up to nine fractional digits, // terminated by 's'. Example: "3.5s". Duration *string `json:"duration,omitempty" tf:"duration,omitempty"` // Required. Start time of the window in UTC time. // Structure is documented below. StartTime *StartTimeObservation `json:"startTime,omitempty" tf:"start_time,omitempty"` }
func (*WeeklyMaintenanceWindowObservation) DeepCopy ¶
func (in *WeeklyMaintenanceWindowObservation) DeepCopy() *WeeklyMaintenanceWindowObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeeklyMaintenanceWindowObservation.
func (*WeeklyMaintenanceWindowObservation) DeepCopyInto ¶
func (in *WeeklyMaintenanceWindowObservation) DeepCopyInto(out *WeeklyMaintenanceWindowObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WeeklyMaintenanceWindowParameters ¶
type WeeklyMaintenanceWindowParameters struct { // Required. The day of week that maintenance updates occur. // +kubebuilder:validation:Optional Day *string `json:"day" tf:"day,omitempty"` // Required. Start time of the window in UTC time. // Structure is documented below. // +kubebuilder:validation:Optional StartTime *StartTimeParameters `json:"startTime" tf:"start_time,omitempty"` }
func (*WeeklyMaintenanceWindowParameters) DeepCopy ¶
func (in *WeeklyMaintenanceWindowParameters) DeepCopy() *WeeklyMaintenanceWindowParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeeklyMaintenanceWindowParameters.
func (*WeeklyMaintenanceWindowParameters) DeepCopyInto ¶
func (in *WeeklyMaintenanceWindowParameters) DeepCopyInto(out *WeeklyMaintenanceWindowParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.