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=subscription.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: subscription.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 CostManagementExport added in v0.5.0

type CostManagementExport struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              CostManagementExportSpec   `json:"spec,omitempty"`
	Status            CostManagementExportStatus `json:"status,omitempty"`
}

func (*CostManagementExport) DeepCopy added in v0.5.0

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

func (*CostManagementExport) DeepCopyInto added in v0.5.0

func (in *CostManagementExport) DeepCopyInto(out *CostManagementExport)

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

func (*CostManagementExport) DeepCopyObject added in v0.5.0

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

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

func (*CostManagementExport) SetupWebhookWithManager added in v0.5.0

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

func (*CostManagementExport) ValidateCreate added in v0.5.0

func (r *CostManagementExport) ValidateCreate() error

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

func (*CostManagementExport) ValidateDelete added in v0.5.0

func (r *CostManagementExport) ValidateDelete() error

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

func (*CostManagementExport) ValidateUpdate added in v0.5.0

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

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

type CostManagementExportList added in v0.5.0

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

CostManagementExportList is a list of CostManagementExports

func (*CostManagementExportList) DeepCopy added in v0.5.0

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

func (*CostManagementExportList) DeepCopyInto added in v0.5.0

func (in *CostManagementExportList) DeepCopyInto(out *CostManagementExportList)

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

func (*CostManagementExportList) DeepCopyObject added in v0.5.0

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

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

type CostManagementExportSpec added in v0.5.0

type CostManagementExportSpec struct {
	State *CostManagementExportSpecResource `json:"state,omitempty" tf:"-"`

	Resource CostManagementExportSpecResource `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 (*CostManagementExportSpec) DeepCopy added in v0.5.0

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

func (*CostManagementExportSpec) DeepCopyInto added in v0.5.0

func (in *CostManagementExportSpec) DeepCopyInto(out *CostManagementExportSpec)

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

type CostManagementExportSpecExportDataOptions added in v0.5.0

type CostManagementExportSpecExportDataOptions struct {
	TimeFrame *string `json:"timeFrame" tf:"time_frame"`
	Type      *string `json:"type" tf:"type"`
}

func (*CostManagementExportSpecExportDataOptions) DeepCopy added in v0.5.0

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

func (*CostManagementExportSpecExportDataOptions) DeepCopyInto added in v0.5.0

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

type CostManagementExportSpecExportDataOptionsCodec added in v0.5.0

type CostManagementExportSpecExportDataOptionsCodec struct {
}

+k8s:deepcopy-gen=false

func (CostManagementExportSpecExportDataOptionsCodec) Decode added in v0.5.0

func (CostManagementExportSpecExportDataOptionsCodec) Encode added in v0.5.0

func (CostManagementExportSpecExportDataOptionsCodec) IsEmpty added in v0.5.0

type CostManagementExportSpecExportDataStorageLocation added in v0.5.0

type CostManagementExportSpecExportDataStorageLocation struct {
	ContainerID    *string `json:"containerID" tf:"container_id"`
	RootFolderPath *string `json:"rootFolderPath" tf:"root_folder_path"`
}

func (*CostManagementExportSpecExportDataStorageLocation) DeepCopy added in v0.5.0

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

func (*CostManagementExportSpecExportDataStorageLocation) DeepCopyInto added in v0.5.0

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

type CostManagementExportSpecExportDataStorageLocationCodec added in v0.5.0

type CostManagementExportSpecExportDataStorageLocationCodec struct {
}

+k8s:deepcopy-gen=false

func (CostManagementExportSpecExportDataStorageLocationCodec) Decode added in v0.5.0

func (CostManagementExportSpecExportDataStorageLocationCodec) Encode added in v0.5.0

func (CostManagementExportSpecExportDataStorageLocationCodec) IsEmpty added in v0.5.0

type CostManagementExportSpecResource added in v0.5.0

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

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

	// +optional
	Active                    *bool                                              `json:"active,omitempty" tf:"active"`
	ExportDataOptions         *CostManagementExportSpecExportDataOptions         `json:"exportDataOptions" tf:"export_data_options"`
	ExportDataStorageLocation *CostManagementExportSpecExportDataStorageLocation `json:"exportDataStorageLocation" tf:"export_data_storage_location"`
	Name                      *string                                            `json:"name" tf:"name"`
	RecurrencePeriodEndDate   *string                                            `json:"recurrencePeriodEndDate" tf:"recurrence_period_end_date"`
	RecurrencePeriodStartDate *string                                            `json:"recurrencePeriodStartDate" tf:"recurrence_period_start_date"`
	RecurrenceType            *string                                            `json:"recurrenceType" tf:"recurrence_type"`
	SubscriptionID            *string                                            `json:"subscriptionID" tf:"subscription_id"`
}

func (*CostManagementExportSpecResource) DeepCopy added in v0.5.0

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

func (*CostManagementExportSpecResource) DeepCopyInto added in v0.5.0

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

type CostManagementExportStatus added in v0.5.0

type CostManagementExportStatus 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 (*CostManagementExportStatus) DeepCopy added in v0.5.0

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

func (*CostManagementExportStatus) DeepCopyInto added in v0.5.0

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

type PolicyAssignment

type PolicyAssignment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PolicyAssignmentSpec   `json:"spec,omitempty"`
	Status            PolicyAssignmentStatus `json:"status,omitempty"`
}

func (*PolicyAssignment) DeepCopy

func (in *PolicyAssignment) DeepCopy() *PolicyAssignment

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

func (*PolicyAssignment) DeepCopyInto

func (in *PolicyAssignment) DeepCopyInto(out *PolicyAssignment)

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

func (*PolicyAssignment) DeepCopyObject

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

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

func (*PolicyAssignment) SetupWebhookWithManager

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

func (*PolicyAssignment) ValidateCreate

func (r *PolicyAssignment) ValidateCreate() error

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

func (*PolicyAssignment) ValidateDelete

func (r *PolicyAssignment) ValidateDelete() error

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

func (*PolicyAssignment) ValidateUpdate

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

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

type PolicyAssignmentList

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

PolicyAssignmentList is a list of PolicyAssignments

func (*PolicyAssignmentList) DeepCopy

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

func (*PolicyAssignmentList) DeepCopyInto

func (in *PolicyAssignmentList) DeepCopyInto(out *PolicyAssignmentList)

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

func (*PolicyAssignmentList) DeepCopyObject

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

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

type PolicyAssignmentSpec

type PolicyAssignmentSpec struct {
	State *PolicyAssignmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource PolicyAssignmentSpecResource `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 (*PolicyAssignmentSpec) DeepCopy

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

func (*PolicyAssignmentSpec) DeepCopyInto

func (in *PolicyAssignmentSpec) DeepCopyInto(out *PolicyAssignmentSpec)

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

type PolicyAssignmentSpecIdentity

type PolicyAssignmentSpecIdentity struct {
	// +optional
	PrincipalID *string `json:"principalID,omitempty" tf:"principal_id"`
	// +optional
	TenantID *string `json:"tenantID,omitempty" tf:"tenant_id"`
	Type     *string `json:"type" tf:"type"`
}

func (*PolicyAssignmentSpecIdentity) DeepCopy

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

func (*PolicyAssignmentSpecIdentity) DeepCopyInto

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

type PolicyAssignmentSpecIdentityCodec

type PolicyAssignmentSpecIdentityCodec struct {
}

+k8s:deepcopy-gen=false

func (PolicyAssignmentSpecIdentityCodec) Decode

func (PolicyAssignmentSpecIdentityCodec) Encode

func (PolicyAssignmentSpecIdentityCodec) IsEmpty

type PolicyAssignmentSpecNonComplianceMessage added in v0.5.0

type PolicyAssignmentSpecNonComplianceMessage struct {
	Content *string `json:"content" tf:"content"`
	// +optional
	PolicyDefinitionReferenceID *string `json:"policyDefinitionReferenceID,omitempty" tf:"policy_definition_reference_id"`
}

func (*PolicyAssignmentSpecNonComplianceMessage) DeepCopy added in v0.5.0

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

func (*PolicyAssignmentSpecNonComplianceMessage) DeepCopyInto added in v0.5.0

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

type PolicyAssignmentSpecResource

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

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

	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name"`
	// +optional
	Enforce *bool `json:"enforce,omitempty" tf:"enforce"`
	// +optional
	Identity *PolicyAssignmentSpecIdentity `json:"identity,omitempty" tf:"identity"`
	// +optional
	Location *string `json:"location,omitempty" tf:"location"`
	// +optional
	Metadata *string `json:"metadata,omitempty" tf:"metadata"`
	Name     *string `json:"name" tf:"name"`
	// +optional
	NonComplianceMessage []PolicyAssignmentSpecNonComplianceMessage `json:"nonComplianceMessage,omitempty" tf:"non_compliance_message"`
	// +optional
	NotScopes []string `json:"notScopes,omitempty" tf:"not_scopes"`
	// +optional
	Parameters         *string `json:"parameters,omitempty" tf:"parameters"`
	PolicyDefinitionID *string `json:"policyDefinitionID" tf:"policy_definition_id"`
	SubscriptionID     *string `json:"subscriptionID" tf:"subscription_id"`
}

func (*PolicyAssignmentSpecResource) DeepCopy

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

func (*PolicyAssignmentSpecResource) DeepCopyInto

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

type PolicyAssignmentStatus

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

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

func (*PolicyAssignmentStatus) DeepCopyInto

func (in *PolicyAssignmentStatus) DeepCopyInto(out *PolicyAssignmentStatus)

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

type Subscription

type Subscription struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              SubscriptionSpec   `json:"spec,omitempty"`
	Status            SubscriptionStatus `json:"status,omitempty"`
}

func (*Subscription) DeepCopy

func (in *Subscription) DeepCopy() *Subscription

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

func (*Subscription) DeepCopyInto

func (in *Subscription) DeepCopyInto(out *Subscription)

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

func (*Subscription) DeepCopyObject

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

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

func (*Subscription) SetupWebhookWithManager

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

func (*Subscription) ValidateCreate

func (r *Subscription) ValidateCreate() error

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

func (*Subscription) ValidateDelete

func (r *Subscription) ValidateDelete() error

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

func (*Subscription) ValidateUpdate

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

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

type SubscriptionList

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

SubscriptionList is a list of Subscriptions

func (*SubscriptionList) DeepCopy

func (in *SubscriptionList) DeepCopy() *SubscriptionList

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

func (*SubscriptionList) DeepCopyInto

func (in *SubscriptionList) DeepCopyInto(out *SubscriptionList)

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

func (*SubscriptionList) DeepCopyObject

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

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

type SubscriptionSpec

type SubscriptionSpec struct {
	State *SubscriptionSpecResource `json:"state,omitempty" tf:"-"`

	Resource SubscriptionSpecResource `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 (*SubscriptionSpec) DeepCopy

func (in *SubscriptionSpec) DeepCopy() *SubscriptionSpec

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

func (*SubscriptionSpec) DeepCopyInto

func (in *SubscriptionSpec) DeepCopyInto(out *SubscriptionSpec)

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

type SubscriptionSpecResource

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

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

	// The Alias Name of the subscription. If omitted a new UUID will be generated for this property.
	// +optional
	Alias *string `json:"alias,omitempty" tf:"alias"`
	// +optional
	BillingScopeID *string `json:"billingScopeID,omitempty" tf:"billing_scope_id"`
	// The GUID of the Subscription.
	// +optional
	SubscriptionID *string `json:"subscriptionID,omitempty" tf:"subscription_id"`
	// The Display Name for the Subscription.
	SubscriptionName *string `json:"subscriptionName" tf:"subscription_name"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// The Tenant ID to which the subscription belongs
	// +optional
	TenantID *string `json:"tenantID,omitempty" tf:"tenant_id"`
	// The workload type for the Subscription. Possible values are `Production` (default) and `DevTest`.
	// +optional
	Workload *string `json:"workload,omitempty" tf:"workload"`
}

func (*SubscriptionSpecResource) DeepCopy

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

func (*SubscriptionSpecResource) DeepCopyInto

func (in *SubscriptionSpecResource) DeepCopyInto(out *SubscriptionSpecResource)

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

type SubscriptionStatus

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

func (in *SubscriptionStatus) DeepCopy() *SubscriptionStatus

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

func (*SubscriptionStatus) DeepCopyInto

func (in *SubscriptionStatus) DeepCopyInto(out *SubscriptionStatus)

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

type TemplateDeployment

type TemplateDeployment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TemplateDeploymentSpec   `json:"spec,omitempty"`
	Status            TemplateDeploymentStatus `json:"status,omitempty"`
}

func (*TemplateDeployment) DeepCopy

func (in *TemplateDeployment) DeepCopy() *TemplateDeployment

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

func (*TemplateDeployment) DeepCopyInto

func (in *TemplateDeployment) DeepCopyInto(out *TemplateDeployment)

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

func (*TemplateDeployment) DeepCopyObject

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

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

func (*TemplateDeployment) SetupWebhookWithManager

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

func (*TemplateDeployment) ValidateCreate

func (r *TemplateDeployment) ValidateCreate() error

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

func (*TemplateDeployment) ValidateDelete

func (r *TemplateDeployment) ValidateDelete() error

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

func (*TemplateDeployment) ValidateUpdate

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

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

type TemplateDeploymentList

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

TemplateDeploymentList is a list of TemplateDeployments

func (*TemplateDeploymentList) DeepCopy

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

func (*TemplateDeploymentList) DeepCopyInto

func (in *TemplateDeploymentList) DeepCopyInto(out *TemplateDeploymentList)

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

func (*TemplateDeploymentList) DeepCopyObject

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

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

type TemplateDeploymentSpec

type TemplateDeploymentSpec struct {
	State *TemplateDeploymentSpecResource `json:"state,omitempty" tf:"-"`

	Resource TemplateDeploymentSpecResource `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 (*TemplateDeploymentSpec) DeepCopy

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

func (*TemplateDeploymentSpec) DeepCopyInto

func (in *TemplateDeploymentSpec) DeepCopyInto(out *TemplateDeploymentSpec)

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

type TemplateDeploymentSpecResource

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

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

	// +optional
	DebugLevel *string `json:"debugLevel,omitempty" tf:"debug_level"`
	Location   *string `json:"location" tf:"location"`
	Name       *string `json:"name" tf:"name"`
	// +optional
	OutputContent *string `json:"outputContent,omitempty" tf:"output_content"`
	// +optional
	ParametersContent *string `json:"parametersContent,omitempty" tf:"parameters_content"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TemplateContent *string `json:"templateContent,omitempty" tf:"template_content"`
	// +optional
	TemplateSpecVersionID *string `json:"templateSpecVersionID,omitempty" tf:"template_spec_version_id"`
}

func (*TemplateDeploymentSpecResource) DeepCopy

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

func (*TemplateDeploymentSpecResource) DeepCopyInto

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

type TemplateDeploymentStatus

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

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

func (*TemplateDeploymentStatus) DeepCopyInto

func (in *TemplateDeploymentStatus) DeepCopyInto(out *TemplateDeploymentStatus)

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