Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=content.confluence.shiftdp.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Content
- func (in *Content) DeepCopy() *Content
- func (in *Content) DeepCopyInto(out *Content)
- func (in *Content) DeepCopyObject() runtime.Object
- func (mg *Content) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Content) GetConnectionDetailsMapping() map[string]string
- func (mg *Content) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Content) GetID() string
- func (mg *Content) GetManagementPolicy() xpv1.ManagementPolicy
- func (tr *Content) GetObservation() (map[string]any, error)
- func (tr *Content) GetParameters() (map[string]any, error)
- func (mg *Content) GetProviderConfigReference() *xpv1.Reference
- func (mg *Content) GetProviderReference() *xpv1.Reference
- func (mg *Content) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Content) GetTerraformResourceType() string
- func (tr *Content) GetTerraformSchemaVersion() int
- func (mg *Content) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Content) LateInitialize(attrs []byte) (bool, error)
- func (mg *Content) SetConditions(c ...xpv1.Condition)
- func (mg *Content) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Content) SetManagementPolicy(r xpv1.ManagementPolicy)
- func (tr *Content) SetObservation(obs map[string]any) error
- func (tr *Content) SetParameters(params map[string]any) error
- func (mg *Content) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Content) SetProviderReference(r *xpv1.Reference)
- func (mg *Content) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Content) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ContentList
- type ContentObservation
- type ContentParameters
- type ContentSpec
- type ContentStatus
Constants ¶
const ( CRDGroup = "content.confluence.shiftdp.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
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.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Content.
func (*Content) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Content) DeepCopyObject ¶
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 ¶
GetConnectionDetailsMapping for this Content
func (*Content) GetDeletionPolicy ¶
func (mg *Content) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Content.
func (*Content) GetManagementPolicy ¶
func (mg *Content) GetManagementPolicy() xpv1.ManagementPolicy
GetManagementPolicy of this Content.
func (*Content) GetObservation ¶
GetObservation of this Content
func (*Content) GetParameters ¶
GetParameters of this Content
func (*Content) GetProviderConfigReference ¶
GetProviderConfigReference of this Content.
func (*Content) GetProviderReference ¶
GetProviderReference of this Content. Deprecated: Use GetProviderConfigReference.
func (*Content) GetPublishConnectionDetailsTo ¶
func (mg *Content) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Content.
func (*Content) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Content
func (*Content) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Content) GetWriteConnectionSecretToReference ¶
func (mg *Content) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Content.
func (*Content) LateInitialize ¶
LateInitialize this Content using its observed tfState. returns True if there are any spec changes for the resource.
func (*Content) SetConditions ¶
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 ¶
SetObservation for this Content
func (*Content) SetParameters ¶
SetParameters for this Content
func (*Content) SetProviderConfigReference ¶
SetProviderConfigReference of this Content.
func (*Content) SetProviderReference ¶
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.