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=user.equinixmetal.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: user.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 ApiKey

type ApiKey struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApiKeySpec   `json:"spec,omitempty"`
	Status            ApiKeyStatus `json:"status,omitempty"`
}

func (*ApiKey) DeepCopy

func (in *ApiKey) DeepCopy() *ApiKey

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

func (*ApiKey) DeepCopyInto

func (in *ApiKey) DeepCopyInto(out *ApiKey)

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

func (*ApiKey) DeepCopyObject

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

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

func (*ApiKey) SetupWebhookWithManager

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

func (*ApiKey) ValidateCreate

func (r *ApiKey) ValidateCreate() error

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

func (*ApiKey) ValidateDelete

func (r *ApiKey) ValidateDelete() error

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

func (*ApiKey) ValidateUpdate

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

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

type ApiKeyList

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

ApiKeyList is a list of ApiKeys

func (*ApiKeyList) DeepCopy

func (in *ApiKeyList) DeepCopy() *ApiKeyList

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

func (*ApiKeyList) DeepCopyInto

func (in *ApiKeyList) DeepCopyInto(out *ApiKeyList)

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

func (*ApiKeyList) DeepCopyObject

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

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

type ApiKeySpec

type ApiKeySpec struct {
	State *ApiKeySpecResource `json:"state,omitempty" tf:"-"`

	Resource ApiKeySpecResource `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 (*ApiKeySpec) DeepCopy

func (in *ApiKeySpec) DeepCopy() *ApiKeySpec

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

func (*ApiKeySpec) DeepCopyInto

func (in *ApiKeySpec) DeepCopyInto(out *ApiKeySpec)

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

type ApiKeySpecResource

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

	// Description string for the API key
	Description *string `json:"description" tf:"description"`
	// Flag indicating whether the API key shoud be read-only
	ReadOnly *bool `json:"readOnly" tf:"read_only"`
	// API token for API clients
	// +optional
	Token *string `json:"-" sensitive:"true" tf:"token"`
	// UUID of user owning this key
	// +optional
	UserID *string `json:"userID,omitempty" tf:"user_id"`
}

func (*ApiKeySpecResource) DeepCopy

func (in *ApiKeySpecResource) DeepCopy() *ApiKeySpecResource

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

func (*ApiKeySpecResource) DeepCopyInto

func (in *ApiKeySpecResource) DeepCopyInto(out *ApiKeySpecResource)

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

type ApiKeyStatus

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

func (in *ApiKeyStatus) DeepCopy() *ApiKeyStatus

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

func (*ApiKeyStatus) DeepCopyInto

func (in *ApiKeyStatus) DeepCopyInto(out *ApiKeyStatus)

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