v1beta1

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

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 (
	ResourceShare_Kind             = "ResourceShare"
	ResourceShare_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: ResourceShare_Kind}.String()
	ResourceShare_KindAPIVersion   = ResourceShare_Kind + "." + CRDGroupVersion.String()
	ResourceShare_GroupVersionKind = CRDGroupVersion.WithKind(ResourceShare_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ResourceShare

type ResourceShare struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ResourceShareSpec   `json:"spec"`
	Status            ResourceShareStatus `json:"status,omitempty"`
}

ResourceShare is the Schema for the ResourceShares API. Manages a Resource Access Manager (RAM) Resource Share. +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 (*ResourceShare) DeepCopy

func (in *ResourceShare) DeepCopy() *ResourceShare

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

func (*ResourceShare) DeepCopyInto

func (in *ResourceShare) DeepCopyInto(out *ResourceShare)

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

func (*ResourceShare) DeepCopyObject

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

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

func (*ResourceShare) GetCondition

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

GetCondition of this ResourceShare.

func (*ResourceShare) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this ResourceShare

func (*ResourceShare) GetDeletionPolicy

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

GetDeletionPolicy of this ResourceShare.

func (*ResourceShare) GetID

func (tr *ResourceShare) GetID() string

GetID returns ID of underlying Terraform resource of this ResourceShare

func (*ResourceShare) GetObservation

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

GetObservation of this ResourceShare

func (*ResourceShare) GetParameters

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

GetParameters of this ResourceShare

func (*ResourceShare) GetProviderConfigReference

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

GetProviderConfigReference of this ResourceShare.

func (*ResourceShare) GetProviderReference

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

GetProviderReference of this ResourceShare. Deprecated: Use GetProviderConfigReference.

func (*ResourceShare) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this ResourceShare.

func (*ResourceShare) GetTerraformResourceType

func (mg *ResourceShare) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this ResourceShare

func (*ResourceShare) GetTerraformSchemaVersion

func (tr *ResourceShare) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*ResourceShare) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this ResourceShare.

func (*ResourceShare) LateInitialize

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

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

func (*ResourceShare) SetConditions

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

SetConditions of this ResourceShare.

func (*ResourceShare) SetDeletionPolicy

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

SetDeletionPolicy of this ResourceShare.

func (*ResourceShare) SetObservation

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

SetObservation for this ResourceShare

func (*ResourceShare) SetParameters

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

SetParameters for this ResourceShare

func (*ResourceShare) SetProviderConfigReference

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

SetProviderConfigReference of this ResourceShare.

func (*ResourceShare) SetProviderReference

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

SetProviderReference of this ResourceShare. Deprecated: Use SetProviderConfigReference.

func (*ResourceShare) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this ResourceShare.

func (*ResourceShare) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this ResourceShare.

type ResourceShareList

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

ResourceShareList contains a list of ResourceShares

func (*ResourceShareList) DeepCopy

func (in *ResourceShareList) DeepCopy() *ResourceShareList

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

func (*ResourceShareList) DeepCopyInto

func (in *ResourceShareList) DeepCopyInto(out *ResourceShareList)

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

func (*ResourceShareList) DeepCopyObject

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

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

func (*ResourceShareList) GetItems

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

GetItems of this ResourceShareList.

type ResourceShareObservation

type ResourceShareObservation struct {

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

	// The Amazon Resource Name (ARN) of the resource share.
	ID *string `json:"id,omitempty" tf:"id,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 (*ResourceShareObservation) DeepCopy

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

func (*ResourceShareObservation) DeepCopyInto

func (in *ResourceShareObservation) DeepCopyInto(out *ResourceShareObservation)

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

type ResourceShareParameters

type ResourceShareParameters struct {

	// Indicates whether principals outside your organization can be associated with a resource share.
	// +kubebuilder:validation:Optional
	AllowExternalPrincipals *bool `json:"allowExternalPrincipals,omitempty" tf:"allow_external_principals,omitempty"`

	// The name of the resource share.
	// +kubebuilder:validation:Required
	Name *string `json:"name" 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 (*ResourceShareParameters) DeepCopy

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

func (*ResourceShareParameters) DeepCopyInto

func (in *ResourceShareParameters) DeepCopyInto(out *ResourceShareParameters)

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

type ResourceShareSpec

type ResourceShareSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ResourceShareParameters `json:"forProvider"`
}

ResourceShareSpec defines the desired state of ResourceShare

func (*ResourceShareSpec) DeepCopy

func (in *ResourceShareSpec) DeepCopy() *ResourceShareSpec

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

func (*ResourceShareSpec) DeepCopyInto

func (in *ResourceShareSpec) DeepCopyInto(out *ResourceShareSpec)

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

type ResourceShareStatus

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

ResourceShareStatus defines the observed state of ResourceShare.

func (*ResourceShareStatus) DeepCopy

func (in *ResourceShareStatus) DeepCopy() *ResourceShareStatus

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

func (*ResourceShareStatus) DeepCopyInto

func (in *ResourceShareStatus) DeepCopyInto(out *ResourceShareStatus)

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