v1beta1

package
v0.0.0-...-fd237a5 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 4 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 (
	ConditionTypeSubmitted = "Submitted"

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

	ConditionReasonError = "Error"
)
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 (
	ConditionTypeCidrValid = "CidrValid"

	ConditionReasonCidrValid         = "CidrValid"
	ConditionReasonCidrInvalidSyntax = "InvalidCidrSyntax"
	ConditionReasonCidrInvalidSize   = "InvalidCidrSize"
)
View Source
const (
	ConditionTypeCidrCanNotChange = "CidrCanNotChange"

	ConditionReasonCidrChanged = "CidrChanged"
)
View Source
const (
	Finalizer = "cloud-resources.kyma-project.io/deletion-hook"
)

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) 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.

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.

type AwsNfsVolumeSpec

type AwsNfsVolumeSpec struct {

	// Foo is an example field of AwsNfsVolume. Edit awsnfsvolume_types.go to remove/update
	Foo string `json:"foo,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 {
	// List of status conditions
	// +optional
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `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) 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.

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 {
	Served string `json:"served,omitempty"`

	// List of status conditions
	// +optional
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `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.

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 {
	State StatusState `json:"state,omitempty"`

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

	// 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.

type IpRangeRef

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

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.

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 {
	// +optional
	Cidr string `json:"cidr,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 StatusState

type StatusState string
const (
	UnknownState StatusState = "Unknown"
	ReadyState   StatusState = "Ready"
	ErrorState   StatusState = "Error"
)

Jump to

Keyboard shortcuts

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