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=content.confluence.shiftdp.io +versionName=v1alpha1

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Content_Kind             = "Content"
	Content_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Content_Kind}.String()
	Content_KindAPIVersion   = Content_Kind + "." + CRDGroupVersion.String()
	Content_GroupVersionKind = CRDGroupVersion.WithKind(Content_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type Content

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

Content is the Schema for the Contents 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 (*Content) DeepCopy

func (in *Content) DeepCopy() *Content

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

func (*Content) DeepCopyInto

func (in *Content) DeepCopyInto(out *Content)

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

func (*Content) DeepCopyObject

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

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

func (*Content) GetCondition

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

GetCondition of this Content.

func (*Content) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Content

func (*Content) GetDeletionPolicy

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

GetDeletionPolicy of this Content.

func (*Content) GetID

func (tr *Content) GetID() string

GetID returns ID of underlying Terraform resource of this Content

func (*Content) GetManagementPolicy

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

GetManagementPolicy of this Content.

func (*Content) GetObservation

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

GetObservation of this Content

func (*Content) GetParameters

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

GetParameters of this Content

func (*Content) GetProviderConfigReference

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

GetProviderConfigReference of this Content.

func (*Content) GetProviderReference

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

GetProviderReference of this Content. Deprecated: Use GetProviderConfigReference.

func (*Content) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Content.

func (*Content) GetTerraformResourceType

func (mg *Content) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Content

func (*Content) GetTerraformSchemaVersion

func (tr *Content) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Content) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Content.

func (*Content) LateInitialize

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

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

func (*Content) SetConditions

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

SetConditions of this Content.

func (*Content) SetDeletionPolicy

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

SetDeletionPolicy of this Content.

func (*Content) SetManagementPolicy

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

SetManagementPolicy of this Content.

func (*Content) SetObservation

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

SetObservation for this Content

func (*Content) SetParameters

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

SetParameters for this Content

func (*Content) SetProviderConfigReference

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

SetProviderConfigReference of this Content.

func (*Content) SetProviderReference

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

SetProviderReference of this Content. Deprecated: Use SetProviderConfigReference.

func (*Content) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Content.

func (*Content) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Content.

type ContentList

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

ContentList contains a list of Contents

func (*ContentList) DeepCopy

func (in *ContentList) DeepCopy() *ContentList

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

func (*ContentList) DeepCopyInto

func (in *ContentList) DeepCopyInto(out *ContentList)

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

func (*ContentList) DeepCopyObject

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

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

func (*ContentList) GetItems

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

GetItems of this ContentList.

type ContentObservation

type ContentObservation struct {

	// The body of the new content.
	Body *string `json:"body,omitempty" tf:"body,omitempty"`

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

	// The space that the content is being created in.
	Space *string `json:"space,omitempty" tf:"space,omitempty"`

	// Defines the document title.
	Title *string `json:"title,omitempty" tf:"title,omitempty"`

	// The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ContentObservation) DeepCopy

func (in *ContentObservation) DeepCopy() *ContentObservation

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

func (*ContentObservation) DeepCopyInto

func (in *ContentObservation) DeepCopyInto(out *ContentObservation)

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

type ContentParameters

type ContentParameters struct {

	// The body of the new content.
	// +kubebuilder:validation:Optional
	Body *string `json:"body,omitempty" tf:"body,omitempty"`

	// The space that the content is being created in.
	// +kubebuilder:validation:Optional
	Space *string `json:"space,omitempty" tf:"space,omitempty"`

	// Defines the document title.
	// +kubebuilder:validation:Optional
	Title *string `json:"title,omitempty" tf:"title,omitempty"`

	// The type of the new content. Custom content types defined by apps are also supported. eg. 'page', 'blogpost', 'comment' etc.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*ContentParameters) DeepCopy

func (in *ContentParameters) DeepCopy() *ContentParameters

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

func (*ContentParameters) DeepCopyInto

func (in *ContentParameters) DeepCopyInto(out *ContentParameters)

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

type ContentSpec

type ContentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ContentParameters `json:"forProvider"`
}

ContentSpec defines the desired state of Content

func (*ContentSpec) DeepCopy

func (in *ContentSpec) DeepCopy() *ContentSpec

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

func (*ContentSpec) DeepCopyInto

func (in *ContentSpec) DeepCopyInto(out *ContentSpec)

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

type ContentStatus

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

ContentStatus defines the observed state of Content.

func (*ContentStatus) DeepCopy

func (in *ContentStatus) DeepCopy() *ContentStatus

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

func (*ContentStatus) DeepCopyInto

func (in *ContentStatus) DeepCopyInto(out *ContentStatus)

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