Documentation ¶
Overview ¶
Generate deepcopy object for memcache/v1beta1 API group
Package v1beta1 contains API Schema definitions for the memcache 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/memcache +k8s:defaulter-gen=TypeMeta +groupName=memcache.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "memcache.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 MemcacheInstanceGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(MemcacheInstance{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type InstanceMemcacheNodesStatus ¶
type InstanceMemcacheNodesStatus struct { /* Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. */ Host string `json:"host,omitempty"` /* Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name. */ NodeId string `json:"nodeId,omitempty"` /* The port number of the Memcached server on this node. */ Port int `json:"port,omitempty"` /* Current state of the Memcached node. */ State string `json:"state,omitempty"` /* Location (GCP Zone) for the Memcached node. */ Zone string `json:"zone,omitempty"` }
func (*InstanceMemcacheNodesStatus) DeepCopy ¶
func (in *InstanceMemcacheNodesStatus) DeepCopy() *InstanceMemcacheNodesStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMemcacheNodesStatus.
func (*InstanceMemcacheNodesStatus) DeepCopyInto ¶
func (in *InstanceMemcacheNodesStatus) DeepCopyInto(out *InstanceMemcacheNodesStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceMemcacheParameters ¶
type InstanceMemcacheParameters struct { /* This is a unique ID associated with this set of parameters. */ // +optional Id *string `json:"id,omitempty"` /* User-defined set of parameters to use in the memcache process. */ // +optional Params map[string]string `json:"params,omitempty"` }
func (*InstanceMemcacheParameters) DeepCopy ¶
func (in *InstanceMemcacheParameters) DeepCopy() *InstanceMemcacheParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceMemcacheParameters.
func (*InstanceMemcacheParameters) DeepCopyInto ¶
func (in *InstanceMemcacheParameters) DeepCopyInto(out *InstanceMemcacheParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceNodeConfig ¶
type InstanceNodeConfig struct { /* Number of CPUs per node. */ CpuCount int `json:"cpuCount"` /* Memory size in Mebibytes for each memcache node. */ MemorySizeMb int `json:"memorySizeMb"` }
func (*InstanceNodeConfig) DeepCopy ¶
func (in *InstanceNodeConfig) DeepCopy() *InstanceNodeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceNodeConfig.
func (*InstanceNodeConfig) DeepCopyInto ¶
func (in *InstanceNodeConfig) DeepCopyInto(out *InstanceNodeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcacheInstance ¶
type MemcacheInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec MemcacheInstanceSpec `json:"spec,omitempty"` Status MemcacheInstanceStatus `json:"status,omitempty"` }
MemcacheInstance is the Schema for the memcache API +k8s:openapi-gen=true
func (*MemcacheInstance) DeepCopy ¶
func (in *MemcacheInstance) DeepCopy() *MemcacheInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcacheInstance.
func (*MemcacheInstance) DeepCopyInto ¶
func (in *MemcacheInstance) DeepCopyInto(out *MemcacheInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemcacheInstance) DeepCopyObject ¶
func (in *MemcacheInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MemcacheInstanceList ¶
type MemcacheInstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MemcacheInstance `json:"items"` }
MemcacheInstanceList contains a list of MemcacheInstance
func (*MemcacheInstanceList) DeepCopy ¶
func (in *MemcacheInstanceList) DeepCopy() *MemcacheInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcacheInstanceList.
func (*MemcacheInstanceList) DeepCopyInto ¶
func (in *MemcacheInstanceList) DeepCopyInto(out *MemcacheInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MemcacheInstanceList) DeepCopyObject ¶
func (in *MemcacheInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MemcacheInstanceSpec ¶
type MemcacheInstanceSpec struct { /* A user-visible name for the instance. */ // +optional DisplayName *string `json:"displayName,omitempty"` /* Immutable. User-specified parameters for this memcache instance. */ // +optional MemcacheParameters *InstanceMemcacheParameters `json:"memcacheParameters,omitempty"` /* The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version. Default value: "MEMCACHE_1_5" Possible values: ["MEMCACHE_1_5"]. */ // +optional MemcacheVersion *string `json:"memcacheVersion,omitempty"` /* The full name of the network to connect the instance to. */ // +optional NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"` /* Immutable. Configuration for memcache nodes. */ NodeConfig InstanceNodeConfig `json:"nodeConfig"` /* Number of nodes in the memcache instance. */ NodeCount int `json:"nodeCount"` /* Immutable. The region of the Memcache instance. If it is not provided, the provider region is used. */ Region string `json:"region"` /* 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"` /* Immutable. Zones where memcache nodes should be provisioned. If not provided, all zones will be used. */ // +optional Zones []string `json:"zones,omitempty"` }
func (*MemcacheInstanceSpec) DeepCopy ¶
func (in *MemcacheInstanceSpec) DeepCopy() *MemcacheInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcacheInstanceSpec.
func (*MemcacheInstanceSpec) DeepCopyInto ¶
func (in *MemcacheInstanceSpec) DeepCopyInto(out *MemcacheInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MemcacheInstanceStatus ¶
type MemcacheInstanceStatus struct { /* Conditions represent the latest available observations of the MemcacheInstance's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* Creation timestamp in RFC3339 text format. */ CreateTime string `json:"createTime,omitempty"` /* Endpoint for Discovery API. */ DiscoveryEndpoint string `json:"discoveryEndpoint,omitempty"` /* The full version of memcached server running on this instance. */ MemcacheFullVersion string `json:"memcacheFullVersion,omitempty"` /* Additional information about the instance state, if available. */ MemcacheNodes []InstanceMemcacheNodesStatus `json:"memcacheNodes,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 int `json:"observedGeneration,omitempty"` }
func (*MemcacheInstanceStatus) DeepCopy ¶
func (in *MemcacheInstanceStatus) DeepCopy() *MemcacheInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MemcacheInstanceStatus.
func (*MemcacheInstanceStatus) DeepCopyInto ¶
func (in *MemcacheInstanceStatus) DeepCopyInto(out *MemcacheInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.