Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=filestore.gcp.upbound.io +versionName=v1beta2
Index ¶
- Constants
- Variables
- type FileSharesInitParameters
- type FileSharesObservation
- type FileSharesParameters
- type Instance
- func (in *Instance) DeepCopy() *Instance
- func (in *Instance) DeepCopyInto(out *Instance)
- func (in *Instance) DeepCopyObject() runtime.Object
- func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Instance) GetConnectionDetailsMapping() map[string]string
- func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Instance) GetID() string
- func (tr *Instance) GetInitParameters() (map[string]any, error)
- func (mg *Instance) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Instance) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Instance) GetObservation() (map[string]any, error)
- func (tr *Instance) GetParameters() (map[string]any, error)
- func (mg *Instance) GetProviderConfigReference() *xpv1.Reference
- func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Instance) GetTerraformResourceType() string
- func (tr *Instance) GetTerraformSchemaVersion() int
- func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Instance) Hub()
- func (tr *Instance) LateInitialize(attrs []byte) (bool, error)
- func (mg *Instance) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Instance) SetConditions(c ...xpv1.Condition)
- func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Instance) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Instance) SetObservation(obs map[string]any) error
- func (tr *Instance) SetParameters(params map[string]any) error
- func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InstanceInitParameters
- type InstanceList
- type InstanceObservation
- type InstanceParameters
- type InstanceSpec
- type InstanceStatus
- type NFSExportOptionsInitParameters
- type NFSExportOptionsObservation
- type NFSExportOptionsParameters
- type NetworksInitParameters
- type NetworksObservation
- type NetworksParameters
Constants ¶
const ( CRDGroup = "filestore.gcp.upbound.io" CRDVersion = "v1beta2" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Instance_Kind = "Instance" Instance_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Instance_Kind}.String() Instance_KindAPIVersion = Instance_Kind + "." + CRDGroupVersion.String() Instance_GroupVersionKind = CRDGroupVersion.WithKind(Instance_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type FileSharesInitParameters ¶
type FileSharesInitParameters struct { // for the standard tier, or 2560 GiB for the premium tier. CapacityGb *float64 `json:"capacityGb,omitempty" tf:"capacity_gb,omitempty"` // Structure is documented below. NFSExportOptions []NFSExportOptionsInitParameters `json:"nfsExportOptions,omitempty" tf:"nfs_export_options,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` // projects/{projectId}/locations/{locationId}/backups/{backupId}, // that this file share has been restored from. SourceBackup *string `json:"sourceBackup,omitempty" tf:"source_backup,omitempty"` }
func (*FileSharesInitParameters) DeepCopy ¶
func (in *FileSharesInitParameters) DeepCopy() *FileSharesInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSharesInitParameters.
func (*FileSharesInitParameters) DeepCopyInto ¶
func (in *FileSharesInitParameters) DeepCopyInto(out *FileSharesInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileSharesObservation ¶
type FileSharesObservation struct { // for the standard tier, or 2560 GiB for the premium tier. CapacityGb *float64 `json:"capacityGb,omitempty" tf:"capacity_gb,omitempty"` // Structure is documented below. NFSExportOptions []NFSExportOptionsObservation `json:"nfsExportOptions,omitempty" tf:"nfs_export_options,omitempty"` Name *string `json:"name,omitempty" tf:"name,omitempty"` // projects/{projectId}/locations/{locationId}/backups/{backupId}, // that this file share has been restored from. SourceBackup *string `json:"sourceBackup,omitempty" tf:"source_backup,omitempty"` }
func (*FileSharesObservation) DeepCopy ¶
func (in *FileSharesObservation) DeepCopy() *FileSharesObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSharesObservation.
func (*FileSharesObservation) DeepCopyInto ¶
func (in *FileSharesObservation) DeepCopyInto(out *FileSharesObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FileSharesParameters ¶
type FileSharesParameters struct { // for the standard tier, or 2560 GiB for the premium tier. // +kubebuilder:validation:Optional CapacityGb *float64 `json:"capacityGb" tf:"capacity_gb,omitempty"` // Structure is documented below. // +kubebuilder:validation:Optional NFSExportOptions []NFSExportOptionsParameters `json:"nfsExportOptions,omitempty" tf:"nfs_export_options,omitempty"` // +kubebuilder:validation:Optional Name *string `json:"name" tf:"name,omitempty"` // projects/{projectId}/locations/{locationId}/backups/{backupId}, // that this file share has been restored from. // +kubebuilder:validation:Optional SourceBackup *string `json:"sourceBackup,omitempty" tf:"source_backup,omitempty"` }
func (*FileSharesParameters) DeepCopy ¶
func (in *FileSharesParameters) DeepCopy() *FileSharesParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FileSharesParameters.
func (*FileSharesParameters) DeepCopyInto ¶
func (in *FileSharesParameters) DeepCopyInto(out *FileSharesParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fileShares) || (has(self.initProvider) && has(self.initProvider.fileShares))",message="spec.forProvider.fileShares is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.networks) || (has(self.initProvider) && has(self.initProvider.networks))",message="spec.forProvider.networks is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tier) || (has(self.initProvider) && has(self.initProvider.tier))",message="spec.forProvider.tier is a required parameter" Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` }
Instance is the Schema for the Instances API. A Google Cloud Filestore instance. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcp}
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) GetCondition ¶
func (mg *Instance) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Instance.
func (*Instance) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Instance
func (*Instance) GetDeletionPolicy ¶
func (mg *Instance) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Instance.
func (*Instance) GetInitParameters ¶
GetInitParameters of this Instance
func (*Instance) GetManagementPolicies ¶
func (mg *Instance) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Instance.
func (*Instance) GetMergedParameters ¶
GetInitParameters of this Instance
func (*Instance) GetObservation ¶
GetObservation of this Instance
func (*Instance) GetParameters ¶
GetParameters of this Instance
func (*Instance) GetProviderConfigReference ¶
GetProviderConfigReference of this Instance.
func (*Instance) GetPublishConnectionDetailsTo ¶
func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Instance.
func (*Instance) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Instance
func (*Instance) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Instance) GetWriteConnectionSecretToReference ¶
func (mg *Instance) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Instance.
func (*Instance) LateInitialize ¶
LateInitialize this Instance using its observed tfState. returns True if there are any spec changes for the resource.
func (*Instance) ResolveReferences ¶
func (*Instance) SetConditions ¶
SetConditions of this Instance.
func (*Instance) SetDeletionPolicy ¶
func (mg *Instance) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Instance.
func (*Instance) SetManagementPolicies ¶
func (mg *Instance) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Instance.
func (*Instance) SetObservation ¶
SetObservation for this Instance
func (*Instance) SetParameters ¶
SetParameters for this Instance
func (*Instance) SetProviderConfigReference ¶
SetProviderConfigReference of this Instance.
func (*Instance) SetPublishConnectionDetailsTo ¶
func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Instance.
func (*Instance) SetWriteConnectionSecretToReference ¶
func (mg *Instance) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Instance.
type InstanceInitParameters ¶
type InstanceInitParameters struct { // A description of the instance. Description *string `json:"description,omitempty" tf:"description,omitempty"` // single file share is supported. // Structure is documented below. FileShares *FileSharesInitParameters `json:"fileShares,omitempty" tf:"file_shares,omitempty"` // KMS key name used for data encryption. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/kms/v1beta2.CryptoKey // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` // Reference to a CryptoKey in kms to populate kmsKeyName. // +kubebuilder:validation:Optional KMSKeyNameRef *v1.Reference `json:"kmsKeyNameRef,omitempty" tf:"-"` // Selector for a CryptoKey in kms to populate kmsKeyName. // +kubebuilder:validation:Optional KMSKeyNameSelector *v1.Selector `json:"kmsKeyNameSelector,omitempty" tf:"-"` // Resource labels to represent user-provided metadata. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // VPC networks to which the instance is connected. For this version, // only a single network is supported. // Structure is documented below. Networks []NetworksInitParameters `json:"networks,omitempty" tf:"networks,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // The service tier of the instance. // Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The name of the Filestore zone of the instance. Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*InstanceInitParameters) DeepCopy ¶
func (in *InstanceInitParameters) DeepCopy() *InstanceInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceInitParameters.
func (*InstanceInitParameters) DeepCopyInto ¶
func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList contains 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.
func (*InstanceList) GetItems ¶
func (l *InstanceList) GetItems() []resource.Managed
GetItems of this InstanceList.
type InstanceObservation ¶
type InstanceObservation struct { // Creation timestamp in RFC3339 text format. CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"` // A description of the instance. Description *string `json:"description,omitempty" tf:"description,omitempty"` // +mapType=granular EffectiveLabels map[string]*string `json:"effectiveLabels,omitempty" tf:"effective_labels,omitempty"` // Server-specified ETag for the instance resource to prevent // simultaneous updates from overwriting each other. Etag *string `json:"etag,omitempty" tf:"etag,omitempty"` // single file share is supported. // Structure is documented below. FileShares *FileSharesObservation `json:"fileShares,omitempty" tf:"file_shares,omitempty"` // an identifier for the resource with format projects/{{project}}/locations/{{location}}/instances/{{name}} ID *string `json:"id,omitempty" tf:"id,omitempty"` // KMS key name used for data encryption. KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` // Resource labels to represent user-provided metadata. // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The name of the location of the instance. This can be a region for ENTERPRISE tier instances. Location *string `json:"location,omitempty" tf:"location,omitempty"` // VPC networks to which the instance is connected. For this version, // only a single network is supported. // Structure is documented below. Networks []NetworksObservation `json:"networks,omitempty" tf:"networks,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project *string `json:"project,omitempty" tf:"project,omitempty"` // The combination of labels configured directly on the resource // and default labels configured on the provider. // +mapType=granular TerraformLabels map[string]*string `json:"terraformLabels,omitempty" tf:"terraform_labels,omitempty"` // The service tier of the instance. // Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The name of the Filestore zone of the instance. Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*InstanceObservation) DeepCopy ¶
func (in *InstanceObservation) DeepCopy() *InstanceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceObservation.
func (*InstanceObservation) DeepCopyInto ¶
func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceParameters ¶
type InstanceParameters struct { // A description of the instance. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // single file share is supported. // Structure is documented below. // +kubebuilder:validation:Optional FileShares *FileSharesParameters `json:"fileShares,omitempty" tf:"file_shares,omitempty"` // KMS key name used for data encryption. // +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/kms/v1beta2.CryptoKey // +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractResourceID() // +kubebuilder:validation:Optional KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"` // Reference to a CryptoKey in kms to populate kmsKeyName. // +kubebuilder:validation:Optional KMSKeyNameRef *v1.Reference `json:"kmsKeyNameRef,omitempty" tf:"-"` // Selector for a CryptoKey in kms to populate kmsKeyName. // +kubebuilder:validation:Optional KMSKeyNameSelector *v1.Selector `json:"kmsKeyNameSelector,omitempty" tf:"-"` // Resource labels to represent user-provided metadata. // +kubebuilder:validation:Optional // +mapType=granular Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // The name of the location of the instance. This can be a region for ENTERPRISE tier instances. // +kubebuilder:validation:Optional Location *string `json:"location,omitempty" tf:"location,omitempty"` // VPC networks to which the instance is connected. For this version, // only a single network is supported. // Structure is documented below. // +kubebuilder:validation:Optional Networks []NetworksParameters `json:"networks,omitempty" tf:"networks,omitempty"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // The service tier of the instance. // Possible values include: STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ZONAL, REGIONAL and ENTERPRISE // +kubebuilder:validation:Optional Tier *string `json:"tier,omitempty" tf:"tier,omitempty"` // The name of the Filestore zone of the instance. // +kubebuilder:validation:Optional Zone *string `json:"zone,omitempty" tf:"zone,omitempty"` }
func (*InstanceParameters) DeepCopy ¶
func (in *InstanceParameters) DeepCopy() *InstanceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InstanceParameters.
func (*InstanceParameters) DeepCopyInto ¶
func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InstanceSpec ¶
type InstanceSpec struct { v1.ResourceSpec `json:",inline"` ForProvider InstanceParameters `json:"forProvider"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider InstanceInitParameters `json:"initProvider,omitempty"` }
InstanceSpec defines the desired state of Instance
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 InstanceStatus ¶
type InstanceStatus struct { v1.ResourceStatus `json:",inline"` AtProvider InstanceObservation `json:"atProvider,omitempty"` }
InstanceStatus defines the observed state of Instance.
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.
type NFSExportOptionsInitParameters ¶
type NFSExportOptionsInitParameters struct { // Either READ_ONLY, for allowing only read requests on the exported directory, // or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. // Default value is READ_WRITE. // Possible values are: READ_ONLY, READ_WRITE. AccessMode *string `json:"accessMode,omitempty" tf:"access_mode,omitempty"` // An integer representing the anonymous group id with a default value of 65534. // Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned // if this field is specified for other squashMode settings. AnonGID *float64 `json:"anonGid,omitempty" tf:"anon_gid,omitempty"` // An integer representing the anonymous user id with a default value of 65534. // Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned // if this field is specified for other squashMode settings. AnonUID *float64 `json:"anonUid,omitempty" tf:"anon_uid,omitempty"` // List of either IPv4 addresses, or ranges in CIDR notation which may mount the file share. // Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. // The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions. IPRanges []*string `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"` // Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, // for not allowing root access. The default is NO_ROOT_SQUASH. // Default value is NO_ROOT_SQUASH. // Possible values are: NO_ROOT_SQUASH, ROOT_SQUASH. SquashMode *string `json:"squashMode,omitempty" tf:"squash_mode,omitempty"` }
func (*NFSExportOptionsInitParameters) DeepCopy ¶
func (in *NFSExportOptionsInitParameters) DeepCopy() *NFSExportOptionsInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSExportOptionsInitParameters.
func (*NFSExportOptionsInitParameters) DeepCopyInto ¶
func (in *NFSExportOptionsInitParameters) DeepCopyInto(out *NFSExportOptionsInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NFSExportOptionsObservation ¶
type NFSExportOptionsObservation struct { // Either READ_ONLY, for allowing only read requests on the exported directory, // or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. // Default value is READ_WRITE. // Possible values are: READ_ONLY, READ_WRITE. AccessMode *string `json:"accessMode,omitempty" tf:"access_mode,omitempty"` // An integer representing the anonymous group id with a default value of 65534. // Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned // if this field is specified for other squashMode settings. AnonGID *float64 `json:"anonGid,omitempty" tf:"anon_gid,omitempty"` // An integer representing the anonymous user id with a default value of 65534. // Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned // if this field is specified for other squashMode settings. AnonUID *float64 `json:"anonUid,omitempty" tf:"anon_uid,omitempty"` // List of either IPv4 addresses, or ranges in CIDR notation which may mount the file share. // Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. // The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions. IPRanges []*string `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"` // Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, // for not allowing root access. The default is NO_ROOT_SQUASH. // Default value is NO_ROOT_SQUASH. // Possible values are: NO_ROOT_SQUASH, ROOT_SQUASH. SquashMode *string `json:"squashMode,omitempty" tf:"squash_mode,omitempty"` }
func (*NFSExportOptionsObservation) DeepCopy ¶
func (in *NFSExportOptionsObservation) DeepCopy() *NFSExportOptionsObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSExportOptionsObservation.
func (*NFSExportOptionsObservation) DeepCopyInto ¶
func (in *NFSExportOptionsObservation) DeepCopyInto(out *NFSExportOptionsObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NFSExportOptionsParameters ¶
type NFSExportOptionsParameters struct { // Either READ_ONLY, for allowing only read requests on the exported directory, // or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE. // Default value is READ_WRITE. // Possible values are: READ_ONLY, READ_WRITE. // +kubebuilder:validation:Optional AccessMode *string `json:"accessMode,omitempty" tf:"access_mode,omitempty"` // An integer representing the anonymous group id with a default value of 65534. // Anon_gid may only be set with squashMode of ROOT_SQUASH. An error will be returned // if this field is specified for other squashMode settings. // +kubebuilder:validation:Optional AnonGID *float64 `json:"anonGid,omitempty" tf:"anon_gid,omitempty"` // An integer representing the anonymous user id with a default value of 65534. // Anon_uid may only be set with squashMode of ROOT_SQUASH. An error will be returned // if this field is specified for other squashMode settings. // +kubebuilder:validation:Optional AnonUID *float64 `json:"anonUid,omitempty" tf:"anon_uid,omitempty"` // List of either IPv4 addresses, or ranges in CIDR notation which may mount the file share. // Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. // The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions. // +kubebuilder:validation:Optional IPRanges []*string `json:"ipRanges,omitempty" tf:"ip_ranges,omitempty"` // Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, // for not allowing root access. The default is NO_ROOT_SQUASH. // Default value is NO_ROOT_SQUASH. // Possible values are: NO_ROOT_SQUASH, ROOT_SQUASH. // +kubebuilder:validation:Optional SquashMode *string `json:"squashMode,omitempty" tf:"squash_mode,omitempty"` }
func (*NFSExportOptionsParameters) DeepCopy ¶
func (in *NFSExportOptionsParameters) DeepCopy() *NFSExportOptionsParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NFSExportOptionsParameters.
func (*NFSExportOptionsParameters) DeepCopyInto ¶
func (in *NFSExportOptionsParameters) DeepCopyInto(out *NFSExportOptionsParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworksInitParameters ¶
type NetworksInitParameters struct { // The network connect mode of the Filestore instance. // If not provided, the connect mode defaults to // DIRECT_PEERING. // Default value is DIRECT_PEERING. // Possible values are: DIRECT_PEERING, PRIVATE_SERVICE_ACCESS. ConnectMode *string `json:"connectMode,omitempty" tf:"connect_mode,omitempty"` // IP versions for which the instance has // IP addresses assigned. // Each value may be one of: ADDRESS_MODE_UNSPECIFIED, MODE_IPV4, MODE_IPV6. Modes []*string `json:"modes,omitempty" tf:"modes,omitempty"` // The name of the GCE VPC network to which the // instance is connected. Network *string `json:"network,omitempty" tf:"network,omitempty"` // A /29 CIDR block that identifies the range of IP // addresses reserved for this instance. ReservedIPRange *string `json:"reservedIpRange,omitempty" tf:"reserved_ip_range,omitempty"` }
func (*NetworksInitParameters) DeepCopy ¶
func (in *NetworksInitParameters) DeepCopy() *NetworksInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworksInitParameters.
func (*NetworksInitParameters) DeepCopyInto ¶
func (in *NetworksInitParameters) DeepCopyInto(out *NetworksInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworksObservation ¶
type NetworksObservation struct { // The network connect mode of the Filestore instance. // If not provided, the connect mode defaults to // DIRECT_PEERING. // Default value is DIRECT_PEERING. // Possible values are: DIRECT_PEERING, PRIVATE_SERVICE_ACCESS. ConnectMode *string `json:"connectMode,omitempty" tf:"connect_mode,omitempty"` // (Output) // A list of IPv4 or IPv6 addresses. IPAddresses []*string `json:"ipAddresses,omitempty" tf:"ip_addresses,omitempty"` // IP versions for which the instance has // IP addresses assigned. // Each value may be one of: ADDRESS_MODE_UNSPECIFIED, MODE_IPV4, MODE_IPV6. Modes []*string `json:"modes,omitempty" tf:"modes,omitempty"` // The name of the GCE VPC network to which the // instance is connected. Network *string `json:"network,omitempty" tf:"network,omitempty"` // A /29 CIDR block that identifies the range of IP // addresses reserved for this instance. ReservedIPRange *string `json:"reservedIpRange,omitempty" tf:"reserved_ip_range,omitempty"` }
func (*NetworksObservation) DeepCopy ¶
func (in *NetworksObservation) DeepCopy() *NetworksObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworksObservation.
func (*NetworksObservation) DeepCopyInto ¶
func (in *NetworksObservation) DeepCopyInto(out *NetworksObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworksParameters ¶
type NetworksParameters struct { // The network connect mode of the Filestore instance. // If not provided, the connect mode defaults to // DIRECT_PEERING. // Default value is DIRECT_PEERING. // Possible values are: DIRECT_PEERING, PRIVATE_SERVICE_ACCESS. // +kubebuilder:validation:Optional ConnectMode *string `json:"connectMode,omitempty" tf:"connect_mode,omitempty"` // IP versions for which the instance has // IP addresses assigned. // Each value may be one of: ADDRESS_MODE_UNSPECIFIED, MODE_IPV4, MODE_IPV6. // +kubebuilder:validation:Optional Modes []*string `json:"modes" tf:"modes,omitempty"` // The name of the GCE VPC network to which the // instance is connected. // +kubebuilder:validation:Optional Network *string `json:"network" tf:"network,omitempty"` // A /29 CIDR block that identifies the range of IP // addresses reserved for this instance. // +kubebuilder:validation:Optional ReservedIPRange *string `json:"reservedIpRange,omitempty" tf:"reserved_ip_range,omitempty"` }
func (*NetworksParameters) DeepCopy ¶
func (in *NetworksParameters) DeepCopy() *NetworksParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworksParameters.
func (*NetworksParameters) DeepCopyInto ¶
func (in *NetworksParameters) DeepCopyInto(out *NetworksParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.