Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the redis v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/redis +k8s:defaulter-gen=TypeMeta +groupName=redis.cnrm.cloud.google.com
Index ¶
- Variables
- type ClusterAofConfig
- type ClusterDiscoveryEndpointsStatus
- type ClusterObservedStateStatus
- type ClusterPersistenceConfig
- type ClusterPscConfigStatus
- type ClusterPscConfigs
- type ClusterPscConnectionsStatus
- type ClusterRdbConfig
- type ClusterStateInfoStatus
- type ClusterUpdateInfoStatus
- type ClusterZoneDistributionConfig
- type InstanceMaintenancePolicy
- type InstanceMaintenanceSchedule
- type InstanceMaintenanceScheduleStatus
- type InstanceNodesStatus
- type InstanceObservedStateStatus
- type InstancePersistenceConfig
- type InstanceServerCaCertsStatus
- type InstanceStartTime
- type InstanceWeeklyMaintenanceWindow
- type RedisCluster
- type RedisClusterList
- type RedisClusterSpec
- type RedisClusterStatus
- type RedisInstance
- type RedisInstanceList
- type RedisInstanceSpec
- type RedisInstanceStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "redis.cnrm.cloud.google.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme RedisClusterGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(RedisCluster{}).Name(), } RedisInstanceGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(RedisInstance{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type ClusterAofConfig ¶ added in v1.124.0
type ClusterAofConfig struct { /* Optional. fsync configuration. */ // +optional AppendFsync *string `json:"appendFsync,omitempty"` }
func (*ClusterAofConfig) DeepCopy ¶ added in v1.124.0
func (in *ClusterAofConfig) DeepCopy() *ClusterAofConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterAofConfig.
func (*ClusterAofConfig) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterAofConfig) DeepCopyInto(out *ClusterAofConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterDiscoveryEndpointsStatus ¶ added in v1.124.0
type ClusterDiscoveryEndpointsStatus struct { /* Output only. Address of the exposed Redis endpoint used by clients to connect to the service. The address could be either IP or hostname. */ // +optional Address *string `json:"address,omitempty"` /* Output only. The port number of the exposed Redis endpoint. */ // +optional Port *int32 `json:"port,omitempty"` /* Output only. Customer configuration for where the endpoint is created and accessed from. */ // +optional PscConfig *ClusterPscConfigStatus `json:"pscConfig,omitempty"` }
func (*ClusterDiscoveryEndpointsStatus) DeepCopy ¶ added in v1.124.0
func (in *ClusterDiscoveryEndpointsStatus) DeepCopy() *ClusterDiscoveryEndpointsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDiscoveryEndpointsStatus.
func (*ClusterDiscoveryEndpointsStatus) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterDiscoveryEndpointsStatus) DeepCopyInto(out *ClusterDiscoveryEndpointsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterObservedStateStatus ¶ added in v1.124.0
type ClusterObservedStateStatus struct { /* Output only. The timestamp associated with the cluster creation request. */ // +optional CreateTime *string `json:"createTime,omitempty"` /* Output only. Endpoints created on each given network, for Redis clients to connect to the cluster. Currently only one discovery endpoint is supported. */ // +optional DiscoveryEndpoints []ClusterDiscoveryEndpointsStatus `json:"discoveryEndpoints,omitempty"` /* Output only. Precise value of redis memory size in GB for the entire cluster. */ // +optional PreciseSizeGb *float64 `json:"preciseSizeGb,omitempty"` /* Output only. PSC connections for discovery of the cluster topology and accessing the cluster. */ // +optional PscConnections []ClusterPscConnectionsStatus `json:"pscConnections,omitempty"` /* Output only. Redis memory size in GB for the entire cluster rounded up to the next integer. */ // +optional SizeGb *int32 `json:"sizeGb,omitempty"` /* Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED */ // +optional State *string `json:"state,omitempty"` /* Output only. Additional information about the current state of the cluster. */ // +optional StateInfo *ClusterStateInfoStatus `json:"stateInfo,omitempty"` /* Output only. System assigned, unique identifier for the cluster. */ // +optional Uid *string `json:"uid,omitempty"` }
func (*ClusterObservedStateStatus) DeepCopy ¶ added in v1.124.0
func (in *ClusterObservedStateStatus) DeepCopy() *ClusterObservedStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterObservedStateStatus.
func (*ClusterObservedStateStatus) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterObservedStateStatus) DeepCopyInto(out *ClusterObservedStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPersistenceConfig ¶ added in v1.124.0
type ClusterPersistenceConfig struct { /* Optional. AOF configuration. This field will be ignored if mode is not AOF. */ // +optional AofConfig *ClusterAofConfig `json:"aofConfig,omitempty"` /* Optional. The mode of persistence. */ // +optional Mode *string `json:"mode,omitempty"` /* Optional. RDB configuration. This field will be ignored if mode is not RDB. */ // +optional RdbConfig *ClusterRdbConfig `json:"rdbConfig,omitempty"` }
func (*ClusterPersistenceConfig) DeepCopy ¶ added in v1.124.0
func (in *ClusterPersistenceConfig) DeepCopy() *ClusterPersistenceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPersistenceConfig.
func (*ClusterPersistenceConfig) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterPersistenceConfig) DeepCopyInto(out *ClusterPersistenceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPscConfigStatus ¶ added in v1.124.0
type ClusterPscConfigStatus struct { /* Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}. */ // +optional Network *string `json:"network,omitempty"` }
func (*ClusterPscConfigStatus) DeepCopy ¶ added in v1.124.0
func (in *ClusterPscConfigStatus) DeepCopy() *ClusterPscConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPscConfigStatus.
func (*ClusterPscConfigStatus) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterPscConfigStatus) DeepCopyInto(out *ClusterPscConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPscConfigs ¶ added in v1.124.0
type ClusterPscConfigs struct { /* Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}. */ NetworkRef v1alpha1.ResourceRef `json:"networkRef"` }
func (*ClusterPscConfigs) DeepCopy ¶ added in v1.124.0
func (in *ClusterPscConfigs) DeepCopy() *ClusterPscConfigs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPscConfigs.
func (*ClusterPscConfigs) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterPscConfigs) DeepCopyInto(out *ClusterPscConfigs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterPscConnectionsStatus ¶ added in v1.124.0
type ClusterPscConnectionsStatus struct { /* Output only. The IP allocated on the consumer network for the PSC forwarding rule. */ // +optional Address *string `json:"address,omitempty"` /* Output only. The URI of the consumer side forwarding rule. Example: projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}. */ // +optional ForwardingRule *string `json:"forwardingRule,omitempty"` /* The consumer network where the IP address resides, in the form of projects/{project_id}/global/networks/{network_id}. */ // +optional Network *string `json:"network,omitempty"` /* Output only. The consumer project_id where the forwarding rule is created from. */ // +optional ProjectID *string `json:"projectID,omitempty"` /* Output only. The PSC connection id of the forwarding rule connected to the service attachment. */ // +optional PscConnectionID *string `json:"pscConnectionID,omitempty"` }
func (*ClusterPscConnectionsStatus) DeepCopy ¶ added in v1.124.0
func (in *ClusterPscConnectionsStatus) DeepCopy() *ClusterPscConnectionsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterPscConnectionsStatus.
func (*ClusterPscConnectionsStatus) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterPscConnectionsStatus) DeepCopyInto(out *ClusterPscConnectionsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRdbConfig ¶ added in v1.124.0
type ClusterRdbConfig struct { /* Optional. Period between RDB snapshots. */ // +optional RdbSnapshotPeriod *string `json:"rdbSnapshotPeriod,omitempty"` /* Optional. The 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. */ // +optional RdbSnapshotStartTime *string `json:"rdbSnapshotStartTime,omitempty"` }
func (*ClusterRdbConfig) DeepCopy ¶ added in v1.124.0
func (in *ClusterRdbConfig) DeepCopy() *ClusterRdbConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRdbConfig.
func (*ClusterRdbConfig) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterRdbConfig) DeepCopyInto(out *ClusterRdbConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterStateInfoStatus ¶ added in v1.124.0
type ClusterStateInfoStatus struct { /* Describes ongoing update on the cluster when cluster state is UPDATING. */ // +optional UpdateInfo *ClusterUpdateInfoStatus `json:"updateInfo,omitempty"` }
func (*ClusterStateInfoStatus) DeepCopy ¶ added in v1.124.0
func (in *ClusterStateInfoStatus) DeepCopy() *ClusterStateInfoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStateInfoStatus.
func (*ClusterStateInfoStatus) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterStateInfoStatus) DeepCopyInto(out *ClusterStateInfoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterUpdateInfoStatus ¶ added in v1.124.0
type ClusterUpdateInfoStatus struct { /* Target number of replica nodes per shard. */ // +optional TargetReplicaCount *int32 `json:"targetReplicaCount,omitempty"` /* Target number of shards for redis cluster */ // +optional TargetShardCount *int32 `json:"targetShardCount,omitempty"` }
func (*ClusterUpdateInfoStatus) DeepCopy ¶ added in v1.124.0
func (in *ClusterUpdateInfoStatus) DeepCopy() *ClusterUpdateInfoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterUpdateInfoStatus.
func (*ClusterUpdateInfoStatus) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterUpdateInfoStatus) DeepCopyInto(out *ClusterUpdateInfoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterZoneDistributionConfig ¶ added in v1.124.0
type ClusterZoneDistributionConfig struct { /* Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified. */ // +optional Mode *string `json:"mode,omitempty"` /* Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters. */ // +optional Zone *string `json:"zone,omitempty"` }
func (*ClusterZoneDistributionConfig) DeepCopy ¶ added in v1.124.0
func (in *ClusterZoneDistributionConfig) DeepCopy() *ClusterZoneDistributionConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterZoneDistributionConfig.
func (*ClusterZoneDistributionConfig) DeepCopyInto ¶ added in v1.124.0
func (in *ClusterZoneDistributionConfig) DeepCopyInto(out *ClusterZoneDistributionConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceMaintenancePolicy ¶ added in v1.75.0
type InstanceMaintenancePolicy struct { /* 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. */ // +optional CreateTime *string `json:"createTime,omitempty"` /* Optional. Description of what this policy is for. Create/Update methods return INVALID_ARGUMENT if the length is greater than 512. */ // +optional Description *string `json:"description,omitempty"` /* 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. */ // +optional UpdateTime *string `json:"updateTime,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. */ // +optional WeeklyMaintenanceWindow []InstanceWeeklyMaintenanceWindow `json:"weeklyMaintenanceWindow,omitempty"` }
func (*InstanceMaintenancePolicy) DeepCopy ¶ added in v1.75.0
func (in *InstanceMaintenancePolicy) DeepCopy() *InstanceMaintenancePolicy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMaintenancePolicy.
func (*InstanceMaintenancePolicy) DeepCopyInto ¶ added in v1.75.0
func (in *InstanceMaintenancePolicy) DeepCopyInto(out *InstanceMaintenancePolicy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceMaintenanceSchedule ¶ added in v1.75.0
type InstanceMaintenanceSchedule struct { /* 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. */ // +optional EndTime *string `json:"endTime,omitempty"` /* 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. */ // +optional ScheduleDeadlineTime *string `json:"scheduleDeadlineTime,omitempty"` /* 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. */ // +optional StartTime *string `json:"startTime,omitempty"` }
func (*InstanceMaintenanceSchedule) DeepCopy ¶ added in v1.75.0
func (in *InstanceMaintenanceSchedule) DeepCopy() *InstanceMaintenanceSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMaintenanceSchedule.
func (*InstanceMaintenanceSchedule) DeepCopyInto ¶ added in v1.75.0
func (in *InstanceMaintenanceSchedule) DeepCopyInto(out *InstanceMaintenanceSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceMaintenanceScheduleStatus ¶ added in v1.108.0
type InstanceMaintenanceScheduleStatus struct { /* 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. */ // +optional EndTime *string `json:"endTime,omitempty"` /* 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. */ // +optional ScheduleDeadlineTime *string `json:"scheduleDeadlineTime,omitempty"` /* 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. */ // +optional StartTime *string `json:"startTime,omitempty"` }
func (*InstanceMaintenanceScheduleStatus) DeepCopy ¶ added in v1.108.0
func (in *InstanceMaintenanceScheduleStatus) DeepCopy() *InstanceMaintenanceScheduleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMaintenanceScheduleStatus.
func (*InstanceMaintenanceScheduleStatus) DeepCopyInto ¶ added in v1.108.0
func (in *InstanceMaintenanceScheduleStatus) DeepCopyInto(out *InstanceMaintenanceScheduleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceNodesStatus ¶
type InstanceNodesStatus struct { /* Node identifying string. e.g. 'node-0', 'node-1'. */ // +optional Id *string `json:"id,omitempty"` /* Location of the node. */ // +optional Zone *string `json:"zone,omitempty"` }
func (*InstanceNodesStatus) DeepCopy ¶
func (in *InstanceNodesStatus) DeepCopy() *InstanceNodesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNodesStatus.
func (*InstanceNodesStatus) DeepCopyInto ¶
func (in *InstanceNodesStatus) DeepCopyInto(out *InstanceNodesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceObservedStateStatus ¶ added in v1.113.0
type InstanceObservedStateStatus struct { /* Output only. AUTH String set on the instance. This field will only be populated if auth_enabled is true. */ // +optional AuthString *string `json:"authString,omitempty"` }
func (*InstanceObservedStateStatus) DeepCopy ¶ added in v1.113.0
func (in *InstanceObservedStateStatus) DeepCopy() *InstanceObservedStateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservedStateStatus.
func (*InstanceObservedStateStatus) DeepCopyInto ¶ added in v1.113.0
func (in *InstanceObservedStateStatus) DeepCopyInto(out *InstanceObservedStateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstancePersistenceConfig ¶ added in v1.97.0
type InstancePersistenceConfig struct { /* Optional. Controls whether Persistence features are enabled. If not provided, the existing value will be used. - DISABLED: Persistence is disabled for the instance, and any existing snapshots are deleted. - RDB: RDB based Persistence is enabled. Possible values: ["DISABLED", "RDB"]. */ // +optional PersistenceMode *string `json:"persistenceMode,omitempty"` /* 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". */ // +optional RdbNextSnapshotTime *string `json:"rdbNextSnapshotTime,omitempty"` /* Optional. Available snapshot periods for scheduling. - ONE_HOUR: Snapshot every 1 hour. - SIX_HOURS: Snapshot every 6 hours. - TWELVE_HOURS: Snapshot every 12 hours. - TWENTY_FOUR_HOURS: Snapshot every 24 hours. Possible values: ["ONE_HOUR", "SIX_HOURS", "TWELVE_HOURS", "TWENTY_FOUR_HOURS"]. */ // +optional RdbSnapshotPeriod *string `json:"rdbSnapshotPeriod,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". */ // +optional RdbSnapshotStartTime *string `json:"rdbSnapshotStartTime,omitempty"` }
func (*InstancePersistenceConfig) DeepCopy ¶ added in v1.97.0
func (in *InstancePersistenceConfig) DeepCopy() *InstancePersistenceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstancePersistenceConfig.
func (*InstancePersistenceConfig) DeepCopyInto ¶ added in v1.97.0
func (in *InstancePersistenceConfig) DeepCopyInto(out *InstancePersistenceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceServerCaCertsStatus ¶
type InstanceServerCaCertsStatus struct { /* The certificate data in PEM format. */ // +optional Cert *string `json:"cert,omitempty"` /* The time when the certificate was created. */ // +optional CreateTime *string `json:"createTime,omitempty"` /* The time when the certificate expires. */ // +optional ExpireTime *string `json:"expireTime,omitempty"` /* Serial number, as extracted from the certificate. */ // +optional SerialNumber *string `json:"serialNumber,omitempty"` /* Sha1 Fingerprint of the certificate. */ // +optional Sha1Fingerprint *string `json:"sha1Fingerprint,omitempty"` }
func (*InstanceServerCaCertsStatus) DeepCopy ¶
func (in *InstanceServerCaCertsStatus) DeepCopy() *InstanceServerCaCertsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceServerCaCertsStatus.
func (*InstanceServerCaCertsStatus) DeepCopyInto ¶
func (in *InstanceServerCaCertsStatus) DeepCopyInto(out *InstanceServerCaCertsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStartTime ¶ added in v1.75.0
type InstanceStartTime 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. */ // +optional Hours *int64 `json:"hours,omitempty"` /* Minutes of hour of day. Must be from 0 to 59. */ // +optional Minutes *int64 `json:"minutes,omitempty"` /* Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */ // +optional Nanos *int64 `json:"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. */ // +optional Seconds *int64 `json:"seconds,omitempty"` }
func (*InstanceStartTime) DeepCopy ¶ added in v1.75.0
func (in *InstanceStartTime) DeepCopy() *InstanceStartTime
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceStartTime.
func (*InstanceStartTime) DeepCopyInto ¶ added in v1.75.0
func (in *InstanceStartTime) DeepCopyInto(out *InstanceStartTime)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceWeeklyMaintenanceWindow ¶ added in v1.75.0
type InstanceWeeklyMaintenanceWindow struct { /* Required. The day of week that maintenance updates occur. - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified. - MONDAY: Monday - TUESDAY: Tuesday - WEDNESDAY: Wednesday - THURSDAY: Thursday - FRIDAY: Friday - SATURDAY: Saturday - SUNDAY: Sunday Possible values: ["DAY_OF_WEEK_UNSPECIFIED", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]. */ Day string `json:"day"` /* 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". */ // +optional Duration *string `json:"duration,omitempty"` /* Required. Start time of the window in UTC time. */ StartTime InstanceStartTime `json:"startTime"` }
func (*InstanceWeeklyMaintenanceWindow) DeepCopy ¶ added in v1.75.0
func (in *InstanceWeeklyMaintenanceWindow) DeepCopy() *InstanceWeeklyMaintenanceWindow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceWeeklyMaintenanceWindow.
func (*InstanceWeeklyMaintenanceWindow) DeepCopyInto ¶ added in v1.75.0
func (in *InstanceWeeklyMaintenanceWindow) DeepCopyInto(out *InstanceWeeklyMaintenanceWindow)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisCluster ¶ added in v1.124.0
type RedisCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RedisClusterSpec `json:"spec,omitempty"` Status RedisClusterStatus `json:"status,omitempty"` }
RedisCluster is the Schema for the redis API +k8s:openapi-gen=true
func (*RedisCluster) DeepCopy ¶ added in v1.124.0
func (in *RedisCluster) DeepCopy() *RedisCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisCluster.
func (*RedisCluster) DeepCopyInto ¶ added in v1.124.0
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 ¶ added in v1.124.0
func (in *RedisCluster) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisClusterList ¶ added in v1.124.0
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 ¶ added in v1.124.0
func (in *RedisClusterList) DeepCopy() *RedisClusterList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisClusterList.
func (*RedisClusterList) DeepCopyInto ¶ added in v1.124.0
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 ¶ added in v1.124.0
func (in *RedisClusterList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisClusterSpec ¶ added in v1.124.0
type RedisClusterSpec struct { /* Optional. The authorization mode of the Redis cluster. If not provided, auth feature is disabled for the cluster. */ // +optional AuthorizationMode *string `json:"authorizationMode,omitempty"` /* Optional. The delete operation will fail when the value is set to true. */ // +optional DeletionProtectionEnabled *bool `json:"deletionProtectionEnabled,omitempty"` /* Immutable. Location of the resource. */ Location string `json:"location"` /* Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node. */ // +optional NodeType *string `json:"nodeType,omitempty"` /* Optional. Persistence config (RDB, AOF) for the cluster. */ // +optional PersistenceConfig *ClusterPersistenceConfig `json:"persistenceConfig,omitempty"` /* Immutable. The Project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported. */ // +optional PscConfigs []ClusterPscConfigs `json:"pscConfigs,omitempty"` /* Optional. Key/Value pairs of customer overrides for mutable Redis Configs */ // +optional RedisConfigs map[string]string `json:"redisConfigs,omitempty"` /* Optional. The number of replica nodes per shard. */ // +optional ReplicaCount *int32 `json:"replicaCount,omitempty"` /* The RedisCluster name. If not given, the metadata.name will be used. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Required. Number of shards for the Redis cluster. */ // +optional ShardCount *int32 `json:"shardCount,omitempty"` /* Optional. The in-transit encryption for the Redis cluster. If not provided, encryption is disabled for the cluster. */ // +optional TransitEncryptionMode *string `json:"transitEncryptionMode,omitempty"` /* Optional. This config will be used to determine how the customer wants us to distribute cluster resources within the region. */ // +optional ZoneDistributionConfig *ClusterZoneDistributionConfig `json:"zoneDistributionConfig,omitempty"` }
func (*RedisClusterSpec) DeepCopy ¶ added in v1.124.0
func (in *RedisClusterSpec) DeepCopy() *RedisClusterSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisClusterSpec.
func (*RedisClusterSpec) DeepCopyInto ¶ added in v1.124.0
func (in *RedisClusterSpec) DeepCopyInto(out *RedisClusterSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisClusterStatus ¶ added in v1.124.0
type RedisClusterStatus struct { /* Conditions represent the latest available observations of the RedisCluster's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* A unique specifier for the RedisCluster resource in GCP. */ // +optional ExternalRef *string `json:"externalRef,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` /* ObservedState is the state of the resource as most recently observed in GCP. */ // +optional ObservedState *ClusterObservedStateStatus `json:"observedState,omitempty"` }
func (*RedisClusterStatus) DeepCopy ¶ added in v1.124.0
func (in *RedisClusterStatus) DeepCopy() *RedisClusterStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisClusterStatus.
func (*RedisClusterStatus) DeepCopyInto ¶ added in v1.124.0
func (in *RedisClusterStatus) DeepCopyInto(out *RedisClusterStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisInstance ¶
type RedisInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RedisInstanceSpec `json:"spec,omitempty"` Status RedisInstanceStatus `json:"status,omitempty"` }
RedisInstance is the Schema for the redis API +k8s:openapi-gen=true
func (*RedisInstance) DeepCopy ¶
func (in *RedisInstance) DeepCopy() *RedisInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisInstance.
func (*RedisInstance) DeepCopyInto ¶
func (in *RedisInstance) DeepCopyInto(out *RedisInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisInstance) DeepCopyObject ¶
func (in *RedisInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisInstanceList ¶
type RedisInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RedisInstance `json:"items"` }
RedisInstanceList contains a list of RedisInstance
func (*RedisInstanceList) DeepCopy ¶
func (in *RedisInstanceList) DeepCopy() *RedisInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisInstanceList.
func (*RedisInstanceList) DeepCopyInto ¶
func (in *RedisInstanceList) DeepCopyInto(out *RedisInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RedisInstanceList) DeepCopyObject ¶
func (in *RedisInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RedisInstanceSpec ¶
type RedisInstanceSpec struct { /* Immutable. 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]. */ // +optional AlternativeLocationId *string `json:"alternativeLocationId,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. */ // +optional AuthEnabled *bool `json:"authEnabled,omitempty"` /* Output only. AUTH String set on the instance. This field will only be populated if auth_enabled is true. */ // +optional AuthString *string `json:"authString,omitempty"` /* The network to which the instance is connected. If left unspecified, the default network will be used. */ // +optional AuthorizedNetworkRef *v1alpha1.ResourceRef `json:"authorizedNetworkRef,omitempty"` /* Immutable. The connection mode of the Redis instance. Default value: "DIRECT_PEERING" Possible values: ["DIRECT_PEERING", "PRIVATE_SERVICE_ACCESS"]. */ // +optional ConnectMode *string `json:"connectMode,omitempty"` /* Immutable. 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. */ // +optional CustomerManagedKeyRef *v1alpha1.ResourceRef `json:"customerManagedKeyRef,omitempty"` /* An arbitrary and optional user-provided name for the instance. */ // +optional DisplayName *string `json:"displayName,omitempty"` /* Immutable. 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]. */ // +optional LocationId *string `json:"locationId,omitempty"` /* Maintenance policy for an instance. */ // +optional MaintenancePolicy *InstanceMaintenancePolicy `json:"maintenancePolicy,omitempty"` /* Upcoming maintenance schedule. */ // +optional MaintenanceSchedule []InstanceMaintenanceSchedule `json:"maintenanceSchedule,omitempty"` /* Redis memory size in GiB. */ MemorySizeGb int64 `json:"memorySizeGb"` /* Persistence configuration for an instance. */ // +optional PersistenceConfig *InstancePersistenceConfig `json:"persistenceConfig,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. - READ_REPLICAS_DISABLED: If disabled, read endpoint will not be provided and the instance cannot scale up or down the number of replicas. - READ_REPLICAS_ENABLED: If enabled, read endpoint will be provided and the instance can scale up and down the number of replicas. Possible values: ["READ_REPLICAS_DISABLED", "READ_REPLICAS_ENABLED"]. */ // +optional ReadReplicasMode *string `json:"readReplicasMode,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. */ // +optional RedisConfigs map[string]string `json:"redisConfigs,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. */ // +optional RedisVersion *string `json:"redisVersion,omitempty"` /* Immutable. The name of the Redis region of the instance. */ Region string `json:"region"` /* 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. */ // +optional ReplicaCount *int64 `json:"replicaCount,omitempty"` /* Immutable. 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 ReservedIpRange *string `json:"reservedIpRange,omitempty"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */ // +optional ResourceID *string `json:"resourceID,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". */ // +optional SecondaryIpRange *string `json:"secondaryIpRange,omitempty"` /* Immutable. The service tier of the instance. Must be one of these values: - BASIC: standalone instance - STANDARD_HA: highly available primary/replica instances Default value: "BASIC" Possible values: ["BASIC", "STANDARD_HA"]. */ // +optional Tier *string `json:"tier,omitempty"` /* Immutable. The TLS mode of the Redis instance, If not provided, TLS is disabled for the instance. - SERVER_AUTHENTICATION: Client to Server traffic encryption enabled with server authentication Default value: "DISABLED" Possible values: ["SERVER_AUTHENTICATION", "DISABLED"]. */ // +optional TransitEncryptionMode *string `json:"transitEncryptionMode,omitempty"` }
func (*RedisInstanceSpec) DeepCopy ¶
func (in *RedisInstanceSpec) DeepCopy() *RedisInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisInstanceSpec.
func (*RedisInstanceSpec) DeepCopyInto ¶
func (in *RedisInstanceSpec) DeepCopyInto(out *RedisInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RedisInstanceStatus ¶
type RedisInstanceStatus struct { /* Conditions represent the latest available observations of the RedisInstance's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The time the instance was created in RFC3339 UTC "Zulu" format, accurate to nanoseconds. */ // +optional CreateTime *string `json:"createTime,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. */ // +optional CurrentLocationId *string `json:"currentLocationId,omitempty"` /* Hostname or IP address of the exposed Redis endpoint used by clients to connect to the service. */ // +optional Host *string `json:"host,omitempty"` /* Upcoming maintenance schedule. */ // +optional MaintenanceSchedule []InstanceMaintenanceScheduleStatus `json:"maintenanceSchedule,omitempty"` /* Output only. Info per node. */ // +optional Nodes []InstanceNodesStatus `json:"nodes,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` /* The observed state of the underlying GCP resource. */ // +optional ObservedState *InstanceObservedStateStatus `json:"observedState,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. */ // +optional PersistenceIamIdentity *string `json:"persistenceIamIdentity,omitempty"` /* The port number of the exposed Redis endpoint. */ // +optional Port *int64 `json:"port,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'. */ // +optional ReadEndpoint *string `json:"readEndpoint,omitempty"` /* Output only. The port number of the exposed readonly redis endpoint. Standard tier only. Write requests should target 'port'. */ // +optional ReadEndpointPort *int64 `json:"readEndpointPort,omitempty"` /* List of server CA certificates for the instance. */ // +optional ServerCaCerts []InstanceServerCaCertsStatus `json:"serverCaCerts,omitempty"` }
func (*RedisInstanceStatus) DeepCopy ¶
func (in *RedisInstanceStatus) DeepCopy() *RedisInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RedisInstanceStatus.
func (*RedisInstanceStatus) DeepCopyInto ¶
func (in *RedisInstanceStatus) DeepCopyInto(out *RedisInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.