v1beta1

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the cloud-resources v1beta1 API group +kubebuilder:object:generate=true +groupName=cloud-resources.kyma-project.io

Index

Constants

View Source
const (
	AwsPerformanceModeGeneralPurpose = AwsPerformanceMode("generalPurpose")
	AwsPerformanceModeBursting       = AwsPerformanceMode("maxIO")
)
View Source
const (
	AwsThroughputModeBursting = AwsThroughputMode("bursting")
	AwsThroughputModeElastic  = AwsThroughputMode("elastic")
)
View Source
const (
	ServedTrue  = "True"
	ServedFalse = "False"
)
View Source
const (
	ReasonOtherIsServed  = "OtherIsServed"
	ReasonResourcesExist = "ResourcesExist"
)
View Source
const (
	ConditionTypeSubmitted = "Submitted"

	ConditionReasonSubmissionSucceeded = "SubmissionSucceeded"
	ConditionReasonSubmissionFailed    = "SubmissionFailed"
)
View Source
const (
	ConditionTypeReady = "Ready"

	ConditionReasonError = "Error"
)
View Source
const (
	ConditionTypeError = "Error"

	// ConditionReasonIpRangeNotFound used with ConditionTypeError in case IpRange specified in object does not exist
	ConditionReasonIpRangeNotFound   = "IpRangeNotFound"
	ConditionReasonMissingScope      = "MissingScope"
	ConditionReasonMissingNfsVolume  = "MissingNfsVolume"
	ConditionReasonNfsVolumeNotReady = "NfsVolumeNotReady"
)
View Source
const (
	ConditionTypeDeleting = "Deleting"

	ConditionReasonDeletingPV       = "DeletingPersistentVolume"
	ConditionReasonDeletingInstance = "DeletingInstance"
)
View Source
const (
	ConditionReasonCapacityInvalid       = "CapacityGbInvalid"
	ConditionReasonIpRangeNotReady       = "IpRangeNotReady"
	ConditionReasonFileShareNameInvalid  = "FileShareNameInvalid"
	ConditionReasonTierInvalid           = "TierInvalid"
	ConditionReasonPVNotReadyForDeletion = "PVNotReadyForDeletion"
)

Additional error reasons

View Source
const (
	STANDARD       = GcpFileTier("STANDARD")
	PREMIUM        = GcpFileTier("PREMIUM")
	BASIC_HDD      = GcpFileTier("BASIC_HDD")
	BASIC_SSD      = GcpFileTier("BASIC_SSD")
	HIGH_SCALE_SSD = GcpFileTier("HIGH_SCALE_SSD")
	ENTERPRISE     = GcpFileTier("ENTERPRISE")
	ZONAL          = GcpFileTier("ZONAL")
	REGIONAL       = GcpFileTier("REGIONAL")
)
View Source
const (
	ConditionReasonInvalidCidr = "InvalidCidr"

	ConditionReasonCidrCanNotBeChanged = "CidrCanNotBeChanged"

	ConditionTypeDeleteWhileUsed = "DeleteWhileUsed"
)
View Source
const (
	LabelCloudManaged = "cloud-resources.kyma-project.io/managed"
	LabelId           = "cloud-resources.kyma-project.io/id"
	LabelNfsVolName   = "cloud-resources.kyma-project.io/nfsVolumeName"
	LabelNfsVolNS     = "cloud-resources.kyma-project.io/nfsVolumeNamespace"
)
View Source
const (
	StateReady             = "Ready"
	StateError             = "Error"
	StateWarning           = "Warning"
	StateProcessing        = "Processing"
	StateWaitingScopeReady = "WaitingScopeReady"
)
View Source
const (
	ConditionTypeProcessing = "Processing"
)
View Source
const (
	ConditionTypeWaitScopeReady = "WaitScopeReady"
)
View Source
const (
	ConditionTypeWarning = "Warning"
)
View Source
const (
	Finalizer = "cloud-resources.kyma-project.io/deletion-hook"
)
View Source
const (
	IpRangeField = ".spec.ipRange"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cloud-resources.kyma-project.io", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type AwsNfsVolume

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

	Spec   AwsNfsVolumeSpec   `json:"spec,omitempty"`
	Status AwsNfsVolumeStatus `json:"status,omitempty"`
}

AwsNfsVolume is the Schema for the awsnfsvolumes API

func (*AwsNfsVolume) Conditions

func (in *AwsNfsVolume) Conditions() *[]metav1.Condition

func (*AwsNfsVolume) DeepCopy

func (in *AwsNfsVolume) DeepCopy() *AwsNfsVolume

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

func (*AwsNfsVolume) DeepCopyInto

func (in *AwsNfsVolume) DeepCopyInto(out *AwsNfsVolume)

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

func (*AwsNfsVolume) DeepCopyObject

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

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

func (*AwsNfsVolume) GetObjectMeta

func (in *AwsNfsVolume) GetObjectMeta() *metav1.ObjectMeta

type AwsNfsVolumeBackup added in v0.1.4

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

	Spec   AwsNfsVolumeBackupSpec   `json:"spec,omitempty"`
	Status AwsNfsVolumeBackupStatus `json:"status,omitempty"`
}

AwsNfsVolumeBackup is the Schema for the awsnfsvolumebackups API

func (*AwsNfsVolumeBackup) Conditions added in v0.1.4

func (in *AwsNfsVolumeBackup) Conditions() *[]metav1.Condition

func (*AwsNfsVolumeBackup) DeepCopy added in v0.1.4

func (in *AwsNfsVolumeBackup) DeepCopy() *AwsNfsVolumeBackup

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

func (*AwsNfsVolumeBackup) DeepCopyInto added in v0.1.4

func (in *AwsNfsVolumeBackup) DeepCopyInto(out *AwsNfsVolumeBackup)

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

func (*AwsNfsVolumeBackup) DeepCopyObject added in v0.1.4

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

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

func (*AwsNfsVolumeBackup) GetObjectMeta added in v0.1.4

func (in *AwsNfsVolumeBackup) GetObjectMeta() *metav1.ObjectMeta

func (*AwsNfsVolumeBackup) SetState added in v0.1.4

func (in *AwsNfsVolumeBackup) SetState(v string)

func (*AwsNfsVolumeBackup) State added in v0.1.4

func (in *AwsNfsVolumeBackup) State() string

type AwsNfsVolumeBackupLifecycle added in v0.1.4

type AwsNfsVolumeBackupLifecycle struct {
	// DeleteAfterDays specifies the number of days after creation that a recovery point and resource are deleted.
	// Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
	// So, DeleteAfterDays must be greater than 90 days plus MoveToColdStorageAfterDays
	DeleteAfterDays *int64 `json:"deleteAfterDays,omitempty"`

	// MoveToColdStorageAfterDays specifies the number of days after creation that a recovery point is moved to
	// cold storage.
	MoveToColdStorageAfterDays *int64 `json:"moveToColdStorageAfterDays,omitempty"`
}

AwsNfsVolumeBackupLifecycle contains transition specification of how long in days before a recovery point transitions to cold storage or is deleted. Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the DeleteAfterDays “retention” setting must be 90 days greater than the MoveToColdStorageAfterDays setting. Once resource is created these settings can not be changed.

func (*AwsNfsVolumeBackupLifecycle) DeepCopy added in v0.1.4

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

func (*AwsNfsVolumeBackupLifecycle) DeepCopyInto added in v0.1.4

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

type AwsNfsVolumeBackupList added in v0.1.4

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

AwsNfsVolumeBackupList contains a list of AwsNfsVolumeBackup

func (*AwsNfsVolumeBackupList) DeepCopy added in v0.1.4

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

func (*AwsNfsVolumeBackupList) DeepCopyInto added in v0.1.4

func (in *AwsNfsVolumeBackupList) DeepCopyInto(out *AwsNfsVolumeBackupList)

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

func (*AwsNfsVolumeBackupList) DeepCopyObject added in v0.1.4

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

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

type AwsNfsVolumeBackupSource added in v0.1.4

type AwsNfsVolumeBackupSource struct {
	// Volume specifies the AwsNfsVolume resource that a backup has to be made of.
	// +kubebuilder:validation:Required
	Volume VolumeRef `json:"volume"`
}

func (*AwsNfsVolumeBackupSource) DeepCopy added in v0.1.4

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

func (*AwsNfsVolumeBackupSource) DeepCopyInto added in v0.1.4

func (in *AwsNfsVolumeBackupSource) DeepCopyInto(out *AwsNfsVolumeBackupSource)

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

type AwsNfsVolumeBackupSpec added in v0.1.4

type AwsNfsVolumeBackupSpec struct {
	// Source specifies the resource which backup is being made
	// +kubebuilder:validation:Required
	Source AwsNfsVolumeBackupSource `json:"source"`

	// Lifecycle specifies the lifecycle of the created backup
	Lifecycle AwsNfsVolumeBackupLifecycle `json:"lifecycle,omitempty"`
}

AwsNfsVolumeBackupSpec defines the one time backup of the AwsNfsVolume content.

func (*AwsNfsVolumeBackupSpec) DeepCopy added in v0.1.4

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

func (*AwsNfsVolumeBackupSpec) DeepCopyInto added in v0.1.4

func (in *AwsNfsVolumeBackupSpec) DeepCopyInto(out *AwsNfsVolumeBackupSpec)

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

type AwsNfsVolumeBackupStatus added in v0.1.4

type AwsNfsVolumeBackupStatus struct {
	State string `json:"state,omitempty"`

	// List of status conditions
	// +optional
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" json:"conditions,omitempty"`
}

AwsNfsVolumeBackupStatus defines the observed state of AwsNfsVolumeBackup

func (*AwsNfsVolumeBackupStatus) DeepCopy added in v0.1.4

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

func (*AwsNfsVolumeBackupStatus) DeepCopyInto added in v0.1.4

func (in *AwsNfsVolumeBackupStatus) DeepCopyInto(out *AwsNfsVolumeBackupStatus)

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

type AwsNfsVolumeList

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

AwsNfsVolumeList contains a list of AwsNfsVolume

func (*AwsNfsVolumeList) DeepCopy

func (in *AwsNfsVolumeList) DeepCopy() *AwsNfsVolumeList

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

func (*AwsNfsVolumeList) DeepCopyInto

func (in *AwsNfsVolumeList) DeepCopyInto(out *AwsNfsVolumeList)

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

func (*AwsNfsVolumeList) DeepCopyObject

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

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

func (*AwsNfsVolumeList) GetItemCount added in v0.1.4

func (l *AwsNfsVolumeList) GetItemCount() int

func (*AwsNfsVolumeList) GetItems added in v0.1.4

func (l *AwsNfsVolumeList) GetItems() []client.Object

type AwsNfsVolumePvSpec added in v0.1.4

type AwsNfsVolumePvSpec struct {
	Name        string            `json:"name,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
	Annotations map[string]string `json:"annotations,omitempty"`
}

func (*AwsNfsVolumePvSpec) DeepCopy added in v0.1.4

func (in *AwsNfsVolumePvSpec) DeepCopy() *AwsNfsVolumePvSpec

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

func (*AwsNfsVolumePvSpec) DeepCopyInto added in v0.1.4

func (in *AwsNfsVolumePvSpec) DeepCopyInto(out *AwsNfsVolumePvSpec)

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

type AwsNfsVolumeSpec

type AwsNfsVolumeSpec struct {

	// +kubebuilder:validation:Required
	IpRange IpRangeRef `json:"ipRange"`

	// +kubebuilder:validation:Required
	Capacity resource.Quantity `json:"capacity"`

	// +kubebuilder:default=generalPurpose
	PerformanceMode AwsPerformanceMode `json:"performanceMode,omitempty"`

	// +kubebuilder:default=bursting
	Throughput AwsThroughputMode `json:"throughput,omitempty"`

	PersistentVolume *AwsNfsVolumePvSpec `json:"volume,omitempty"`
}

AwsNfsVolumeSpec defines the desired state of AwsNfsVolume

func (*AwsNfsVolumeSpec) DeepCopy

func (in *AwsNfsVolumeSpec) DeepCopy() *AwsNfsVolumeSpec

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

func (*AwsNfsVolumeSpec) DeepCopyInto

func (in *AwsNfsVolumeSpec) DeepCopyInto(out *AwsNfsVolumeSpec)

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

type AwsNfsVolumeStatus

type AwsNfsVolumeStatus struct {

	// +optional
	Id string `json:"id,omitempty"`

	// +optional
	Server string `json:"server,omitempty" json:"server,omitempty"`

	// List of status conditions
	// +optional
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" json:"conditions,omitempty"`
}

AwsNfsVolumeStatus defines the observed state of AwsNfsVolume

func (*AwsNfsVolumeStatus) DeepCopy

func (in *AwsNfsVolumeStatus) DeepCopy() *AwsNfsVolumeStatus

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

func (*AwsNfsVolumeStatus) DeepCopyInto

func (in *AwsNfsVolumeStatus) DeepCopyInto(out *AwsNfsVolumeStatus)

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

type AwsPerformanceMode

type AwsPerformanceMode string

+kubebuilder:validation:Enum=generalPurpose;maxIO

type AwsThroughputMode

type AwsThroughputMode string

+kubebuilder:validation:Enum=bursting;elastic

type CloudResources

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

	Spec   CloudResourcesSpec   `json:"spec,omitempty"`
	Status CloudResourcesStatus `json:"status,omitempty"`
}

CloudResources is the Schema for the cloudresources API

func (*CloudResources) Conditions

func (in *CloudResources) Conditions() *[]metav1.Condition

func (*CloudResources) DeepCopy

func (in *CloudResources) DeepCopy() *CloudResources

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

func (*CloudResources) DeepCopyInto

func (in *CloudResources) DeepCopyInto(out *CloudResources)

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

func (*CloudResources) DeepCopyObject

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

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

func (*CloudResources) GetObjectMeta

func (in *CloudResources) GetObjectMeta() *metav1.ObjectMeta

type CloudResourcesList

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

CloudResourcesList contains a list of CloudResources

func (*CloudResourcesList) DeepCopy

func (in *CloudResourcesList) DeepCopy() *CloudResourcesList

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

func (*CloudResourcesList) DeepCopyInto

func (in *CloudResourcesList) DeepCopyInto(out *CloudResourcesList)

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

func (*CloudResourcesList) DeepCopyObject

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

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

type CloudResourcesSpec

type CloudResourcesSpec struct {

	// Foo is an example field of CloudResources. Edit cloudresources_types.go to remove/update
	Foo string `json:"foo,omitempty"`
}

CloudResourcesSpec defines the desired state of CloudResources

func (*CloudResourcesSpec) DeepCopy

func (in *CloudResourcesSpec) DeepCopy() *CloudResourcesSpec

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

func (*CloudResourcesSpec) DeepCopyInto

func (in *CloudResourcesSpec) DeepCopyInto(out *CloudResourcesSpec)

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

type CloudResourcesStatus

type CloudResourcesStatus struct {
	State ModuleState `json:"state,omitempty"`

	// +kubebuilder:validation:Enum=True;False
	Served string `json:"served,omitempty"`

	// List of status conditions
	// +optional
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty" json:"conditions,omitempty"`
}

CloudResourcesStatus defines the observed state of CloudResources

func (*CloudResourcesStatus) DeepCopy

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

func (*CloudResourcesStatus) DeepCopyInto

func (in *CloudResourcesStatus) DeepCopyInto(out *CloudResourcesStatus)

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

type GcpFileTier

type GcpFileTier string

type GcpNfsVolume

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

	Spec   GcpNfsVolumeSpec   `json:"spec,omitempty"`
	Status GcpNfsVolumeStatus `json:"status,omitempty"`
}

GcpNfsVolume is the Schema for the gcpnfsvolumes API

func (*GcpNfsVolume) Conditions

func (in *GcpNfsVolume) Conditions() *[]metav1.Condition

func (*GcpNfsVolume) DeepCopy

func (in *GcpNfsVolume) DeepCopy() *GcpNfsVolume

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

func (*GcpNfsVolume) DeepCopyInto

func (in *GcpNfsVolume) DeepCopyInto(out *GcpNfsVolume)

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

func (*GcpNfsVolume) DeepCopyObject

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

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

func (*GcpNfsVolume) GetObjectMeta

func (in *GcpNfsVolume) GetObjectMeta() *metav1.ObjectMeta

type GcpNfsVolumeList

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

GcpNfsVolumeList contains a list of GcpNfsVolume

func (*GcpNfsVolumeList) DeepCopy

func (in *GcpNfsVolumeList) DeepCopy() *GcpNfsVolumeList

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

func (*GcpNfsVolumeList) DeepCopyInto

func (in *GcpNfsVolumeList) DeepCopyInto(out *GcpNfsVolumeList)

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

func (*GcpNfsVolumeList) DeepCopyObject

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

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

func (*GcpNfsVolumeList) GetItemCount added in v0.1.4

func (l *GcpNfsVolumeList) GetItemCount() int

func (*GcpNfsVolumeList) GetItems added in v0.1.4

func (l *GcpNfsVolumeList) GetItems() []client.Object

type GcpNfsVolumeSpec

type GcpNfsVolumeSpec struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule=(self == oldSelf), message="IpRange is immutable."
	IpRange IpRangeRef `json:"ipRange"`
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule=(self == oldSelf), message="Location is immutable."
	Location string `json:"location"`

	// +kubebuilder:default=BASIC_HDD
	// +kubebuilder:validation:XValidation:rule=(self == oldSelf), message="Tier is immutable."
	Tier GcpFileTier `json:"tier"`

	// +kubebuilder:validation:Pattern="^[a-z][a-z0-9_]*[a-z0-9]$"
	// +kubebuilder:default=vol1
	// +kubebuilder:validation:XValidation:rule=(self == oldSelf), message="FileShareName is immutable."
	FileShareName string `json:"fileShareName"`

	// +kubebuilder:default=2560
	CapacityGb int `json:"capacityGb"`
}

GcpNfsVolumeSpec defines the desired state of GcpNfsVolume

func (*GcpNfsVolumeSpec) DeepCopy

func (in *GcpNfsVolumeSpec) DeepCopy() *GcpNfsVolumeSpec

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

func (*GcpNfsVolumeSpec) DeepCopyInto

func (in *GcpNfsVolumeSpec) DeepCopyInto(out *GcpNfsVolumeSpec)

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

type GcpNfsVolumeStatus

type GcpNfsVolumeStatus struct {

	// +optional
	Id string `json:"id,omitempty"`

	//List of NFS Hosts (DNS Names or IP Addresses) that clients can use to connect
	// +optional
	Hosts []string `json:"hosts,omitempty"`

	// Capacity of the volume with Ready Condition
	// +optional
	CapacityGb int `json:"capacityGb"`

	// List of status conditions
	// +optional
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

GcpNfsVolumeStatus defines the observed state of GcpNfsVolume

func (*GcpNfsVolumeStatus) DeepCopy

func (in *GcpNfsVolumeStatus) DeepCopy() *GcpNfsVolumeStatus

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

func (*GcpNfsVolumeStatus) DeepCopyInto

func (in *GcpNfsVolumeStatus) DeepCopyInto(out *GcpNfsVolumeStatus)

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

type IpRange

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

	Spec   IpRangeSpec   `json:"spec,omitempty"`
	Status IpRangeStatus `json:"status,omitempty"`
}

IpRange is the Schema for the ipranges API

func (*IpRange) Conditions

func (in *IpRange) Conditions() *[]metav1.Condition

func (*IpRange) DeepCopy

func (in *IpRange) DeepCopy() *IpRange

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

func (*IpRange) DeepCopyInto

func (in *IpRange) DeepCopyInto(out *IpRange)

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

func (*IpRange) DeepCopyObject

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

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

func (*IpRange) GetObjectMeta

func (in *IpRange) GetObjectMeta() *metav1.ObjectMeta

type IpRangeList

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

IpRangeList contains a list of IpRange

func (*IpRangeList) DeepCopy

func (in *IpRangeList) DeepCopy() *IpRangeList

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

func (*IpRangeList) DeepCopyInto

func (in *IpRangeList) DeepCopyInto(out *IpRangeList)

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

func (*IpRangeList) DeepCopyObject

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

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

func (*IpRangeList) GetItemCount added in v0.1.4

func (l *IpRangeList) GetItemCount() int

func (*IpRangeList) GetItems added in v0.1.4

func (l *IpRangeList) GetItems() []client.Object

type IpRangeRef

type IpRangeRef struct {
	// +kubebuilder:validation:Required
	Name string `json:"name"`
	// +kubebuilder:validation:Required
	Namespace string `json:"namespace"`
}

func (*IpRangeRef) DeepCopy

func (in *IpRangeRef) DeepCopy() *IpRangeRef

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

func (*IpRangeRef) DeepCopyInto

func (in *IpRangeRef) DeepCopyInto(out *IpRangeRef)

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

func (*IpRangeRef) ObjKey

func (in *IpRangeRef) ObjKey() types.NamespacedName

type IpRangeSpec

type IpRangeSpec struct {
	// +kubebuilder:validation:Required
	Cidr string `json:"cidr"`
}

IpRangeSpec defines the desired state of IpRange

func (*IpRangeSpec) DeepCopy

func (in *IpRangeSpec) DeepCopy() *IpRangeSpec

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

func (*IpRangeSpec) DeepCopyInto

func (in *IpRangeSpec) DeepCopyInto(out *IpRangeSpec)

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

type IpRangeStatus

type IpRangeStatus struct {
	State string `json:"state,omitempty"`

	// +optional
	Cidr string `json:"cidr,omitempty"`

	// +optional
	Id string `json:"id,omitempty"`

	// List of status conditions
	// +optional
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

IpRangeStatus defines the observed state of IpRange

func (*IpRangeStatus) DeepCopy

func (in *IpRangeStatus) DeepCopy() *IpRangeStatus

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

func (*IpRangeStatus) DeepCopyInto

func (in *IpRangeStatus) DeepCopyInto(out *IpRangeStatus)

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

type ModuleState

type ModuleState string
const (
	// ModuleStateReady signifies Module CR is Ready and has been installed successfully.
	ModuleStateReady ModuleState = "Ready"

	// ModuleStateDeleting signifies Module CR is being deleted. This is the state that is used
	// when a deletionTimestamp was detected and Finalizers are picked up.
	ModuleStateDeleting ModuleState = "Deleting"

	// ModuleStateWarning signifies specified resource has been deployed, but cannot be used due to misconfiguration,
	// usually it means that user interaction is required.
	ModuleStateWarning ModuleState = "Warning"
)

Valid Module CR States.

type VolumeRef added in v0.1.4

type VolumeRef struct {
	// Name specifies the name of the AwsNfsVolume resource that a backup has to be made of.
	// +kubebuilder:validation:Required
	Name string `json:"name"`

	// Namespace specified the namespace of the AwsNfsVolume resource that a backup has to be made of.
	// If not specified then namespace of the AwsNfsVolumeBackup is used.
	// +optional
	Namespace string `json:"namespace,omitempty"`
}

func (*VolumeRef) DeepCopy added in v0.1.4

func (in *VolumeRef) DeepCopy() *VolumeRef

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

func (*VolumeRef) DeepCopyInto added in v0.1.4

func (in *VolumeRef) DeepCopyInto(out *VolumeRef)

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

func (VolumeRef) ToNamespacedName added in v0.1.4

func (v VolumeRef) ToNamespacedName(fallbackNamespace string) types.NamespacedName

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL