v1beta1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the ecr v1beta1 API group +kubebuilder:object:generate=true +groupName=ecr.aws.cloud.qaware.de

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "ecr.aws.cloud.qaware.de", Version: "v1beta1"}

	// 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 EncryptionConfiguration

type EncryptionConfiguration struct {
	// This member is required.
	// +kubebuilder:default=AES256
	// +kubebuilder:validation:Enum=AES256;KMS
	EncryptionType EncryptionType `json:"encryptionType"`

	// If you use the KMS encryption type, specify the CMK to use for encryption. The
	// alias, key ID, or full ARN of the CMK can be specified. The key must exist in
	// the same Region as the repository. If no key is specified, the default AWS
	// managed CMK for Amazon ECR will be used.
	KmsKey *string `json:"kmsKey,omitempty"`
}

func (*EncryptionConfiguration) DeepCopy

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

func (*EncryptionConfiguration) DeepCopyInto

func (in *EncryptionConfiguration) DeepCopyInto(out *EncryptionConfiguration)

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

type EncryptionType

type EncryptionType string

The EncryptionType type defines AES256 or KMS

type ImageScanningConfiguration

type ImageScanningConfiguration struct {
	// Determines whether images are scanned after being pushed
	// +kubebuilder:default=true
	ScanOnPush bool `json:"scanOnPush"`
}

The ImageScanningConfiguration for the repository.

func (*ImageScanningConfiguration) DeepCopy

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

func (*ImageScanningConfiguration) DeepCopyInto

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

type ImageTagMutability

type ImageTagMutability string

The ImageTagMutability type defines MUTABLE or IMMUTABLE

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 repositories 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.

type RepositoryLifecycle

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

	Spec   RepositoryLifecycleSpec   `json:"spec,omitempty"`
	Status RepositoryLifecycleStatus `json:"status,omitempty"`
}

RepositoryLifecycle is the Schema for the repositorylifecycles API

func (*RepositoryLifecycle) DeepCopy

func (in *RepositoryLifecycle) DeepCopy() *RepositoryLifecycle

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

func (*RepositoryLifecycle) DeepCopyInto

func (in *RepositoryLifecycle) DeepCopyInto(out *RepositoryLifecycle)

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

func (*RepositoryLifecycle) DeepCopyObject

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

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

type RepositoryLifecycleList

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

RepositoryLifecycleList contains a list of RepositoryLifecycle

func (*RepositoryLifecycleList) DeepCopy

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

func (*RepositoryLifecycleList) DeepCopyInto

func (in *RepositoryLifecycleList) DeepCopyInto(out *RepositoryLifecycleList)

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

func (*RepositoryLifecycleList) DeepCopyObject

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

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

type RepositoryLifecycleSpec

type RepositoryLifecycleSpec struct {

	// The name of the repository to receive the policy.
	RepositoryName string `json:"repositoryName"`

	// The LifecyclePolicyText JSON text. This member is required.
	LifecyclePolicyText string `json:"lifecyclePolicyText"`
}

RepositoryLifecycleSpec defines the desired state of RepositoryLifecycle

func (*RepositoryLifecycleSpec) DeepCopy

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

func (*RepositoryLifecycleSpec) DeepCopyInto

func (in *RepositoryLifecycleSpec) DeepCopyInto(out *RepositoryLifecycleSpec)

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

type RepositoryLifecycleStatus

type RepositoryLifecycleStatus struct {
}

RepositoryLifecycleStatus defines the observed state of RepositoryLifecycle

func (*RepositoryLifecycleStatus) DeepCopy

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

func (*RepositoryLifecycleStatus) DeepCopyInto

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 Repository

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 RepositoryPolicy

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

	Spec   RepositoryPolicySpec   `json:"spec,omitempty"`
	Status RepositoryPolicyStatus `json:"status,omitempty"`
}

RepositoryPolicy is the Schema for the repositorypolicies API

func (*RepositoryPolicy) DeepCopy

func (in *RepositoryPolicy) DeepCopy() *RepositoryPolicy

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

func (*RepositoryPolicy) DeepCopyInto

func (in *RepositoryPolicy) DeepCopyInto(out *RepositoryPolicy)

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

func (*RepositoryPolicy) DeepCopyObject

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

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

type RepositoryPolicyList

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

RepositoryPolicyList contains a list of RepositoryPolicy

func (*RepositoryPolicyList) DeepCopy

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

func (*RepositoryPolicyList) DeepCopyInto

func (in *RepositoryPolicyList) DeepCopyInto(out *RepositoryPolicyList)

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

func (*RepositoryPolicyList) DeepCopyObject

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

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

type RepositoryPolicySpec

type RepositoryPolicySpec struct {

	// The name of the repository to receive the policy.
	RepositoryName string `json:"repositoryName"`

	// The RepositoryPolicy JSON text. This member is required.
	PolicyText string `json:"policyText"`

	// (Optional) Whether to force the policy creation.
	// Caution, this might prevent further changed to the repository.
	// +kubebuilder:default=false
	// +optional
	Force bool `json:"force"`
}

RepositoryPolicySpec defines the desired state of RepositoryPolicy

func (*RepositoryPolicySpec) DeepCopy

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

func (*RepositoryPolicySpec) DeepCopyInto

func (in *RepositoryPolicySpec) DeepCopyInto(out *RepositoryPolicySpec)

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

type RepositoryPolicyStatus

type RepositoryPolicyStatus struct {
}

RepositoryPolicyStatus defines the observed state of RepositoryPolicy

func (*RepositoryPolicyStatus) DeepCopy

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

func (*RepositoryPolicyStatus) DeepCopyInto

func (in *RepositoryPolicyStatus) DeepCopyInto(out *RepositoryPolicyStatus)

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

type RepositorySpec

type RepositorySpec struct {

	// (Optional) The tag mutability setting for the repository.
	// +kubebuilder:default=IMMUTABLE
	// +kubebuilder:validation:Enum=MUTABLE;IMMUTABLE
	ImageTagMutability ImageTagMutability `json:"imageTagMutability"`

	// (Optional) The ImageScanningConfiguration for the repository.
	// +optional
	// +nullable
	ImageScanningConfiguration *ImageScanningConfiguration `json:"imageScanningConfiguration,omitempty"`

	// (Optional) The EncryptionConfiguration for the repository.
	// +optional
	// +nullable
	EncryptionConfiguration *EncryptionConfiguration `json:"encryptionConfiguration,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 {

	// Full ARN of the repository
	RepositoryArn string `json:"registryArn"`

	// The registry ID where the repository was created
	RegistryId string `json:"registryId"`

	// The URI of the repository (in the form aws_account_id.dkr.ecr.region.amazonaws.com/repositoryName)
	RepositoryUri string `json:"repositoryUri"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL