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: 6 Imported by: 0

Documentation

Overview

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

Index

Constants

View Source
const (
	ConditionTypeError = "Error"
	ConditionTypeReady = "Ready"

	ReasonScopeNotFound = "ScopeNoFound"

	ReasonUnknown          = "Unknown"
	ReasonReady            = "Ready"
	ReasonGcpError         = "GCPError"
	ReasonNotSupported     = "NotSupported"
	ReasonValidationFailed = "ValidationFailed"
)
View Source
const (
	ReasonCidrCanNotChange               = "CidrCanNotChange"
	ReasonInvalidCidr                    = "InvalidCidr"
	ReasonCidrCanNotSplit                = "CidrCanNotSplit"
	ReasonCidrOverlap                    = "CidrOverlap"
	ReasonCidrAssociationFailed          = "CidrAssociationFailed"
	ReasonVpcNotFound                    = "VpcNotFound"
	ReasonShootAndVpcMismatch            = "ShootAndVpcMismatch"
	ReasonFailedExtendingVpcAddressSpace = "FailedExtendingVpcAddressSpace"
	ReasonInvalidIpRangeReference        = "InvalidIpRangeReference"
)

Error reasons

View Source
const (
	GcpPurposePSA   = GcpPurpose("VPC_PEERING")
	GcpPurposeGCE   = GcpPurpose("GCE_ENDPOINT")
	GcpPurposeDNS   = GcpPurpose("DNS_RESOLVER")
	GcpPurposeNAT   = GcpPurpose("NAT_AUTO")
	GcpPurposeIPSEC = GcpPurpose("IPSEC_INTERCONNECT")
	GcpPurposeVIP   = GcpPurpose("SHARED_LOADBALANCER_VIP")
	GcpPurposePSC   = GcpPurpose("PRIVATE_SERVICE_CONNECT")
)
View Source
const (
	LabelKymaName        = "cloud-manager.kyma-project.io/kymaName"
	LabelRemoteName      = "cloud-manager.kyma-project.io/remoteName"
	LabelRemoteNamespace = "cloud-manager.kyma-project.io/remoteNamespace"
)
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 (
	DIRECT_PEERING         = GcpConnectMode("DIRECT_PEERING")
	PRIVATE_SERVICE_ACCESS = GcpConnectMode("PRIVATE_SERVICE_ACCESS")
)
View Source
const (
	ReasonFailedCreatingFileSystem        = "FailedCreatingFileSystem"
	ReasonInvalidMountTargetsAlreadyExist = "InvalidMountTargetsAlreadyExist"
)
View Source
const (
	AwsPerformanceModeGeneralPurpose = AwsPerformanceMode("generalPurpose")
	AwsPerformanceModeBursting       = AwsPerformanceMode("maxIO")
)
View Source
const (
	AwsThroughputModeBursting = AwsThroughputMode("bursting")
	AwsThroughputModeElastic  = AwsThroughputMode("elastic")
)
View Source
const (
	ProviderGCP   = ProviderType("gcp")
	ProviderAzure = ProviderType("azure")
	ProviderAws   = ProviderType("aws")
)
View Source
const (
	FinalizerName = "cloud-control.kyma-project.io/deletion-hook"
)

Variables

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

type AwsNetwork struct {
	// +optional
	Nodes string `json:"nodes,omitempty"`

	// +optional
	Pods string `json:"pods,omitempty"`

	// +optional
	Services string `json:"services,omitempty"`

	VPC   AwsVPC    `json:"vpc"`
	Zones []AwsZone `json:"zones"`
}

func (*AwsNetwork) DeepCopy

func (in *AwsNetwork) DeepCopy() *AwsNetwork

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

func (*AwsNetwork) DeepCopyInto

func (in *AwsNetwork) DeepCopyInto(out *AwsNetwork)

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 AwsScope

type AwsScope struct {
	// +kubebuilder:validation:Required
	VpcNetwork string `json:"vpcNetwork"`

	Network AwsNetwork `json:"network"`

	// +kubebuilder:validation:Required
	AccountId string `json:"accountId"`
}

func (*AwsScope) DeepCopy

func (in *AwsScope) DeepCopy() *AwsScope

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

func (*AwsScope) DeepCopyInto

func (in *AwsScope) DeepCopyInto(out *AwsScope)

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

type AwsThroughputMode

type AwsThroughputMode string

+kubebuilder:validation:Enum=bursting;elastic

type AwsVPC

type AwsVPC struct {
	Id   string `json:"id,omitempty"`
	CIDR string `json:"cidr,omitempty"`
}

func (*AwsVPC) DeepCopy

func (in *AwsVPC) DeepCopy() *AwsVPC

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

func (*AwsVPC) DeepCopyInto

func (in *AwsVPC) DeepCopyInto(out *AwsVPC)

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

type AwsVpcPeering

type AwsVpcPeering struct {
	RemoteVpcId     string `json:"remoteVpcId"`
	RemoteRegion    string `json:"remoteRegion,omitempty"`
	RemoteAccountId string `json:"remoteAccountId"`
}

func (*AwsVpcPeering) DeepCopy

func (in *AwsVpcPeering) DeepCopy() *AwsVpcPeering

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

func (*AwsVpcPeering) DeepCopyInto

func (in *AwsVpcPeering) DeepCopyInto(out *AwsVpcPeering)

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

type AwsZone

type AwsZone struct {
	Name     string `json:"name"`
	Internal string `json:"internal"`
	Public   string `json:"public"`
	Workers  string `json:"workers"`
}

func (*AwsZone) DeepCopy

func (in *AwsZone) DeepCopy() *AwsZone

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

func (*AwsZone) DeepCopyInto

func (in *AwsZone) DeepCopyInto(out *AwsZone)

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

type AzureScope

type AzureScope struct {
	// +kubebuilder:validation:Required
	TenantId string `json:"tenantId"`

	// +kubebuilder:validation:Required
	SubscriptionId string `json:"subscriptionId"`

	// +kubebuilder:validation:Required
	VpcNetwork string `json:"vpcNetwork"`
}

func (*AzureScope) DeepCopy

func (in *AzureScope) DeepCopy() *AzureScope

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

func (*AzureScope) DeepCopyInto

func (in *AzureScope) DeepCopyInto(out *AzureScope)

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

type AzureVpcPeering

type AzureVpcPeering struct {
	AllowVnetAccess     bool   `json:"allowVnetAccess,omitempty"`
	RemoteVnet          string `json:"remoteVnet,omitempty"`
	RemoteResourceGroup string `json:"remoteResourceGroup,omitempty"`
}

func (*AzureVpcPeering) DeepCopy

func (in *AzureVpcPeering) DeepCopy() *AzureVpcPeering

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

func (*AzureVpcPeering) DeepCopyInto

func (in *AzureVpcPeering) DeepCopyInto(out *AzureVpcPeering)

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

type GcpConnectMode

type GcpConnectMode string

+kubebuilder:validation:Enum=DIRECT_PEERING;PRIVATE_SERVICE_ACCESS

type GcpFileTier

type GcpFileTier string

+kubebuilder:validation:Enum=BASIC_HDD;BASIC_SSD;HIGH_SCALE_SSD;ENTERPRISE;ZONAL;REGIONAL

type GcpPurpose

type GcpPurpose string

+kubebuilder:validation:Enum=VPC_PEERING;GCE_ENDPOINT;DNS_RESOLVER;NAT_AUTO;IPSEC_INTERCONNECT;SHARED_LOADBALANCER_VIP;PRIVATE_SERVICE_CONNECT

type GcpScope

type GcpScope struct {
	// +kubebuilder:validation:Required
	Project string `json:"project"`

	// +kubebuilder:validation:Required
	VpcNetwork string `json:"vpcNetwork"`
}

func (*GcpScope) DeepCopy

func (in *GcpScope) DeepCopy() *GcpScope

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

func (*GcpScope) DeepCopyInto

func (in *GcpScope) DeepCopyInto(out *GcpScope)

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

type GcpVpcPeering

type GcpVpcPeering struct {
	RemoteProject string `json:"remoteProject,omitempty"`
	RemoteVpc     string `json:"remoteVpc,omitempty"`
}

func (*GcpVpcPeering) DeepCopy

func (in *GcpVpcPeering) DeepCopy() *GcpVpcPeering

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

func (*GcpVpcPeering) DeepCopyInto

func (in *GcpVpcPeering) DeepCopyInto(out *GcpVpcPeering)

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

func (*IpRange) ScopeRef

func (in *IpRange) ScopeRef() ScopeRef

func (*IpRange) SetScopeRef

func (in *IpRange) SetScopeRef(scopeRef ScopeRef)

type IpRangeAws

type IpRangeAws struct {
}

func (*IpRangeAws) DeepCopy

func (in *IpRangeAws) DeepCopy() *IpRangeAws

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

func (*IpRangeAws) DeepCopyInto

func (in *IpRangeAws) DeepCopyInto(out *IpRangeAws)

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

type IpRangeAzure

type IpRangeAzure struct {
}

func (*IpRangeAzure) DeepCopy

func (in *IpRangeAzure) DeepCopy() *IpRangeAzure

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

func (*IpRangeAzure) DeepCopyInto

func (in *IpRangeAzure) DeepCopyInto(out *IpRangeAzure)

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

type IpRangeGcp

type IpRangeGcp struct {
	// +kubebuilder:default=VPC_PEERING
	Purpose GcpPurpose `json:"purpose,omitempty"`

	// +kubebuilder:default=servicenetworking.googleapis.com
	PsaService string `json:"psaService,omitempty"`
}

func (*IpRangeGcp) DeepCopy

func (in *IpRangeGcp) DeepCopy() *IpRangeGcp

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

func (*IpRangeGcp) DeepCopyInto

func (in *IpRangeGcp) DeepCopyInto(out *IpRangeGcp)

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

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 IpRangeOptions

type IpRangeOptions struct {
	// +optional
	Gcp *IpRangeGcp `json:"gcp,omitempty"`

	// +optional
	Azure *IpRangeAzure `json:"azure,omitempty"`

	// +optional
	Aws *IpRangeAws `json:"aws,omitempty"`
}

+kubebuilder:validation:MinProperties=0 +kubebuilder:validation:MaxProperties=1

func (*IpRangeOptions) DeepCopy

func (in *IpRangeOptions) DeepCopy() *IpRangeOptions

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

func (*IpRangeOptions) DeepCopyInto

func (in *IpRangeOptions) DeepCopyInto(out *IpRangeOptions)

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

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
	RemoteRef RemoteRef `json:"remoteRef"`

	// +kubebuilder:validation:Required
	Scope ScopeRef `json:"scope"`

	// +kubebuilder:validation:Required
	Cidr string `json:"cidr"`

	// +optional
	Options IpRangeOptions `json:"options,omitempty"`
}

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

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

	// +optional
	Ranges []string `json:"ranges,omitempty"`

	// +optional
	VpcId string `json:"vpcId,omitempty"`

	// +optional
	Subnets IpRangeSubnets `json:"subnets,omitempty"`

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

	// Operation Identifier to track the Hyperscaler Operation
	// +optional
	OpIdentifier string `json:"opIdentifier,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 IpRangeSubnet

type IpRangeSubnet struct {
	Id    string `json:"id"`
	Zone  string `json:"zone"`
	Range string `json:"range"`
}

func (*IpRangeSubnet) DeepCopy

func (in *IpRangeSubnet) DeepCopy() *IpRangeSubnet

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

func (*IpRangeSubnet) DeepCopyInto

func (in *IpRangeSubnet) DeepCopyInto(out *IpRangeSubnet)

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

type IpRangeSubnets

type IpRangeSubnets []IpRangeSubnet

func (IpRangeSubnets) DeepCopy

func (in IpRangeSubnets) DeepCopy() IpRangeSubnets

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

func (IpRangeSubnets) DeepCopyInto

func (in IpRangeSubnets) DeepCopyInto(out *IpRangeSubnets)

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

func (IpRangeSubnets) SubnetById

func (in IpRangeSubnets) SubnetById(id string) *IpRangeSubnet

func (IpRangeSubnets) SubnetByZone

func (in IpRangeSubnets) SubnetByZone(zone string) *IpRangeSubnet

type NfsInstance

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

	Spec   NfsInstanceSpec   `json:"spec,omitempty"`
	Status NfsInstanceStatus `json:"status,omitempty"`
}

NfsInstance is the Schema for the nfsinstances API

func (*NfsInstance) Conditions

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

func (*NfsInstance) DeepCopy

func (in *NfsInstance) DeepCopy() *NfsInstance

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

func (*NfsInstance) DeepCopyInto

func (in *NfsInstance) DeepCopyInto(out *NfsInstance)

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

func (*NfsInstance) DeepCopyObject

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

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

func (*NfsInstance) GetObjectMeta

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

func (*NfsInstance) ScopeRef

func (in *NfsInstance) ScopeRef() ScopeRef

func (*NfsInstance) SetScopeRef

func (in *NfsInstance) SetScopeRef(scopeRef ScopeRef)

type NfsInstanceAws

type NfsInstanceAws struct {
	// +kubebuilder:default=generalPurpose
	PerformanceMode AwsPerformanceMode `json:"performanceMode,omitempty"`

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

func (*NfsInstanceAws) DeepCopy

func (in *NfsInstanceAws) DeepCopy() *NfsInstanceAws

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

func (*NfsInstanceAws) DeepCopyInto

func (in *NfsInstanceAws) DeepCopyInto(out *NfsInstanceAws)

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

type NfsInstanceAzure

type NfsInstanceAzure struct {
}

func (*NfsInstanceAzure) DeepCopy

func (in *NfsInstanceAzure) DeepCopy() *NfsInstanceAzure

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

func (*NfsInstanceAzure) DeepCopyInto

func (in *NfsInstanceAzure) DeepCopyInto(out *NfsInstanceAzure)

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

type NfsInstanceGcp

type NfsInstanceGcp NfsOptionsGcp

func (*NfsInstanceGcp) DeepCopy

func (in *NfsInstanceGcp) DeepCopy() *NfsInstanceGcp

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

func (*NfsInstanceGcp) DeepCopyInto

func (in *NfsInstanceGcp) DeepCopyInto(out *NfsInstanceGcp)

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

type NfsInstanceInfo

type NfsInstanceInfo struct {
	// +optional
	Gcp *NfsInstanceGcp `json:"gcp,omitempty"`

	// +optional
	Azure *NfsInstanceAzure `json:"azure,omitempty"`

	// +optional
	Aws *NfsInstanceAws `json:"aws,omitempty"`
}

+kubebuilder:validation:MinProperties=1 +kubebuilder:validation:MaxProperties=1

func (*NfsInstanceInfo) DeepCopy

func (in *NfsInstanceInfo) DeepCopy() *NfsInstanceInfo

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

func (*NfsInstanceInfo) DeepCopyInto

func (in *NfsInstanceInfo) DeepCopyInto(out *NfsInstanceInfo)

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

type NfsInstanceList

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

NfsInstanceList contains a list of NfsInstance

func (*NfsInstanceList) DeepCopy

func (in *NfsInstanceList) DeepCopy() *NfsInstanceList

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

func (*NfsInstanceList) DeepCopyInto

func (in *NfsInstanceList) DeepCopyInto(out *NfsInstanceList)

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

func (*NfsInstanceList) DeepCopyObject

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

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

type NfsInstanceSpec

type NfsInstanceSpec struct {
	// +kubebuilder:validation:Required
	// +kubebuilder:validation:XValidation:rule=(self == oldSelf), message="RemoteRef is immutable."
	RemoteRef RemoteRef `json:"remoteRef"`

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

	// +kubebuilder:validation:Required
	Scope ScopeRef `json:"scope"`

	// +kubebuilder:validation:Required
	Instance NfsInstanceInfo `json:"instance"`
}

NfsInstanceSpec defines the desired state of NfsInstance

func (*NfsInstanceSpec) DeepCopy

func (in *NfsInstanceSpec) DeepCopy() *NfsInstanceSpec

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

func (*NfsInstanceSpec) DeepCopyInto

func (in *NfsInstanceSpec) DeepCopyInto(out *NfsInstanceSpec)

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

type NfsInstanceStatus

type NfsInstanceStatus struct {
	State StatusState `json:"state,omitempty"`

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

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

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

	// Operation Identifier to track the Hyperscaler Operation
	// +optional
	OpIdentifier string `json:"opIdentifier,omitempty"`

	// Provisioned Capacity in GBs
	// +optional
	CapacityGb int `json:"capacityGb"`
}

NfsInstanceStatus defines the observed state of NfsInstance

func (*NfsInstanceStatus) DeepCopy

func (in *NfsInstanceStatus) DeepCopy() *NfsInstanceStatus

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

func (*NfsInstanceStatus) DeepCopyInto

func (in *NfsInstanceStatus) DeepCopyInto(out *NfsInstanceStatus)

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

type NfsOptionsGcp

type NfsOptionsGcp struct {
	// +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=1024
	CapacityGb int `json:"capacityGb"`

	// +kubebuilder:default=PRIVATE_SERVICE_ACCESS
	ConnectMode GcpConnectMode `json:"connectMode"`
}

func (*NfsOptionsGcp) DeepCopy

func (in *NfsOptionsGcp) DeepCopy() *NfsOptionsGcp

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

func (*NfsOptionsGcp) DeepCopyInto

func (in *NfsOptionsGcp) DeepCopyInto(out *NfsOptionsGcp)

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

type ProviderType

type ProviderType string

type RemoteRef

type RemoteRef struct {
	// +kubebuilder:validation:Required
	Namespace string `json:"namespace"`

	// +kubebuilder:validation:Required
	Name string `json:"name"`
}

func (*RemoteRef) DeepCopy

func (in *RemoteRef) DeepCopy() *RemoteRef

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

func (*RemoteRef) DeepCopyInto

func (in *RemoteRef) DeepCopyInto(out *RemoteRef)

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

func (RemoteRef) String

func (rr RemoteRef) String() string

type Scope

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

	Spec   ScopeSpec   `json:"spec,omitempty"`
	Status ScopeStatus `json:"status,omitempty"`
}

Scope is the Schema for the scopes API

func (*Scope) Conditions

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

func (*Scope) DeepCopy

func (in *Scope) DeepCopy() *Scope

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

func (*Scope) DeepCopyInto

func (in *Scope) DeepCopyInto(out *Scope)

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

func (*Scope) DeepCopyObject

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

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

func (*Scope) GetObjectMeta

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

type ScopeInfo

type ScopeInfo struct {
	// +optional
	Gcp *GcpScope `json:"gcp,omitempty"`

	// +optional
	Azure *AzureScope `json:"azure,omitempty"`

	// +optional
	Aws *AwsScope `json:"aws,omitempty"`
}

+kubebuilder:validation:MinProperties=1 +kubebuilder:validation:MaxProperties=1

func (*ScopeInfo) DeepCopy

func (in *ScopeInfo) DeepCopy() *ScopeInfo

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

func (*ScopeInfo) DeepCopyInto

func (in *ScopeInfo) DeepCopyInto(out *ScopeInfo)

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

type ScopeList

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

ScopeList contains a list of Scope

func (*ScopeList) DeepCopy

func (in *ScopeList) DeepCopy() *ScopeList

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

func (*ScopeList) DeepCopyInto

func (in *ScopeList) DeepCopyInto(out *ScopeList)

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

func (*ScopeList) DeepCopyObject

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

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

type ScopeRef

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

func (*ScopeRef) DeepCopy

func (in *ScopeRef) DeepCopy() *ScopeRef

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

func (*ScopeRef) DeepCopyInto

func (in *ScopeRef) DeepCopyInto(out *ScopeRef)

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

type ScopeSpec

type ScopeSpec struct {
	// +kubebuilder:validation:Required
	KymaName string `json:"kymaName"`

	// +kubebuilder:validation:Required
	ShootName string `json:"shootName"`

	// +kubebuilder:validation:Required
	Region string `json:"region"`

	// +kubebuilder:validation:Required
	Provider ProviderType `json:"provider"`

	// +kubebuilder:validation:Required
	Scope ScopeInfo `json:"scope"`
}

ScopeSpec defines the desired state of Scope

func (*ScopeSpec) DeepCopy

func (in *ScopeSpec) DeepCopy() *ScopeSpec

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

func (*ScopeSpec) DeepCopyInto

func (in *ScopeSpec) DeepCopyInto(out *ScopeSpec)

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

type ScopeStatus

type ScopeStatus struct {
	// List of status conditions to indicate the status of a Peering.
	// +optional
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty"`

	// Operation Identifier to track the ServiceUsage Operation
	// +optional
	GcpOperations []string `json:"gcpOperations,omitempty"`
}

ScopeStatus defines the observed state of Scope

func (*ScopeStatus) DeepCopy

func (in *ScopeStatus) DeepCopy() *ScopeStatus

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

func (*ScopeStatus) DeepCopyInto

func (in *ScopeStatus) DeepCopyInto(out *ScopeStatus)

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

type StatusState

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

type VpcPeering

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

	Spec   VpcPeeringSpec   `json:"spec,omitempty"`
	Status VpcPeeringStatus `json:"status,omitempty"`
}

VpcPeering is the Schema for the vpcpeerings API

func (*VpcPeering) Conditions

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

func (*VpcPeering) DeepCopy

func (in *VpcPeering) DeepCopy() *VpcPeering

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

func (*VpcPeering) DeepCopyInto

func (in *VpcPeering) DeepCopyInto(out *VpcPeering)

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

func (*VpcPeering) DeepCopyObject

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

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

func (*VpcPeering) GetObjectMeta

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

func (*VpcPeering) ScopeRef

func (in *VpcPeering) ScopeRef() ScopeRef

func (*VpcPeering) SetScopeRef

func (in *VpcPeering) SetScopeRef(scopeRef ScopeRef)

type VpcPeeringInfo

type VpcPeeringInfo struct {
	// +optional
	Gcp *GcpVpcPeering `json:"gcp,omitempty"`

	// +optional
	Azure *AzureVpcPeering `json:"azure,omitempty"`

	// +optional
	Aws *AwsVpcPeering `json:"aws,omitempty"`
}

+kubebuilder:validation:MinProperties=1 +kubebuilder:validation:MaxProperties=1

func (*VpcPeeringInfo) DeepCopy

func (in *VpcPeeringInfo) DeepCopy() *VpcPeeringInfo

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

func (*VpcPeeringInfo) DeepCopyInto

func (in *VpcPeeringInfo) DeepCopyInto(out *VpcPeeringInfo)

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

type VpcPeeringList

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

VpcPeeringList contains a list of VpcPeering

func (*VpcPeeringList) DeepCopy

func (in *VpcPeeringList) DeepCopy() *VpcPeeringList

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

func (*VpcPeeringList) DeepCopyInto

func (in *VpcPeeringList) DeepCopyInto(out *VpcPeeringList)

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

func (*VpcPeeringList) DeepCopyObject

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

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

type VpcPeeringSpec

type VpcPeeringSpec struct {
	// +kubebuilder:validation:Required
	RemoteRef RemoteRef `json:"remoteRef"`

	// +kubebuilder:validation:Required
	Scope ScopeRef `json:"scope"`

	// +kubebuilder:validation:Required
	VpcPeering VpcPeeringInfo `json:"vpcPeering"`
}

VpcPeeringSpec defines the desired state of VpcPeering

func (*VpcPeeringSpec) DeepCopy

func (in *VpcPeeringSpec) DeepCopy() *VpcPeeringSpec

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

func (*VpcPeeringSpec) DeepCopyInto

func (in *VpcPeeringSpec) DeepCopyInto(out *VpcPeeringSpec)

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

type VpcPeeringStatus

type VpcPeeringStatus struct {
	State StatusState `json:"state,omitempty"`

	// +optional
	VpcId string `json:"vpcId,omitempty"`

	// +optional
	ConnectionId string `json:"connectionId,omitempty"`

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

VpcPeeringStatus defines the observed state of VpcPeering

func (*VpcPeeringStatus) DeepCopy

func (in *VpcPeeringStatus) DeepCopy() *VpcPeeringStatus

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

func (*VpcPeeringStatus) DeepCopyInto

func (in *VpcPeeringStatus) DeepCopyInto(out *VpcPeeringStatus)

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