v1beta1

package
v0.21.0-rc.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Index

Constants

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

Package type metadata.

Variables

View Source
var (
	Codepipeline_Kind             = "Codepipeline"
	Codepipeline_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Codepipeline_Kind}.String()
	Codepipeline_KindAPIVersion   = Codepipeline_Kind + "." + CRDGroupVersion.String()
	Codepipeline_GroupVersionKind = CRDGroupVersion.WithKind(Codepipeline_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 (
	Webhook_Kind             = "Webhook"
	Webhook_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Webhook_Kind}.String()
	Webhook_KindAPIVersion   = Webhook_Kind + "." + CRDGroupVersion.String()
	Webhook_GroupVersionKind = CRDGroupVersion.WithKind(Webhook_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ActionObservation

type ActionObservation struct {
}

func (*ActionObservation) DeepCopy

func (in *ActionObservation) DeepCopy() *ActionObservation

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

func (*ActionObservation) DeepCopyInto

func (in *ActionObservation) DeepCopyInto(out *ActionObservation)

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

type ActionParameters

type ActionParameters struct {

	// A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. Possible values are Approval, Build, Deploy, Invoke, Source and Test.
	// +kubebuilder:validation:Required
	Category *string `json:"category" tf:"category,omitempty"`

	// A map of the action declaration's configuration. Configurations options for action types and providers can be found in the Pipeline Structure Reference and Action Structure Reference documentation.
	// +kubebuilder:validation:Optional
	Configuration map[string]*string `json:"configuration,omitempty" tf:"configuration,omitempty"`

	// A list of artifact names to be worked on.
	// +kubebuilder:validation:Optional
	InputArtifacts []*string `json:"inputArtifacts,omitempty" tf:"input_artifacts,omitempty"`

	// The action declaration's name.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`

	// The namespace all output variables will be accessed from.
	// +kubebuilder:validation:Optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"`

	// A list of artifact names to output. Output artifact names must be unique within a pipeline.
	// +kubebuilder:validation:Optional
	OutputArtifacts []*string `json:"outputArtifacts,omitempty" tf:"output_artifacts,omitempty"`

	// The creator of the action being called. Possible values are AWS, Custom and ThirdParty.
	// +kubebuilder:validation:Required
	Owner *string `json:"owner" tf:"owner,omitempty"`

	// The provider of the service being called by the action. Valid providers are determined by the action category. Provider names are listed in the Action Structure Reference documentation.
	// +kubebuilder:validation:Required
	Provider *string `json:"provider" tf:"provider,omitempty"`

	// The region in which to run the action.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The ARN of the IAM service role that will perform the declared action. This is assumed through the roleArn for the pipeline.
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// The order in which actions are run.
	// +kubebuilder:validation:Optional
	RunOrder *float64 `json:"runOrder,omitempty" tf:"run_order,omitempty"`

	// A string that identifies the action type.
	// +kubebuilder:validation:Required
	Version *string `json:"version" tf:"version,omitempty"`
}

func (*ActionParameters) DeepCopy

func (in *ActionParameters) DeepCopy() *ActionParameters

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

func (*ActionParameters) DeepCopyInto

func (in *ActionParameters) DeepCopyInto(out *ActionParameters)

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

type ArtifactStoreObservation

type ArtifactStoreObservation struct {
}

func (*ArtifactStoreObservation) DeepCopy

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

func (*ArtifactStoreObservation) DeepCopyInto

func (in *ArtifactStoreObservation) DeepCopyInto(out *ArtifactStoreObservation)

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

type ArtifactStoreParameters

type ArtifactStoreParameters struct {

	// The encryption key block AWS CodePipeline uses to encrypt the data in the artifact store, such as an AWS Key Management Service (AWS KMS) key. If you don't specify a key, AWS CodePipeline uses the default key for Amazon Simple Storage Service (Amazon S3). An encryption_key block is documented below.
	// +kubebuilder:validation:Optional
	EncryptionKey []EncryptionKeyParameters `json:"encryptionKey,omitempty" tf:"encryption_key,omitempty"`

	// The location where AWS CodePipeline stores artifacts for a pipeline; currently only S3 is supported.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/s3/v1beta1.Bucket
	// +kubebuilder:validation:Optional
	Location *string `json:"location,omitempty" tf:"location,omitempty"`

	// Reference to a Bucket in s3 to populate location.
	// +kubebuilder:validation:Optional
	LocationRef *v1.Reference `json:"locationRef,omitempty" tf:"-"`

	// Selector for a Bucket in s3 to populate location.
	// +kubebuilder:validation:Optional
	LocationSelector *v1.Selector `json:"locationSelector,omitempty" tf:"-"`

	// The region where the artifact store is located. Required for a cross-region CodePipeline, do not provide for a single-region CodePipeline.
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// The type of the artifact store, such as Amazon S3
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ArtifactStoreParameters) DeepCopy

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

func (*ArtifactStoreParameters) DeepCopyInto

func (in *ArtifactStoreParameters) DeepCopyInto(out *ArtifactStoreParameters)

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

type AuthenticationConfigurationObservation

type AuthenticationConfigurationObservation struct {
}

func (*AuthenticationConfigurationObservation) DeepCopy

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

func (*AuthenticationConfigurationObservation) DeepCopyInto

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

type AuthenticationConfigurationParameters

type AuthenticationConfigurationParameters struct {

	// A valid CIDR block for IP filtering. Required for IP.
	// +kubebuilder:validation:Optional
	AllowedIPRange *string `json:"allowedIpRange,omitempty" tf:"allowed_ip_range,omitempty"`

	// The shared secret for the GitHub repository webhook. Set this as secret in your github_repository_webhook's configuration block. Required for GITHUB_HMAC.
	// +kubebuilder:validation:Optional
	SecretTokenSecretRef *v1.SecretKeySelector `json:"secretTokenSecretRef,omitempty" tf:"-"`
}

func (*AuthenticationConfigurationParameters) DeepCopy

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

func (*AuthenticationConfigurationParameters) DeepCopyInto

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

type Codepipeline

type Codepipeline struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CodepipelineSpec   `json:"spec"`
	Status            CodepipelineStatus `json:"status,omitempty"`
}

Codepipeline is the Schema for the Codepipelines API. Provides a CodePipeline +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 (*Codepipeline) DeepCopy

func (in *Codepipeline) DeepCopy() *Codepipeline

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

func (*Codepipeline) DeepCopyInto

func (in *Codepipeline) DeepCopyInto(out *Codepipeline)

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

func (*Codepipeline) DeepCopyObject

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

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

func (*Codepipeline) GetCondition

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

GetCondition of this Codepipeline.

func (*Codepipeline) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Codepipeline

func (*Codepipeline) GetDeletionPolicy

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

GetDeletionPolicy of this Codepipeline.

func (*Codepipeline) GetID

func (tr *Codepipeline) GetID() string

GetID returns ID of underlying Terraform resource of this Codepipeline

func (*Codepipeline) GetObservation

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

GetObservation of this Codepipeline

func (*Codepipeline) GetParameters

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

GetParameters of this Codepipeline

func (*Codepipeline) GetProviderConfigReference

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

GetProviderConfigReference of this Codepipeline.

func (*Codepipeline) GetProviderReference

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

GetProviderReference of this Codepipeline. Deprecated: Use GetProviderConfigReference.

func (*Codepipeline) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Codepipeline.

func (*Codepipeline) GetTerraformResourceType

func (mg *Codepipeline) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Codepipeline

func (*Codepipeline) GetTerraformSchemaVersion

func (tr *Codepipeline) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Codepipeline) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Codepipeline.

func (*Codepipeline) LateInitialize

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

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

func (*Codepipeline) ResolveReferences

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

ResolveReferences of this Codepipeline.

func (*Codepipeline) SetConditions

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

SetConditions of this Codepipeline.

func (*Codepipeline) SetDeletionPolicy

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

SetDeletionPolicy of this Codepipeline.

func (*Codepipeline) SetObservation

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

SetObservation for this Codepipeline

func (*Codepipeline) SetParameters

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

SetParameters for this Codepipeline

func (*Codepipeline) SetProviderConfigReference

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

SetProviderConfigReference of this Codepipeline.

func (*Codepipeline) SetProviderReference

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

SetProviderReference of this Codepipeline. Deprecated: Use SetProviderConfigReference.

func (*Codepipeline) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Codepipeline.

func (*Codepipeline) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Codepipeline.

type CodepipelineList

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

CodepipelineList contains a list of Codepipelines

func (*CodepipelineList) DeepCopy

func (in *CodepipelineList) DeepCopy() *CodepipelineList

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

func (*CodepipelineList) DeepCopyInto

func (in *CodepipelineList) DeepCopyInto(out *CodepipelineList)

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

func (*CodepipelineList) DeepCopyObject

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

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

func (*CodepipelineList) GetItems

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

GetItems of this CodepipelineList.

type CodepipelineObservation

type CodepipelineObservation struct {

	// The codepipeline ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The codepipeline ID.
	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 (*CodepipelineObservation) DeepCopy

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

func (*CodepipelineObservation) DeepCopyInto

func (in *CodepipelineObservation) DeepCopyInto(out *CodepipelineObservation)

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

type CodepipelineParameters

type CodepipelineParameters struct {

	// One or more artifact_store blocks. Artifact stores are documented below.
	// +kubebuilder:validation:Required
	ArtifactStore []ArtifactStoreParameters `json:"artifactStore" tf:"artifact_store,omitempty"`

	// The region in which to run the action.
	// 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:"-"`

	// A service role Amazon Resource Name (ARN) that grants AWS CodePipeline permission to make calls to AWS services on your behalf.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/provider-aws/config/common.ARNExtractor()
	// +kubebuilder:validation:Optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn,omitempty"`

	// Reference to a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnRef *v1.Reference `json:"roleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate roleArn.
	// +kubebuilder:validation:Optional
	RoleArnSelector *v1.Selector `json:"roleArnSelector,omitempty" tf:"-"`

	// (Minimum of at least two stage blocks is required) A stage block. Stages are documented below.
	// +kubebuilder:validation:Required
	Stage []StageParameters `json:"stage" tf:"stage,omitempty"`

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

func (*CodepipelineParameters) DeepCopy

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

func (*CodepipelineParameters) DeepCopyInto

func (in *CodepipelineParameters) DeepCopyInto(out *CodepipelineParameters)

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

type CodepipelineSpec

type CodepipelineSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     CodepipelineParameters `json:"forProvider"`
}

CodepipelineSpec defines the desired state of Codepipeline

func (*CodepipelineSpec) DeepCopy

func (in *CodepipelineSpec) DeepCopy() *CodepipelineSpec

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

func (*CodepipelineSpec) DeepCopyInto

func (in *CodepipelineSpec) DeepCopyInto(out *CodepipelineSpec)

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

type CodepipelineStatus

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

CodepipelineStatus defines the observed state of Codepipeline.

func (*CodepipelineStatus) DeepCopy

func (in *CodepipelineStatus) DeepCopy() *CodepipelineStatus

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

func (*CodepipelineStatus) DeepCopyInto

func (in *CodepipelineStatus) DeepCopyInto(out *CodepipelineStatus)

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

type EncryptionKeyObservation

type EncryptionKeyObservation struct {
}

func (*EncryptionKeyObservation) DeepCopy

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

func (*EncryptionKeyObservation) DeepCopyInto

func (in *EncryptionKeyObservation) DeepCopyInto(out *EncryptionKeyObservation)

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

type EncryptionKeyParameters

type EncryptionKeyParameters struct {

	// The KMS key ARN or ID
	// +kubebuilder:validation:Required
	ID *string `json:"id" tf:"id,omitempty"`

	// The type of key; currently only KMS is supported
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*EncryptionKeyParameters) DeepCopy

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

func (*EncryptionKeyParameters) DeepCopyInto

func (in *EncryptionKeyParameters) DeepCopyInto(out *EncryptionKeyParameters)

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

type FilterObservation

type FilterObservation struct {
}

func (*FilterObservation) DeepCopy

func (in *FilterObservation) DeepCopy() *FilterObservation

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

func (*FilterObservation) DeepCopyInto

func (in *FilterObservation) DeepCopyInto(out *FilterObservation)

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

type FilterParameters

type FilterParameters struct {

	// The JSON path to filter on.
	// +kubebuilder:validation:Required
	JSONPath *string `json:"jsonPath" tf:"json_path,omitempty"`

	// The value to match on (e.g., refs/heads/{Branch}). See AWS docs for details.
	// +kubebuilder:validation:Required
	MatchEquals *string `json:"matchEquals" tf:"match_equals,omitempty"`
}

func (*FilterParameters) DeepCopy

func (in *FilterParameters) DeepCopy() *FilterParameters

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

func (*FilterParameters) DeepCopyInto

func (in *FilterParameters) DeepCopyInto(out *FilterParameters)

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

type StageObservation

type StageObservation struct {
}

func (*StageObservation) DeepCopy

func (in *StageObservation) DeepCopy() *StageObservation

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

func (*StageObservation) DeepCopyInto

func (in *StageObservation) DeepCopyInto(out *StageObservation)

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

type StageParameters

type StageParameters struct {

	// The action(s) to include in the stage. Defined as an action block below
	// +kubebuilder:validation:Required
	Action []ActionParameters `json:"action" tf:"action,omitempty"`

	// The name of the stage.
	// +kubebuilder:validation:Required
	Name *string `json:"name" tf:"name,omitempty"`
}

func (*StageParameters) DeepCopy

func (in *StageParameters) DeepCopy() *StageParameters

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

func (*StageParameters) DeepCopyInto

func (in *StageParameters) DeepCopyInto(out *StageParameters)

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

type Webhook

type Webhook struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              WebhookSpec   `json:"spec"`
	Status            WebhookStatus `json:"status,omitempty"`
}

Webhook is the Schema for the Webhooks API. Provides a CodePipeline Webhook +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 (*Webhook) DeepCopy

func (in *Webhook) DeepCopy() *Webhook

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

func (*Webhook) DeepCopyInto

func (in *Webhook) DeepCopyInto(out *Webhook)

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

func (*Webhook) DeepCopyObject

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

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

func (*Webhook) GetCondition

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

GetCondition of this Webhook.

func (*Webhook) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Webhook

func (*Webhook) GetDeletionPolicy

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

GetDeletionPolicy of this Webhook.

func (*Webhook) GetID

func (tr *Webhook) GetID() string

GetID returns ID of underlying Terraform resource of this Webhook

func (*Webhook) GetObservation

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

GetObservation of this Webhook

func (*Webhook) GetParameters

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

GetParameters of this Webhook

func (*Webhook) GetProviderConfigReference

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

GetProviderConfigReference of this Webhook.

func (*Webhook) GetProviderReference

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

GetProviderReference of this Webhook. Deprecated: Use GetProviderConfigReference.

func (*Webhook) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Webhook.

func (*Webhook) GetTerraformResourceType

func (mg *Webhook) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Webhook

func (*Webhook) GetTerraformSchemaVersion

func (tr *Webhook) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Webhook) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Webhook.

func (*Webhook) LateInitialize

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

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

func (*Webhook) ResolveReferences

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

ResolveReferences of this Webhook.

func (*Webhook) SetConditions

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

SetConditions of this Webhook.

func (*Webhook) SetDeletionPolicy

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

SetDeletionPolicy of this Webhook.

func (*Webhook) SetObservation

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

SetObservation for this Webhook

func (*Webhook) SetParameters

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

SetParameters for this Webhook

func (*Webhook) SetProviderConfigReference

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

SetProviderConfigReference of this Webhook.

func (*Webhook) SetProviderReference

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

SetProviderReference of this Webhook. Deprecated: Use SetProviderConfigReference.

func (*Webhook) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Webhook.

func (*Webhook) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Webhook.

type WebhookList

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

WebhookList contains a list of Webhooks

func (*WebhookList) DeepCopy

func (in *WebhookList) DeepCopy() *WebhookList

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

func (*WebhookList) DeepCopyInto

func (in *WebhookList) DeepCopyInto(out *WebhookList)

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

func (*WebhookList) DeepCopyObject

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

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

func (*WebhookList) GetItems

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

GetItems of this WebhookList.

type WebhookObservation

type WebhookObservation struct {

	// The CodePipeline webhook's ARN.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// The CodePipeline webhook's ARN.
	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"`

	// The CodePipeline webhook's URL. POST events to this endpoint to trigger the target.
	URL *string `json:"url,omitempty" tf:"url,omitempty"`
}

func (*WebhookObservation) DeepCopy

func (in *WebhookObservation) DeepCopy() *WebhookObservation

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

func (*WebhookObservation) DeepCopyInto

func (in *WebhookObservation) DeepCopyInto(out *WebhookObservation)

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

type WebhookParameters

type WebhookParameters struct {

	// The type of authentication  to use. One of IP, GITHUB_HMAC, or UNAUTHENTICATED.
	// +kubebuilder:validation:Required
	Authentication *string `json:"authentication" tf:"authentication,omitempty"`

	// An auth block. Required for IP and GITHUB_HMAC. Auth blocks are documented below.
	// +kubebuilder:validation:Optional
	AuthenticationConfiguration []AuthenticationConfigurationParameters `json:"authenticationConfiguration,omitempty" tf:"authentication_configuration,omitempty"`

	// One or more filter blocks. Filter blocks are documented below.
	// +kubebuilder:validation:Required
	Filter []FilterParameters `json:"filter" tf:"filter,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"`

	// The name of the action in a pipeline you want to connect to the webhook. The action must be from the source (first) stage of the pipeline.
	// +kubebuilder:validation:Required
	TargetAction *string `json:"targetAction" tf:"target_action,omitempty"`

	// The name of the pipeline.
	// +crossplane:generate:reference:type=github.com/upbound/provider-aws/apis/codepipeline/v1beta1.Codepipeline
	// +kubebuilder:validation:Optional
	TargetPipeline *string `json:"targetPipeline,omitempty" tf:"target_pipeline,omitempty"`

	// Reference to a Codepipeline in codepipeline to populate targetPipeline.
	// +kubebuilder:validation:Optional
	TargetPipelineRef *v1.Reference `json:"targetPipelineRef,omitempty" tf:"-"`

	// Selector for a Codepipeline in codepipeline to populate targetPipeline.
	// +kubebuilder:validation:Optional
	TargetPipelineSelector *v1.Selector `json:"targetPipelineSelector,omitempty" tf:"-"`
}

func (*WebhookParameters) DeepCopy

func (in *WebhookParameters) DeepCopy() *WebhookParameters

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

func (*WebhookParameters) DeepCopyInto

func (in *WebhookParameters) DeepCopyInto(out *WebhookParameters)

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

type WebhookSpec

type WebhookSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     WebhookParameters `json:"forProvider"`
}

WebhookSpec defines the desired state of Webhook

func (*WebhookSpec) DeepCopy

func (in *WebhookSpec) DeepCopy() *WebhookSpec

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

func (*WebhookSpec) DeepCopyInto

func (in *WebhookSpec) DeepCopyInto(out *WebhookSpec)

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

type WebhookStatus

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

WebhookStatus defines the observed state of Webhook.

func (*WebhookStatus) DeepCopy

func (in *WebhookStatus) DeepCopy() *WebhookStatus

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

func (*WebhookStatus) DeepCopyInto

func (in *WebhookStatus) DeepCopyInto(out *WebhookStatus)

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