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=lighthouse.azurerm.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: lighthouse.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 Assignment

type Assignment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              AssignmentSpec   `json:"spec,omitempty"`
	Status            AssignmentStatus `json:"status,omitempty"`
}

func (*Assignment) DeepCopy

func (in *Assignment) DeepCopy() *Assignment

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

func (*Assignment) DeepCopyInto

func (in *Assignment) DeepCopyInto(out *Assignment)

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

func (*Assignment) DeepCopyObject

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

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

func (*Assignment) SetupWebhookWithManager

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

func (*Assignment) ValidateCreate

func (r *Assignment) ValidateCreate() error

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

func (*Assignment) ValidateDelete

func (r *Assignment) ValidateDelete() error

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

func (*Assignment) ValidateUpdate

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

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

type AssignmentList

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

AssignmentList is a list of Assignments

func (*AssignmentList) DeepCopy

func (in *AssignmentList) DeepCopy() *AssignmentList

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

func (*AssignmentList) DeepCopyInto

func (in *AssignmentList) DeepCopyInto(out *AssignmentList)

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

func (*AssignmentList) DeepCopyObject

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

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

type AssignmentSpec

type AssignmentSpec struct {
	State *AssignmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource AssignmentSpecResource `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 (*AssignmentSpec) DeepCopy

func (in *AssignmentSpec) DeepCopy() *AssignmentSpec

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

func (*AssignmentSpec) DeepCopyInto

func (in *AssignmentSpec) DeepCopyInto(out *AssignmentSpec)

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

type AssignmentSpecResource

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

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

	LighthouseDefinitionID *string `json:"lighthouseDefinitionID" tf:"lighthouse_definition_id"`
	// +optional
	Name  *string `json:"name,omitempty" tf:"name"`
	Scope *string `json:"scope" tf:"scope"`
}

func (*AssignmentSpecResource) DeepCopy

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

func (*AssignmentSpecResource) DeepCopyInto

func (in *AssignmentSpecResource) DeepCopyInto(out *AssignmentSpecResource)

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

type AssignmentStatus

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

func (in *AssignmentStatus) DeepCopy() *AssignmentStatus

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

func (*AssignmentStatus) DeepCopyInto

func (in *AssignmentStatus) DeepCopyInto(out *AssignmentStatus)

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

type Definition

type Definition struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DefinitionSpec   `json:"spec,omitempty"`
	Status            DefinitionStatus `json:"status,omitempty"`
}

func (*Definition) DeepCopy

func (in *Definition) DeepCopy() *Definition

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

func (*Definition) DeepCopyInto

func (in *Definition) DeepCopyInto(out *Definition)

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

func (*Definition) DeepCopyObject

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

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

func (*Definition) SetupWebhookWithManager

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

func (*Definition) ValidateCreate

func (r *Definition) ValidateCreate() error

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

func (*Definition) ValidateDelete

func (r *Definition) ValidateDelete() error

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

func (*Definition) ValidateUpdate

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

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

type DefinitionList

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

DefinitionList is a list of Definitions

func (*DefinitionList) DeepCopy

func (in *DefinitionList) DeepCopy() *DefinitionList

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

func (*DefinitionList) DeepCopyInto

func (in *DefinitionList) DeepCopyInto(out *DefinitionList)

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

func (*DefinitionList) DeepCopyObject

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

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

type DefinitionSpec

type DefinitionSpec struct {
	State *DefinitionSpecResource `json:"state,omitempty" tf:"-"`

	Resource DefinitionSpecResource `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 (*DefinitionSpec) DeepCopy

func (in *DefinitionSpec) DeepCopy() *DefinitionSpec

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

func (*DefinitionSpec) DeepCopyInto

func (in *DefinitionSpec) DeepCopyInto(out *DefinitionSpec)

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

type DefinitionSpecAuthorization

type DefinitionSpecAuthorization struct {
	// +optional
	DelegatedRoleDefinitionIDS []string `json:"delegatedRoleDefinitionIDS,omitempty" tf:"delegated_role_definition_ids"`
	// +optional
	PrincipalDisplayName *string `json:"principalDisplayName,omitempty" tf:"principal_display_name"`
	PrincipalID          *string `json:"principalID" tf:"principal_id"`
	RoleDefinitionID     *string `json:"roleDefinitionID" tf:"role_definition_id"`
}

func (*DefinitionSpecAuthorization) DeepCopy

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

func (*DefinitionSpecAuthorization) DeepCopyInto

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

type DefinitionSpecPlan

type DefinitionSpecPlan struct {
	Name      *string `json:"name" tf:"name"`
	Product   *string `json:"product" tf:"product"`
	Publisher *string `json:"publisher" tf:"publisher"`
	Version   *string `json:"version" tf:"version"`
}

func (*DefinitionSpecPlan) DeepCopy

func (in *DefinitionSpecPlan) DeepCopy() *DefinitionSpecPlan

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

func (*DefinitionSpecPlan) DeepCopyInto

func (in *DefinitionSpecPlan) DeepCopyInto(out *DefinitionSpecPlan)

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

type DefinitionSpecPlanCodec

type DefinitionSpecPlanCodec struct {
}

+k8s:deepcopy-gen=false

func (DefinitionSpecPlanCodec) Decode

func (DefinitionSpecPlanCodec) Encode

func (DefinitionSpecPlanCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (DefinitionSpecPlanCodec) IsEmpty

type DefinitionSpecResource

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

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

	// +kubebuilder:validation:MinItems=1
	Authorization []DefinitionSpecAuthorization `json:"authorization" tf:"authorization"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	LighthouseDefinitionID *string `json:"lighthouseDefinitionID,omitempty" tf:"lighthouse_definition_id"`
	ManagingTenantID       *string `json:"managingTenantID" tf:"managing_tenant_id"`
	Name                   *string `json:"name" tf:"name"`
	// +optional
	Plan  *DefinitionSpecPlan `json:"plan,omitempty" tf:"plan"`
	Scope *string             `json:"scope" tf:"scope"`
}

func (*DefinitionSpecResource) DeepCopy

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

func (*DefinitionSpecResource) DeepCopyInto

func (in *DefinitionSpecResource) DeepCopyInto(out *DefinitionSpecResource)

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

type DefinitionStatus

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

func (in *DefinitionStatus) DeepCopy() *DefinitionStatus

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

func (*DefinitionStatus) DeepCopyInto

func (in *DefinitionStatus) DeepCopyInto(out *DefinitionStatus)

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