v1beta1

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Domain_Kind             = "Domain"
	Domain_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Domain_Kind}.String()
	Domain_KindAPIVersion   = Domain_Kind + "." + CRDGroupVersion.String()
	Domain_GroupVersionKind = CRDGroupVersion.WithKind(Domain_Kind)
)

Repository type metadata.

View Source
var (
	DomainPermissionsPolicy_Kind             = "DomainPermissionsPolicy"
	DomainPermissionsPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: DomainPermissionsPolicy_Kind}.String()
	DomainPermissionsPolicy_KindAPIVersion   = DomainPermissionsPolicy_Kind + "." + CRDGroupVersion.String()
	DomainPermissionsPolicy_GroupVersionKind = CRDGroupVersion.WithKind(DomainPermissionsPolicy_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 (
	Repository_Kind             = "Repository"
	Repository_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Repository_Kind}.String()
	Repository_KindAPIVersion   = Repository_Kind + "." + CRDGroupVersion.String()
	Repository_GroupVersionKind = CRDGroupVersion.WithKind(Repository_Kind)
)

Repository type metadata.

View Source
var (
	RepositoryPermissionsPolicy_Kind             = "RepositoryPermissionsPolicy"
	RepositoryPermissionsPolicy_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: RepositoryPermissionsPolicy_Kind}.String()
	RepositoryPermissionsPolicy_KindAPIVersion   = RepositoryPermissionsPolicy_Kind + "." + CRDGroupVersion.String()
	RepositoryPermissionsPolicy_GroupVersionKind = CRDGroupVersion.WithKind(RepositoryPermissionsPolicy_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Domain

type Domain 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.domain) || (has(self.initProvider) && has(self.initProvider.domain))",message="spec.forProvider.domain is a required parameter"
	Spec   DomainSpec   `json:"spec"`
	Status DomainStatus `json:"status,omitempty"`
}

Domain is the Schema for the Domains API. Provides a CodeArtifact Domain resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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 (*Domain) DeepCopy

func (in *Domain) DeepCopy() *Domain

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

func (*Domain) DeepCopyInto

func (in *Domain) DeepCopyInto(out *Domain)

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

func (*Domain) DeepCopyObject

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

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

func (*Domain) GetCondition

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

GetCondition of this Domain.

func (*Domain) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Domain

func (*Domain) GetDeletionPolicy

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

GetDeletionPolicy of this Domain.

func (*Domain) GetID

func (tr *Domain) GetID() string

GetID returns ID of underlying Terraform resource of this Domain

func (*Domain) GetInitParameters

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

GetInitParameters of this Domain

func (*Domain) GetManagementPolicies

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

GetManagementPolicies of this Domain.

func (*Domain) GetMergedParameters

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

GetInitParameters of this Domain

func (*Domain) GetObservation

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

GetObservation of this Domain

func (*Domain) GetParameters

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

GetParameters of this Domain

func (*Domain) GetProviderConfigReference

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

GetProviderConfigReference of this Domain.

func (*Domain) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Domain.

func (*Domain) GetTerraformResourceType

func (mg *Domain) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Domain

func (*Domain) GetTerraformSchemaVersion

func (tr *Domain) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Domain) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Domain.

func (*Domain) Hub

func (tr *Domain) Hub()

Hub marks this type as a conversion hub.

func (*Domain) LateInitialize

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

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

func (*Domain) ResolveReferences

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

func (*Domain) SetConditions

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

SetConditions of this Domain.

func (*Domain) SetDeletionPolicy

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

SetDeletionPolicy of this Domain.

func (*Domain) SetManagementPolicies

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

SetManagementPolicies of this Domain.

func (*Domain) SetObservation

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

SetObservation for this Domain

func (*Domain) SetParameters

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

SetParameters for this Domain

func (*Domain) SetProviderConfigReference

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

SetProviderConfigReference of this Domain.

func (*Domain) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Domain.

func (*Domain) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Domain.

type DomainInitParameters

type DomainInitParameters struct {

	// The name of the domain to create. All domain names in an AWS Region that are in the same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The encryption key for the domain. This is used to encrypt content stored in a domain. The KMS Key Amazon Resource Name (ARN). The default aws/codeartifact AWS KMS master key is used if this element is absent.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	EncryptionKey *string `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"`

	// Reference to a Key in kms to populate encryptionKey.
	// +kubebuilder:validation:Optional
	EncryptionKeyRef *v1.Reference `json:"encryptionKeyRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate encryptionKey.
	// +kubebuilder:validation:Optional
	EncryptionKeySelector *v1.Selector `json:"encryptionKeySelector,omitempty" tf:"-"`

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

func (*DomainInitParameters) DeepCopy

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

func (*DomainInitParameters) DeepCopyInto

func (in *DomainInitParameters) DeepCopyInto(out *DomainInitParameters)

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

type DomainList

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

DomainList contains a list of Domains

func (*DomainList) DeepCopy

func (in *DomainList) DeepCopy() *DomainList

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

func (*DomainList) DeepCopyInto

func (in *DomainList) DeepCopyInto(out *DomainList)

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

func (*DomainList) DeepCopyObject

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

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

func (*DomainList) GetItems

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

GetItems of this DomainList.

type DomainObservation

type DomainObservation struct {

	// The ARN of the Domain.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The total size of all assets in the domain.
	AssetSizeBytes *string `json:"assetSizeBytes,omitempty" tf:"asset_size_bytes,omitempty"`

	// A timestamp that represents the date and time the domain was created in RFC3339 format.
	CreatedTime *string `json:"createdTime,omitempty" tf:"created_time,omitempty"`

	// The name of the domain to create. All domain names in an AWS Region that are in the same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The encryption key for the domain. This is used to encrypt content stored in a domain. The KMS Key Amazon Resource Name (ARN). The default aws/codeartifact AWS KMS master key is used if this element is absent.
	EncryptionKey *string `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"`

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

	// The AWS account ID that owns the domain.
	Owner *string `json:"owner,omitempty" tf:"owner,omitempty"`

	// The number of repositories in the domain.
	RepositoryCount *float64 `json:"repositoryCount,omitempty" tf:"repository_count,omitempty"`

	// The ARN of the Amazon S3 bucket that is used to store package assets in the domain.
	S3BucketArn *string `json:"s3BucketArn,omitempty" tf:"s3_bucket_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 (*DomainObservation) DeepCopy

func (in *DomainObservation) DeepCopy() *DomainObservation

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

func (*DomainObservation) DeepCopyInto

func (in *DomainObservation) DeepCopyInto(out *DomainObservation)

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

type DomainParameters

type DomainParameters struct {

	// The name of the domain to create. All domain names in an AWS Region that are in the same AWS account must be unique. The domain name is used as the prefix in DNS hostnames. Do not use sensitive information in a domain name because it is publicly discoverable.
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The encryption key for the domain. This is used to encrypt content stored in a domain. The KMS Key Amazon Resource Name (ARN). The default aws/codeartifact AWS KMS master key is used if this element is absent.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/kms/v1beta1.Key
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	EncryptionKey *string `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"`

	// Reference to a Key in kms to populate encryptionKey.
	// +kubebuilder:validation:Optional
	EncryptionKeyRef *v1.Reference `json:"encryptionKeyRef,omitempty" tf:"-"`

	// Selector for a Key in kms to populate encryptionKey.
	// +kubebuilder:validation:Optional
	EncryptionKeySelector *v1.Selector `json:"encryptionKeySelector,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
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*DomainParameters) DeepCopy

func (in *DomainParameters) DeepCopy() *DomainParameters

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

func (*DomainParameters) DeepCopyInto

func (in *DomainParameters) DeepCopyInto(out *DomainParameters)

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

type DomainPermissionsPolicy

type DomainPermissionsPolicy 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.policyDocument) || (has(self.initProvider) && has(self.initProvider.policyDocument))",message="spec.forProvider.policyDocument is a required parameter"
	Spec   DomainPermissionsPolicySpec   `json:"spec"`
	Status DomainPermissionsPolicyStatus `json:"status,omitempty"`
}

DomainPermissionsPolicy is the Schema for the DomainPermissionsPolicys API. Provides a CodeArtifact Domain Permissions Policy resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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 (*DomainPermissionsPolicy) DeepCopy

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

func (*DomainPermissionsPolicy) DeepCopyInto

func (in *DomainPermissionsPolicy) DeepCopyInto(out *DomainPermissionsPolicy)

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

func (*DomainPermissionsPolicy) DeepCopyObject

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

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

func (*DomainPermissionsPolicy) GetCondition

GetCondition of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this DomainPermissionsPolicy

func (*DomainPermissionsPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) GetID

func (tr *DomainPermissionsPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this DomainPermissionsPolicy

func (*DomainPermissionsPolicy) GetInitParameters

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

GetInitParameters of this DomainPermissionsPolicy

func (*DomainPermissionsPolicy) GetManagementPolicies

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

GetManagementPolicies of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) GetMergedParameters

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

GetInitParameters of this DomainPermissionsPolicy

func (*DomainPermissionsPolicy) GetObservation

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

GetObservation of this DomainPermissionsPolicy

func (*DomainPermissionsPolicy) GetParameters

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

GetParameters of this DomainPermissionsPolicy

func (*DomainPermissionsPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) GetTerraformResourceType

func (mg *DomainPermissionsPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this DomainPermissionsPolicy

func (*DomainPermissionsPolicy) GetTerraformSchemaVersion

func (tr *DomainPermissionsPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*DomainPermissionsPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) Hub

func (tr *DomainPermissionsPolicy) Hub()

Hub marks this type as a conversion hub.

func (*DomainPermissionsPolicy) LateInitialize

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

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

func (*DomainPermissionsPolicy) ResolveReferences

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

ResolveReferences of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) SetConditions

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

SetConditions of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) SetManagementPolicies

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

SetManagementPolicies of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) SetObservation

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

SetObservation for this DomainPermissionsPolicy

func (*DomainPermissionsPolicy) SetParameters

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

SetParameters for this DomainPermissionsPolicy

func (*DomainPermissionsPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this DomainPermissionsPolicy.

func (*DomainPermissionsPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this DomainPermissionsPolicy.

type DomainPermissionsPolicyInitParameters

type DomainPermissionsPolicyInitParameters struct {

	// The account number of the AWS account that owns the domain.
	DomainOwner *string `json:"domainOwner,omitempty" tf:"domain_owner,omitempty"`

	// A JSON policy string to be set as the access control resource policy on the provided domain.
	PolicyDocument *string `json:"policyDocument,omitempty" tf:"policy_document,omitempty"`

	// The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
	PolicyRevision *string `json:"policyRevision,omitempty" tf:"policy_revision,omitempty"`
}

func (*DomainPermissionsPolicyInitParameters) DeepCopy

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

func (*DomainPermissionsPolicyInitParameters) DeepCopyInto

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

type DomainPermissionsPolicyList

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

DomainPermissionsPolicyList contains a list of DomainPermissionsPolicys

func (*DomainPermissionsPolicyList) DeepCopy

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

func (*DomainPermissionsPolicyList) DeepCopyInto

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

func (*DomainPermissionsPolicyList) DeepCopyObject

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

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

func (*DomainPermissionsPolicyList) GetItems

GetItems of this DomainPermissionsPolicyList.

type DomainPermissionsPolicyObservation

type DomainPermissionsPolicyObservation struct {

	// The name of the domain on which to set the resource policy.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The account number of the AWS account that owns the domain.
	DomainOwner *string `json:"domainOwner,omitempty" tf:"domain_owner,omitempty"`

	// The Name of Domain.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A JSON policy string to be set as the access control resource policy on the provided domain.
	PolicyDocument *string `json:"policyDocument,omitempty" tf:"policy_document,omitempty"`

	// The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
	PolicyRevision *string `json:"policyRevision,omitempty" tf:"policy_revision,omitempty"`

	// The ARN of the resource associated with the resource policy.
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`
}

func (*DomainPermissionsPolicyObservation) DeepCopy

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

func (*DomainPermissionsPolicyObservation) DeepCopyInto

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

type DomainPermissionsPolicyParameters

type DomainPermissionsPolicyParameters struct {

	// The name of the domain on which to set the resource policy.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codeartifact/v1beta1.Domain
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("domain",true)
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The account number of the AWS account that owns the domain.
	// +kubebuilder:validation:Optional
	DomainOwner *string `json:"domainOwner,omitempty" tf:"domain_owner,omitempty"`

	// Reference to a Domain in codeartifact to populate domain.
	// +kubebuilder:validation:Optional
	DomainRef *v1.Reference `json:"domainRef,omitempty" tf:"-"`

	// Selector for a Domain in codeartifact to populate domain.
	// +kubebuilder:validation:Optional
	DomainSelector *v1.Selector `json:"domainSelector,omitempty" tf:"-"`

	// A JSON policy string to be set as the access control resource policy on the provided domain.
	// +kubebuilder:validation:Optional
	PolicyDocument *string `json:"policyDocument,omitempty" tf:"policy_document,omitempty"`

	// The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
	// +kubebuilder:validation:Optional
	PolicyRevision *string `json:"policyRevision,omitempty" tf:"policy_revision,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:"-"`
}

func (*DomainPermissionsPolicyParameters) DeepCopy

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

func (*DomainPermissionsPolicyParameters) DeepCopyInto

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

type DomainPermissionsPolicySpec

type DomainPermissionsPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DomainPermissionsPolicyParameters `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 DomainPermissionsPolicyInitParameters `json:"initProvider,omitempty"`
}

DomainPermissionsPolicySpec defines the desired state of DomainPermissionsPolicy

func (*DomainPermissionsPolicySpec) DeepCopy

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

func (*DomainPermissionsPolicySpec) DeepCopyInto

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

type DomainPermissionsPolicyStatus

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

DomainPermissionsPolicyStatus defines the observed state of DomainPermissionsPolicy.

func (*DomainPermissionsPolicyStatus) DeepCopy

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

func (*DomainPermissionsPolicyStatus) DeepCopyInto

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

type DomainSpec

type DomainSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DomainParameters `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 DomainInitParameters `json:"initProvider,omitempty"`
}

DomainSpec defines the desired state of Domain

func (*DomainSpec) DeepCopy

func (in *DomainSpec) DeepCopy() *DomainSpec

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

func (*DomainSpec) DeepCopyInto

func (in *DomainSpec) DeepCopyInto(out *DomainSpec)

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

type DomainStatus

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

DomainStatus defines the observed state of Domain.

func (*DomainStatus) DeepCopy

func (in *DomainStatus) DeepCopy() *DomainStatus

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

func (*DomainStatus) DeepCopyInto

func (in *DomainStatus) DeepCopyInto(out *DomainStatus)

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

type ExternalConnectionsInitParameters

type ExternalConnectionsInitParameters struct {

	// The name of the external connection associated with a repository.
	ExternalConnectionName *string `json:"externalConnectionName,omitempty" tf:"external_connection_name,omitempty"`
}

func (*ExternalConnectionsInitParameters) DeepCopy

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

func (*ExternalConnectionsInitParameters) DeepCopyInto

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

type ExternalConnectionsObservation

type ExternalConnectionsObservation struct {

	// The name of the external connection associated with a repository.
	ExternalConnectionName *string `json:"externalConnectionName,omitempty" tf:"external_connection_name,omitempty"`

	PackageFormat *string `json:"packageFormat,omitempty" tf:"package_format,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*ExternalConnectionsObservation) DeepCopy

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

func (*ExternalConnectionsObservation) DeepCopyInto

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

type ExternalConnectionsParameters

type ExternalConnectionsParameters struct {

	// The name of the external connection associated with a repository.
	// +kubebuilder:validation:Optional
	ExternalConnectionName *string `json:"externalConnectionName" tf:"external_connection_name,omitempty"`
}

func (*ExternalConnectionsParameters) DeepCopy

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

func (*ExternalConnectionsParameters) DeepCopyInto

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

type Repository

type Repository 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.repository) || (has(self.initProvider) && has(self.initProvider.repository))",message="spec.forProvider.repository is a required parameter"
	Spec   RepositorySpec   `json:"spec"`
	Status RepositoryStatus `json:"status,omitempty"`
}

Repository is the Schema for the Repositorys API. Provides a CodeArtifact Repository resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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 (*Repository) DeepCopy

func (in *Repository) DeepCopy() *Repository

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

func (*Repository) DeepCopyInto

func (in *Repository) DeepCopyInto(out *Repository)

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

func (*Repository) DeepCopyObject

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

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

func (*Repository) GetCondition

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

GetCondition of this Repository.

func (*Repository) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Repository

func (*Repository) GetDeletionPolicy

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

GetDeletionPolicy of this Repository.

func (*Repository) GetID

func (tr *Repository) GetID() string

GetID returns ID of underlying Terraform resource of this Repository

func (*Repository) GetInitParameters

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

GetInitParameters of this Repository

func (*Repository) GetManagementPolicies

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

GetManagementPolicies of this Repository.

func (*Repository) GetMergedParameters

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

GetInitParameters of this Repository

func (*Repository) GetObservation

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

GetObservation of this Repository

func (*Repository) GetParameters

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

GetParameters of this Repository

func (*Repository) GetProviderConfigReference

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

GetProviderConfigReference of this Repository.

func (*Repository) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Repository.

func (*Repository) GetTerraformResourceType

func (mg *Repository) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Repository

func (*Repository) GetTerraformSchemaVersion

func (tr *Repository) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Repository) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Repository.

func (*Repository) Hub

func (tr *Repository) Hub()

Hub marks this type as a conversion hub.

func (*Repository) LateInitialize

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

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

func (*Repository) ResolveReferences

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

ResolveReferences of this Repository.

func (*Repository) SetConditions

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

SetConditions of this Repository.

func (*Repository) SetDeletionPolicy

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

SetDeletionPolicy of this Repository.

func (*Repository) SetManagementPolicies

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

SetManagementPolicies of this Repository.

func (*Repository) SetObservation

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

SetObservation for this Repository

func (*Repository) SetParameters

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

SetParameters for this Repository

func (*Repository) SetProviderConfigReference

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

SetProviderConfigReference of this Repository.

func (*Repository) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Repository.

func (*Repository) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Repository.

type RepositoryInitParameters

type RepositoryInitParameters struct {

	// The description of the repository.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The account number of the AWS account that owns the domain.
	DomainOwner *string `json:"domainOwner,omitempty" tf:"domain_owner,omitempty"`

	// An array of external connections associated with the repository. Only one external connection can be set per repository. see External Connections.
	ExternalConnections *ExternalConnectionsInitParameters `json:"externalConnections,omitempty" tf:"external_connections,omitempty"`

	// The name of the repository to create.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

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

	// A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. see Upstream
	Upstream []UpstreamInitParameters `json:"upstream,omitempty" tf:"upstream,omitempty"`
}

func (*RepositoryInitParameters) DeepCopy

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

func (*RepositoryInitParameters) DeepCopyInto

func (in *RepositoryInitParameters) DeepCopyInto(out *RepositoryInitParameters)

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

type RepositoryList

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

RepositoryList contains a list of Repositorys

func (*RepositoryList) DeepCopy

func (in *RepositoryList) DeepCopy() *RepositoryList

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

func (*RepositoryList) DeepCopyInto

func (in *RepositoryList) DeepCopyInto(out *RepositoryList)

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

func (*RepositoryList) DeepCopyObject

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

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

func (*RepositoryList) GetItems

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

GetItems of this RepositoryList.

type RepositoryObservation

type RepositoryObservation struct {

	// The account number of the AWS account that manages the repository.
	AdministratorAccount *string `json:"administratorAccount,omitempty" tf:"administrator_account,omitempty"`

	// The ARN of the repository.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The description of the repository.
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// The domain that contains the created repository.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The account number of the AWS account that owns the domain.
	DomainOwner *string `json:"domainOwner,omitempty" tf:"domain_owner,omitempty"`

	// An array of external connections associated with the repository. Only one external connection can be set per repository. see External Connections.
	ExternalConnections *ExternalConnectionsObservation `json:"externalConnections,omitempty" tf:"external_connections,omitempty"`

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

	// The name of the repository to create.
	Repository *string `json:"repository,omitempty" tf:"repository,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"`

	// A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. see Upstream
	Upstream []UpstreamObservation `json:"upstream,omitempty" tf:"upstream,omitempty"`
}

func (*RepositoryObservation) DeepCopy

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

func (*RepositoryObservation) DeepCopyInto

func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation)

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

type RepositoryParameters

type RepositoryParameters struct {

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

	// The domain that contains the created repository.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codeartifact/v1beta1.Domain
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("domain",true)
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The account number of the AWS account that owns the domain.
	// +kubebuilder:validation:Optional
	DomainOwner *string `json:"domainOwner,omitempty" tf:"domain_owner,omitempty"`

	// Reference to a Domain in codeartifact to populate domain.
	// +kubebuilder:validation:Optional
	DomainRef *v1.Reference `json:"domainRef,omitempty" tf:"-"`

	// Selector for a Domain in codeartifact to populate domain.
	// +kubebuilder:validation:Optional
	DomainSelector *v1.Selector `json:"domainSelector,omitempty" tf:"-"`

	// An array of external connections associated with the repository. Only one external connection can be set per repository. see External Connections.
	// +kubebuilder:validation:Optional
	ExternalConnections *ExternalConnectionsParameters `json:"externalConnections,omitempty" tf:"external_connections,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 repository to create.
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

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

	// A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. see Upstream
	// +kubebuilder:validation:Optional
	Upstream []UpstreamParameters `json:"upstream,omitempty" tf:"upstream,omitempty"`
}

func (*RepositoryParameters) DeepCopy

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

func (*RepositoryParameters) DeepCopyInto

func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters)

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

type RepositoryPermissionsPolicy

type RepositoryPermissionsPolicy 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.policyDocument) || (has(self.initProvider) && has(self.initProvider.policyDocument))",message="spec.forProvider.policyDocument is a required parameter"
	Spec   RepositoryPermissionsPolicySpec   `json:"spec"`
	Status RepositoryPermissionsPolicyStatus `json:"status,omitempty"`
}

RepositoryPermissionsPolicy is the Schema for the RepositoryPermissionsPolicys API. Provides a CodeArtifact Repository Permissions Policy resource. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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 (*RepositoryPermissionsPolicy) DeepCopy

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

func (*RepositoryPermissionsPolicy) DeepCopyInto

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

func (*RepositoryPermissionsPolicy) DeepCopyObject

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

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

func (*RepositoryPermissionsPolicy) GetCondition

GetCondition of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicy) GetDeletionPolicy

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

GetDeletionPolicy of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) GetID

func (tr *RepositoryPermissionsPolicy) GetID() string

GetID returns ID of underlying Terraform resource of this RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicy) GetInitParameters

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

GetInitParameters of this RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicy) GetManagementPolicies

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

GetManagementPolicies of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) GetMergedParameters

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

GetInitParameters of this RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicy) GetObservation

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

GetObservation of this RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicy) GetParameters

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

GetParameters of this RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicy) GetProviderConfigReference

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

GetProviderConfigReference of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) GetTerraformResourceType

func (mg *RepositoryPermissionsPolicy) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicy) GetTerraformSchemaVersion

func (tr *RepositoryPermissionsPolicy) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*RepositoryPermissionsPolicy) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) Hub

func (tr *RepositoryPermissionsPolicy) Hub()

Hub marks this type as a conversion hub.

func (*RepositoryPermissionsPolicy) LateInitialize

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

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

func (*RepositoryPermissionsPolicy) ResolveReferences

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

ResolveReferences of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) SetConditions

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

SetConditions of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) SetDeletionPolicy

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

SetDeletionPolicy of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) SetManagementPolicies

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

SetManagementPolicies of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) SetObservation

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

SetObservation for this RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicy) SetParameters

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

SetParameters for this RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicy) SetProviderConfigReference

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

SetProviderConfigReference of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicy) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this RepositoryPermissionsPolicy.

type RepositoryPermissionsPolicyInitParameters

type RepositoryPermissionsPolicyInitParameters struct {

	// The account number of the AWS account that owns the domain.
	DomainOwner *string `json:"domainOwner,omitempty" tf:"domain_owner,omitempty"`

	// A JSON policy string to be set as the access control resource policy on the provided domain.
	PolicyDocument *string `json:"policyDocument,omitempty" tf:"policy_document,omitempty"`

	// The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
	PolicyRevision *string `json:"policyRevision,omitempty" tf:"policy_revision,omitempty"`
}

func (*RepositoryPermissionsPolicyInitParameters) DeepCopy

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

func (*RepositoryPermissionsPolicyInitParameters) DeepCopyInto

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

type RepositoryPermissionsPolicyList

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

RepositoryPermissionsPolicyList contains a list of RepositoryPermissionsPolicys

func (*RepositoryPermissionsPolicyList) DeepCopy

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

func (*RepositoryPermissionsPolicyList) DeepCopyInto

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

func (*RepositoryPermissionsPolicyList) DeepCopyObject

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

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

func (*RepositoryPermissionsPolicyList) GetItems

GetItems of this RepositoryPermissionsPolicyList.

type RepositoryPermissionsPolicyObservation

type RepositoryPermissionsPolicyObservation struct {

	// The name of the domain on which to set the resource policy.
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The account number of the AWS account that owns the domain.
	DomainOwner *string `json:"domainOwner,omitempty" tf:"domain_owner,omitempty"`

	// The ARN of the resource associated with the resource policy.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A JSON policy string to be set as the access control resource policy on the provided domain.
	PolicyDocument *string `json:"policyDocument,omitempty" tf:"policy_document,omitempty"`

	// The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
	PolicyRevision *string `json:"policyRevision,omitempty" tf:"policy_revision,omitempty"`

	// The name of the repository to set the resource policy on.
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// The ARN of the resource associated with the resource policy.
	ResourceArn *string `json:"resourceArn,omitempty" tf:"resource_arn,omitempty"`
}

func (*RepositoryPermissionsPolicyObservation) DeepCopy

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

func (*RepositoryPermissionsPolicyObservation) DeepCopyInto

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

type RepositoryPermissionsPolicyParameters

type RepositoryPermissionsPolicyParameters struct {

	// The name of the domain on which to set the resource policy.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codeartifact/v1beta1.Domain
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("domain",true)
	// +kubebuilder:validation:Optional
	Domain *string `json:"domain,omitempty" tf:"domain,omitempty"`

	// The account number of the AWS account that owns the domain.
	// +kubebuilder:validation:Optional
	DomainOwner *string `json:"domainOwner,omitempty" tf:"domain_owner,omitempty"`

	// Reference to a Domain in codeartifact to populate domain.
	// +kubebuilder:validation:Optional
	DomainRef *v1.Reference `json:"domainRef,omitempty" tf:"-"`

	// Selector for a Domain in codeartifact to populate domain.
	// +kubebuilder:validation:Optional
	DomainSelector *v1.Selector `json:"domainSelector,omitempty" tf:"-"`

	// A JSON policy string to be set as the access control resource policy on the provided domain.
	// +kubebuilder:validation:Optional
	PolicyDocument *string `json:"policyDocument,omitempty" tf:"policy_document,omitempty"`

	// The current revision of the resource policy to be set. This revision is used for optimistic locking, which prevents others from overwriting your changes to the domain's resource policy.
	// +kubebuilder:validation:Optional
	PolicyRevision *string `json:"policyRevision,omitempty" tf:"policy_revision,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 repository to set the resource policy on.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codeartifact/v1beta1.Repository
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("repository",true)
	// +kubebuilder:validation:Optional
	Repository *string `json:"repository,omitempty" tf:"repository,omitempty"`

	// Reference to a Repository in codeartifact to populate repository.
	// +kubebuilder:validation:Optional
	RepositoryRef *v1.Reference `json:"repositoryRef,omitempty" tf:"-"`

	// Selector for a Repository in codeartifact to populate repository.
	// +kubebuilder:validation:Optional
	RepositorySelector *v1.Selector `json:"repositorySelector,omitempty" tf:"-"`
}

func (*RepositoryPermissionsPolicyParameters) DeepCopy

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

func (*RepositoryPermissionsPolicyParameters) DeepCopyInto

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

type RepositoryPermissionsPolicySpec

type RepositoryPermissionsPolicySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RepositoryPermissionsPolicyParameters `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 RepositoryPermissionsPolicyInitParameters `json:"initProvider,omitempty"`
}

RepositoryPermissionsPolicySpec defines the desired state of RepositoryPermissionsPolicy

func (*RepositoryPermissionsPolicySpec) DeepCopy

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

func (*RepositoryPermissionsPolicySpec) DeepCopyInto

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

type RepositoryPermissionsPolicyStatus

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

RepositoryPermissionsPolicyStatus defines the observed state of RepositoryPermissionsPolicy.

func (*RepositoryPermissionsPolicyStatus) DeepCopy

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

func (*RepositoryPermissionsPolicyStatus) DeepCopyInto

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

type RepositorySpec

type RepositorySpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     RepositoryParameters `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 RepositoryInitParameters `json:"initProvider,omitempty"`
}

RepositorySpec defines the desired state of Repository

func (*RepositorySpec) DeepCopy

func (in *RepositorySpec) DeepCopy() *RepositorySpec

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

func (*RepositorySpec) DeepCopyInto

func (in *RepositorySpec) DeepCopyInto(out *RepositorySpec)

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

type RepositoryStatus

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

RepositoryStatus defines the observed state of Repository.

func (*RepositoryStatus) DeepCopy

func (in *RepositoryStatus) DeepCopy() *RepositoryStatus

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

func (*RepositoryStatus) DeepCopyInto

func (in *RepositoryStatus) DeepCopyInto(out *RepositoryStatus)

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

type UpstreamInitParameters

type UpstreamInitParameters struct {

	// The name of an upstream repository.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codeartifact/v1beta1.Repository
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("repository",false)
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`

	// Reference to a Repository in codeartifact to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameRef *v1.Reference `json:"repositoryNameRef,omitempty" tf:"-"`

	// Selector for a Repository in codeartifact to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameSelector *v1.Selector `json:"repositoryNameSelector,omitempty" tf:"-"`
}

func (*UpstreamInitParameters) DeepCopy

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

func (*UpstreamInitParameters) DeepCopyInto

func (in *UpstreamInitParameters) DeepCopyInto(out *UpstreamInitParameters)

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

type UpstreamObservation

type UpstreamObservation struct {

	// The name of an upstream repository.
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`
}

func (*UpstreamObservation) DeepCopy

func (in *UpstreamObservation) DeepCopy() *UpstreamObservation

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

func (*UpstreamObservation) DeepCopyInto

func (in *UpstreamObservation) DeepCopyInto(out *UpstreamObservation)

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

type UpstreamParameters

type UpstreamParameters struct {

	// The name of an upstream repository.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codeartifact/v1beta1.Repository
	// +crossplane:generate:reference:extractor=github.com/crossplane/upjet/pkg/resource.ExtractParamPath("repository",false)
	// +kubebuilder:validation:Optional
	RepositoryName *string `json:"repositoryName,omitempty" tf:"repository_name,omitempty"`

	// Reference to a Repository in codeartifact to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameRef *v1.Reference `json:"repositoryNameRef,omitempty" tf:"-"`

	// Selector for a Repository in codeartifact to populate repositoryName.
	// +kubebuilder:validation:Optional
	RepositoryNameSelector *v1.Selector `json:"repositoryNameSelector,omitempty" tf:"-"`
}

func (*UpstreamParameters) DeepCopy

func (in *UpstreamParameters) DeepCopy() *UpstreamParameters

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

func (*UpstreamParameters) DeepCopyInto

func (in *UpstreamParameters) DeepCopyInto(out *UpstreamParameters)

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