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=consumption.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: consumption.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 BudgetManagementGroup added in v0.5.0

type BudgetManagementGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BudgetManagementGroupSpec   `json:"spec,omitempty"`
	Status            BudgetManagementGroupStatus `json:"status,omitempty"`
}

func (*BudgetManagementGroup) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroup) DeepCopyInto added in v0.5.0

func (in *BudgetManagementGroup) DeepCopyInto(out *BudgetManagementGroup)

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

func (*BudgetManagementGroup) DeepCopyObject added in v0.5.0

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

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

func (*BudgetManagementGroup) SetupWebhookWithManager added in v0.5.0

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

func (*BudgetManagementGroup) ValidateCreate added in v0.5.0

func (r *BudgetManagementGroup) ValidateCreate() error

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

func (*BudgetManagementGroup) ValidateDelete added in v0.5.0

func (r *BudgetManagementGroup) ValidateDelete() error

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

func (*BudgetManagementGroup) ValidateUpdate added in v0.5.0

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

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

type BudgetManagementGroupList added in v0.5.0

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

BudgetManagementGroupList is a list of BudgetManagementGroups

func (*BudgetManagementGroupList) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupList) DeepCopyInto added in v0.5.0

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

func (*BudgetManagementGroupList) DeepCopyObject added in v0.5.0

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

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

type BudgetManagementGroupSpec added in v0.5.0

type BudgetManagementGroupSpec struct {
	State *BudgetManagementGroupSpecResource `json:"state,omitempty" tf:"-"`

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

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

func (*BudgetManagementGroupSpec) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecFilter added in v0.5.0

type BudgetManagementGroupSpecFilter struct {
	// +optional
	Dimension []BudgetManagementGroupSpecFilterDimension `json:"dimension,omitempty" tf:"dimension"`
	// +optional
	Not *BudgetManagementGroupSpecFilterNot `json:"not,omitempty" tf:"not"`
	// +optional
	Tag []BudgetManagementGroupSpecFilterTag `json:"tag,omitempty" tf:"tag"`
}

func (*BudgetManagementGroupSpecFilter) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupSpecFilter) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecFilterCodec added in v0.5.0

type BudgetManagementGroupSpecFilterCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetManagementGroupSpecFilterCodec) Decode added in v0.5.0

func (BudgetManagementGroupSpecFilterCodec) Encode added in v0.5.0

func (BudgetManagementGroupSpecFilterCodec) IsEmpty added in v0.5.0

type BudgetManagementGroupSpecFilterDimension added in v0.5.0

type BudgetManagementGroupSpecFilterDimension struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string `json:"operator,omitempty" tf:"operator"`
	// +kubebuilder:validation:MinItems=1
	Values []string `json:"values" tf:"values"`
}

func (*BudgetManagementGroupSpecFilterDimension) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupSpecFilterDimension) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecFilterNot added in v0.5.0

type BudgetManagementGroupSpecFilterNot struct {
	// +optional
	Dimension *BudgetManagementGroupSpecFilterNotDimension `json:"dimension,omitempty" tf:"dimension"`
	// +optional
	Tag *BudgetManagementGroupSpecFilterNotTag `json:"tag,omitempty" tf:"tag"`
}

func (*BudgetManagementGroupSpecFilterNot) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupSpecFilterNot) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecFilterNotCodec added in v0.5.0

type BudgetManagementGroupSpecFilterNotCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetManagementGroupSpecFilterNotCodec) Decode added in v0.5.0

func (BudgetManagementGroupSpecFilterNotCodec) Encode added in v0.5.0

func (BudgetManagementGroupSpecFilterNotCodec) IsEmpty added in v0.5.0

type BudgetManagementGroupSpecFilterNotDimension added in v0.5.0

type BudgetManagementGroupSpecFilterNotDimension struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string `json:"operator,omitempty" tf:"operator"`
	// +kubebuilder:validation:MinItems=1
	Values []string `json:"values" tf:"values"`
}

func (*BudgetManagementGroupSpecFilterNotDimension) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupSpecFilterNotDimension) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecFilterNotDimensionCodec added in v0.5.0

type BudgetManagementGroupSpecFilterNotDimensionCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetManagementGroupSpecFilterNotDimensionCodec) Decode added in v0.5.0

func (BudgetManagementGroupSpecFilterNotDimensionCodec) Encode added in v0.5.0

func (BudgetManagementGroupSpecFilterNotDimensionCodec) IsEmpty added in v0.5.0

type BudgetManagementGroupSpecFilterNotTag added in v0.5.0

type BudgetManagementGroupSpecFilterNotTag struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string  `json:"operator,omitempty" tf:"operator"`
	Values   []string `json:"values" tf:"values"`
}

func (*BudgetManagementGroupSpecFilterNotTag) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupSpecFilterNotTag) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecFilterNotTagCodec added in v0.5.0

type BudgetManagementGroupSpecFilterNotTagCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetManagementGroupSpecFilterNotTagCodec) Decode added in v0.5.0

func (BudgetManagementGroupSpecFilterNotTagCodec) Encode added in v0.5.0

func (BudgetManagementGroupSpecFilterNotTagCodec) IsEmpty added in v0.5.0

type BudgetManagementGroupSpecFilterTag added in v0.5.0

type BudgetManagementGroupSpecFilterTag struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string  `json:"operator,omitempty" tf:"operator"`
	Values   []string `json:"values" tf:"values"`
}

func (*BudgetManagementGroupSpecFilterTag) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupSpecFilterTag) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecNotification added in v0.5.0

type BudgetManagementGroupSpecNotification struct {
	// +kubebuilder:validation:MinItems=1
	ContactEmails []string `json:"contactEmails" tf:"contact_emails"`
	// +optional
	Enabled   *bool   `json:"enabled,omitempty" tf:"enabled"`
	Operator  *string `json:"operator" tf:"operator"`
	Threshold *int64  `json:"threshold" tf:"threshold"`
	// +optional
	ThresholdType *string `json:"thresholdType,omitempty" tf:"threshold_type"`
}

func (*BudgetManagementGroupSpecNotification) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupSpecNotification) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecResource added in v0.5.0

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

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

	Amount *float64 `json:"amount" tf:"amount"`
	// +optional
	Etag *string `json:"etag,omitempty" tf:"etag"`
	// +optional
	Filter            *BudgetManagementGroupSpecFilter `json:"filter,omitempty" tf:"filter"`
	ManagementGroupID *string                          `json:"managementGroupID" tf:"management_group_id"`
	Name              *string                          `json:"name" tf:"name"`
	// +kubebuilder:validation:MaxItems=5
	// +kubebuilder:validation:MinItems=1
	Notification []BudgetManagementGroupSpecNotification `json:"notification" tf:"notification"`
	// +optional
	TimeGrain  *string                              `json:"timeGrain,omitempty" tf:"time_grain"`
	TimePeriod *BudgetManagementGroupSpecTimePeriod `json:"timePeriod" tf:"time_period"`
}

func (*BudgetManagementGroupSpecResource) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupSpecResource) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecTimePeriod added in v0.5.0

type BudgetManagementGroupSpecTimePeriod struct {
	// +optional
	EndDate   *string `json:"endDate,omitempty" tf:"end_date"`
	StartDate *string `json:"startDate" tf:"start_date"`
}

func (*BudgetManagementGroupSpecTimePeriod) DeepCopy added in v0.5.0

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

func (*BudgetManagementGroupSpecTimePeriod) DeepCopyInto added in v0.5.0

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

type BudgetManagementGroupSpecTimePeriodCodec added in v0.5.0

type BudgetManagementGroupSpecTimePeriodCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetManagementGroupSpecTimePeriodCodec) Decode added in v0.5.0

func (BudgetManagementGroupSpecTimePeriodCodec) Encode added in v0.5.0

func (BudgetManagementGroupSpecTimePeriodCodec) IsEmpty added in v0.5.0

type BudgetManagementGroupStatus added in v0.5.0

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

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

func (*BudgetManagementGroupStatus) DeepCopyInto added in v0.5.0

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

type BudgetResourceGroup

type BudgetResourceGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BudgetResourceGroupSpec   `json:"spec,omitempty"`
	Status            BudgetResourceGroupStatus `json:"status,omitempty"`
}

func (*BudgetResourceGroup) DeepCopy

func (in *BudgetResourceGroup) DeepCopy() *BudgetResourceGroup

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

func (*BudgetResourceGroup) DeepCopyInto

func (in *BudgetResourceGroup) DeepCopyInto(out *BudgetResourceGroup)

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

func (*BudgetResourceGroup) DeepCopyObject

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

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

func (*BudgetResourceGroup) SetupWebhookWithManager

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

func (*BudgetResourceGroup) ValidateCreate

func (r *BudgetResourceGroup) ValidateCreate() error

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

func (*BudgetResourceGroup) ValidateDelete

func (r *BudgetResourceGroup) ValidateDelete() error

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

func (*BudgetResourceGroup) ValidateUpdate

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

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

type BudgetResourceGroupList

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

BudgetResourceGroupList is a list of BudgetResourceGroups

func (*BudgetResourceGroupList) DeepCopy

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

func (*BudgetResourceGroupList) DeepCopyInto

func (in *BudgetResourceGroupList) DeepCopyInto(out *BudgetResourceGroupList)

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

func (*BudgetResourceGroupList) DeepCopyObject

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

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

type BudgetResourceGroupSpec

type BudgetResourceGroupSpec struct {
	State *BudgetResourceGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource BudgetResourceGroupSpecResource `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 (*BudgetResourceGroupSpec) DeepCopy

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

func (*BudgetResourceGroupSpec) DeepCopyInto

func (in *BudgetResourceGroupSpec) DeepCopyInto(out *BudgetResourceGroupSpec)

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

type BudgetResourceGroupSpecFilter

type BudgetResourceGroupSpecFilter struct {
	// +optional
	Dimension []BudgetResourceGroupSpecFilterDimension `json:"dimension,omitempty" tf:"dimension"`
	// +optional
	Not *BudgetResourceGroupSpecFilterNot `json:"not,omitempty" tf:"not"`
	// +optional
	Tag []BudgetResourceGroupSpecFilterTag `json:"tag,omitempty" tf:"tag"`
}

func (*BudgetResourceGroupSpecFilter) DeepCopy

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

func (*BudgetResourceGroupSpecFilter) DeepCopyInto

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

type BudgetResourceGroupSpecFilterCodec

type BudgetResourceGroupSpecFilterCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetResourceGroupSpecFilterCodec) Decode

func (BudgetResourceGroupSpecFilterCodec) Encode

func (BudgetResourceGroupSpecFilterCodec) IsEmpty

type BudgetResourceGroupSpecFilterDimension

type BudgetResourceGroupSpecFilterDimension struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string `json:"operator,omitempty" tf:"operator"`
	// +kubebuilder:validation:MinItems=1
	Values []string `json:"values" tf:"values"`
}

func (*BudgetResourceGroupSpecFilterDimension) DeepCopy

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

func (*BudgetResourceGroupSpecFilterDimension) DeepCopyInto

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

type BudgetResourceGroupSpecFilterNot

type BudgetResourceGroupSpecFilterNot struct {
	// +optional
	Dimension *BudgetResourceGroupSpecFilterNotDimension `json:"dimension,omitempty" tf:"dimension"`
	// +optional
	Tag *BudgetResourceGroupSpecFilterNotTag `json:"tag,omitempty" tf:"tag"`
}

func (*BudgetResourceGroupSpecFilterNot) DeepCopy

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

func (*BudgetResourceGroupSpecFilterNot) DeepCopyInto

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

type BudgetResourceGroupSpecFilterNotCodec

type BudgetResourceGroupSpecFilterNotCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetResourceGroupSpecFilterNotCodec) Decode

func (BudgetResourceGroupSpecFilterNotCodec) Encode

func (BudgetResourceGroupSpecFilterNotCodec) IsEmpty

type BudgetResourceGroupSpecFilterNotDimension

type BudgetResourceGroupSpecFilterNotDimension struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string `json:"operator,omitempty" tf:"operator"`
	// +kubebuilder:validation:MinItems=1
	Values []string `json:"values" tf:"values"`
}

func (*BudgetResourceGroupSpecFilterNotDimension) DeepCopy

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

func (*BudgetResourceGroupSpecFilterNotDimension) DeepCopyInto

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

type BudgetResourceGroupSpecFilterNotDimensionCodec

type BudgetResourceGroupSpecFilterNotDimensionCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetResourceGroupSpecFilterNotDimensionCodec) Decode

func (BudgetResourceGroupSpecFilterNotDimensionCodec) Encode

func (BudgetResourceGroupSpecFilterNotDimensionCodec) IsEmpty

type BudgetResourceGroupSpecFilterNotTag

type BudgetResourceGroupSpecFilterNotTag struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string  `json:"operator,omitempty" tf:"operator"`
	Values   []string `json:"values" tf:"values"`
}

func (*BudgetResourceGroupSpecFilterNotTag) DeepCopy

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

func (*BudgetResourceGroupSpecFilterNotTag) DeepCopyInto

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

type BudgetResourceGroupSpecFilterNotTagCodec

type BudgetResourceGroupSpecFilterNotTagCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetResourceGroupSpecFilterNotTagCodec) Decode

func (BudgetResourceGroupSpecFilterNotTagCodec) Encode

func (BudgetResourceGroupSpecFilterNotTagCodec) IsEmpty

type BudgetResourceGroupSpecFilterTag

type BudgetResourceGroupSpecFilterTag struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string  `json:"operator,omitempty" tf:"operator"`
	Values   []string `json:"values" tf:"values"`
}

func (*BudgetResourceGroupSpecFilterTag) DeepCopy

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

func (*BudgetResourceGroupSpecFilterTag) DeepCopyInto

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

type BudgetResourceGroupSpecNotification

type BudgetResourceGroupSpecNotification struct {
	// +optional
	ContactEmails []string `json:"contactEmails,omitempty" tf:"contact_emails"`
	// +optional
	ContactGroups []string `json:"contactGroups,omitempty" tf:"contact_groups"`
	// +optional
	ContactRoles []string `json:"contactRoles,omitempty" tf:"contact_roles"`
	// +optional
	Enabled   *bool   `json:"enabled,omitempty" tf:"enabled"`
	Operator  *string `json:"operator" tf:"operator"`
	Threshold *int64  `json:"threshold" tf:"threshold"`
	// +optional
	ThresholdType *string `json:"thresholdType,omitempty" tf:"threshold_type"`
}

func (*BudgetResourceGroupSpecNotification) DeepCopy

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

func (*BudgetResourceGroupSpecNotification) DeepCopyInto

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

type BudgetResourceGroupSpecResource

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

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

	Amount *float64 `json:"amount" tf:"amount"`
	// +optional
	Etag *string `json:"etag,omitempty" tf:"etag"`
	// +optional
	Filter *BudgetResourceGroupSpecFilter `json:"filter,omitempty" tf:"filter"`
	Name   *string                        `json:"name" tf:"name"`
	// +kubebuilder:validation:MaxItems=5
	// +kubebuilder:validation:MinItems=1
	Notification    []BudgetResourceGroupSpecNotification `json:"notification" tf:"notification"`
	ResourceGroupID *string                               `json:"resourceGroupID" tf:"resource_group_id"`
	// +optional
	TimeGrain  *string                            `json:"timeGrain,omitempty" tf:"time_grain"`
	TimePeriod *BudgetResourceGroupSpecTimePeriod `json:"timePeriod" tf:"time_period"`
}

func (*BudgetResourceGroupSpecResource) DeepCopy

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

func (*BudgetResourceGroupSpecResource) DeepCopyInto

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

type BudgetResourceGroupSpecTimePeriod

type BudgetResourceGroupSpecTimePeriod struct {
	// +optional
	EndDate   *string `json:"endDate,omitempty" tf:"end_date"`
	StartDate *string `json:"startDate" tf:"start_date"`
}

func (*BudgetResourceGroupSpecTimePeriod) DeepCopy

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

func (*BudgetResourceGroupSpecTimePeriod) DeepCopyInto

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

type BudgetResourceGroupSpecTimePeriodCodec

type BudgetResourceGroupSpecTimePeriodCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetResourceGroupSpecTimePeriodCodec) Decode

func (BudgetResourceGroupSpecTimePeriodCodec) Encode

func (BudgetResourceGroupSpecTimePeriodCodec) IsEmpty

type BudgetResourceGroupStatus

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

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

func (*BudgetResourceGroupStatus) DeepCopyInto

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

type BudgetSubscription

type BudgetSubscription struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              BudgetSubscriptionSpec   `json:"spec,omitempty"`
	Status            BudgetSubscriptionStatus `json:"status,omitempty"`
}

func (*BudgetSubscription) DeepCopy

func (in *BudgetSubscription) DeepCopy() *BudgetSubscription

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

func (*BudgetSubscription) DeepCopyInto

func (in *BudgetSubscription) DeepCopyInto(out *BudgetSubscription)

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

func (*BudgetSubscription) DeepCopyObject

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

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

func (*BudgetSubscription) SetupWebhookWithManager

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

func (*BudgetSubscription) ValidateCreate

func (r *BudgetSubscription) ValidateCreate() error

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

func (*BudgetSubscription) ValidateDelete

func (r *BudgetSubscription) ValidateDelete() error

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

func (*BudgetSubscription) ValidateUpdate

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

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

type BudgetSubscriptionList

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

BudgetSubscriptionList is a list of BudgetSubscriptions

func (*BudgetSubscriptionList) DeepCopy

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

func (*BudgetSubscriptionList) DeepCopyInto

func (in *BudgetSubscriptionList) DeepCopyInto(out *BudgetSubscriptionList)

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

func (*BudgetSubscriptionList) DeepCopyObject

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

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

type BudgetSubscriptionSpec

type BudgetSubscriptionSpec struct {
	State *BudgetSubscriptionSpecResource `json:"state,omitempty" tf:"-"`

	Resource BudgetSubscriptionSpecResource `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 (*BudgetSubscriptionSpec) DeepCopy

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

func (*BudgetSubscriptionSpec) DeepCopyInto

func (in *BudgetSubscriptionSpec) DeepCopyInto(out *BudgetSubscriptionSpec)

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

type BudgetSubscriptionSpecFilter

type BudgetSubscriptionSpecFilter struct {
	// +optional
	Dimension []BudgetSubscriptionSpecFilterDimension `json:"dimension,omitempty" tf:"dimension"`
	// +optional
	Not *BudgetSubscriptionSpecFilterNot `json:"not,omitempty" tf:"not"`
	// +optional
	Tag []BudgetSubscriptionSpecFilterTag `json:"tag,omitempty" tf:"tag"`
}

func (*BudgetSubscriptionSpecFilter) DeepCopy

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

func (*BudgetSubscriptionSpecFilter) DeepCopyInto

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

type BudgetSubscriptionSpecFilterCodec

type BudgetSubscriptionSpecFilterCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetSubscriptionSpecFilterCodec) Decode

func (BudgetSubscriptionSpecFilterCodec) Encode

func (BudgetSubscriptionSpecFilterCodec) IsEmpty

type BudgetSubscriptionSpecFilterDimension

type BudgetSubscriptionSpecFilterDimension struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string `json:"operator,omitempty" tf:"operator"`
	// +kubebuilder:validation:MinItems=1
	Values []string `json:"values" tf:"values"`
}

func (*BudgetSubscriptionSpecFilterDimension) DeepCopy

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

func (*BudgetSubscriptionSpecFilterDimension) DeepCopyInto

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

type BudgetSubscriptionSpecFilterNot

type BudgetSubscriptionSpecFilterNot struct {
	// +optional
	Dimension *BudgetSubscriptionSpecFilterNotDimension `json:"dimension,omitempty" tf:"dimension"`
	// +optional
	Tag *BudgetSubscriptionSpecFilterNotTag `json:"tag,omitempty" tf:"tag"`
}

func (*BudgetSubscriptionSpecFilterNot) DeepCopy

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

func (*BudgetSubscriptionSpecFilterNot) DeepCopyInto

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

type BudgetSubscriptionSpecFilterNotCodec

type BudgetSubscriptionSpecFilterNotCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetSubscriptionSpecFilterNotCodec) Decode

func (BudgetSubscriptionSpecFilterNotCodec) Encode

func (BudgetSubscriptionSpecFilterNotCodec) IsEmpty

type BudgetSubscriptionSpecFilterNotDimension

type BudgetSubscriptionSpecFilterNotDimension struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string `json:"operator,omitempty" tf:"operator"`
	// +kubebuilder:validation:MinItems=1
	Values []string `json:"values" tf:"values"`
}

func (*BudgetSubscriptionSpecFilterNotDimension) DeepCopy

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

func (*BudgetSubscriptionSpecFilterNotDimension) DeepCopyInto

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

type BudgetSubscriptionSpecFilterNotDimensionCodec

type BudgetSubscriptionSpecFilterNotDimensionCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetSubscriptionSpecFilterNotDimensionCodec) Decode

func (BudgetSubscriptionSpecFilterNotDimensionCodec) Encode

func (BudgetSubscriptionSpecFilterNotDimensionCodec) IsEmpty

type BudgetSubscriptionSpecFilterNotTag

type BudgetSubscriptionSpecFilterNotTag struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string  `json:"operator,omitempty" tf:"operator"`
	Values   []string `json:"values" tf:"values"`
}

func (*BudgetSubscriptionSpecFilterNotTag) DeepCopy

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

func (*BudgetSubscriptionSpecFilterNotTag) DeepCopyInto

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

type BudgetSubscriptionSpecFilterNotTagCodec

type BudgetSubscriptionSpecFilterNotTagCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetSubscriptionSpecFilterNotTagCodec) Decode

func (BudgetSubscriptionSpecFilterNotTagCodec) Encode

func (BudgetSubscriptionSpecFilterNotTagCodec) IsEmpty

type BudgetSubscriptionSpecFilterTag

type BudgetSubscriptionSpecFilterTag struct {
	Name *string `json:"name" tf:"name"`
	// +optional
	Operator *string  `json:"operator,omitempty" tf:"operator"`
	Values   []string `json:"values" tf:"values"`
}

func (*BudgetSubscriptionSpecFilterTag) DeepCopy

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

func (*BudgetSubscriptionSpecFilterTag) DeepCopyInto

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

type BudgetSubscriptionSpecNotification

type BudgetSubscriptionSpecNotification struct {
	// +optional
	ContactEmails []string `json:"contactEmails,omitempty" tf:"contact_emails"`
	// +optional
	ContactGroups []string `json:"contactGroups,omitempty" tf:"contact_groups"`
	// +optional
	ContactRoles []string `json:"contactRoles,omitempty" tf:"contact_roles"`
	// +optional
	Enabled   *bool   `json:"enabled,omitempty" tf:"enabled"`
	Operator  *string `json:"operator" tf:"operator"`
	Threshold *int64  `json:"threshold" tf:"threshold"`
	// +optional
	ThresholdType *string `json:"thresholdType,omitempty" tf:"threshold_type"`
}

func (*BudgetSubscriptionSpecNotification) DeepCopy

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

func (*BudgetSubscriptionSpecNotification) DeepCopyInto

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

type BudgetSubscriptionSpecResource

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

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

	Amount *float64 `json:"amount" tf:"amount"`
	// +optional
	Etag *string `json:"etag,omitempty" tf:"etag"`
	// +optional
	Filter *BudgetSubscriptionSpecFilter `json:"filter,omitempty" tf:"filter"`
	Name   *string                       `json:"name" tf:"name"`
	// +kubebuilder:validation:MaxItems=5
	// +kubebuilder:validation:MinItems=1
	Notification   []BudgetSubscriptionSpecNotification `json:"notification" tf:"notification"`
	SubscriptionID *string                              `json:"subscriptionID" tf:"subscription_id"`
	// +optional
	TimeGrain  *string                           `json:"timeGrain,omitempty" tf:"time_grain"`
	TimePeriod *BudgetSubscriptionSpecTimePeriod `json:"timePeriod" tf:"time_period"`
}

func (*BudgetSubscriptionSpecResource) DeepCopy

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

func (*BudgetSubscriptionSpecResource) DeepCopyInto

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

type BudgetSubscriptionSpecTimePeriod

type BudgetSubscriptionSpecTimePeriod struct {
	// +optional
	EndDate   *string `json:"endDate,omitempty" tf:"end_date"`
	StartDate *string `json:"startDate" tf:"start_date"`
}

func (*BudgetSubscriptionSpecTimePeriod) DeepCopy

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

func (*BudgetSubscriptionSpecTimePeriod) DeepCopyInto

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

type BudgetSubscriptionSpecTimePeriodCodec

type BudgetSubscriptionSpecTimePeriodCodec struct {
}

+k8s:deepcopy-gen=false

func (BudgetSubscriptionSpecTimePeriodCodec) Decode

func (BudgetSubscriptionSpecTimePeriodCodec) Encode

func (BudgetSubscriptionSpecTimePeriodCodec) IsEmpty

type BudgetSubscriptionStatus

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

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

func (*BudgetSubscriptionStatus) DeepCopyInto

func (in *BudgetSubscriptionStatus) DeepCopyInto(out *BudgetSubscriptionStatus)

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