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: 14 Imported by: 0

Documentation

Overview

+groupName=resource.google.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: resource.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 ManagerLien

type ManagerLien struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagerLienSpec   `json:"spec,omitempty"`
	Status            ManagerLienStatus `json:"status,omitempty"`
}

func (*ManagerLien) DeepCopy

func (in *ManagerLien) DeepCopy() *ManagerLien

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

func (*ManagerLien) DeepCopyInto

func (in *ManagerLien) DeepCopyInto(out *ManagerLien)

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

func (*ManagerLien) DeepCopyObject

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

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

func (*ManagerLien) SetupWebhookWithManager

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

func (*ManagerLien) ValidateCreate

func (r *ManagerLien) ValidateCreate() error

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

func (*ManagerLien) ValidateDelete

func (r *ManagerLien) ValidateDelete() error

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

func (*ManagerLien) ValidateUpdate

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

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

type ManagerLienList

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

ManagerLienList is a list of ManagerLiens

func (*ManagerLienList) DeepCopy

func (in *ManagerLienList) DeepCopy() *ManagerLienList

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

func (*ManagerLienList) DeepCopyInto

func (in *ManagerLienList) DeepCopyInto(out *ManagerLienList)

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

func (*ManagerLienList) DeepCopyObject

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

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

type ManagerLienSpec

type ManagerLienSpec struct {
	State *ManagerLienSpecResource `json:"state,omitempty" tf:"-"`

	Resource ManagerLienSpecResource `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 (*ManagerLienSpec) DeepCopy

func (in *ManagerLienSpec) DeepCopy() *ManagerLienSpec

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

func (*ManagerLienSpec) DeepCopyInto

func (in *ManagerLienSpec) DeepCopyInto(out *ManagerLienSpec)

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

type ManagerLienSpecResource

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

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

	// Time of creation
	// +optional
	CreateTime *string `json:"createTime,omitempty" tf:"create_time"`
	// A system-generated unique identifier for this Lien.
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// A stable, user-visible/meaningful string identifying the origin
	// of the Lien, intended to be inspected programmatically. Maximum length of
	// 200 characters.
	Origin *string `json:"origin" tf:"origin"`
	// A reference to the resource this Lien is attached to.
	// The server will validate the parent against those for which Liens are supported.
	// Since a variety of objects can have Liens against them, you must provide the type
	// prefix (e.g. "projects/my-project-name").
	Parent *string `json:"parent" tf:"parent"`
	// Concise user-visible strings indicating why an action cannot be performed
	// on a resource. Maximum length of 200 characters.
	Reason *string `json:"reason" tf:"reason"`
	// The types of operations which should be blocked as a result of this Lien.
	// Each value should correspond to an IAM permission. The server will validate
	// the permissions against those for which Liens are supported.  An empty
	// list is meaningless and will be rejected.
	// e.g. ['resourcemanager.projects.delete']
	Restrictions []string `json:"restrictions" tf:"restrictions"`
}

func (*ManagerLienSpecResource) DeepCopy

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

func (*ManagerLienSpecResource) DeepCopyInto

func (in *ManagerLienSpecResource) DeepCopyInto(out *ManagerLienSpecResource)

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

type ManagerLienStatus

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

func (in *ManagerLienStatus) DeepCopy() *ManagerLienStatus

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

func (*ManagerLienStatus) DeepCopyInto

func (in *ManagerLienStatus) DeepCopyInto(out *ManagerLienStatus)

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