v1beta1

package
v1.95.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for filestore/v1beta1 API group

Package v1beta1 contains API Schema definitions for the filestore 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/filestore +k8s:defaulter-gen=TypeMeta +groupName=filestore.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "filestore.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

	FilestoreBackupGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(FilestoreBackup{}).Name(),
	}

	FilestoreInstanceGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(FilestoreInstance{}).Name(),
	}
)

Functions

This section is empty.

Types

type FilestoreBackup

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

	Spec   FilestoreBackupSpec   `json:"spec,omitempty"`
	Status FilestoreBackupStatus `json:"status,omitempty"`
}

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

func (*FilestoreBackup) DeepCopy

func (in *FilestoreBackup) DeepCopy() *FilestoreBackup

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

func (*FilestoreBackup) DeepCopyInto

func (in *FilestoreBackup) DeepCopyInto(out *FilestoreBackup)

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

func (*FilestoreBackup) DeepCopyObject

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

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

type FilestoreBackupList

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

FilestoreBackupList contains a list of FilestoreBackup

func (*FilestoreBackupList) DeepCopy

func (in *FilestoreBackupList) DeepCopy() *FilestoreBackupList

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

func (*FilestoreBackupList) DeepCopyInto

func (in *FilestoreBackupList) DeepCopyInto(out *FilestoreBackupList)

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

func (*FilestoreBackupList) DeepCopyObject

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

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

type FilestoreBackupSpec

type FilestoreBackupSpec struct {
	/* A description of the backup with 2048 characters or less. Requests with longer descriptions will be rejected. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. The location for the resource */
	Location string `json:"location"`

	/* Immutable. The Project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* 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. Name of the file share in the source Cloud Filestore instance that the backup is created from. */
	SourceFileShare string `json:"sourceFileShare"`

	/* Immutable. */
	SourceInstanceRef v1alpha1.ResourceRef `json:"sourceInstanceRef"`
}

func (*FilestoreBackupSpec) DeepCopy

func (in *FilestoreBackupSpec) DeepCopy() *FilestoreBackupSpec

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

func (*FilestoreBackupSpec) DeepCopyInto

func (in *FilestoreBackupSpec) DeepCopyInto(out *FilestoreBackupSpec)

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

type FilestoreBackupStatus

type FilestoreBackupStatus struct {
	/* Conditions represent the latest available observations of the
	   FilestoreBackup's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. Capacity of the source file share when the backup was created. */
	CapacityGb int `json:"capacityGb,omitempty"`
	/* Output only. The time when the backup was created. */
	CreateTime string `json:"createTime,omitempty"`
	/* Output only. Amount of bytes that will be downloaded if the backup is restored. This may be different than storage bytes, since sequential backups of the same disk will share storage. */
	DownloadBytes int `json:"downloadBytes,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"`
	/* Output only. The service tier of the source Cloud Filestore instance that this backup is created from. Possible values: TIER_UNSPECIFIED, STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD */
	SourceInstanceTier string `json:"sourceInstanceTier,omitempty"`
	/* Output only. The backup state. Possible values: STATE_UNSPECIFIED, CREATING, READY, REPAIRING, DELETING, ERROR, RESTORING */
	State string `json:"state,omitempty"`
	/* Output only. The size of the storage used by the backup. As backups share storage, this number is expected to change with backup creation/deletion. */
	StorageBytes int `json:"storageBytes,omitempty"`
}

func (*FilestoreBackupStatus) DeepCopy

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

func (*FilestoreBackupStatus) DeepCopyInto

func (in *FilestoreBackupStatus) DeepCopyInto(out *FilestoreBackupStatus)

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

type FilestoreInstance

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

	Spec   FilestoreInstanceSpec   `json:"spec,omitempty"`
	Status FilestoreInstanceStatus `json:"status,omitempty"`
}

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

func (*FilestoreInstance) DeepCopy

func (in *FilestoreInstance) DeepCopy() *FilestoreInstance

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

func (*FilestoreInstance) DeepCopyInto

func (in *FilestoreInstance) DeepCopyInto(out *FilestoreInstance)

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

func (*FilestoreInstance) DeepCopyObject

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

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

type FilestoreInstanceList

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

FilestoreInstanceList contains a list of FilestoreInstance

func (*FilestoreInstanceList) DeepCopy

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

func (*FilestoreInstanceList) DeepCopyInto

func (in *FilestoreInstanceList) DeepCopyInto(out *FilestoreInstanceList)

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

func (*FilestoreInstanceList) DeepCopyObject

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

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

type FilestoreInstanceSpec

type FilestoreInstanceSpec struct {
	/* The description of the instance (2048 characters or less). */
	// +optional
	Description *string `json:"description,omitempty"`

	/* File system shares on the instance. For this version, only a single file share is supported. */
	// +optional
	FileShares []InstanceFileShares `json:"fileShares,omitempty"`

	/* Immutable. The location for the resource */
	Location string `json:"location"`

	/* Immutable. VPC networks to which the instance is connected. For this version, only a single network is supported. */
	// +optional
	Networks []InstanceNetworks `json:"networks,omitempty"`

	/* Immutable. The Project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* 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. The service tier of the instance. Possible values: TIER_UNSPECIFIED, STANDARD, PREMIUM, BASIC_HDD, BASIC_SSD, HIGH_SCALE_SSD, ENTERPRISE */
	// +optional
	Tier *string `json:"tier,omitempty"`
}

func (*FilestoreInstanceSpec) DeepCopy

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

func (*FilestoreInstanceSpec) DeepCopyInto

func (in *FilestoreInstanceSpec) DeepCopyInto(out *FilestoreInstanceSpec)

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

type FilestoreInstanceStatus

type FilestoreInstanceStatus struct {
	/* Conditions represent the latest available observations of the
	   FilestoreInstance's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. The time when the instance was created. */
	CreateTime string `json:"createTime,omitempty"`
	/* Server-specified ETag for the instance resource to prevent simultaneous updates from overwriting each other. */
	Etag string `json:"etag,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"`
	/* Output only. The instance state. Possible values: STATE_UNSPECIFIED, CREATING, READY, REPAIRING, DELETING, ERROR */
	State string `json:"state,omitempty"`
	/* Output only. Additional information about the instance state, if available. */
	StatusMessage string `json:"statusMessage,omitempty"`
}

func (*FilestoreInstanceStatus) DeepCopy

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

func (*FilestoreInstanceStatus) DeepCopyInto

func (in *FilestoreInstanceStatus) DeepCopyInto(out *FilestoreInstanceStatus)

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

type InstanceFileShares

type InstanceFileShares struct {
	/* File share capacity in gigabytes (GB). Cloud Filestore defines 1 GB as 1024^3 bytes. */
	// +optional
	CapacityGb *int `json:"capacityGb,omitempty"`

	/* The name of the file share (must be 16 characters or less). */
	// +optional
	Name *string `json:"name,omitempty"`

	/* Nfs Export Options. There is a limit of 10 export options per file share. */
	// +optional
	NfsExportOptions []InstanceNfsExportOptions `json:"nfsExportOptions,omitempty"`

	/*  */
	// +optional
	SourceBackupRef *v1alpha1.ResourceRef `json:"sourceBackupRef,omitempty"`
}

func (*InstanceFileShares) DeepCopy

func (in *InstanceFileShares) DeepCopy() *InstanceFileShares

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

func (*InstanceFileShares) DeepCopyInto

func (in *InstanceFileShares) DeepCopyInto(out *InstanceFileShares)

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

type InstanceNetworks

type InstanceNetworks struct {
	/* Immutable. Output only. IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or IPv6 addresses in the format `{block1}:{block2}:{block3}:{block4}:{block5}:{block6}:{block7}:{block8}`. */
	// +optional
	IpAddresses []string `json:"ipAddresses,omitempty"`

	/* Immutable. Internet protocol versions for which the instance has IP addresses assigned. For this version, only MODE_IPV4 is supported. */
	// +optional
	Modes []string `json:"modes,omitempty"`

	/* Immutable. */
	// +optional
	NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"`

	/* Immutable. A /29 CIDR block in one of the [internal IP address ranges](https://www.arin.net/reference/research/statistics/address_filters/) that identifies the range of IP addresses reserved for this instance. For example, 10.0.0.0/29 or 192.168.0.0/29. The range you specify can't overlap with either existing subnets or assigned IP address ranges for other Cloud Filestore instances in the selected VPC network. */
	// +optional
	ReservedIPRange *string `json:"reservedIPRange,omitempty"`
}

func (*InstanceNetworks) DeepCopy

func (in *InstanceNetworks) DeepCopy() *InstanceNetworks

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

func (*InstanceNetworks) DeepCopyInto

func (in *InstanceNetworks) DeepCopyInto(out *InstanceNetworks)

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

type InstanceNfsExportOptions

type InstanceNfsExportOptions 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. Possible values: ACCESS_MODE_UNSPECIFIED, READ_ONLY, READ_WRITE */
	// +optional
	AccessMode *string `json:"accessMode,omitempty"`

	/* An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings. */
	// +optional
	AnonGid *int `json:"anonGid,omitempty"`

	/* An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings. */
	// +optional
	AnonUid *int `json:"anonUid,omitempty"`

	/* List of either an IPv4 addresses in the format `{octet1}.{octet2}.{octet3}.{octet4}` or CIDR ranges in the format `{octet1}.{octet2}.{octet3}.{octet4}/{mask size}` 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. */
	// +optional
	IpRanges []string `json:"ipRanges,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. Possible values: SQUASH_MODE_UNSPECIFIED, NO_ROOT_SQUASH, ROOT_SQUASH */
	// +optional
	SquashMode *string `json:"squashMode,omitempty"`
}

func (*InstanceNfsExportOptions) DeepCopy

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

func (*InstanceNfsExportOptions) DeepCopyInto

func (in *InstanceNfsExportOptions) DeepCopyInto(out *InstanceNfsExportOptions)

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