v1alpha1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=containerregistry.digitalocean.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: containerregistry.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 ContainerRegistry

type ContainerRegistry struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContainerRegistrySpec   `json:"spec,omitempty"`
	Status            ContainerRegistryStatus `json:"status,omitempty"`
}

func (*ContainerRegistry) DeepCopy

func (in *ContainerRegistry) DeepCopy() *ContainerRegistry

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

func (*ContainerRegistry) DeepCopyInto

func (in *ContainerRegistry) DeepCopyInto(out *ContainerRegistry)

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

func (*ContainerRegistry) DeepCopyObject

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

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

func (*ContainerRegistry) SetupWebhookWithManager

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

func (*ContainerRegistry) ValidateCreate

func (r *ContainerRegistry) ValidateCreate() error

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

func (*ContainerRegistry) ValidateDelete

func (r *ContainerRegistry) ValidateDelete() error

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

func (*ContainerRegistry) ValidateUpdate

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

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

type ContainerRegistryList

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

ContainerRegistryList is a list of ContainerRegistrys

func (*ContainerRegistryList) DeepCopy

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

func (*ContainerRegistryList) DeepCopyInto

func (in *ContainerRegistryList) DeepCopyInto(out *ContainerRegistryList)

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

func (*ContainerRegistryList) DeepCopyObject

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

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

type ContainerRegistrySpec

type ContainerRegistrySpec struct {
	State *ContainerRegistrySpecResource `json:"state,omitempty" tf:"-"`

	Resource ContainerRegistrySpecResource `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 (*ContainerRegistrySpec) DeepCopy

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

func (*ContainerRegistrySpec) DeepCopyInto

func (in *ContainerRegistrySpec) DeepCopyInto(out *ContainerRegistrySpec)

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

type ContainerRegistrySpecResource

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

	// +optional
	Endpoint *string `json:"endpoint,omitempty" tf:"endpoint"`
	Name     *string `json:"name" tf:"name"`
	// +optional
	ServerURL            *string `json:"serverURL,omitempty" tf:"server_url"`
	SubscriptionTierSlug *string `json:"subscriptionTierSlug" tf:"subscription_tier_slug"`
}

func (*ContainerRegistrySpecResource) DeepCopy

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

func (*ContainerRegistrySpecResource) DeepCopyInto

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

type ContainerRegistryStatus

type ContainerRegistryStatus 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 (*ContainerRegistryStatus) DeepCopy

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

func (*ContainerRegistryStatus) DeepCopyInto

func (in *ContainerRegistryStatus) DeepCopyInto(out *ContainerRegistryStatus)

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

type DockerCredentials

type DockerCredentials struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DockerCredentialsSpec   `json:"spec,omitempty"`
	Status            DockerCredentialsStatus `json:"status,omitempty"`
}

func (*DockerCredentials) DeepCopy

func (in *DockerCredentials) DeepCopy() *DockerCredentials

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

func (*DockerCredentials) DeepCopyInto

func (in *DockerCredentials) DeepCopyInto(out *DockerCredentials)

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

func (*DockerCredentials) DeepCopyObject

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

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

func (*DockerCredentials) SetupWebhookWithManager

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

func (*DockerCredentials) ValidateCreate

func (r *DockerCredentials) ValidateCreate() error

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

func (*DockerCredentials) ValidateDelete

func (r *DockerCredentials) ValidateDelete() error

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

func (*DockerCredentials) ValidateUpdate

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

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

type DockerCredentialsList

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

DockerCredentialsList is a list of DockerCredentialss

func (*DockerCredentialsList) DeepCopy

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

func (*DockerCredentialsList) DeepCopyInto

func (in *DockerCredentialsList) DeepCopyInto(out *DockerCredentialsList)

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

func (*DockerCredentialsList) DeepCopyObject

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

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

type DockerCredentialsSpec

type DockerCredentialsSpec struct {
	State *DockerCredentialsSpecResource `json:"state,omitempty" tf:"-"`

	Resource DockerCredentialsSpecResource `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 (*DockerCredentialsSpec) DeepCopy

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

func (*DockerCredentialsSpec) DeepCopyInto

func (in *DockerCredentialsSpec) DeepCopyInto(out *DockerCredentialsSpec)

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

type DockerCredentialsSpecResource

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

	// +optional
	CredentialExpirationTime *string `json:"credentialExpirationTime,omitempty" tf:"credential_expiration_time"`
	// +optional
	DockerCredentials *string `json:"-" sensitive:"true" tf:"docker_credentials"`
	// +optional
	ExpirySeconds *int64  `json:"expirySeconds,omitempty" tf:"expiry_seconds"`
	RegistryName  *string `json:"registryName" tf:"registry_name"`
	// +optional
	Write *bool `json:"write,omitempty" tf:"write"`
}

func (*DockerCredentialsSpecResource) DeepCopy

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

func (*DockerCredentialsSpecResource) DeepCopyInto

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

type DockerCredentialsStatus

type DockerCredentialsStatus 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 (*DockerCredentialsStatus) DeepCopy

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

func (*DockerCredentialsStatus) DeepCopyInto

func (in *DockerCredentialsStatus) DeepCopyInto(out *DockerCredentialsStatus)

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