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=logz.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: logz.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 Monitor

type Monitor struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              MonitorSpec   `json:"spec,omitempty"`
	Status            MonitorStatus `json:"status,omitempty"`
}

func (*Monitor) DeepCopy

func (in *Monitor) DeepCopy() *Monitor

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

func (*Monitor) DeepCopyInto

func (in *Monitor) DeepCopyInto(out *Monitor)

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

func (*Monitor) DeepCopyObject

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

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

func (*Monitor) SetupWebhookWithManager

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

func (*Monitor) ValidateCreate

func (r *Monitor) ValidateCreate() error

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

func (*Monitor) ValidateDelete

func (r *Monitor) ValidateDelete() error

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

func (*Monitor) ValidateUpdate

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

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

type MonitorList

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

MonitorList is a list of Monitors

func (*MonitorList) DeepCopy

func (in *MonitorList) DeepCopy() *MonitorList

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

func (*MonitorList) DeepCopyInto

func (in *MonitorList) DeepCopyInto(out *MonitorList)

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

func (*MonitorList) DeepCopyObject

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

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

type MonitorSpec

type MonitorSpec struct {
	State *MonitorSpecResource `json:"state,omitempty" tf:"-"`

	Resource MonitorSpecResource `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 (*MonitorSpec) DeepCopy

func (in *MonitorSpec) DeepCopy() *MonitorSpec

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

func (*MonitorSpec) DeepCopyInto

func (in *MonitorSpec) DeepCopyInto(out *MonitorSpec)

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

type MonitorSpecPlan

type MonitorSpecPlan struct {
	BillingCycle  *string `json:"billingCycle" tf:"billing_cycle"`
	EffectiveDate *string `json:"effectiveDate" tf:"effective_date"`
	PlanID        *string `json:"planID" tf:"plan_id"`
	UsageType     *string `json:"usageType" tf:"usage_type"`
}

func (*MonitorSpecPlan) DeepCopy

func (in *MonitorSpecPlan) DeepCopy() *MonitorSpecPlan

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

func (*MonitorSpecPlan) DeepCopyInto

func (in *MonitorSpecPlan) DeepCopyInto(out *MonitorSpecPlan)

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

type MonitorSpecPlanCodec

type MonitorSpecPlanCodec struct {
}

+k8s:deepcopy-gen=false

func (MonitorSpecPlanCodec) Decode

func (MonitorSpecPlanCodec) Encode

func (MonitorSpecPlanCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (MonitorSpecPlanCodec) IsEmpty

func (MonitorSpecPlanCodec) IsEmpty(ptr unsafe.Pointer) bool

type MonitorSpecResource

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

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

	// +optional
	CompanyName *string `json:"companyName,omitempty" tf:"company_name"`
	// +optional
	Enabled *bool `json:"enabled,omitempty" tf:"enabled"`
	// +optional
	EnterpriseAppID *string `json:"enterpriseAppID,omitempty" tf:"enterprise_app_id"`
	Location        *string `json:"location" tf:"location"`
	// +optional
	LogzOrganizationID *string          `json:"logzOrganizationID,omitempty" tf:"logz_organization_id"`
	Name               *string          `json:"name" tf:"name"`
	Plan               *MonitorSpecPlan `json:"plan" tf:"plan"`
	ResourceGroupName  *string          `json:"resourceGroupName" tf:"resource_group_name"`
	// +optional
	SingleSignOnURL *string `json:"singleSignOnURL,omitempty" tf:"single_sign_on_url"`
	// +optional
	Tags *map[string]string `json:"tags,omitempty" tf:"tags"`
	User *MonitorSpecUser   `json:"user" tf:"user"`
}

func (*MonitorSpecResource) DeepCopy

func (in *MonitorSpecResource) DeepCopy() *MonitorSpecResource

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

func (*MonitorSpecResource) DeepCopyInto

func (in *MonitorSpecResource) DeepCopyInto(out *MonitorSpecResource)

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

type MonitorSpecUser

type MonitorSpecUser struct {
	Email       *string `json:"email" tf:"email"`
	FirstName   *string `json:"firstName" tf:"first_name"`
	LastName    *string `json:"lastName" tf:"last_name"`
	PhoneNumber *string `json:"phoneNumber" tf:"phone_number"`
}

func (*MonitorSpecUser) DeepCopy

func (in *MonitorSpecUser) DeepCopy() *MonitorSpecUser

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

func (*MonitorSpecUser) DeepCopyInto

func (in *MonitorSpecUser) DeepCopyInto(out *MonitorSpecUser)

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

type MonitorSpecUserCodec

type MonitorSpecUserCodec struct {
}

+k8s:deepcopy-gen=false

func (MonitorSpecUserCodec) Decode

func (MonitorSpecUserCodec) Encode

func (MonitorSpecUserCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)

func (MonitorSpecUserCodec) IsEmpty

func (MonitorSpecUserCodec) IsEmpty(ptr unsafe.Pointer) bool

type MonitorStatus

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

func (in *MonitorStatus) DeepCopy() *MonitorStatus

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

func (*MonitorStatus) DeepCopyInto

func (in *MonitorStatus) DeepCopyInto(out *MonitorStatus)

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

type TagRule

type TagRule struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TagRuleSpec   `json:"spec,omitempty"`
	Status            TagRuleStatus `json:"status,omitempty"`
}

func (*TagRule) DeepCopy

func (in *TagRule) DeepCopy() *TagRule

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

func (*TagRule) DeepCopyInto

func (in *TagRule) DeepCopyInto(out *TagRule)

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

func (*TagRule) DeepCopyObject

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

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

func (*TagRule) SetupWebhookWithManager

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

func (*TagRule) ValidateCreate

func (r *TagRule) ValidateCreate() error

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

func (*TagRule) ValidateDelete

func (r *TagRule) ValidateDelete() error

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

func (*TagRule) ValidateUpdate

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

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

type TagRuleList

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

TagRuleList is a list of TagRules

func (*TagRuleList) DeepCopy

func (in *TagRuleList) DeepCopy() *TagRuleList

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

func (*TagRuleList) DeepCopyInto

func (in *TagRuleList) DeepCopyInto(out *TagRuleList)

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

func (*TagRuleList) DeepCopyObject

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

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

type TagRuleSpec

type TagRuleSpec struct {
	State *TagRuleSpecResource `json:"state,omitempty" tf:"-"`

	Resource TagRuleSpecResource `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 (*TagRuleSpec) DeepCopy

func (in *TagRuleSpec) DeepCopy() *TagRuleSpec

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

func (*TagRuleSpec) DeepCopyInto

func (in *TagRuleSpec) DeepCopyInto(out *TagRuleSpec)

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

type TagRuleSpecResource

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

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

	LogzMonitorID *string `json:"logzMonitorID" tf:"logz_monitor_id"`
	// +optional
	SendAadLogs *bool `json:"sendAadLogs,omitempty" tf:"send_aad_logs"`
	// +optional
	SendActivityLogs *bool `json:"sendActivityLogs,omitempty" tf:"send_activity_logs"`
	// +optional
	SendSubscriptionLogs *bool `json:"sendSubscriptionLogs,omitempty" tf:"send_subscription_logs"`
	// +optional
	// +kubebuilder:validation:MaxItems=10
	TagFilter []TagRuleSpecTagFilter `json:"tagFilter,omitempty" tf:"tag_filter"`
}

func (*TagRuleSpecResource) DeepCopy

func (in *TagRuleSpecResource) DeepCopy() *TagRuleSpecResource

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

func (*TagRuleSpecResource) DeepCopyInto

func (in *TagRuleSpecResource) DeepCopyInto(out *TagRuleSpecResource)

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

type TagRuleSpecTagFilter

type TagRuleSpecTagFilter struct {
	Action *string `json:"action" tf:"action"`
	Name   *string `json:"name" tf:"name"`
	// +optional
	Value *string `json:"value,omitempty" tf:"value"`
}

func (*TagRuleSpecTagFilter) DeepCopy

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

func (*TagRuleSpecTagFilter) DeepCopyInto

func (in *TagRuleSpecTagFilter) DeepCopyInto(out *TagRuleSpecTagFilter)

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

type TagRuleStatus

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

func (in *TagRuleStatus) DeepCopy() *TagRuleStatus

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

func (*TagRuleStatus) DeepCopyInto

func (in *TagRuleStatus) DeepCopyInto(out *TagRuleStatus)

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