Documentation ¶
Overview ¶
+groupName=filestore.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 InstanceSpecFileShares
- type InstanceSpecFileSharesCodec
- type InstanceSpecNetworks
- 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: filestore.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 InstanceSpecFileShares ¶
type InstanceSpecFileShares struct { // for the standard tier, or 2560 GiB for the premium tier. CapacityGb *int64 `json:"capacityGb" tf:"capacity_gb"` Name *string `json:"name" tf:"name"` }
func (*InstanceSpecFileShares) DeepCopy ¶
func (in *InstanceSpecFileShares) DeepCopy() *InstanceSpecFileShares
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecFileShares.
func (*InstanceSpecFileShares) DeepCopyInto ¶
func (in *InstanceSpecFileShares) DeepCopyInto(out *InstanceSpecFileShares)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecFileSharesCodec ¶
type InstanceSpecFileSharesCodec struct { }
+k8s:deepcopy-gen=false
func (InstanceSpecFileSharesCodec) Decode ¶
func (InstanceSpecFileSharesCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (InstanceSpecFileSharesCodec) Encode ¶
func (InstanceSpecFileSharesCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (InstanceSpecFileSharesCodec) IsEmpty ¶
func (InstanceSpecFileSharesCodec) IsEmpty(ptr unsafe.Pointer) bool
type InstanceSpecNetworks ¶
type InstanceSpecNetworks struct { // A list of IPv4 or IPv6 addresses. // +optional IpAddresses []string `json:"ipAddresses,omitempty" tf:"ip_addresses"` // IP versions for which the instance has // IP addresses assigned. Possible values: ["ADDRESS_MODE_UNSPECIFIED", "MODE_IPV4", "MODE_IPV6"] Modes []string `json:"modes" tf:"modes"` // The name of the GCE VPC network to which the // instance is connected. Network *string `json:"network" tf:"network"` // A /29 CIDR block that identifies the range of IP // addresses reserved for this instance. // +optional ReservedIPRange *string `json:"reservedIPRange,omitempty" tf:"reserved_ip_range"` }
func (*InstanceSpecNetworks) DeepCopy ¶
func (in *InstanceSpecNetworks) DeepCopy() *InstanceSpecNetworks
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceSpecNetworks.
func (*InstanceSpecNetworks) DeepCopyInto ¶
func (in *InstanceSpecNetworks) DeepCopyInto(out *InstanceSpecNetworks)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpecResource ¶
type InstanceSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // Creation timestamp in RFC3339 text format. // +optional CreateTime *string `json:"createTime,omitempty" tf:"create_time"` // A description of the instance. // +optional Description *string `json:"description,omitempty" tf:"description"` // Server-specified ETag for the instance resource to prevent // simultaneous updates from overwriting each other. // +optional Etag *string `json:"etag,omitempty" tf:"etag"` // single file share is supported. FileShares *InstanceSpecFileShares `json:"fileShares" tf:"file_shares"` // Resource labels to represent user-provided metadata. // +optional Labels *map[string]string `json:"labels,omitempty" tf:"labels"` // The name of the location of the instance. This can be a region for ENTERPRISE tier instances. // +optional Location *string `json:"location,omitempty" tf:"location"` // The resource name of the instance. Name *string `json:"name" tf:"name"` // VPC networks to which the instance is connected. For this version, // only a single network is supported. // +kubebuilder:validation:MinItems=1 Networks []InstanceSpecNetworks `json:"networks" tf:"networks"` // +optional Project *string `json:"project,omitempty" tf:"project"` // The service tier of the instance. // Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD and ENTERPRISE (beta only) Tier *string `json:"tier" tf:"tier"` // The name of the Filestore zone of the instance. // +optional // Deprecated Zone *string `json:"zone,omitempty" tf:"zone"` }
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.