Documentation ¶
Overview ¶
+groupName=memcache.google.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (r *Instance) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Instance) ValidateCreate() error
- func (r *Instance) ValidateDelete() error
- func (r *Instance) ValidateUpdate(old runtime.Object) error
- type InstanceList
- type InstanceSpec
- type InstanceSpecMemcacheNodes
- type InstanceSpecMemcacheParameters
- type InstanceSpecMemcacheParametersCodec
- type InstanceSpecNodeConfig
- type InstanceSpecNodeConfigCodec
- type InstanceSpecResource
- type InstanceStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: memcache.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec,omitempty"` Status InstanceStatus `json:"status,omitempty"` }
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) SetupWebhookWithManager ¶
func (*Instance) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Instance) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Instance CRD objects Items []Instance `json:"items,omitempty"` }
InstanceList is 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.
type InstanceSpec ¶
type InstanceSpec struct { State *InstanceSpecResource `json:"state,omitempty" tf:"-"` Resource InstanceSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
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 InstanceSpecMemcacheNodes ¶
type InstanceSpecMemcacheNodes struct { // Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. // +optional Host *string `json:"host,omitempty" tf:"host"` // Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name. // +optional NodeID *string `json:"nodeID,omitempty" tf:"node_id"` // The port number of the Memcached server on this node. // +optional Port *int64 `json:"port,omitempty" tf:"port"` // Current state of the Memcached node. // +optional State *string `json:"state,omitempty" tf:"state"` // Location (GCP Zone) for the Memcached node. // +optional Zone *string `json:"zone,omitempty" tf:"zone"` }
func (*InstanceSpecMemcacheNodes) DeepCopy ¶
func (in *InstanceSpecMemcacheNodes) DeepCopy() *InstanceSpecMemcacheNodes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecMemcacheNodes.
func (*InstanceSpecMemcacheNodes) DeepCopyInto ¶
func (in *InstanceSpecMemcacheNodes) DeepCopyInto(out *InstanceSpecMemcacheNodes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecMemcacheParameters ¶
type InstanceSpecMemcacheParameters struct { // This is a unique ID associated with this set of parameters. // +optional ID *string `json:"ID,omitempty" tf:"id"` // User-defined set of parameters to use in the memcache process. // +optional Params *map[string]string `json:"params,omitempty" tf:"params"` }
func (*InstanceSpecMemcacheParameters) DeepCopy ¶
func (in *InstanceSpecMemcacheParameters) DeepCopy() *InstanceSpecMemcacheParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecMemcacheParameters.
func (*InstanceSpecMemcacheParameters) DeepCopyInto ¶
func (in *InstanceSpecMemcacheParameters) DeepCopyInto(out *InstanceSpecMemcacheParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecMemcacheParametersCodec ¶
type InstanceSpecMemcacheParametersCodec struct { }
+k8s:deepcopy-gen=false
func (InstanceSpecMemcacheParametersCodec) Decode ¶
func (InstanceSpecMemcacheParametersCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (InstanceSpecMemcacheParametersCodec) Encode ¶
func (InstanceSpecMemcacheParametersCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (InstanceSpecMemcacheParametersCodec) IsEmpty ¶
func (InstanceSpecMemcacheParametersCodec) IsEmpty(ptr unsafe.Pointer) bool
type InstanceSpecNodeConfig ¶
type InstanceSpecNodeConfig struct { // Number of CPUs per node. CpuCount *int64 `json:"cpuCount" tf:"cpu_count"` // Memory size in Mebibytes for each memcache node. MemorySizeMb *int64 `json:"memorySizeMb" tf:"memory_size_mb"` }
func (*InstanceSpecNodeConfig) DeepCopy ¶
func (in *InstanceSpecNodeConfig) DeepCopy() *InstanceSpecNodeConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecNodeConfig.
func (*InstanceSpecNodeConfig) DeepCopyInto ¶
func (in *InstanceSpecNodeConfig) DeepCopyInto(out *InstanceSpecNodeConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecNodeConfigCodec ¶
type InstanceSpecNodeConfigCodec struct { }
+k8s:deepcopy-gen=false
func (InstanceSpecNodeConfigCodec) Decode ¶
func (InstanceSpecNodeConfigCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (InstanceSpecNodeConfigCodec) Encode ¶
func (InstanceSpecNodeConfigCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (InstanceSpecNodeConfigCodec) IsEmpty ¶
func (InstanceSpecNodeConfigCodec) IsEmpty(ptr unsafe.Pointer) bool
type InstanceSpecResource ¶
type InstanceSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The full name of the GCE network to connect the instance to. If not provided, // 'default' will be used. // +optional AuthorizedNetwork *string `json:"authorizedNetwork,omitempty" tf:"authorized_network"` // Creation timestamp in RFC3339 text format. // +optional CreateTime *string `json:"createTime,omitempty" tf:"create_time"` // Endpoint for Discovery API // +optional DiscoveryEndpoint *string `json:"discoveryEndpoint,omitempty" tf:"discovery_endpoint"` // A user-visible name for the instance. // +optional DisplayName *string `json:"displayName,omitempty" tf:"display_name"` // Resource labels to represent user-provided metadata. // +optional Labels *map[string]string `json:"labels,omitempty" tf:"labels"` // The full version of memcached server running on this instance. // +optional MemcacheFullVersion *string `json:"memcacheFullVersion,omitempty" tf:"memcache_full_version"` // Additional information about the instance state, if available. // +optional MemcacheNodes []InstanceSpecMemcacheNodes `json:"memcacheNodes,omitempty" tf:"memcache_nodes"` // User-specified parameters for this memcache instance. // +optional MemcacheParameters *InstanceSpecMemcacheParameters `json:"memcacheParameters,omitempty" tf:"memcache_parameters"` // 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" tf:"memcache_version"` // The resource name of the instance. Name *string `json:"name" tf:"name"` // Configuration for memcache nodes. NodeConfig *InstanceSpecNodeConfig `json:"nodeConfig" tf:"node_config"` // Number of nodes in the memcache instance. NodeCount *int64 `json:"nodeCount" tf:"node_count"` // +optional Project *string `json:"project,omitempty" tf:"project"` // The region of the Memcache instance. If it is not provided, the provider region is used. // +optional Region *string `json:"region,omitempty" tf:"region"` // Zones where memcache nodes should be provisioned. If not // provided, all zones will be used. // +optional Zones []string `json:"zones,omitempty" tf:"zones"` }
func (*InstanceSpecResource) DeepCopy ¶
func (in *InstanceSpecResource) DeepCopy() *InstanceSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecResource.
func (*InstanceSpecResource) DeepCopyInto ¶
func (in *InstanceSpecResource) DeepCopyInto(out *InstanceSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceStatus ¶
type InstanceStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
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.