v1alpha1

package
v0.0.0-...-beef95b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the ecr v1alpha1 API group +kubebuilder:object:generate=true +groupName=ecr.awsctrl.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "ecr.awsctrl.io", Version: "v1alpha1"}
	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Repository

type Repository struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   RepositorySpec   `json:"spec,omitempty"`
	Status RepositoryStatus `json:"status,omitempty"`
}

Repository is the Schema for the ecr Repository API

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

func (in *Repository) GenerateStackName() string

GenerateStackName will generate a StackName

func (*Repository) GetCloudFormationMeta

func (in *Repository) GetCloudFormationMeta() metav1alpha1.CloudFormationMeta

GetCloudFormationMeta will return CFN meta object

func (*Repository) GetNotificationARNs

func (in *Repository) GetNotificationARNs() []string

GetNotificationARNs is an autogenerated deepcopy function, will return notifications for stack

func (*Repository) GetParameters

func (in *Repository) GetParameters() map[string]string

GetParameters will return CFN Parameters

func (*Repository) GetStackID

func (in *Repository) GetStackID() string

GetStackID will return stackID

func (*Repository) GetStackName

func (in *Repository) GetStackName() string

GetStackName will return stackName

func (*Repository) GetStatus

func (in *Repository) GetStatus() metav1alpha1.ConditionStatus

GetStatus will return the CFN Status

func (*Repository) GetTemplate

func (in *Repository) GetTemplate(client dynamic.Interface) (string, error)

GetTemplate will return the JSON version of the CFN to use.

func (*Repository) GetTemplateVersionLabel

func (in *Repository) GetTemplateVersionLabel() (value string, ok bool)

GetTemplateVersionLabel will return the stack template version

func (*Repository) SetStackID

func (in *Repository) SetStackID(input string)

SetStackID will put a stackID

func (*Repository) SetStackName

func (in *Repository) SetStackName(input string)

SetStackName will return stackName

func (*Repository) SetStatus

func (in *Repository) SetStatus(status *metav1alpha1.StatusMeta)

SetStatus will set status for object

func (*Repository) SetTemplateVersionLabel

func (in *Repository) SetTemplateVersionLabel()

SetTemplateVersionLabel will set the template version label

func (*Repository) TemplateVersionChanged

func (in *Repository) TemplateVersionChanged() bool

TemplateVersionChanged will return bool if template has changed

type RepositoryList

type RepositoryList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []Repository `json:"items"`
}

RepositoryList contains a list of Account

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.

type RepositoryOutput

type RepositoryOutput struct {
	// http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html
	Ref string `json:"ref,omitempty"`

	// Arn defines the Arn
	Arn string `json:"arn,omitempty" cloudformation:"Arn,Output"`
}

RepositoryOutput defines the stack outputs

func (*RepositoryOutput) DeepCopy

func (in *RepositoryOutput) DeepCopy() *RepositoryOutput

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

func (*RepositoryOutput) DeepCopyInto

func (in *RepositoryOutput) DeepCopyInto(out *RepositoryOutput)

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

type RepositorySpec

type RepositorySpec struct {
	metav1alpha1.CloudFormationMeta `json:",inline"`

	// LifecyclePolicy http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-lifecyclepolicy
	LifecyclePolicy Repository_LifecyclePolicy `json:"lifecyclePolicy,omitempty" cloudformation:"LifecyclePolicy"`

	// RepositoryName http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-repositoryname
	RepositoryName string `json:"repositoryName,omitempty" cloudformation:"RepositoryName,Parameter"`

	// RepositoryPolicyText http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-repositorypolicytext
	RepositoryPolicyText string `json:"repositoryPolicyText,omitempty" cloudformation:"RepositoryPolicyText,Parameter"`
}

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 {
	metav1alpha1.StatusMeta `json:",inline"`
}

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 Repository_LifecyclePolicy

type Repository_LifecyclePolicy struct {
	// LifecyclePolicyText http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-lifecyclepolicy.html#cfn-ecr-repository-lifecyclepolicy-lifecyclepolicytext
	LifecyclePolicyText string `json:"lifecyclePolicyText,omitempty" cloudformation:"LifecyclePolicyText,Parameter"`

	// RegistryRef http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ecr-repository-lifecyclepolicy.html#cfn-ecr-repository-lifecyclepolicy-registryid
	RegistryRef metav1alpha1.ObjectReference `json:"registryRef,omitempty" cloudformation:"RegistryId,Parameter"`
}

Repository_LifecyclePolicy defines the desired state of RepositoryLifecyclePolicy

func (*Repository_LifecyclePolicy) DeepCopy

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

func (*Repository_LifecyclePolicy) DeepCopyInto

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