v1alpha1

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=cost.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: cost.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 ManagementExportResourceGroup

type ManagementExportResourceGroup struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ManagementExportResourceGroupSpec   `json:"spec,omitempty"`
	Status            ManagementExportResourceGroupStatus `json:"status,omitempty"`
}

func (*ManagementExportResourceGroup) DeepCopy

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

func (*ManagementExportResourceGroup) DeepCopyInto

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

func (*ManagementExportResourceGroup) DeepCopyObject

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

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

func (*ManagementExportResourceGroup) SetupWebhookWithManager

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

func (*ManagementExportResourceGroup) ValidateCreate

func (r *ManagementExportResourceGroup) ValidateCreate() error

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

func (*ManagementExportResourceGroup) ValidateDelete

func (r *ManagementExportResourceGroup) ValidateDelete() error

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

func (*ManagementExportResourceGroup) ValidateUpdate

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

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

type ManagementExportResourceGroupList

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

ManagementExportResourceGroupList is a list of ManagementExportResourceGroups

func (*ManagementExportResourceGroupList) DeepCopy

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

func (*ManagementExportResourceGroupList) DeepCopyInto

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

func (*ManagementExportResourceGroupList) DeepCopyObject

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

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

type ManagementExportResourceGroupSpec

type ManagementExportResourceGroupSpec struct {
	State *ManagementExportResourceGroupSpecResource `json:"state,omitempty" tf:"-"`

	Resource ManagementExportResourceGroupSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`
}

func (*ManagementExportResourceGroupSpec) DeepCopy

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

func (*ManagementExportResourceGroupSpec) DeepCopyInto

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

type ManagementExportResourceGroupSpecDeliveryInfo

type ManagementExportResourceGroupSpecDeliveryInfo struct {
	ContainerName    *string `json:"containerName" tf:"container_name"`
	RootFolderPath   *string `json:"rootFolderPath" tf:"root_folder_path"`
	StorageAccountID *string `json:"storageAccountID" tf:"storage_account_id"`
}

func (*ManagementExportResourceGroupSpecDeliveryInfo) DeepCopy

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

func (*ManagementExportResourceGroupSpecDeliveryInfo) DeepCopyInto

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

type ManagementExportResourceGroupSpecDeliveryInfoCodec

type ManagementExportResourceGroupSpecDeliveryInfoCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagementExportResourceGroupSpecDeliveryInfoCodec) Decode

func (ManagementExportResourceGroupSpecDeliveryInfoCodec) Encode

func (ManagementExportResourceGroupSpecDeliveryInfoCodec) IsEmpty

type ManagementExportResourceGroupSpecQuery

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

func (*ManagementExportResourceGroupSpecQuery) DeepCopy

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

func (*ManagementExportResourceGroupSpecQuery) DeepCopyInto

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

type ManagementExportResourceGroupSpecQueryCodec

type ManagementExportResourceGroupSpecQueryCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagementExportResourceGroupSpecQueryCodec) Decode

func (ManagementExportResourceGroupSpecQueryCodec) Encode

func (ManagementExportResourceGroupSpecQueryCodec) IsEmpty

type ManagementExportResourceGroupSpecResource

type ManagementExportResourceGroupSpecResource 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"`
	DeliveryInfo          *ManagementExportResourceGroupSpecDeliveryInfo `json:"deliveryInfo" tf:"delivery_info"`
	Name                  *string                                        `json:"name" tf:"name"`
	Query                 *ManagementExportResourceGroupSpecQuery        `json:"query" tf:"query"`
	RecurrencePeriodEnd   *string                                        `json:"recurrencePeriodEnd" tf:"recurrence_period_end"`
	RecurrencePeriodStart *string                                        `json:"recurrencePeriodStart" tf:"recurrence_period_start"`
	RecurrenceType        *string                                        `json:"recurrenceType" tf:"recurrence_type"`
	ResourceGroupID       *string                                        `json:"resourceGroupID" tf:"resource_group_id"`
}

func (*ManagementExportResourceGroupSpecResource) DeepCopy

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

func (*ManagementExportResourceGroupSpecResource) DeepCopyInto

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

type ManagementExportResourceGroupStatus

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

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

func (*ManagementExportResourceGroupStatus) DeepCopyInto

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