v1alpha1

package
v1.127.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kcc:proto=google.cloud.memorystore.v1beta

+kubebuilder:object:generate=true +groupName=memorystore.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "memorystore.cnrm.cloud.google.com", Version: "v1alpha1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var MemorystoreInstanceGVK = GroupVersion.WithKind("MemorystoreInstance")

Functions

This section is empty.

Types

type DiscoveryEndpoint

type DiscoveryEndpoint struct {
	// Output only. IP address of the exposed endpoint clients connect to.
	Address *string `json:"address,omitempty"`

	// Output only. The port number of the exposed endpoint.
	Port *int32 `json:"port,omitempty"`

	// Output only. The network where the IP address of the discovery endpoint
	//  will be reserved, in the form of
	//  projects/{network_project}/global/networks/{network_id}.
	Network *string `json:"network,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.DiscoveryEndpoint

func (*DiscoveryEndpoint) DeepCopy

func (in *DiscoveryEndpoint) DeepCopy() *DiscoveryEndpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DiscoveryEndpoint.

func (*DiscoveryEndpoint) DeepCopyInto

func (in *DiscoveryEndpoint) DeepCopyInto(out *DiscoveryEndpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Instance

type Instance struct {
	// Identifier. Unique name of the instance.
	//  Format: projects/{project}/locations/{location}/instances/{instance}
	Name *string `json:"name,omitempty"`

	// Output only. Creation timestamp of the instance.
	CreateTime *string `json:"createTime,omitempty"`

	// Output only. Latest update timestamp of the instance.
	UpdateTime *string `json:"updateTime,omitempty"`

	// Optional. Labels to represent user-provided metadata.
	Labels map[string]string `json:"labels,omitempty"`

	// Output only. Current state of the instance.
	State *string `json:"state,omitempty"`

	// Output only. Additional information about the state of the instance.
	StateInfo *Instance_StateInfo `json:"stateInfo,omitempty"`

	// Output only. System assigned, unique identifier for the instance.
	Uid *string `json:"uid,omitempty"`

	// Optional. Number of replica nodes per shard. If omitted the default is 0
	//  replicas.
	ReplicaCount *int32 `json:"replicaCount,omitempty"`

	// Optional. Immutable. Authorization mode of the instance.
	AuthorizationMode *string `json:"authorizationMode,omitempty"`

	// Optional. Immutable. In-transit encryption mode of the instance.
	TransitEncryptionMode *string `json:"transitEncryptionMode,omitempty"`

	// Optional. Number of shards for the instance.
	ShardCount *int32 `json:"shardCount,omitempty"`

	// Output only. Endpoints clients can connect to the instance through.
	//  Currently only one discovery endpoint is supported.
	DiscoveryEndpoints []DiscoveryEndpoint `json:"discoveryEndpoints,omitempty"`

	// Optional. Immutable. Machine type for individual nodes of the instance.
	NodeType *string `json:"nodeType,omitempty"`

	// Optional. Persistence configuration of the instance.
	PersistenceConfig *PersistenceConfig `json:"persistenceConfig,omitempty"`

	// Optional. Immutable. Engine version of the instance.
	EngineVersion *string `json:"engineVersion,omitempty"`

	// Optional. User-provided engine configurations for the instance.
	EngineConfigs map[string]string `json:"engineConfigs,omitempty"`

	// Output only. Configuration of individual nodes of the instance.
	NodeConfig *NodeConfig `json:"nodeConfig,omitempty"`

	// Optional. Immutable. Zone distribution configuration of the instance for
	//  node allocation.
	ZoneDistributionConfig *ZoneDistributionConfig `json:"zoneDistributionConfig,omitempty"`

	// Optional. If set to true deletion of the instance will fail.
	DeletionProtectionEnabled *bool `json:"deletionProtectionEnabled,omitempty"`

	// Required. Immutable. User inputs and resource details of the auto-created
	//  PSC connections.
	PscAutoConnections []PscAutoConnection `json:"pscAutoConnections,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.Instance

func (*Instance) DeepCopy

func (in *Instance) DeepCopy() *Instance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance.

func (*Instance) DeepCopyInto

func (in *Instance) DeepCopyInto(out *Instance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Instance_StateInfo

type Instance_StateInfo struct {
	// Output only. Describes ongoing update when instance state is UPDATING.
	UpdateInfo *Instance_StateInfo_UpdateInfo `json:"updateInfo,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.Instance.StateInfo

func (*Instance_StateInfo) DeepCopy

func (in *Instance_StateInfo) DeepCopy() *Instance_StateInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_StateInfo.

func (*Instance_StateInfo) DeepCopyInto

func (in *Instance_StateInfo) DeepCopyInto(out *Instance_StateInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Instance_StateInfo_UpdateInfo

type Instance_StateInfo_UpdateInfo struct {
	// Output only. Target number of shards for the instance.
	TargetShardCount *int32 `json:"targetShardCount,omitempty"`

	// Output only. Target number of replica nodes per shard for the instance.
	TargetReplicaCount *int32 `json:"targetReplicaCount,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.Instance.StateInfo.UpdateInfo

func (*Instance_StateInfo_UpdateInfo) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Instance_StateInfo_UpdateInfo.

func (*Instance_StateInfo_UpdateInfo) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemorystoreInstance

type MemorystoreInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +required
	Spec   MemorystoreInstanceSpec   `json:"spec,omitempty"`
	Status MemorystoreInstanceStatus `json:"status,omitempty"`
}

MemorystoreInstance is the Schema for the MemorystoreInstance API +k8s:openapi-gen=true

func (*MemorystoreInstance) DeepCopy

func (in *MemorystoreInstance) DeepCopy() *MemorystoreInstance

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorystoreInstance.

func (*MemorystoreInstance) DeepCopyInto

func (in *MemorystoreInstance) DeepCopyInto(out *MemorystoreInstance)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MemorystoreInstance) DeepCopyObject

func (in *MemorystoreInstance) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MemorystoreInstanceList

type MemorystoreInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []MemorystoreInstance `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object MemorystoreInstanceList contains a list of MemorystoreInstance

func (*MemorystoreInstanceList) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorystoreInstanceList.

func (*MemorystoreInstanceList) DeepCopyInto

func (in *MemorystoreInstanceList) DeepCopyInto(out *MemorystoreInstanceList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MemorystoreInstanceList) DeepCopyObject

func (in *MemorystoreInstanceList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type MemorystoreInstanceObservedState

type MemorystoreInstanceObservedState struct {
	// Identifier. Unique name of the instance.
	//  Format: projects/{project}/locations/{location}/instances/{instance}
	Name *string `json:"name,omitempty"`

	// Output only. Creation timestamp of the instance.
	CreateTime *string `json:"createTime,omitempty"`

	// Output only. Latest update timestamp of the instance.
	UpdateTime *string `json:"updateTime,omitempty"`

	// Output only. Current state of the instance.
	State *string `json:"state,omitempty"`

	// Output only. Additional information about the state of the instance.
	StateInfo *Instance_StateInfo `json:"stateInfo,omitempty"`

	// Output only. System assigned, unique identifier for the instance.
	Uid *string `json:"uid,omitempty"`

	// Optional. Immutable. Authorization mode of the instance.
	AuthorizationMode *string `json:"authorizationMode,omitempty"`

	// Optional. Immutable. In-transit encryption mode of the instance.
	TransitEncryptionMode *string `json:"transitEncryptionMode,omitempty"`

	// Output only. Endpoints clients can connect to the instance through.
	//  Currently only one discovery endpoint is supported.
	DiscoveryEndpoints []DiscoveryEndpoint `json:"discoveryEndpoints,omitempty"`

	// Optional. Immutable. Machine type for individual nodes of the instance.
	NodeType *string `json:"nodeType,omitempty"`

	// Optional. Immutable. Engine version of the instance.
	// https://cloud.google.com/memorystore/docs/valkey/supported-versions
	EngineVersion *string `json:"engineVersion,omitempty"`

	// Output only. Configuration of individual nodes of the instance.
	NodeConfig *NodeConfig `json:"nodeConfig,omitempty"`

	// Optional. Immutable. Zone distribution configuration of the instance for
	//  node allocation.
	ZoneDistributionConfig *ZoneDistributionConfig `json:"zoneDistributionConfig,omitempty"`

	// Output only. Resource details of the auto-created PSC connections.
	PscAutoConnections []PscAutoConnection `json:"pscAutoConnections,omitempty"`
}

MemorystoreInstanceObservedState is the state of the MemorystoreInstance resource as most recently observed in GCP.

func (*MemorystoreInstanceObservedState) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorystoreInstanceObservedState.

func (*MemorystoreInstanceObservedState) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemorystoreInstanceParent

type MemorystoreInstanceParent struct {
	ProjectID string
	Location  string
}

func (*MemorystoreInstanceParent) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorystoreInstanceParent.

func (*MemorystoreInstanceParent) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MemorystoreInstanceParent) String

func (p *MemorystoreInstanceParent) String() string

type MemorystoreInstanceRef

type MemorystoreInstanceRef struct {
	// A reference to an externally managed MemorystoreInstance resource.
	// Should be in the format "projects/{{projectID}}/locations/{{location}}/instances/{{instanceID}}".
	External string `json:"external,omitempty"`

	// The name of a MemorystoreInstance resource.
	Name string `json:"name,omitempty"`

	// The namespace of a MemorystoreInstance resource.
	Namespace string `json:"namespace,omitempty"`
	// contains filtered or unexported fields
}

MemorystoreInstanceRef defines the resource reference to MemorystoreInstance, which "External" field holds the GCP identifier for the KRM object.

func NewMemorystoreInstanceRef

func NewMemorystoreInstanceRef(ctx context.Context, reader client.Reader, obj *MemorystoreInstance) (*MemorystoreInstanceRef, error)

New builds a MemorystoreInstanceRef from the Config Connector MemorystoreInstance object.

func (*MemorystoreInstanceRef) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorystoreInstanceRef.

func (*MemorystoreInstanceRef) DeepCopyInto

func (in *MemorystoreInstanceRef) DeepCopyInto(out *MemorystoreInstanceRef)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*MemorystoreInstanceRef) NormalizedExternal

func (r *MemorystoreInstanceRef) NormalizedExternal(ctx context.Context, reader client.Reader, otherNamespace string) (string, error)

NormalizedExternal provision the "External" value for other resource that depends on MemorystoreInstance. If the "External" is given in the other resource's spec.MemorystoreInstanceRef, the given value will be used. Otherwise, the "Name" and "Namespace" will be used to query the actual MemorystoreInstance object from the cluster.

func (*MemorystoreInstanceRef) Parent

type MemorystoreInstanceSpec

type MemorystoreInstanceSpec struct {
	// Optional. Immutable. The MemorystoreInstance name. If not given, the metadata.name will be used.
	ResourceID *string `json:"resourceID,omitempty"`

	Parent `json:",inline"`

	// Optional. Number of replica nodes per shard. If omitted the default is 0
	//  replicas.
	ReplicaCount *int32 `json:"replicaCount,omitempty"`

	// Optional. Immutable. Authorization mode of the instance.
	AuthorizationMode *string `json:"authorizationMode,omitempty"`

	// Optional. Immutable. In-transit encryption mode of the instance.
	TransitEncryptionMode *string `json:"transitEncryptionMode,omitempty"`

	// Optional. Number of shards for the instance.
	ShardCount *int32 `json:"shardCount,omitempty"`

	// Optional. Immutable. Machine type for individual nodes of the instance.
	NodeType *string `json:"nodeType,omitempty"`

	// Optional. Persistence configuration of the instance.
	PersistenceConfig *PersistenceConfig `json:"persistenceConfig,omitempty"`

	// Optional. Immutable. Engine version of the instance.
	EngineVersion *string `json:"engineVersion,omitempty"`

	// Optional. User-provided engine configurations for the instance.
	EngineConfigs map[string]string `json:"engineConfigs,omitempty"`

	// Optional. Immutable. Zone distribution configuration of the instance for
	//  node allocatiteon.
	ZoneDistributionConfig *ZoneDistributionConfig `json:"zoneDistributionConfig,omitempty"`

	// Optional. If set to true deletion of the instance will fail.
	DeletionProtectionEnabled *bool `json:"deletionProtectionEnabled,omitempty"`

	// Required. Immutable. User inputs for the auto-created PSC connections.
	PscAutoConnectionsSpec []PscAutoConnectionSpec `json:"pscAutoConnections,omitempty"`
}

MemorystoreInstanceSpec defines the desired state of MemorystoreInstance +kcc:proto=google.cloud.memorystore.v1beta.Instance

func (*MemorystoreInstanceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorystoreInstanceSpec.

func (*MemorystoreInstanceSpec) DeepCopyInto

func (in *MemorystoreInstanceSpec) DeepCopyInto(out *MemorystoreInstanceSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type MemorystoreInstanceStatus

type MemorystoreInstanceStatus struct {
	/* Conditions represent the latest available observations of the
	   object's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,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.
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	// A unique specifier for the MemorystoreInstance resource in GCP.
	ExternalRef *string `json:"externalRef,omitempty"`

	// ObservedState is the state of the resource as most recently observed in GCP.
	ObservedState *MemorystoreInstanceObservedState `json:"observedState,omitempty"`
}

MemorystoreInstanceStatus defines the config connector machine state of MemorystoreInstance

func (*MemorystoreInstanceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemorystoreInstanceStatus.

func (*MemorystoreInstanceStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type NodeConfig

type NodeConfig struct {
	// Output only. Memory size in GB of the node.
	SizeGb *float64 `json:"sizeGb,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.NodeConfig

func (*NodeConfig) DeepCopy

func (in *NodeConfig) DeepCopy() *NodeConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeConfig.

func (*NodeConfig) DeepCopyInto

func (in *NodeConfig) DeepCopyInto(out *NodeConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type Parent

type Parent struct {
	// +required
	ProjectRef *refs.ProjectRef `json:"projectRef"`

	// +kubebuilder:validation:XValidation:rule="self == oldSelf",message="Location field is immutable"
	// Immutable.
	// +required
	Location string `json:"location"`
}

func (*Parent) DeepCopy

func (in *Parent) DeepCopy() *Parent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Parent.

func (*Parent) DeepCopyInto

func (in *Parent) DeepCopyInto(out *Parent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PersistenceConfig

type PersistenceConfig struct {
	// Optional. Current persistence mode.
	Mode *string `json:"mode,omitempty"`

	// Optional. RDB configuration. This field will be ignored if mode is not RDB.
	RdbConfig *PersistenceConfig_RDBConfig `json:"rdbConfig,omitempty"`

	// Optional. AOF configuration. This field will be ignored if mode is not AOF.
	AofConfig *PersistenceConfig_AOFConfig `json:"aofConfig,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.PersistenceConfig

func (*PersistenceConfig) DeepCopy

func (in *PersistenceConfig) DeepCopy() *PersistenceConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceConfig.

func (*PersistenceConfig) DeepCopyInto

func (in *PersistenceConfig) DeepCopyInto(out *PersistenceConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PersistenceConfig_AOFConfig

type PersistenceConfig_AOFConfig struct {
	// Optional. The fsync mode.
	AppendFsync *string `json:"appendFsync,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.PersistenceConfig.AOFConfig

func (*PersistenceConfig_AOFConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceConfig_AOFConfig.

func (*PersistenceConfig_AOFConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PersistenceConfig_RDBConfig

type PersistenceConfig_RDBConfig struct {
	// Optional. Period between RDB snapshots.
	RdbSnapshotPeriod *string `json:"rdbSnapshotPeriod,omitempty"`

	// Optional. 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.
	RdbSnapshotStartTime *string `json:"rdbSnapshotStartTime,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.PersistenceConfig.RDBConfig

func (*PersistenceConfig_RDBConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistenceConfig_RDBConfig.

func (*PersistenceConfig_RDBConfig) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PscAutoConnection

type PscAutoConnection struct {
	// Optional. Output only. port will only be set for Primary/Reader or
	//  Discovery endpoint.
	Port *int32 `json:"port,omitempty"`

	// Output only. The PSC connection id of the forwarding rule connected to the
	//  service attachment.
	PscConnectionID *string `json:"pscConnectionID,omitempty"`

	// Output only. The IP allocated on the consumer network for the PSC
	//  forwarding rule.
	IpAddress *string `json:"ipAddress,omitempty"`

	// Output only. The URI of the consumer side forwarding rule.
	//  Format:
	//  projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
	ForwardingRule *string `json:"forwardingRule,omitempty"`

	// Required. The consumer project_id where PSC connections are established.
	//  This should be the same project_id that the cluster is being created in.
	ProjectID *string `json:"projectID,omitempty"`

	// Required. The network where the PSC endpoints are created, in the form of
	//  projects/{project_id}/global/networks/{network_id}.
	Network *string `json:"network,omitempty"`

	// Output only. The service attachment which is the target of the PSC
	//  connection, in the form of
	//  projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
	ServiceAttachment *string `json:"serviceAttachment,omitempty"`

	// Output only. The status of the PSC connection: whether a connection exists
	//  and ACTIVE or it no longer exists. Please note that this value is updated
	//  periodically. Please use Private Service Connect APIs for the latest
	//  status.
	PscConnectionStatus *string `json:"pscConnectionStatus,omitempty"`

	// Output only. Type of the PSC connection.
	ConnectionType *string `json:"connectionType,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.PscAutoConnection

func (*PscAutoConnection) DeepCopy

func (in *PscAutoConnection) DeepCopy() *PscAutoConnection

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscAutoConnection.

func (*PscAutoConnection) DeepCopyInto

func (in *PscAutoConnection) DeepCopyInto(out *PscAutoConnection)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type PscAutoConnectionSpec

type PscAutoConnectionSpec struct {

	// Required. The consumer project_id where PSC connections are established.
	//  This should be the same project_id that the cluster is being created in.
	// +required
	ProjectRef *refs.ProjectRef `json:"projectRef"`

	// Required. The network where the PSC endpoints are created, in the form of
	//  projects/{project_id}/global/networks/{network_id}.
	// +required
	NetworkRef *refs.ComputeNetworkRef `json:"networkRef,omitempty"`
}

kcc specific struct to separate input and output fields in google.cloud.memorystore.v1beta.PscAutoConnection

func (*PscAutoConnectionSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PscAutoConnectionSpec.

func (*PscAutoConnectionSpec) DeepCopyInto

func (in *PscAutoConnectionSpec) DeepCopyInto(out *PscAutoConnectionSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ZoneDistributionConfig

type ZoneDistributionConfig struct {
	// Optional. Defines zone where all resources will be allocated with
	//  SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.
	Zone *string `json:"zone,omitempty"`

	// Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
	Mode *string `json:"mode,omitempty"`
}

+kcc:proto=google.cloud.memorystore.v1beta.ZoneDistributionConfig

func (*ZoneDistributionConfig) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZoneDistributionConfig.

func (*ZoneDistributionConfig) DeepCopyInto

func (in *ZoneDistributionConfig) DeepCopyInto(out *ZoneDistributionConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL