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=role.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: role.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"`

	// +optional
	Condition *string `json:"condition,omitempty" tf:"condition"`
	// +optional
	ConditionVersion *string `json:"conditionVersion,omitempty" tf:"condition_version"`
	// +optional
	DelegatedManagedIdentityResourceID *string `json:"delegatedManagedIdentityResourceID,omitempty" tf:"delegated_managed_identity_resource_id"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Name        *string `json:"name,omitempty" tf:"name"`
	PrincipalID *string `json:"principalID" tf:"principal_id"`
	// +optional
	PrincipalType *string `json:"principalType,omitempty" tf:"principal_type"`
	// +optional
	RoleDefinitionID *string `json:"roleDefinitionID,omitempty" tf:"role_definition_id"`
	// +optional
	RoleDefinitionName *string `json:"roleDefinitionName,omitempty" tf:"role_definition_name"`
	Scope              *string `json:"scope" tf:"scope"`
	// +optional
	SkipServicePrincipalAadCheck *bool `json:"skipServicePrincipalAadCheck,omitempty" tf:"skip_service_principal_aad_check"`
}

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 DefinitionSpecPermissions

type DefinitionSpecPermissions struct {
	// +optional
	Actions []string `json:"actions,omitempty" tf:"actions"`
	// +optional
	DataActions []string `json:"dataActions,omitempty" tf:"data_actions"`
	// +optional
	NotActions []string `json:"notActions,omitempty" tf:"not_actions"`
	// +optional
	NotDataActions []string `json:"notDataActions,omitempty" tf:"not_data_actions"`
}

func (*DefinitionSpecPermissions) DeepCopy

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

func (*DefinitionSpecPermissions) DeepCopyInto

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

type DefinitionSpecResource

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

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

	// +optional
	AssignableScopes []string `json:"assignableScopes,omitempty" tf:"assignable_scopes"`
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	Name        *string `json:"name" tf:"name"`
	// +optional
	Permissions []DefinitionSpecPermissions `json:"permissions,omitempty" tf:"permissions"`
	// +optional
	RoleDefinitionID *string `json:"roleDefinitionID,omitempty" tf:"role_definition_id"`
	// +optional
	RoleDefinitionResourceID *string `json:"roleDefinitionResourceID,omitempty" tf:"role_definition_resource_id"`
	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