v1alpha1

package
v0.0.0-...-1d7f71f Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=contentsource.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "contentsource.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	ContentSource_Kind             = "ContentSource"
	ContentSource_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ContentSource_Kind}.String()
	ContentSource_KindAPIVersion   = ContentSource_Kind + "." + CRDGroupVersion.String()
	ContentSource_GroupVersionKind = CRDGroupVersion.WithKind(ContentSource_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 ConfigObservation

type ConfigObservation struct {
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	IntegrationID *string `json:"integrationId,omitempty" tf:"integration_id,omitempty"`

	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	ProjectName *string `json:"projectName,omitempty" tf:"project_name,omitempty"`

	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*ConfigObservation) DeepCopy

func (in *ConfigObservation) DeepCopy() *ConfigObservation

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

func (*ConfigObservation) DeepCopyInto

func (in *ConfigObservation) DeepCopyInto(out *ConfigObservation)

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

type ConfigParameters

type ConfigParameters struct {

	// +kubebuilder:validation:Optional
	Branch *string `json:"branch,omitempty" tf:"branch,omitempty"`

	// +kubebuilder:validation:Optional
	ContentType *string `json:"contentType,omitempty" tf:"content_type,omitempty"`

	// +kubebuilder:validation:Required
	IntegrationID *string `json:"integrationId" tf:"integration_id,omitempty"`

	// +kubebuilder:validation:Required
	Path *string `json:"path" tf:"path,omitempty"`

	// +kubebuilder:validation:Required
	ProjectName *string `json:"projectName" tf:"project_name,omitempty"`

	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`
}

func (*ConfigParameters) DeepCopy

func (in *ConfigParameters) DeepCopy() *ConfigParameters

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

func (*ConfigParameters) DeepCopyInto

func (in *ConfigParameters) DeepCopyInto(out *ConfigParameters)

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

type ContentSource

type ContentSource struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.config)",message="config is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.name)",message="name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.syncEnabled)",message="syncEnabled is a required parameter"
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.typeId)",message="typeId is a required parameter"
	Spec   ContentSourceSpec   `json:"spec"`
	Status ContentSourceStatus `json:"status,omitempty"`
}

ContentSource is the Schema for the ContentSources 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,vra}

func (*ContentSource) DeepCopy

func (in *ContentSource) DeepCopy() *ContentSource

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

func (*ContentSource) DeepCopyInto

func (in *ContentSource) DeepCopyInto(out *ContentSource)

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

func (*ContentSource) DeepCopyObject

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

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

func (*ContentSource) GetCondition

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

GetCondition of this ContentSource.

func (*ContentSource) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ContentSource

func (*ContentSource) GetDeletionPolicy

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

GetDeletionPolicy of this ContentSource.

func (*ContentSource) GetID

func (tr *ContentSource) GetID() string

GetID returns ID of underlying Terraform resource of this ContentSource

func (*ContentSource) GetManagementPolicy

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

GetManagementPolicy of this ContentSource.

func (*ContentSource) GetObservation

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

GetObservation of this ContentSource

func (*ContentSource) GetParameters

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

GetParameters of this ContentSource

func (*ContentSource) GetProviderConfigReference

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

GetProviderConfigReference of this ContentSource.

func (*ContentSource) GetProviderReference

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

GetProviderReference of this ContentSource. Deprecated: Use GetProviderConfigReference.

func (*ContentSource) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ContentSource.

func (*ContentSource) GetTerraformResourceType

func (mg *ContentSource) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ContentSource

func (*ContentSource) GetTerraformSchemaVersion

func (tr *ContentSource) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ContentSource) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ContentSource.

func (*ContentSource) LateInitialize

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

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

func (*ContentSource) ResolveReferences

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

ResolveReferences of this ContentSource.

func (*ContentSource) SetConditions

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

SetConditions of this ContentSource.

func (*ContentSource) SetDeletionPolicy

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

SetDeletionPolicy of this ContentSource.

func (*ContentSource) SetManagementPolicy

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

SetManagementPolicy of this ContentSource.

func (*ContentSource) SetObservation

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

SetObservation for this ContentSource

func (*ContentSource) SetParameters

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

SetParameters for this ContentSource

func (*ContentSource) SetProviderConfigReference

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

SetProviderConfigReference of this ContentSource.

func (*ContentSource) SetProviderReference

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

SetProviderReference of this ContentSource. Deprecated: Use SetProviderConfigReference.

func (*ContentSource) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ContentSource.

func (*ContentSource) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ContentSource.

type ContentSourceList

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

ContentSourceList contains a list of ContentSources

func (*ContentSourceList) DeepCopy

func (in *ContentSourceList) DeepCopy() *ContentSourceList

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

func (*ContentSourceList) DeepCopyInto

func (in *ContentSourceList) DeepCopyInto(out *ContentSourceList)

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

func (*ContentSourceList) DeepCopyObject

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

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

func (*ContentSourceList) GetItems

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

GetItems of this ContentSourceList.

type ContentSourceObservation

type ContentSourceObservation struct {
	Config []ConfigObservation `json:"config,omitempty" tf:"config,omitempty"`

	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	CreatedBy *string `json:"createdBy,omitempty" tf:"created_by,omitempty"`

	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	LastUpdatedAt *string `json:"lastUpdatedAt,omitempty" tf:"last_updated_at,omitempty"`

	LastUpdatedBy *string `json:"lastUpdatedBy,omitempty" tf:"last_updated_by,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	OrgID *string `json:"orgId,omitempty" tf:"org_id,omitempty"`

	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	SyncEnabled *bool `json:"syncEnabled,omitempty" tf:"sync_enabled,omitempty"`

	TypeID *string `json:"typeId,omitempty" tf:"type_id,omitempty"`
}

func (*ContentSourceObservation) DeepCopy

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

func (*ContentSourceObservation) DeepCopyInto

func (in *ContentSourceObservation) DeepCopyInto(out *ContentSourceObservation)

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

type ContentSourceParameters

type ContentSourceParameters struct {

	// +kubebuilder:validation:Optional
	Config []ConfigParameters `json:"config,omitempty" tf:"config,omitempty"`

	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// +crossplane:generate:reference:type=github.com/ankasoftco/provider-vra/apis/project/v1alpha1.Project
	// +kubebuilder:validation:Optional
	ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"`

	// Reference to a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDRef *v1.Reference `json:"projectIdRef,omitempty" tf:"-"`

	// Selector for a Project in project to populate projectId.
	// +kubebuilder:validation:Optional
	ProjectIDSelector *v1.Selector `json:"projectIdSelector,omitempty" tf:"-"`

	// +kubebuilder:validation:Optional
	SyncEnabled *bool `json:"syncEnabled,omitempty" tf:"sync_enabled,omitempty"`

	// +kubebuilder:validation:Optional
	TypeID *string `json:"typeId,omitempty" tf:"type_id,omitempty"`
}

func (*ContentSourceParameters) DeepCopy

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

func (*ContentSourceParameters) DeepCopyInto

func (in *ContentSourceParameters) DeepCopyInto(out *ContentSourceParameters)

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

type ContentSourceSpec

type ContentSourceSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ContentSourceParameters `json:"forProvider"`
}

ContentSourceSpec defines the desired state of ContentSource

func (*ContentSourceSpec) DeepCopy

func (in *ContentSourceSpec) DeepCopy() *ContentSourceSpec

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

func (*ContentSourceSpec) DeepCopyInto

func (in *ContentSourceSpec) DeepCopyInto(out *ContentSourceSpec)

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

type ContentSourceStatus

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

ContentSourceStatus defines the observed state of ContentSource.

func (*ContentSourceStatus) DeepCopy

func (in *ContentSourceStatus) DeepCopy() *ContentSourceStatus

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

func (*ContentSourceStatus) DeepCopyInto

func (in *ContentSourceStatus) DeepCopyInto(out *ContentSourceStatus)

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