v1beta1

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Discoverer_Kind             = "Discoverer"
	Discoverer_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Discoverer_Kind}.String()
	Discoverer_KindAPIVersion   = Discoverer_Kind + "." + CRDGroupVersion.String()
	Discoverer_GroupVersionKind = CRDGroupVersion.WithKind(Discoverer_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 (
	Registry_Kind             = "Registry"
	Registry_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Registry_Kind}.String()
	Registry_KindAPIVersion   = Registry_Kind + "." + CRDGroupVersion.String()
	Registry_GroupVersionKind = CRDGroupVersion.WithKind(Registry_Kind)
)

Repository type metadata.

View Source
var (
	Schema_Kind             = "Schema"
	Schema_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Schema_Kind}.String()
	Schema_KindAPIVersion   = Schema_Kind + "." + CRDGroupVersion.String()
	Schema_GroupVersionKind = CRDGroupVersion.WithKind(Schema_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Discoverer

type Discoverer struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DiscovererSpec   `json:"spec"`
	Status            DiscovererStatus `json:"status,omitempty"`
}

Discoverer is the Schema for the Discoverers API. Provides an EventBridge Schema Discoverer resource. +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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Discoverer) DeepCopy

func (in *Discoverer) DeepCopy() *Discoverer

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

func (*Discoverer) DeepCopyInto

func (in *Discoverer) DeepCopyInto(out *Discoverer)

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

func (*Discoverer) DeepCopyObject

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

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

func (*Discoverer) GetCondition

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

GetCondition of this Discoverer.

func (*Discoverer) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Discoverer

func (*Discoverer) GetDeletionPolicy

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

GetDeletionPolicy of this Discoverer.

func (*Discoverer) GetID

func (tr *Discoverer) GetID() string

GetID returns ID of underlying Terraform resource of this Discoverer

func (*Discoverer) GetInitParameters added in v0.38.0

func (tr *Discoverer) GetInitParameters() (map[string]any, error)

GetInitParameters of this Discoverer

func (*Discoverer) GetManagementPolicies added in v0.38.0

func (mg *Discoverer) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Discoverer.

func (*Discoverer) GetMergedParameters added in v0.44.0

func (tr *Discoverer) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Discoverer

func (*Discoverer) GetObservation

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

GetObservation of this Discoverer

func (*Discoverer) GetParameters

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

GetParameters of this Discoverer

func (*Discoverer) GetProviderConfigReference

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

GetProviderConfigReference of this Discoverer.

func (*Discoverer) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Discoverer.

func (*Discoverer) GetTerraformResourceType

func (mg *Discoverer) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Discoverer

func (*Discoverer) GetTerraformSchemaVersion

func (tr *Discoverer) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Discoverer) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Discoverer.

func (*Discoverer) Hub added in v0.47.2

func (tr *Discoverer) Hub()

Hub marks this type as a conversion hub.

func (*Discoverer) LateInitialize

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

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

func (*Discoverer) ResolveReferences

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

func (*Discoverer) SetConditions

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

SetConditions of this Discoverer.

func (*Discoverer) SetDeletionPolicy

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

SetDeletionPolicy of this Discoverer.

func (*Discoverer) SetManagementPolicies added in v0.38.0

func (mg *Discoverer) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Discoverer.

func (*Discoverer) SetObservation

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

SetObservation for this Discoverer

func (*Discoverer) SetParameters

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

SetParameters for this Discoverer

func (*Discoverer) SetProviderConfigReference

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

SetProviderConfigReference of this Discoverer.

func (*Discoverer) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Discoverer.

func (*Discoverer) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Discoverer.

type DiscovererInitParameters added in v0.38.0

type DiscovererInitParameters struct {

	// The description of the discoverer. Maximum of 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The ARN of the event bus to discover event schemas on.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchevents/v1beta1.Bus
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	SourceArn *string `json:"sourceArn,omitempty" tf:"source_arn,omitempty"`

	// Reference to a Bus in cloudwatchevents to populate sourceArn.
	// +kubebuilder:validation:Optional
	SourceArnRef *v1.Reference `json:"sourceArnRef,omitempty" tf:"-"`

	// Selector for a Bus in cloudwatchevents to populate sourceArn.
	// +kubebuilder:validation:Optional
	SourceArnSelector *v1.Selector `json:"sourceArnSelector,omitempty" tf:"-"`

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

func (*DiscovererInitParameters) DeepCopy added in v0.38.0

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

func (*DiscovererInitParameters) DeepCopyInto added in v0.38.0

func (in *DiscovererInitParameters) DeepCopyInto(out *DiscovererInitParameters)

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

type DiscovererList

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

DiscovererList contains a list of Discoverers

func (*DiscovererList) DeepCopy

func (in *DiscovererList) DeepCopy() *DiscovererList

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

func (*DiscovererList) DeepCopyInto

func (in *DiscovererList) DeepCopyInto(out *DiscovererList)

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

func (*DiscovererList) DeepCopyObject

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

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

func (*DiscovererList) GetItems

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

GetItems of this DiscovererList.

type DiscovererObservation

type DiscovererObservation struct {

	// The Amazon Resource Name (ARN) of the discoverer.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The description of the discoverer. Maximum of 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// The ARN of the event bus to discover event schemas on.
	SourceArn *string `json:"sourceArn,omitempty" tf:"source_arn,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	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.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*DiscovererObservation) DeepCopy

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

func (*DiscovererObservation) DeepCopyInto

func (in *DiscovererObservation) DeepCopyInto(out *DiscovererObservation)

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

type DiscovererParameters

type DiscovererParameters struct {

	// The description of the discoverer. Maximum of 256 characters.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,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:"-"`

	// The ARN of the event bus to discover event schemas on.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/cloudwatchevents/v1beta1.Bus
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	SourceArn *string `json:"sourceArn,omitempty" tf:"source_arn,omitempty"`

	// Reference to a Bus in cloudwatchevents to populate sourceArn.
	// +kubebuilder:validation:Optional
	SourceArnRef *v1.Reference `json:"sourceArnRef,omitempty" tf:"-"`

	// Selector for a Bus in cloudwatchevents to populate sourceArn.
	// +kubebuilder:validation:Optional
	SourceArnSelector *v1.Selector `json:"sourceArnSelector,omitempty" tf:"-"`

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

func (*DiscovererParameters) DeepCopy

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

func (*DiscovererParameters) DeepCopyInto

func (in *DiscovererParameters) DeepCopyInto(out *DiscovererParameters)

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

type DiscovererSpec

type DiscovererSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DiscovererParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider DiscovererInitParameters `json:"initProvider,omitempty"`
}

DiscovererSpec defines the desired state of Discoverer

func (*DiscovererSpec) DeepCopy

func (in *DiscovererSpec) DeepCopy() *DiscovererSpec

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

func (*DiscovererSpec) DeepCopyInto

func (in *DiscovererSpec) DeepCopyInto(out *DiscovererSpec)

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

type DiscovererStatus

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

DiscovererStatus defines the observed state of Discoverer.

func (*DiscovererStatus) DeepCopy

func (in *DiscovererStatus) DeepCopy() *DiscovererStatus

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

func (*DiscovererStatus) DeepCopyInto

func (in *DiscovererStatus) DeepCopyInto(out *DiscovererStatus)

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

type Registry

type Registry struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RegistrySpec   `json:"spec"`
	Status            RegistryStatus `json:"status,omitempty"`
}

Registry is the Schema for the Registrys API. Provides an EventBridge Custom Schema Registry resource. +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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Registry) DeepCopy

func (in *Registry) DeepCopy() *Registry

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

func (*Registry) DeepCopyInto

func (in *Registry) DeepCopyInto(out *Registry)

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

func (*Registry) DeepCopyObject

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

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

func (*Registry) GetCondition

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

GetCondition of this Registry.

func (*Registry) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Registry

func (*Registry) GetDeletionPolicy

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

GetDeletionPolicy of this Registry.

func (*Registry) GetID

func (tr *Registry) GetID() string

GetID returns ID of underlying Terraform resource of this Registry

func (*Registry) GetInitParameters added in v0.38.0

func (tr *Registry) GetInitParameters() (map[string]any, error)

GetInitParameters of this Registry

func (*Registry) GetManagementPolicies added in v0.38.0

func (mg *Registry) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Registry.

func (*Registry) GetMergedParameters added in v0.44.0

func (tr *Registry) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Registry

func (*Registry) GetObservation

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

GetObservation of this Registry

func (*Registry) GetParameters

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

GetParameters of this Registry

func (*Registry) GetProviderConfigReference

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

GetProviderConfigReference of this Registry.

func (*Registry) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Registry.

func (*Registry) GetTerraformResourceType

func (mg *Registry) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Registry

func (*Registry) GetTerraformSchemaVersion

func (tr *Registry) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Registry) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Registry.

func (*Registry) Hub added in v0.47.2

func (tr *Registry) Hub()

Hub marks this type as a conversion hub.

func (*Registry) LateInitialize

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

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

func (*Registry) SetConditions

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

SetConditions of this Registry.

func (*Registry) SetDeletionPolicy

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

SetDeletionPolicy of this Registry.

func (*Registry) SetManagementPolicies added in v0.38.0

func (mg *Registry) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Registry.

func (*Registry) SetObservation

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

SetObservation for this Registry

func (*Registry) SetParameters

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

SetParameters for this Registry

func (*Registry) SetProviderConfigReference

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

SetProviderConfigReference of this Registry.

func (*Registry) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Registry.

func (*Registry) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Registry.

type RegistryInitParameters added in v0.38.0

type RegistryInitParameters struct {

	// The description of the discoverer. Maximum of 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

func (*RegistryInitParameters) DeepCopy added in v0.38.0

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

func (*RegistryInitParameters) DeepCopyInto added in v0.38.0

func (in *RegistryInitParameters) DeepCopyInto(out *RegistryInitParameters)

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

type RegistryList

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

RegistryList contains a list of Registrys

func (*RegistryList) DeepCopy

func (in *RegistryList) DeepCopy() *RegistryList

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

func (*RegistryList) DeepCopyInto

func (in *RegistryList) DeepCopyInto(out *RegistryList)

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

func (*RegistryList) DeepCopyObject

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

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

func (*RegistryList) GetItems

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

GetItems of this RegistryList.

type RegistryObservation

type RegistryObservation struct {

	// The Amazon Resource Name (ARN) of the discoverer.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The description of the discoverer. Maximum of 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// Key-value map of resource tags.
	// +mapType=granular
	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.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*RegistryObservation) DeepCopy

func (in *RegistryObservation) DeepCopy() *RegistryObservation

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

func (*RegistryObservation) DeepCopyInto

func (in *RegistryObservation) DeepCopyInto(out *RegistryObservation)

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

type RegistryParameters

type RegistryParameters struct {

	// The description of the discoverer. Maximum of 256 characters.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,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
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*RegistryParameters) DeepCopy

func (in *RegistryParameters) DeepCopy() *RegistryParameters

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

func (*RegistryParameters) DeepCopyInto

func (in *RegistryParameters) DeepCopyInto(out *RegistryParameters)

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

type RegistrySpec

type RegistrySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RegistryParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider RegistryInitParameters `json:"initProvider,omitempty"`
}

RegistrySpec defines the desired state of Registry

func (*RegistrySpec) DeepCopy

func (in *RegistrySpec) DeepCopy() *RegistrySpec

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

func (*RegistrySpec) DeepCopyInto

func (in *RegistrySpec) DeepCopyInto(out *RegistrySpec)

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

type RegistryStatus

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

RegistryStatus defines the observed state of Registry.

func (*RegistryStatus) DeepCopy

func (in *RegistryStatus) DeepCopy() *RegistryStatus

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

func (*RegistryStatus) DeepCopyInto

func (in *RegistryStatus) DeepCopyInto(out *RegistryStatus)

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

type Schema

type Schema struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter"
	Spec   SchemaSpec   `json:"spec"`
	Status SchemaStatus `json:"status,omitempty"`
}

Schema is the Schema for the Schemas API. Provides an EventBridge Schema resource. +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:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Schema) DeepCopy

func (in *Schema) DeepCopy() *Schema

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

func (*Schema) DeepCopyInto

func (in *Schema) DeepCopyInto(out *Schema)

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

func (*Schema) DeepCopyObject

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

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

func (*Schema) GetCondition

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

GetCondition of this Schema.

func (*Schema) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Schema

func (*Schema) GetDeletionPolicy

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

GetDeletionPolicy of this Schema.

func (*Schema) GetID

func (tr *Schema) GetID() string

GetID returns ID of underlying Terraform resource of this Schema

func (*Schema) GetInitParameters added in v0.38.0

func (tr *Schema) GetInitParameters() (map[string]any, error)

GetInitParameters of this Schema

func (*Schema) GetManagementPolicies added in v0.38.0

func (mg *Schema) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Schema.

func (*Schema) GetMergedParameters added in v0.44.0

func (tr *Schema) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Schema

func (*Schema) GetObservation

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

GetObservation of this Schema

func (*Schema) GetParameters

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

GetParameters of this Schema

func (*Schema) GetProviderConfigReference

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

GetProviderConfigReference of this Schema.

func (*Schema) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Schema.

func (*Schema) GetTerraformResourceType

func (mg *Schema) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Schema

func (*Schema) GetTerraformSchemaVersion

func (tr *Schema) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Schema) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Schema.

func (*Schema) Hub added in v0.47.2

func (tr *Schema) Hub()

Hub marks this type as a conversion hub.

func (*Schema) LateInitialize

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

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

func (*Schema) ResolveReferences

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

ResolveReferences of this Schema.

func (*Schema) SetConditions

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

SetConditions of this Schema.

func (*Schema) SetDeletionPolicy

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

SetDeletionPolicy of this Schema.

func (*Schema) SetManagementPolicies added in v0.38.0

func (mg *Schema) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Schema.

func (*Schema) SetObservation

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

SetObservation for this Schema

func (*Schema) SetParameters

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

SetParameters for this Schema

func (*Schema) SetProviderConfigReference

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

SetProviderConfigReference of this Schema.

func (*Schema) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Schema.

func (*Schema) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Schema.

type SchemaInitParameters added in v0.38.0

type SchemaInitParameters struct {

	// The schema specification. Must be a valid Open API 3.0 spec.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// The description of the schema. Maximum of 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the registry in which this schema belongs.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/schemas/v1beta1.Registry
	RegistryName *string `json:"registryName,omitempty" tf:"registry_name,omitempty"`

	// Reference to a Registry in schemas to populate registryName.
	// +kubebuilder:validation:Optional
	RegistryNameRef *v1.Reference `json:"registryNameRef,omitempty" tf:"-"`

	// Selector for a Registry in schemas to populate registryName.
	// +kubebuilder:validation:Optional
	RegistryNameSelector *v1.Selector `json:"registryNameSelector,omitempty" tf:"-"`

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

	// The type of the schema. Valid values: OpenApi3 or JSONSchemaDraft4.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SchemaInitParameters) DeepCopy added in v0.38.0

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

func (*SchemaInitParameters) DeepCopyInto added in v0.38.0

func (in *SchemaInitParameters) DeepCopyInto(out *SchemaInitParameters)

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

type SchemaList

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

SchemaList contains a list of Schemas

func (*SchemaList) DeepCopy

func (in *SchemaList) DeepCopy() *SchemaList

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

func (*SchemaList) DeepCopyInto

func (in *SchemaList) DeepCopyInto(out *SchemaList)

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

func (*SchemaList) DeepCopyObject

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

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

func (*SchemaList) GetItems

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

GetItems of this SchemaList.

type SchemaObservation

type SchemaObservation struct {

	// The Amazon Resource Name (ARN) of the discoverer.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The schema specification. Must be a valid Open API 3.0 spec.
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// The description of the schema. Maximum of 256 characters.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

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

	// The last modified date of the schema.
	LastModified *string `json:"lastModified,omitempty" tf:"last_modified,omitempty"`

	// The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// The name of the registry in which this schema belongs.
	RegistryName *string `json:"registryName,omitempty" tf:"registry_name,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	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.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	// The type of the schema. Valid values: OpenApi3 or JSONSchemaDraft4.
	Type *string `json:"type,omitempty" tf:"type,omitempty"`

	// The version of the schema.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`

	// The created date of the version of the schema.
	VersionCreatedDate *string `json:"versionCreatedDate,omitempty" tf:"version_created_date,omitempty"`
}

func (*SchemaObservation) DeepCopy

func (in *SchemaObservation) DeepCopy() *SchemaObservation

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

func (*SchemaObservation) DeepCopyInto

func (in *SchemaObservation) DeepCopyInto(out *SchemaObservation)

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

type SchemaParameters

type SchemaParameters struct {

	// The schema specification. Must be a valid Open API 3.0 spec.
	// +kubebuilder:validation:Optional
	Content *string `json:"content,omitempty" tf:"content,omitempty"`

	// The description of the schema. Maximum of 256 characters.
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The name of the schema. Maximum of 385 characters consisting of lower case letters, upper case letters, ., -, _, @.
	// +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:"-"`

	// The name of the registry in which this schema belongs.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/schemas/v1beta1.Registry
	// +kubebuilder:validation:Optional
	RegistryName *string `json:"registryName,omitempty" tf:"registry_name,omitempty"`

	// Reference to a Registry in schemas to populate registryName.
	// +kubebuilder:validation:Optional
	RegistryNameRef *v1.Reference `json:"registryNameRef,omitempty" tf:"-"`

	// Selector for a Registry in schemas to populate registryName.
	// +kubebuilder:validation:Optional
	RegistryNameSelector *v1.Selector `json:"registryNameSelector,omitempty" tf:"-"`

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

	// The type of the schema. Valid values: OpenApi3 or JSONSchemaDraft4.
	// +kubebuilder:validation:Optional
	Type *string `json:"type,omitempty" tf:"type,omitempty"`
}

func (*SchemaParameters) DeepCopy

func (in *SchemaParameters) DeepCopy() *SchemaParameters

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

func (*SchemaParameters) DeepCopyInto

func (in *SchemaParameters) DeepCopyInto(out *SchemaParameters)

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

type SchemaSpec

type SchemaSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     SchemaParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider SchemaInitParameters `json:"initProvider,omitempty"`
}

SchemaSpec defines the desired state of Schema

func (*SchemaSpec) DeepCopy

func (in *SchemaSpec) DeepCopy() *SchemaSpec

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

func (*SchemaSpec) DeepCopyInto

func (in *SchemaSpec) DeepCopyInto(out *SchemaSpec)

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

type SchemaStatus

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

SchemaStatus defines the observed state of Schema.

func (*SchemaStatus) DeepCopy

func (in *SchemaStatus) DeepCopy() *SchemaStatus

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

func (*SchemaStatus) DeepCopyInto

func (in *SchemaStatus) DeepCopyInto(out *SchemaStatus)

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