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=blueprint.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: blueprint.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 AssignmentSpecIdentity

type AssignmentSpecIdentity struct {
	IdentityIDS []string `json:"identityIDS" tf:"identity_ids"`
	Type        *string  `json:"type" tf:"type"`
}

func (*AssignmentSpecIdentity) DeepCopy

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

func (*AssignmentSpecIdentity) DeepCopyInto

func (in *AssignmentSpecIdentity) DeepCopyInto(out *AssignmentSpecIdentity)

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

type AssignmentSpecIdentityCodec

type AssignmentSpecIdentityCodec struct {
}

+k8s:deepcopy-gen=false

func (AssignmentSpecIdentityCodec) Decode

func (AssignmentSpecIdentityCodec) Encode

func (AssignmentSpecIdentityCodec) IsEmpty

type AssignmentSpecResource

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

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

	// +optional
	BlueprintName *string `json:"blueprintName,omitempty" tf:"blueprint_name"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	DisplayName *string                 `json:"displayName,omitempty" tf:"display_name"`
	Identity    *AssignmentSpecIdentity `json:"identity" tf:"identity"`
	Location    *string                 `json:"location" tf:"location"`
	// +optional
	// +kubebuilder:validation:MaxItems=200
	LockExcludeActions []string `json:"lockExcludeActions,omitempty" tf:"lock_exclude_actions"`
	// +optional
	// +kubebuilder:validation:MaxItems=5
	LockExcludePrincipals []string `json:"lockExcludePrincipals,omitempty" tf:"lock_exclude_principals"`
	// +optional
	LockMode *string `json:"lockMode,omitempty" tf:"lock_mode"`
	Name     *string `json:"name" tf:"name"`
	// +optional
	ParameterValues *string `json:"parameterValues,omitempty" tf:"parameter_values"`
	// +optional
	ResourceGroups       *string `json:"resourceGroups,omitempty" tf:"resource_groups"`
	TargetSubscriptionID *string `json:"targetSubscriptionID" tf:"target_subscription_id"`
	// +optional
	Type      *string `json:"type,omitempty" tf:"type"`
	VersionID *string `json:"versionID" tf:"version_id"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL