v1alpha1

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group Sample resources of the btp.sap provider. +kubebuilder:object:generate=true +groupName=environment.btp.sap.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	InstanceStateOk       = "OK"
	InstanceStateCreating = "CREATING"
	InstanceStateDeleting = "DELETING"
	InstanceStateUpdating = "UPDATING"
)
View Source
const (
	ResourceAPIEndpoint = "apiEndpoint"
	ResourceOrgId       = "orgId"
	ResourceOrgName     = "orgName"
	ResourceRaw         = "__raw"
)
View Source
const (
	Group   = "environment.btp.sap.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

View Source
const (
	KubeConfigSecretKey = "kubeconfig"
	KubeConfigLabelKey  = "KubeconfigURL"
)

Variables

View Source
var (
	CfEnvironmentKind             = reflect.TypeOf(CloudFoundryEnvironment{}).Name()
	CfEnvironmentGroupKind        = schema.GroupKind{Group: Group, Kind: CfEnvironmentKind}.String()
	CfEnvironmentKindAPIVersion   = CfEnvironmentKind + "." + SchemeGroupVersion.String()
	CfEnvironmentGroupVersionKind = SchemeGroupVersion.WithKind(CfEnvironmentKind)
)

CloudFoundryEnvironment type metadata.

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	KymaEnvironmentKind             = reflect.TypeOf(KymaEnvironment{}).Name()
	KymaEnvironmentGroupKind        = schema.GroupKind{Group: Group, Kind: KymaEnvironmentKind}.String()
	KymaEnvironmentKindAPIVersion   = KymaEnvironmentKind + "." + SchemeGroupVersion.String()
	KymaEnvironmentGroupVersionKind = SchemeGroupVersion.WithKind(KymaEnvironmentKind)
)

KymaEnvironment type metadata.

Functions

This section is empty.

Types

type CfEnvironmentObservation

type CfEnvironmentObservation struct {
	EnvironmentObservation `json:",inline"`
	Managers               []User `json:"managers,omitempty"`
}

CfEnvironmentObservation are the observable fields of a CloudFoundryEnvironment.

func (*CfEnvironmentObservation) DeepCopy

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

func (*CfEnvironmentObservation) DeepCopyInto

func (in *CfEnvironmentObservation) DeepCopyInto(out *CfEnvironmentObservation)

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

type CfEnvironmentParameters

type CfEnvironmentParameters struct {
	// A list of users (with username/email and origin) to assign as the Org Manager role
	// +optional
	Managers []string `json:"initialOrgManagers,omitempty"`

	// Landscape, region of the cloud foundry org, e.g. cf-eu12
	// must be set, when cloud foundry name is set
	// +kubebuilder:validation:MinLength=1
	// +optional
	Landscape string `json:"landscape,omitempty"`
}

CfEnvironmentParameters are the configurable fields of a CloudFoundryEnvironment.

func (*CfEnvironmentParameters) DeepCopy

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

func (*CfEnvironmentParameters) DeepCopyInto

func (in *CfEnvironmentParameters) DeepCopyInto(out *CfEnvironmentParameters)

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

type CfEnvironmentSpec

type CfEnvironmentSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       CfEnvironmentParameters `json:"forProvider"`

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Subaccount
	// +crossplane:generate:reference:refFieldName=SubaccountRef
	// +crossplane:generate:reference:selectorFieldName=SubaccountSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.SubaccountUuid()
	SubaccountGuid string `json:"subaccountGuid,omitempty"`
	// +kubebuilder:validation:Optional
	SubaccountSelector *xpv1.Selector `json:"subaccountSelector,omitempty"`
	// +kubebuilder:validation:Optional
	SubaccountRef *xpv1.Reference `` /* 138-byte string literal not displayed */

	// +kubebuilder:validation:Optional
	CloudManagementSelector *xpv1.Selector `json:"cloudManagementSelector,omitempty"`
	// +kubebuilder:validation:Optional
	CloudManagementRef *xpv1.Reference `` /* 148-byte string literal not displayed */

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagement
	// +crossplane:generate:reference:refFieldName=CloudManagementRef
	// +crossplane:generate:reference:selectorFieldName=CloudManagementSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagementSecret()
	CloudManagementSecret string `json:"cloudManagemxentSecret,omitempty"`
	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagement
	// +crossplane:generate:reference:refFieldName=CloudManagementRef
	// +crossplane:generate:reference:selectorFieldName=CloudManagementSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagementSecretSecretNamespace()
	CloudManagementSecretNamespace string `json:"cloudManagementSecretNamespace,omitempty"`
	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagement
	// +crossplane:generate:reference:refFieldName=CloudManagementRef
	// +crossplane:generate:reference:selectorFieldName=CloudManagementSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagementSubaccountUuid()
	CloudManagementSubaccountGuid string `json:"cloudManagementSubaccountGuid,omitempty"`
}

A CfEnvironmentSpec defines the desired state of a CloudFoundryEnvironment.

func (*CfEnvironmentSpec) DeepCopy

func (in *CfEnvironmentSpec) DeepCopy() *CfEnvironmentSpec

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

func (*CfEnvironmentSpec) DeepCopyInto

func (in *CfEnvironmentSpec) DeepCopyInto(out *CfEnvironmentSpec)

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

type CloudFoundryEnvironment

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

	Spec   CfEnvironmentSpec `json:"spec"`
	Status EnvironmentStatus `json:"status,omitempty"`
}

A CloudFoundryEnvironment is a managed resource that represents a Cloud Foundry environment in the SAP Business Technology Platform +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,sap}

func (*CloudFoundryEnvironment) DeepCopy

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

func (*CloudFoundryEnvironment) DeepCopyInto

func (in *CloudFoundryEnvironment) DeepCopyInto(out *CloudFoundryEnvironment)

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

func (*CloudFoundryEnvironment) DeepCopyObject

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

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

func (*CloudFoundryEnvironment) GetCondition

GetCondition of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) GetDeletionPolicy

func (mg *CloudFoundryEnvironment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) GetManagementPolicies

func (mg *CloudFoundryEnvironment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) GetProviderConfigReference

func (mg *CloudFoundryEnvironment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) GetPublishConnectionDetailsTo

func (mg *CloudFoundryEnvironment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) GetWriteConnectionSecretToReference

func (mg *CloudFoundryEnvironment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) ResolveReferences

func (mg *CloudFoundryEnvironment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) SetConditions

func (mg *CloudFoundryEnvironment) SetConditions(c ...xpv1.Condition)

SetConditions of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) SetDeletionPolicy

func (mg *CloudFoundryEnvironment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) SetManagementPolicies

func (mg *CloudFoundryEnvironment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) SetProviderConfigReference

func (mg *CloudFoundryEnvironment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) SetPublishConnectionDetailsTo

func (mg *CloudFoundryEnvironment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this CloudFoundryEnvironment.

func (*CloudFoundryEnvironment) SetWriteConnectionSecretToReference

func (mg *CloudFoundryEnvironment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this CloudFoundryEnvironment.

type CloudFoundryEnvironmentList

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

CloudFoundryEnvironmentList contains a list of CloudFoundryEnvironment

func (*CloudFoundryEnvironmentList) DeepCopy

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

func (*CloudFoundryEnvironmentList) DeepCopyInto

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

func (*CloudFoundryEnvironmentList) DeepCopyObject

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

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

func (*CloudFoundryEnvironmentList) GetItems

GetItems of this CloudFoundryEnvironmentList.

type EnvironmentObservation

type EnvironmentObservation struct {

	// The ID of the associated environment broker.
	BrokerID *string `json:"brokerId,omitempty"`

	// The commercial type of the environment broker.
	CommercialType *string `json:"commercialType,omitempty"`

	// The date the environment instance was created. Dates and times are in UTC format.
	CreatedDate *string `json:"createdDate,omitempty"`

	// Custom labels that are defined by a user and assigned as key-value pairs in a JSON array to the environment instance.
	// Example:
	// {
	//   "Cost Center": ["19700626"],
	//   "Department": ["Sales"],
	//   "Contacts": ["name1@example.com","name2@example.com"],
	//   "EMEA":[]
	// }
	// NOTE: Custom labels apply only to SAP BTP. They are not the same labels that might be defined by your environment broker (see "labels" field).
	CustomLabels *map[string][]string `json:"customLabels,omitempty"`

	// The URL of the service dashboard, which is a web-based management user interface for the service instances.
	DashboardURL *string `json:"dashboardUrl,omitempty"`

	// The description of the environment instance.
	Description *string `json:"description,omitempty"`

	// Type of the environment instance that is used.
	// Example: cloudfoundry
	// Enum: [cloudfoundry kubernetes neo]
	EnvironmentType *string `json:"environmentType,omitempty"`

	// The GUID of the global account that is associated with the environment instance.
	GlobalAccountGUID *string `json:"globalAccountGUID,omitempty"`

	// Automatically generated unique identifier for the environment instance.
	ID *string `json:"id,omitempty"`

	// Broker-specified key-value pairs that specify attributes of an environment instance.
	Labels *string `json:"labels,omitempty"`

	// The name of the landscape within the logged-in region on which the environment instance is created.
	LandscapeLabel *string `json:"landscapeLabel,omitempty"`

	// The last date the environment instance was last modified. Dates and times are in UTC format.
	ModifiedDate *string `json:"modifiedDate,omitempty"`

	// Name of the environment instance.
	Name *string `json:"name,omitempty"`

	// An identifier that represents the last operation. This ID is returned by the environment brokers.
	Operation *string `json:"operation,omitempty"`

	// Configuration parameters for the environment instance.
	Parameters *string `json:"parameters,omitempty"`

	// ID of the service plan for the environment instance in the corresponding service broker's catalog.
	PlanID *string `json:"planId,omitempty"`

	// Name of the service plan for the environment instance in the corresponding service broker's catalog.
	PlanName *string `json:"planName,omitempty"`

	// ID of the platform for the environment instance in the corresponding service broker's catalog.
	PlatformID *string `json:"platformId,omitempty"`

	// ID of the service for the environment instance in the corresponding service broker's catalog.
	ServiceID *string `json:"serviceId,omitempty"`

	// Name of the service for the environment instance in the corresponding service broker's catalog.
	ServiceName *string `json:"serviceName,omitempty"`

	// Current state of the environment instance.
	// Example: cloudfoundry
	// Enum: [CREATING UPDATING DELETING OK CREATION_FAILED DELETION_FAILED UPDATE_FAILED]
	State *string `json:"state,omitempty"`

	// Information about the current state of the environment instance.
	StateMessage *string `json:"stateMessage,omitempty"`

	// The GUID of the subaccount associated with the environment instance.
	SubaccountGUID *string `json:"subaccountGUID,omitempty"`

	// The ID of the tenant that owns the environment instance.
	TenantID *string `json:"tenantId,omitempty"`

	// The last provisioning operation on the environment instance.
	// * <b>Provision:</b> CloudFoundryEnvironment instance created.
	// * <b>Update:</b> CloudFoundryEnvironment instance changed.
	// * <b>Deprovision:</b> CloudFoundryEnvironment instance deleted.
	// Example: Provision
	// Enum: [Provision Update Deprovision]
	Type *string `json:"type,omitempty"`
}

func (*EnvironmentObservation) DeepCopy

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

func (*EnvironmentObservation) DeepCopyInto

func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation)

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

type EnvironmentStatus

type EnvironmentStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          CfEnvironmentObservation `json:"atProvider,omitempty"`
}

A EnvironmentStatus represents the observed state of a CloudFoundryEnvironment.

func (*EnvironmentStatus) DeepCopy

func (in *EnvironmentStatus) DeepCopy() *EnvironmentStatus

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

func (*EnvironmentStatus) DeepCopyInto

func (in *EnvironmentStatus) DeepCopyInto(out *EnvironmentStatus)

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

type KymaEnvironment

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

	Spec   KymaEnvironmentSpec   `json:"spec"`
	Status KymaEnvironmentStatus `json:"status,omitempty"`
}

A KymaEnvironment is a managed resource that represents a Kyma environment in the SAP Business Technology Platform +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,btp}

func (*KymaEnvironment) DeepCopy

func (in *KymaEnvironment) DeepCopy() *KymaEnvironment

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

func (*KymaEnvironment) DeepCopyInto

func (in *KymaEnvironment) DeepCopyInto(out *KymaEnvironment)

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

func (*KymaEnvironment) DeepCopyObject

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

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

func (*KymaEnvironment) GetCondition

func (mg *KymaEnvironment) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this KymaEnvironment.

func (*KymaEnvironment) GetDeletionPolicy

func (mg *KymaEnvironment) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this KymaEnvironment.

func (*KymaEnvironment) GetManagementPolicies

func (mg *KymaEnvironment) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this KymaEnvironment.

func (*KymaEnvironment) GetProviderConfigReference

func (mg *KymaEnvironment) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this KymaEnvironment.

func (*KymaEnvironment) GetPublishConnectionDetailsTo

func (mg *KymaEnvironment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this KymaEnvironment.

func (*KymaEnvironment) GetWriteConnectionSecretToReference

func (mg *KymaEnvironment) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this KymaEnvironment.

func (*KymaEnvironment) ResolveReferences

func (mg *KymaEnvironment) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this KymaEnvironment.

func (*KymaEnvironment) SetConditions

func (mg *KymaEnvironment) SetConditions(c ...xpv1.Condition)

SetConditions of this KymaEnvironment.

func (*KymaEnvironment) SetDeletionPolicy

func (mg *KymaEnvironment) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this KymaEnvironment.

func (*KymaEnvironment) SetManagementPolicies

func (mg *KymaEnvironment) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this KymaEnvironment.

func (*KymaEnvironment) SetProviderConfigReference

func (mg *KymaEnvironment) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this KymaEnvironment.

func (*KymaEnvironment) SetPublishConnectionDetailsTo

func (mg *KymaEnvironment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this KymaEnvironment.

func (*KymaEnvironment) SetWriteConnectionSecretToReference

func (mg *KymaEnvironment) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this KymaEnvironment.

type KymaEnvironmentList

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

KymaEnvironmentList contains a list of KymaEnvironment

func (*KymaEnvironmentList) DeepCopy

func (in *KymaEnvironmentList) DeepCopy() *KymaEnvironmentList

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

func (*KymaEnvironmentList) DeepCopyInto

func (in *KymaEnvironmentList) DeepCopyInto(out *KymaEnvironmentList)

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

func (*KymaEnvironmentList) DeepCopyObject

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

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

func (*KymaEnvironmentList) GetItems

func (l *KymaEnvironmentList) GetItems() []resource.Managed

GetItems of this KymaEnvironmentList.

type KymaEnvironmentObservation

type KymaEnvironmentObservation struct {
	EnvironmentObservation `json:",inline"`
}

KymaEnvironmentObservation are the observable fields of a KymaEnvironment.

func (*KymaEnvironmentObservation) DeepCopy

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

func (*KymaEnvironmentObservation) DeepCopyInto

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

type KymaEnvironmentParameters

type KymaEnvironmentParameters struct {
	PlanName string `json:"planName"`

	// Provisioning parameters for the instance.
	//
	// The Parameters field is NOT secret or secured in any way and should
	// NEVER be used to hold sensitive information. To set parameters that
	// contain secret information, you should ALWAYS store that information
	// in a Secret and use the ParametersFrom field.
	// +kubebuilder:pruning:PreserveUnknownFields
	Parameters runtime.RawExtension `json:"parameters,omitempty"`
}

KymaEnvironmentParameters are the configurable fields of a KymaEnvironment.

func (*KymaEnvironmentParameters) DeepCopy

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

func (*KymaEnvironmentParameters) DeepCopyInto

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

type KymaEnvironmentSpec

type KymaEnvironmentSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       KymaEnvironmentParameters `json:"forProvider"`

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.Subaccount
	// +crossplane:generate:reference:refFieldName=SubaccountRef
	// +crossplane:generate:reference:selectorFieldName=SubaccountSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.SubaccountUuid()
	SubaccountGuid string `json:"subaccountGuid,omitempty"`
	// +kubebuilder:validation:Optional
	SubaccountSelector *xpv1.Selector `json:"subaccountSelector,omitempty"`
	// +kubebuilder:validation:Optional
	SubaccountRef *xpv1.Reference `` /* 138-byte string literal not displayed */

	// +kubebuilder:validation:Optional
	CloudManagementSelector *xpv1.Selector `json:"cloudManagementSelector,omitempty"`
	// +kubebuilder:validation:Optional
	CloudManagementRef *xpv1.Reference `` /* 148-byte string literal not displayed */

	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagement
	// +crossplane:generate:reference:refFieldName=CloudManagementRef
	// +crossplane:generate:reference:selectorFieldName=CloudManagementSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagementSecret()
	CloudManagementSecret string `json:"cloudManagementSecret,omitempty"`
	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagement
	// +crossplane:generate:reference:refFieldName=CloudManagementRef
	// +crossplane:generate:reference:selectorFieldName=CloudManagementSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagementSecretSecretNamespace()
	CloudManagementSecretNamespace string `json:"cloudManagementSecretNamespace,omitempty"`
	// +crossplane:generate:reference:type=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagement
	// +crossplane:generate:reference:refFieldName=CloudManagementRef
	// +crossplane:generate:reference:selectorFieldName=CloudManagementSelector
	// +crossplane:generate:reference:extractor=github.com/sap/crossplane-provider-btp/apis/account/v1alpha1.CloudManagementSubaccountUuid()
	CloudManagementSubaccountGuid string `json:"cloudManagementSubaccountGuid,omitempty"`
}

A KymaEnvironmentSpec defines the desired state of a KymaEnvironment.

func (*KymaEnvironmentSpec) DeepCopy

func (in *KymaEnvironmentSpec) DeepCopy() *KymaEnvironmentSpec

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

func (*KymaEnvironmentSpec) DeepCopyInto

func (in *KymaEnvironmentSpec) DeepCopyInto(out *KymaEnvironmentSpec)

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

type KymaEnvironmentStatus

type KymaEnvironmentStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          KymaEnvironmentObservation `json:"atProvider,omitempty"`
}

A KymaEnvironmentStatus represents the observed state of a KymaEnvironment.

func (*KymaEnvironmentStatus) DeepCopy

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

func (*KymaEnvironmentStatus) DeepCopyInto

func (in *KymaEnvironmentStatus) DeepCopyInto(out *KymaEnvironmentStatus)

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

type User

type User struct {
	// Username at the identity provider
	Username string `json:"username"`
	// +kubebuilder:default=sap.ids
	// Origin picks the IDP
	Origin string `json:"origin,omitempty"`
}

User identifies a user by username and origin

func (*User) DeepCopy

func (in *User) DeepCopy() *User

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

func (*User) DeepCopyInto

func (in *User) DeepCopyInto(out *User)

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

func (*User) String

func (u *User) String() string

String return a formatted string of User

Jump to

Keyboard shortcuts

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