Documentation ¶
Overview ¶
+groupName=service.newrelic.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Level
- func (in *Level) DeepCopy() *Level
- func (in *Level) DeepCopyInto(out *Level)
- func (in *Level) DeepCopyObject() runtime.Object
- func (r *Level) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Level) ValidateCreate() error
- func (r *Level) ValidateDelete() error
- func (r *Level) ValidateUpdate(old runtime.Object) error
- type LevelList
- type LevelSpec
- type LevelSpecEvents
- type LevelSpecEventsBadEvents
- type LevelSpecEventsBadEventsCodec
- type LevelSpecEventsCodec
- type LevelSpecEventsGoodEvents
- type LevelSpecEventsGoodEventsCodec
- type LevelSpecEventsValidEvents
- type LevelSpecEventsValidEventsCodec
- type LevelSpecObjective
- type LevelSpecObjectiveCodec
- type LevelSpecObjectiveTimeWindow
- type LevelSpecObjectiveTimeWindowCodec
- type LevelSpecObjectiveTimeWindowRolling
- type LevelSpecObjectiveTimeWindowRollingCodec
- type LevelSpecResource
- type LevelStatus
Constants ¶
This section is empty.
Variables ¶
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 )
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 ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Level.
func (*Level) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Level) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Level) SetupWebhookWithManager ¶
func (*Level) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Level) ValidateDelete ¶
ValidateDelete 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LevelList.
func (*LevelList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LevelSpec.
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 ¶
func (in *LevelSpecEventsBadEvents) DeepCopy() *LevelSpecEventsBadEvents
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (LevelSpecEventsBadEventsCodec) Encode ¶
func (LevelSpecEventsBadEventsCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (LevelSpecEventsBadEventsCodec) IsEmpty ¶
func (LevelSpecEventsBadEventsCodec) IsEmpty(ptr unsafe.Pointer) bool
type LevelSpecEventsCodec ¶
type LevelSpecEventsCodec struct { }
+k8s:deepcopy-gen=false
func (LevelSpecEventsCodec) Decode ¶
func (LevelSpecEventsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
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 ¶
func (in *LevelSpecEventsGoodEvents) DeepCopy() *LevelSpecEventsGoodEvents
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LevelSpecEventsGoodEvents.
func (*LevelSpecEventsGoodEvents) DeepCopyInto ¶
func (in *LevelSpecEventsGoodEvents) DeepCopyInto(out *LevelSpecEventsGoodEvents)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (LevelSpecEventsGoodEventsCodec) Encode ¶
func (LevelSpecEventsGoodEventsCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (LevelSpecEventsGoodEventsCodec) IsEmpty ¶
func (LevelSpecEventsGoodEventsCodec) IsEmpty(ptr unsafe.Pointer) bool
type LevelSpecEventsValidEvents ¶
type LevelSpecEventsValidEvents struct { From *string `json:"from" tf:"from"` // +optional Where *string `json:"where,omitempty" tf:"where"` }
func (*LevelSpecEventsValidEvents) DeepCopy ¶
func (in *LevelSpecEventsValidEvents) DeepCopy() *LevelSpecEventsValidEvents
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LevelSpecEventsValidEvents.
func (*LevelSpecEventsValidEvents) DeepCopyInto ¶
func (in *LevelSpecEventsValidEvents) DeepCopyInto(out *LevelSpecEventsValidEvents)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (LevelSpecEventsValidEventsCodec) Encode ¶
func (LevelSpecEventsValidEventsCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (LevelSpecEventsValidEventsCodec) IsEmpty ¶
func (LevelSpecEventsValidEventsCodec) IsEmpty(ptr unsafe.Pointer) bool
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (LevelSpecObjectiveCodec) Encode ¶
func (LevelSpecObjectiveCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (LevelSpecObjectiveCodec) IsEmpty ¶
func (LevelSpecObjectiveCodec) IsEmpty(ptr unsafe.Pointer) bool
type LevelSpecObjectiveTimeWindow ¶
type LevelSpecObjectiveTimeWindow struct {
Rolling *LevelSpecObjectiveTimeWindowRolling `json:"rolling" tf:"rolling"`
}
func (*LevelSpecObjectiveTimeWindow) DeepCopy ¶
func (in *LevelSpecObjectiveTimeWindow) DeepCopy() *LevelSpecObjectiveTimeWindow
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LevelSpecObjectiveTimeWindow.
func (*LevelSpecObjectiveTimeWindow) DeepCopyInto ¶
func (in *LevelSpecObjectiveTimeWindow) DeepCopyInto(out *LevelSpecObjectiveTimeWindow)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (LevelSpecObjectiveTimeWindowCodec) Encode ¶
func (LevelSpecObjectiveTimeWindowCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (LevelSpecObjectiveTimeWindowCodec) IsEmpty ¶
func (LevelSpecObjectiveTimeWindowCodec) IsEmpty(ptr unsafe.Pointer) bool
type LevelSpecObjectiveTimeWindowRolling ¶
type LevelSpecObjectiveTimeWindowRolling struct { Count *int64 `json:"count" tf:"count"` Unit *string `json:"unit" tf:"unit"` }
func (*LevelSpecObjectiveTimeWindowRolling) DeepCopy ¶
func (in *LevelSpecObjectiveTimeWindowRolling) DeepCopy() *LevelSpecObjectiveTimeWindowRolling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LevelSpecObjectiveTimeWindowRolling.
func (*LevelSpecObjectiveTimeWindowRolling) DeepCopyInto ¶
func (in *LevelSpecObjectiveTimeWindowRolling) DeepCopyInto(out *LevelSpecObjectiveTimeWindowRolling)
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) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (LevelSpecObjectiveTimeWindowRollingCodec) Encode ¶
func (LevelSpecObjectiveTimeWindowRollingCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (LevelSpecObjectiveTimeWindowRollingCodec) IsEmpty ¶
func (LevelSpecObjectiveTimeWindowRollingCodec) IsEmpty(ptr unsafe.Pointer) bool
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.