v1alpha1

package
v0.0.0-...-a006b88 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=space.confluence.shiftdp.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "space.confluence.shiftdp.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Space_Kind             = "Space"
	Space_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Space_Kind}.String()
	Space_KindAPIVersion   = Space_Kind + "." + CRDGroupVersion.String()
	Space_GroupVersionKind = CRDGroupVersion.WithKind(Space_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Space

type Space struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.key)",message="key is a required parameter"
	Spec   SpaceSpec   `json:"spec"`
	Status SpaceStatus `json:"status,omitempty"`
}

Space is the Schema for the Spaces API. <no value> +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,confluence}

func (*Space) DeepCopy

func (in *Space) DeepCopy() *Space

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

func (*Space) DeepCopyInto

func (in *Space) DeepCopyInto(out *Space)

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

func (*Space) DeepCopyObject

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

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

func (*Space) GetCondition

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

GetCondition of this Space.

func (*Space) GetConnectionDetailsMapping

func (tr *Space) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Space

func (*Space) GetDeletionPolicy

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

GetDeletionPolicy of this Space.

func (*Space) GetID

func (tr *Space) GetID() string

GetID returns ID of underlying Terraform resource of this Space

func (*Space) GetManagementPolicy

func (mg *Space) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Space.

func (*Space) GetObservation

func (tr *Space) GetObservation() (map[string]any, error)

GetObservation of this Space

func (*Space) GetParameters

func (tr *Space) GetParameters() (map[string]any, error)

GetParameters of this Space

func (*Space) GetProviderConfigReference

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

GetProviderConfigReference of this Space.

func (*Space) GetProviderReference

func (mg *Space) GetProviderReference() *xpv1.Reference

GetProviderReference of this Space. Deprecated: Use GetProviderConfigReference.

func (*Space) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Space.

func (*Space) GetTerraformResourceType

func (mg *Space) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Space

func (*Space) GetTerraformSchemaVersion

func (tr *Space) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Space) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Space.

func (*Space) LateInitialize

func (tr *Space) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Space using its observed tfState. returns True if there are any spec changes for the resource.

func (*Space) SetConditions

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

SetConditions of this Space.

func (*Space) SetDeletionPolicy

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

SetDeletionPolicy of this Space.

func (*Space) SetManagementPolicy

func (mg *Space) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Space.

func (*Space) SetObservation

func (tr *Space) SetObservation(obs map[string]any) error

SetObservation for this Space

func (*Space) SetParameters

func (tr *Space) SetParameters(params map[string]any) error

SetParameters for this Space

func (*Space) SetProviderConfigReference

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

SetProviderConfigReference of this Space.

func (*Space) SetProviderReference

func (mg *Space) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Space. Deprecated: Use SetProviderConfigReference.

func (*Space) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Space.

func (*Space) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Space.

type SpaceList

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

SpaceList contains a list of Spaces

func (*SpaceList) DeepCopy

func (in *SpaceList) DeepCopy() *SpaceList

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

func (*SpaceList) DeepCopyInto

func (in *SpaceList) DeepCopyInto(out *SpaceList)

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

func (*SpaceList) DeepCopyObject

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

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

func (*SpaceList) GetItems

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

GetItems of this SpaceList.

type SpaceObservation

type SpaceObservation struct {

	// The description of the new/updated space.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The key of the space to be returned, which is the space name e.g: key="DEVOPS"
	Key *string `json:"key,omitempty" tf:"key,omitempty"`
}

func (*SpaceObservation) DeepCopy

func (in *SpaceObservation) DeepCopy() *SpaceObservation

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

func (*SpaceObservation) DeepCopyInto

func (in *SpaceObservation) DeepCopyInto(out *SpaceObservation)

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

type SpaceParameters

type SpaceParameters struct {

	// The description of the new/updated space.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The key of the space to be returned, which is the space name e.g: key="DEVOPS"
	// +kubebuilder:validation:Optional
	Key *string `json:"key,omitempty" tf:"key,omitempty"`
}

func (*SpaceParameters) DeepCopy

func (in *SpaceParameters) DeepCopy() *SpaceParameters

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

func (*SpaceParameters) DeepCopyInto

func (in *SpaceParameters) DeepCopyInto(out *SpaceParameters)

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

type SpaceSpec

type SpaceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SpaceParameters `json:"forProvider"`
}

SpaceSpec defines the desired state of Space

func (*SpaceSpec) DeepCopy

func (in *SpaceSpec) DeepCopy() *SpaceSpec

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

func (*SpaceSpec) DeepCopyInto

func (in *SpaceSpec) DeepCopyInto(out *SpaceSpec)

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

type SpaceStatus

type SpaceStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        SpaceObservation `json:"atProvider,omitempty"`
}

SpaceStatus defines the observed state of Space.

func (*SpaceStatus) DeepCopy

func (in *SpaceStatus) DeepCopy() *SpaceStatus

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

func (*SpaceStatus) DeepCopyInto

func (in *SpaceStatus) DeepCopyInto(out *SpaceStatus)

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