v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

+groupName=codepipeline.aws.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: codepipeline.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Codepipeline

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

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) SetupWebhookWithManager

func (r *Codepipeline) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Codepipeline) ValidateCreate

func (r *Codepipeline) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Codepipeline) ValidateDelete

func (r *Codepipeline) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Codepipeline) ValidateUpdate

func (r *Codepipeline) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type CodepipelineList

type CodepipelineList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Codepipeline CRD objects
	Items []Codepipeline `json:"items,omitempty"`
}

CodepipelineList is 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.

type CodepipelineSpec

type CodepipelineSpec struct {
	State *CodepipelineSpecResource `json:"state,omitempty" tf:"-"`

	Resource CodepipelineSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 CodepipelineSpecArtifactStore

type CodepipelineSpecArtifactStore struct {
	// +optional
	EncryptionKey *CodepipelineSpecArtifactStoreEncryptionKey `json:"encryptionKey,omitempty" tf:"encryption_key"`
	Location      *string                                     `json:"location" tf:"location"`
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	Type   *string `json:"type" tf:"type"`
}

func (*CodepipelineSpecArtifactStore) DeepCopy

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

func (*CodepipelineSpecArtifactStore) DeepCopyInto

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

type CodepipelineSpecArtifactStoreEncryptionKey

type CodepipelineSpecArtifactStoreEncryptionKey struct {
	ID   *string `json:"ID" tf:"id"`
	Type *string `json:"type" tf:"type"`
}

func (*CodepipelineSpecArtifactStoreEncryptionKey) DeepCopy

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

func (*CodepipelineSpecArtifactStoreEncryptionKey) DeepCopyInto

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

type CodepipelineSpecArtifactStoreEncryptionKeyCodec

type CodepipelineSpecArtifactStoreEncryptionKeyCodec struct {
}

+k8s:deepcopy-gen=false

func (CodepipelineSpecArtifactStoreEncryptionKeyCodec) Decode

func (CodepipelineSpecArtifactStoreEncryptionKeyCodec) Encode

func (CodepipelineSpecArtifactStoreEncryptionKeyCodec) IsEmpty

type CodepipelineSpecResource

type CodepipelineSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn           *string                         `json:"arn,omitempty" tf:"arn"`
	ArtifactStore []CodepipelineSpecArtifactStore `json:"artifactStore" tf:"artifact_store"`
	Name          *string                         `json:"name" tf:"name"`
	RoleArn       *string                         `json:"roleArn" tf:"role_arn"`
	// +kubebuilder:validation:MinItems=2
	Stage []CodepipelineSpecStage `json:"stage" tf:"stage"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
}

func (*CodepipelineSpecResource) DeepCopy

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

func (*CodepipelineSpecResource) DeepCopyInto

func (in *CodepipelineSpecResource) DeepCopyInto(out *CodepipelineSpecResource)

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

type CodepipelineSpecStage

type CodepipelineSpecStage struct {
	Action []CodepipelineSpecStageAction `json:"action" tf:"action"`
	Name   *string                       `json:"name" tf:"name"`
}

func (*CodepipelineSpecStage) DeepCopy

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

func (*CodepipelineSpecStage) DeepCopyInto

func (in *CodepipelineSpecStage) DeepCopyInto(out *CodepipelineSpecStage)

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

type CodepipelineSpecStageAction

type CodepipelineSpecStageAction struct {
	Category *string `json:"category" tf:"category"`
	// +optional
	Configuration *map[string]string `json:"configuration,omitempty" tf:"configuration"`
	// +optional
	InputArtifacts []string `json:"inputArtifacts,omitempty" tf:"input_artifacts"`
	Name           *string  `json:"name" tf:"name"`
	// +optional
	Namespace *string `json:"namespace,omitempty" tf:"namespace"`
	// +optional
	OutputArtifacts []string `json:"outputArtifacts,omitempty" tf:"output_artifacts"`
	Owner           *string  `json:"owner" tf:"owner"`
	Provider        *string  `json:"provider" tf:"provider"`
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	// +optional
	RoleArn *string `json:"roleArn,omitempty" tf:"role_arn"`
	// +optional
	RunOrder *int64  `json:"runOrder,omitempty" tf:"run_order"`
	Version  *string `json:"version" tf:"version"`
}

func (*CodepipelineSpecStageAction) DeepCopy

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

func (*CodepipelineSpecStageAction) DeepCopyInto

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

type CodepipelineStatus

type CodepipelineStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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 Webhook

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

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) SetupWebhookWithManager

func (r *Webhook) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Webhook) ValidateCreate

func (r *Webhook) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Webhook) ValidateDelete

func (r *Webhook) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Webhook) ValidateUpdate

func (r *Webhook) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type WebhookList

type WebhookList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Webhook CRD objects
	Items []Webhook `json:"items,omitempty"`
}

WebhookList is 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.

type WebhookSpec

type WebhookSpec struct {
	State *WebhookSpecResource `json:"state,omitempty" tf:"-"`

	Resource WebhookSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

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 WebhookSpecAuthenticationConfiguration

type WebhookSpecAuthenticationConfiguration struct {
	// +optional
	AllowedIPRange *string `json:"allowedIPRange,omitempty" tf:"allowed_ip_range"`
	// +optional
	SecretToken *string `json:"-" sensitive:"true" tf:"secret_token"`
}

func (*WebhookSpecAuthenticationConfiguration) DeepCopy

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

func (*WebhookSpecAuthenticationConfiguration) DeepCopyInto

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

type WebhookSpecAuthenticationConfigurationCodec

type WebhookSpecAuthenticationConfigurationCodec struct {
}

+k8s:deepcopy-gen=false

func (WebhookSpecAuthenticationConfigurationCodec) Decode

func (WebhookSpecAuthenticationConfigurationCodec) Encode

func (WebhookSpecAuthenticationConfigurationCodec) IsEmpty

type WebhookSpecFilter

type WebhookSpecFilter struct {
	JsonPath    *string `json:"jsonPath" tf:"json_path"`
	MatchEquals *string `json:"matchEquals" tf:"match_equals"`
}

func (*WebhookSpecFilter) DeepCopy

func (in *WebhookSpecFilter) DeepCopy() *WebhookSpecFilter

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

func (*WebhookSpecFilter) DeepCopyInto

func (in *WebhookSpecFilter) DeepCopyInto(out *WebhookSpecFilter)

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

type WebhookSpecResource

type WebhookSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn            *string `json:"arn,omitempty" tf:"arn"`
	Authentication *string `json:"authentication" tf:"authentication"`
	// +optional
	AuthenticationConfiguration *WebhookSpecAuthenticationConfiguration `json:"authenticationConfiguration,omitempty" tf:"authentication_configuration"`
	// +kubebuilder:validation:MaxItems=5
	// +kubebuilder:validation:MinItems=1
	Filter []WebhookSpecFilter `json:"filter" tf:"filter"`
	Name   *string             `json:"name" tf:"name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TagsAll        *map[string]string `json:"tagsAll,omitempty" tf:"tags_all"`
	TargetAction   *string            `json:"targetAction" tf:"target_action"`
	TargetPipeline *string            `json:"targetPipeline" tf:"target_pipeline"`
	// +optional
	Url *string `json:"url,omitempty" tf:"url"`
}

func (*WebhookSpecResource) DeepCopy

func (in *WebhookSpecResource) DeepCopy() *WebhookSpecResource

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

func (*WebhookSpecResource) DeepCopyInto

func (in *WebhookSpecResource) DeepCopyInto(out *WebhookSpecResource)

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

type WebhookStatus

type WebhookStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

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