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=service.newrelic.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: service.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 Level

type Level struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LevelSpec   `json:"spec,omitempty"`
	Status            LevelStatus `json:"status,omitempty"`
}

func (*Level) DeepCopy

func (in *Level) DeepCopy() *Level

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

func (*Level) DeepCopyInto

func (in *Level) DeepCopyInto(out *Level)

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

func (*Level) DeepCopyObject

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

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

func (*Level) SetupWebhookWithManager

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

func (*Level) ValidateCreate

func (r *Level) ValidateCreate() error

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

func (*Level) ValidateDelete

func (r *Level) ValidateDelete() error

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

func (*Level) ValidateUpdate

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

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

type LevelList

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

LevelList is a list of Levels

func (*LevelList) DeepCopy

func (in *LevelList) DeepCopy() *LevelList

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

func (*LevelList) DeepCopyInto

func (in *LevelList) DeepCopyInto(out *LevelList)

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

func (*LevelList) DeepCopyObject

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

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

type LevelSpec

type LevelSpec struct {
	State *LevelSpecResource `json:"state,omitempty" tf:"-"`

	Resource LevelSpecResource `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 (*LevelSpec) DeepCopy

func (in *LevelSpec) DeepCopy() *LevelSpec

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

func (*LevelSpec) DeepCopyInto

func (in *LevelSpec) DeepCopyInto(out *LevelSpec)

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

type LevelSpecEvents

type LevelSpecEvents struct {
	AccountID *int64 `json:"accountID" tf:"account_id"`
	// +optional
	BadEvents *LevelSpecEventsBadEvents `json:"badEvents,omitempty" tf:"bad_events"`
	// +optional
	GoodEvents  *LevelSpecEventsGoodEvents  `json:"goodEvents,omitempty" tf:"good_events"`
	ValidEvents *LevelSpecEventsValidEvents `json:"validEvents" tf:"valid_events"`
}

func (*LevelSpecEvents) DeepCopy

func (in *LevelSpecEvents) DeepCopy() *LevelSpecEvents

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

func (*LevelSpecEvents) DeepCopyInto

func (in *LevelSpecEvents) DeepCopyInto(out *LevelSpecEvents)

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

type LevelSpecEventsBadEvents

type LevelSpecEventsBadEvents struct {
	From *string `json:"from" tf:"from"`
	// +optional
	Where *string `json:"where,omitempty" tf:"where"`
}

func (*LevelSpecEventsBadEvents) DeepCopy

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

func (*LevelSpecEventsBadEvents) DeepCopyInto

func (in *LevelSpecEventsBadEvents) DeepCopyInto(out *LevelSpecEventsBadEvents)

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

type LevelSpecEventsBadEventsCodec

type LevelSpecEventsBadEventsCodec struct {
}

+k8s:deepcopy-gen=false

func (LevelSpecEventsBadEventsCodec) Decode

func (LevelSpecEventsBadEventsCodec) Encode

func (LevelSpecEventsBadEventsCodec) IsEmpty

type LevelSpecEventsCodec

type LevelSpecEventsCodec struct {
}

+k8s:deepcopy-gen=false

func (LevelSpecEventsCodec) Decode

func (LevelSpecEventsCodec) Encode

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

func (LevelSpecEventsCodec) IsEmpty

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

type LevelSpecEventsGoodEvents

type LevelSpecEventsGoodEvents struct {
	From *string `json:"from" tf:"from"`
	// +optional
	Where *string `json:"where,omitempty" tf:"where"`
}

func (*LevelSpecEventsGoodEvents) DeepCopy

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

func (*LevelSpecEventsGoodEvents) DeepCopyInto

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

type LevelSpecEventsGoodEventsCodec

type LevelSpecEventsGoodEventsCodec struct {
}

+k8s:deepcopy-gen=false

func (LevelSpecEventsGoodEventsCodec) Decode

func (LevelSpecEventsGoodEventsCodec) Encode

func (LevelSpecEventsGoodEventsCodec) IsEmpty

type LevelSpecEventsValidEvents

type LevelSpecEventsValidEvents struct {
	From *string `json:"from" tf:"from"`
	// +optional
	Where *string `json:"where,omitempty" tf:"where"`
}

func (*LevelSpecEventsValidEvents) DeepCopy

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

func (*LevelSpecEventsValidEvents) DeepCopyInto

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

type LevelSpecEventsValidEventsCodec

type LevelSpecEventsValidEventsCodec struct {
}

+k8s:deepcopy-gen=false

func (LevelSpecEventsValidEventsCodec) Decode

func (LevelSpecEventsValidEventsCodec) Encode

func (LevelSpecEventsValidEventsCodec) IsEmpty

type LevelSpecObjective

type LevelSpecObjective struct {
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// +optional
	Name       *string                       `json:"name,omitempty" tf:"name"`
	Target     *float64                      `json:"target" tf:"target"`
	TimeWindow *LevelSpecObjectiveTimeWindow `json:"timeWindow" tf:"time_window"`
}

func (*LevelSpecObjective) DeepCopy

func (in *LevelSpecObjective) DeepCopy() *LevelSpecObjective

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

func (*LevelSpecObjective) DeepCopyInto

func (in *LevelSpecObjective) DeepCopyInto(out *LevelSpecObjective)

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

type LevelSpecObjectiveCodec

type LevelSpecObjectiveCodec struct {
}

+k8s:deepcopy-gen=false

func (LevelSpecObjectiveCodec) Decode

func (LevelSpecObjectiveCodec) Encode

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

func (LevelSpecObjectiveCodec) IsEmpty

type LevelSpecObjectiveTimeWindow

type LevelSpecObjectiveTimeWindow struct {
	Rolling *LevelSpecObjectiveTimeWindowRolling `json:"rolling" tf:"rolling"`
}

func (*LevelSpecObjectiveTimeWindow) DeepCopy

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

func (*LevelSpecObjectiveTimeWindow) DeepCopyInto

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

type LevelSpecObjectiveTimeWindowCodec

type LevelSpecObjectiveTimeWindowCodec struct {
}

+k8s:deepcopy-gen=false

func (LevelSpecObjectiveTimeWindowCodec) Decode

func (LevelSpecObjectiveTimeWindowCodec) Encode

func (LevelSpecObjectiveTimeWindowCodec) IsEmpty

type LevelSpecObjectiveTimeWindowRolling

type LevelSpecObjectiveTimeWindowRolling struct {
	Count *int64  `json:"count" tf:"count"`
	Unit  *string `json:"unit" tf:"unit"`
}

func (*LevelSpecObjectiveTimeWindowRolling) DeepCopy

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

func (*LevelSpecObjectiveTimeWindowRolling) DeepCopyInto

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

type LevelSpecObjectiveTimeWindowRollingCodec

type LevelSpecObjectiveTimeWindowRollingCodec struct {
}

+k8s:deepcopy-gen=false

func (LevelSpecObjectiveTimeWindowRollingCodec) Decode

func (LevelSpecObjectiveTimeWindowRollingCodec) Encode

func (LevelSpecObjectiveTimeWindowRollingCodec) IsEmpty

type LevelSpecResource

type LevelSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// +optional
	Description *string             `json:"description,omitempty" tf:"description"`
	Events      *LevelSpecEvents    `json:"events" tf:"events"`
	Guid        *string             `json:"guid" tf:"guid"`
	Name        *string             `json:"name" tf:"name"`
	Objective   *LevelSpecObjective `json:"objective" tf:"objective"`
	// +optional
	SliID *string `json:"sliID,omitempty" tf:"sli_id"`
}

func (*LevelSpecResource) DeepCopy

func (in *LevelSpecResource) DeepCopy() *LevelSpecResource

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

func (*LevelSpecResource) DeepCopyInto

func (in *LevelSpecResource) DeepCopyInto(out *LevelSpecResource)

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

type LevelStatus

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

func (in *LevelStatus) DeepCopy() *LevelStatus

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

func (*LevelStatus) DeepCopyInto

func (in *LevelStatus) DeepCopyInto(out *LevelStatus)

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