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=ecrpublic.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: ecrpublic.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 Repository

type Repository struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RepositorySpec   `json:"spec,omitempty"`
	Status            RepositoryStatus `json:"status,omitempty"`
}

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

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

func (*Repository) ValidateCreate

func (r *Repository) ValidateCreate() error

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

func (*Repository) ValidateDelete

func (r *Repository) ValidateDelete() error

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

func (*Repository) ValidateUpdate

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

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

type RepositoryList

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

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

type RepositoryPolicy added in v0.5.0

type RepositoryPolicy struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              RepositoryPolicySpec   `json:"spec,omitempty"`
	Status            RepositoryPolicyStatus `json:"status,omitempty"`
}

func (*RepositoryPolicy) DeepCopy added in v0.5.0

func (in *RepositoryPolicy) DeepCopy() *RepositoryPolicy

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

func (*RepositoryPolicy) DeepCopyInto added in v0.5.0

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 added in v0.5.0

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

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

func (*RepositoryPolicy) SetupWebhookWithManager added in v0.5.0

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

func (*RepositoryPolicy) ValidateCreate added in v0.5.0

func (r *RepositoryPolicy) ValidateCreate() error

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

func (*RepositoryPolicy) ValidateDelete added in v0.5.0

func (r *RepositoryPolicy) ValidateDelete() error

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

func (*RepositoryPolicy) ValidateUpdate added in v0.5.0

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

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

type RepositoryPolicyList added in v0.5.0

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

RepositoryPolicyList is a list of RepositoryPolicys

func (*RepositoryPolicyList) DeepCopy added in v0.5.0

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

func (*RepositoryPolicyList) DeepCopyInto added in v0.5.0

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 added in v0.5.0

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

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

type RepositoryPolicySpec added in v0.5.0

type RepositoryPolicySpec struct {
	State *RepositoryPolicySpecResource `json:"state,omitempty" tf:"-"`

	Resource RepositoryPolicySpecResource `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 (*RepositoryPolicySpec) DeepCopy added in v0.5.0

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

func (*RepositoryPolicySpec) DeepCopyInto added in v0.5.0

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

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

type RepositoryPolicySpecResource added in v0.5.0

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

	Policy *string `json:"policy" tf:"policy"`
	// +optional
	RegistryID     *string `json:"registryID,omitempty" tf:"registry_id"`
	RepositoryName *string `json:"repositoryName" tf:"repository_name"`
}

func (*RepositoryPolicySpecResource) DeepCopy added in v0.5.0

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

func (*RepositoryPolicySpecResource) DeepCopyInto added in v0.5.0

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

type RepositoryPolicyStatus added in v0.5.0

type RepositoryPolicyStatus 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 (*RepositoryPolicyStatus) DeepCopy added in v0.5.0

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

func (*RepositoryPolicyStatus) DeepCopyInto added in v0.5.0

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 {
	State *RepositorySpecResource `json:"state,omitempty" tf:"-"`

	Resource RepositorySpecResource `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 (*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 RepositorySpecCatalogData

type RepositorySpecCatalogData struct {
	// +optional
	AboutText *string `json:"aboutText,omitempty" tf:"about_text"`
	// +optional
	// +kubebuilder:validation:MaxItems=50
	Architectures []string `json:"architectures,omitempty" tf:"architectures"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	LogoImageBlob *string `json:"logoImageBlob,omitempty" tf:"logo_image_blob"`
	// +optional
	// +kubebuilder:validation:MaxItems=50
	OperatingSystems []string `json:"operatingSystems,omitempty" tf:"operating_systems"`
	// +optional
	UsageText *string `json:"usageText,omitempty" tf:"usage_text"`
}

func (*RepositorySpecCatalogData) DeepCopy

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

func (*RepositorySpecCatalogData) DeepCopyInto

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

type RepositorySpecCatalogDataCodec

type RepositorySpecCatalogDataCodec struct {
}

+k8s:deepcopy-gen=false

func (RepositorySpecCatalogDataCodec) Decode

func (RepositorySpecCatalogDataCodec) Encode

func (RepositorySpecCatalogDataCodec) IsEmpty

type RepositorySpecResource

type RepositorySpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Arn *string `json:"arn,omitempty" tf:"arn"`
	// +optional
	CatalogData *RepositorySpecCatalogData `json:"catalogData,omitempty" tf:"catalog_data"`
	// +optional
	ForceDestroy *bool `json:"forceDestroy,omitempty" tf:"force_destroy"`
	// +optional
	RegistryID     *string `json:"registryID,omitempty" tf:"registry_id"`
	RepositoryName *string `json:"repositoryName" tf:"repository_name"`
	// +optional
	RepositoryURI *string `json:"repositoryURI,omitempty" tf:"repository_uri"`
}

func (*RepositorySpecResource) DeepCopy

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

func (*RepositorySpecResource) DeepCopyInto

func (in *RepositorySpecResource) DeepCopyInto(out *RepositorySpecResource)

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

type RepositoryStatus

type RepositoryStatus 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 (*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