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
- Variables
- type AwsFileSystemType
- type AwsScope
- type AwsThroughputMode
- type AwsVpcPeering
- type AzureScope
- type AzureVpcPeering
- type GcpScope
- type GcpVpcPeering
- type IpRange
- func (in *IpRange) Conditions() *[]metav1.Condition
- func (in *IpRange) DeepCopy() *IpRange
- func (in *IpRange) DeepCopyInto(out *IpRange)
- func (in *IpRange) DeepCopyObject() runtime.Object
- func (in *IpRange) KymaName() string
- func (in *IpRange) ScopeRef() *ScopeRef
- func (in *IpRange) SetScopeRef(scopeRef *ScopeRef)
- type IpRangeList
- type IpRangeSpec
- type IpRangeStatus
- type NfsInstance
- func (in *NfsInstance) Conditions() *[]metav1.Condition
- func (in *NfsInstance) DeepCopy() *NfsInstance
- func (in *NfsInstance) DeepCopyInto(out *NfsInstance)
- func (in *NfsInstance) DeepCopyObject() runtime.Object
- func (in *NfsInstance) KymaName() string
- func (in *NfsInstance) ScopeRef() *ScopeRef
- func (in *NfsInstance) SetScopeRef(scopeRef *ScopeRef)
- type NfsInstanceAws
- type NfsInstanceAzure
- type NfsInstanceGcp
- type NfsInstanceList
- type NfsInstanceSpec
- type NfsInstanceStatus
- type Scope
- type ScopeInfo
- type ScopeList
- type ScopeRef
- type ScopeSpec
- type ScopeStatus
- type StatusState
- type VpcPeering
- func (in *VpcPeering) Conditions() *[]metav1.Condition
- func (in *VpcPeering) DeepCopy() *VpcPeering
- func (in *VpcPeering) DeepCopyInto(out *VpcPeering)
- func (in *VpcPeering) DeepCopyObject() runtime.Object
- func (in *VpcPeering) KymaName() string
- func (in *VpcPeering) ScopeRef() *ScopeRef
- func (in *VpcPeering) SetScopeRef(scopeRef *ScopeRef)
- type VpcPeeringList
- type VpcPeeringSpec
- type VpcPeeringStatus
Constants ¶
const ( ConditionTypeError = "error" ReasonInvalidKymaName = "InvalidKymaName" )
const ( AwsFileSystemTypeRegional = "Regional" AwsFileSystemTypeZonal = "Zonal" )
const ( AwsThroughputModeEnhanced = "Enhanced" AwsThroughputModeBursting = "Bursting" )
const (
ScopeKymaLabel = "operator.kyma-project.io/kyma-name"
)
Variables ¶
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 AwsScope ¶
type AwsScope struct { // +kubebuilder:validation:Required Foo string `json:"foo"` }
func (*AwsScope) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsScope.
func (*AwsScope) DeepCopyInto ¶
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=Enhanced;Bursting
type AwsVpcPeering ¶
type AwsVpcPeering struct {
Foo string `json:"foo,omitempty"`
}
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 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 GcpScope ¶
type GcpScope struct { // +kubebuilder:validation:Required Project string `json:"project"` // +kubebuilder:validation:Required VpcNetwork string `json:"vpcNetwork"` }
func (*GcpScope) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GcpScope.
func (*GcpScope) DeepCopyInto ¶
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 (*IpRange) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IpRange.
func (*IpRange) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IpRange) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IpRange) SetScopeRef ¶
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 IpRangeSpec ¶
type IpRangeSpec struct { // +kubebuilder:validation:Required Kyma string `json:"kyma"` // +kubebuilder:validation:Required Scope *ScopeRef `json:"scope"` // +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 StatusState `json:"state,omitempty"` // List of status conditions to indicate the status of a Peering. // +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 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) KymaName ¶
func (in *NfsInstance) KymaName() string
func (*NfsInstance) ScopeRef ¶
func (in *NfsInstance) ScopeRef() *ScopeRef
func (*NfsInstance) SetScopeRef ¶
func (in *NfsInstance) SetScopeRef(scopeRef *ScopeRef)
type NfsInstanceAws ¶
type NfsInstanceAws struct { Type AwsFileSystemType `json:"type,omitempty"` 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 struct { }
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 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 Kyma string `json:"kyma"` // +kubebuilder:validation:Required Scope *ScopeRef `json:"scope"` // +optional Gcp *NfsInstanceGcp `json:"gcp,omitempty"` // +optional Azure *NfsInstanceAzure `json:"azure,omitempty"` // +optional Aws *NfsInstanceAws `json:"aws,omitempty"` }
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"` // List of status conditions to indicate the status of a Peering. // +optional // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,omitempty"` }
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 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) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scope.
func (*Scope) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Scope) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeInfo.
func (*ScopeInfo) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeList.
func (*ScopeList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScopeList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeRef.
func (*ScopeRef) DeepCopyInto ¶
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 Kyma string `json:"kyma"` // +kubebuilder:validation:Required ShootName string `json:"shootName"` // +kubebuilder:validation:Required Scope ScopeInfo `json:"scope"` }
ScopeSpec defines the desired state of Scope
func (*ScopeSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeSpec.
func (*ScopeSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopeStatus ¶
type ScopeStatus struct { State StatusState `json:"state,omitempty"` // List of status conditions to indicate the status of a Peering. // +optional // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:"conditions,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 ( UnknownState StatusState = "Unknown" 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) KymaName ¶
func (in *VpcPeering) KymaName() string
func (*VpcPeering) ScopeRef ¶
func (in *VpcPeering) ScopeRef() *ScopeRef
func (*VpcPeering) SetScopeRef ¶
func (in *VpcPeering) SetScopeRef(scopeRef *ScopeRef)
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 Kyma string `json:"kyma"` // +kubebuilder:validation:Required Scope *ScopeRef `json:"scope"` // +optional Gcp *GcpVpcPeering `json:"gcp,omitempty"` // +optional Azure *AzureVpcPeering `json:"azure,omitempty"` // +optional Aws *AwsVpcPeering `json:"aws,omitempty"` }
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"` // 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.