v1beta1

package
v0.0.0-...-274ce61 Latest Latest
Warning

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

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

Documentation

Overview

+kubebuilder:object:generate=true +groupName=dataexchange.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "dataexchange.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	DataSet_Kind             = "DataSet"
	DataSet_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DataSet_Kind}.String()
	DataSet_KindAPIVersion   = DataSet_Kind + "." + CRDGroupVersion.String()
	DataSet_GroupVersionKind = CRDGroupVersion.WithKind(DataSet_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
)
View Source
var (
	Revision_Kind             = "Revision"
	Revision_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Revision_Kind}.String()
	Revision_KindAPIVersion   = Revision_Kind + "." + CRDGroupVersion.String()
	Revision_GroupVersionKind = CRDGroupVersion.WithKind(Revision_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type DataSet

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

DataSet is the Schema for the DataSets API. Provides a DataExchange DataSet +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,aws}

func (*DataSet) DeepCopy

func (in *DataSet) DeepCopy() *DataSet

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

func (*DataSet) DeepCopyInto

func (in *DataSet) DeepCopyInto(out *DataSet)

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

func (*DataSet) DeepCopyObject

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

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

func (*DataSet) GetCondition

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

GetCondition of this DataSet.

func (*DataSet) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DataSet

func (*DataSet) GetDeletionPolicy

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

GetDeletionPolicy of this DataSet.

func (*DataSet) GetID

func (tr *DataSet) GetID() string

GetID returns ID of underlying Terraform resource of this DataSet

func (*DataSet) GetManagementPolicy

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

GetManagementPolicy of this DataSet.

func (*DataSet) GetObservation

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

GetObservation of this DataSet

func (*DataSet) GetParameters

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

GetParameters of this DataSet

func (*DataSet) GetProviderConfigReference

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

GetProviderConfigReference of this DataSet.

func (*DataSet) GetProviderReference

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

GetProviderReference of this DataSet. Deprecated: Use GetProviderConfigReference.

func (*DataSet) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DataSet.

func (*DataSet) GetTerraformResourceType

func (mg *DataSet) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DataSet

func (*DataSet) GetTerraformSchemaVersion

func (tr *DataSet) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DataSet) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DataSet.

func (*DataSet) LateInitialize

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

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

func (*DataSet) SetConditions

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

SetConditions of this DataSet.

func (*DataSet) SetDeletionPolicy

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

SetDeletionPolicy of this DataSet.

func (*DataSet) SetManagementPolicy

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

SetManagementPolicy of this DataSet.

func (*DataSet) SetObservation

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

SetObservation for this DataSet

func (*DataSet) SetParameters

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

SetParameters for this DataSet

func (*DataSet) SetProviderConfigReference

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

SetProviderConfigReference of this DataSet.

func (*DataSet) SetProviderReference

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

SetProviderReference of this DataSet. Deprecated: Use SetProviderConfigReference.

func (*DataSet) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DataSet.

func (*DataSet) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DataSet.

type DataSetList

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

DataSetList contains a list of DataSets

func (*DataSetList) DeepCopy

func (in *DataSetList) DeepCopy() *DataSetList

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

func (*DataSetList) DeepCopyInto

func (in *DataSetList) DeepCopyInto(out *DataSetList)

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

func (*DataSetList) DeepCopyObject

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

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

func (*DataSetList) GetItems

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

GetItems of this DataSetList.

type DataSetObservation

type DataSetObservation struct {

	// The Amazon Resource Name of this data set.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The type of asset that is added to a data set. Valid values are: S3_SNAPSHOT, REDSHIFT_DATA_SHARE, and API_GATEWAY_API.
	AssetType *string `json:"assetType,omitempty" tf:"asset_type,omitempty"`

	// A description for the data set.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The Id of the data set.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The name of the data set.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*DataSetObservation) DeepCopy

func (in *DataSetObservation) DeepCopy() *DataSetObservation

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

func (*DataSetObservation) DeepCopyInto

func (in *DataSetObservation) DeepCopyInto(out *DataSetObservation)

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

type DataSetParameters

type DataSetParameters struct {

	// The type of asset that is added to a data set. Valid values are: S3_SNAPSHOT, REDSHIFT_DATA_SHARE, and API_GATEWAY_API.
	// +kubebuilder:validation:Optional
	AssetType *string `json:"assetType,omitempty" tf:"asset_type,omitempty"`

	// A description for the data set.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the data set.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*DataSetParameters) DeepCopy

func (in *DataSetParameters) DeepCopy() *DataSetParameters

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

func (*DataSetParameters) DeepCopyInto

func (in *DataSetParameters) DeepCopyInto(out *DataSetParameters)

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

type DataSetSpec

type DataSetSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DataSetParameters `json:"forProvider"`
}

DataSetSpec defines the desired state of DataSet

func (*DataSetSpec) DeepCopy

func (in *DataSetSpec) DeepCopy() *DataSetSpec

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

func (*DataSetSpec) DeepCopyInto

func (in *DataSetSpec) DeepCopyInto(out *DataSetSpec)

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

type DataSetStatus

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

DataSetStatus defines the observed state of DataSet.

func (*DataSetStatus) DeepCopy

func (in *DataSetStatus) DeepCopy() *DataSetStatus

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

func (*DataSetStatus) DeepCopyInto

func (in *DataSetStatus) DeepCopyInto(out *DataSetStatus)

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

type Revision

type Revision struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RevisionSpec   `json:"spec"`
	Status            RevisionStatus `json:"status,omitempty"`
}

Revision is the Schema for the Revisions API. Provides a DataExchange Revision +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,aws}

func (*Revision) DeepCopy

func (in *Revision) DeepCopy() *Revision

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

func (*Revision) DeepCopyInto

func (in *Revision) DeepCopyInto(out *Revision)

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

func (*Revision) DeepCopyObject

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

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

func (*Revision) GetCondition

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

GetCondition of this Revision.

func (*Revision) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Revision

func (*Revision) GetDeletionPolicy

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

GetDeletionPolicy of this Revision.

func (*Revision) GetID

func (tr *Revision) GetID() string

GetID returns ID of underlying Terraform resource of this Revision

func (*Revision) GetManagementPolicy

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

GetManagementPolicy of this Revision.

func (*Revision) GetObservation

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

GetObservation of this Revision

func (*Revision) GetParameters

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

GetParameters of this Revision

func (*Revision) GetProviderConfigReference

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

GetProviderConfigReference of this Revision.

func (*Revision) GetProviderReference

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

GetProviderReference of this Revision. Deprecated: Use GetProviderConfigReference.

func (*Revision) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Revision.

func (*Revision) GetTerraformResourceType

func (mg *Revision) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Revision

func (*Revision) GetTerraformSchemaVersion

func (tr *Revision) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Revision) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Revision.

func (*Revision) LateInitialize

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

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

func (*Revision) ResolveReferences

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

ResolveReferences of this Revision.

func (*Revision) SetConditions

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

SetConditions of this Revision.

func (*Revision) SetDeletionPolicy

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

SetDeletionPolicy of this Revision.

func (*Revision) SetManagementPolicy

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

SetManagementPolicy of this Revision.

func (*Revision) SetObservation

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

SetObservation for this Revision

func (*Revision) SetParameters

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

SetParameters for this Revision

func (*Revision) SetProviderConfigReference

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

SetProviderConfigReference of this Revision.

func (*Revision) SetProviderReference

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

SetProviderReference of this Revision. Deprecated: Use SetProviderConfigReference.

func (*Revision) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Revision.

func (*Revision) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Revision.

type RevisionList

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

RevisionList contains a list of Revisions

func (*RevisionList) DeepCopy

func (in *RevisionList) DeepCopy() *RevisionList

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

func (*RevisionList) DeepCopyInto

func (in *RevisionList) DeepCopyInto(out *RevisionList)

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

func (*RevisionList) DeepCopyObject

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

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

func (*RevisionList) GetItems

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

GetItems of this RevisionList.

type RevisionObservation

type RevisionObservation struct {

	// The Amazon Resource Name of this data set.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// An optional comment about the revision.
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// The dataset id.
	DataSetID *string `json:"dataSetId,omitempty" tf:"data_set_id,omitempty"`

	// The Id of the data set.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The Id of the revision.
	RevisionID *string `json:"revisionId,omitempty" tf:"revision_id,omitempty"`

	// Key-value map of resource tags.
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*RevisionObservation) DeepCopy

func (in *RevisionObservation) DeepCopy() *RevisionObservation

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

func (*RevisionObservation) DeepCopyInto

func (in *RevisionObservation) DeepCopyInto(out *RevisionObservation)

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

type RevisionParameters

type RevisionParameters struct {

	// An optional comment about the revision.
	// +kubebuilder:validation:Optional
	Comment *string `json:"comment,omitempty" tf:"comment,omitempty"`

	// The dataset id.
	// +crossplane:generate:reference:type=github.com/spirosco/upbound-provider-aws/apis/dataexchange/v1beta1.DataSet
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	DataSetID *string `json:"dataSetId,omitempty" tf:"data_set_id,omitempty"`

	// Reference to a DataSet in dataexchange to populate dataSetId.
	// +kubebuilder:validation:Optional
	DataSetIDRef *v1.Reference `json:"dataSetIdRef,omitempty" tf:"-"`

	// Selector for a DataSet in dataexchange to populate dataSetId.
	// +kubebuilder:validation:Optional
	DataSetIDSelector *v1.Selector `json:"dataSetIdSelector,omitempty" tf:"-"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*RevisionParameters) DeepCopy

func (in *RevisionParameters) DeepCopy() *RevisionParameters

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

func (*RevisionParameters) DeepCopyInto

func (in *RevisionParameters) DeepCopyInto(out *RevisionParameters)

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

type RevisionSpec

type RevisionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RevisionParameters `json:"forProvider"`
}

RevisionSpec defines the desired state of Revision

func (*RevisionSpec) DeepCopy

func (in *RevisionSpec) DeepCopy() *RevisionSpec

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

func (*RevisionSpec) DeepCopyInto

func (in *RevisionSpec) DeepCopyInto(out *RevisionSpec)

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

type RevisionStatus

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

RevisionStatus defines the observed state of Revision.

func (*RevisionStatus) DeepCopy

func (in *RevisionStatus) DeepCopy() *RevisionStatus

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

func (*RevisionStatus) DeepCopyInto

func (in *RevisionStatus) DeepCopyInto(out *RevisionStatus)

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