Documentation ¶
Overview ¶
+groupName=insights.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 Event
- func (in *Event) DeepCopy() *Event
- func (in *Event) DeepCopyInto(out *Event)
- func (in *Event) DeepCopyObject() runtime.Object
- func (r *Event) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Event) ValidateCreate() error
- func (r *Event) ValidateDelete() error
- func (r *Event) ValidateUpdate(old runtime.Object) error
- type EventList
- type EventSpec
- type EventSpecEvent
- type EventSpecEventAttribute
- type EventSpecResource
- type EventStatus
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: insights.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 Event ¶
type Event struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EventSpec `json:"spec,omitempty"` Status EventStatus `json:"status,omitempty"` }
func (*Event) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Event.
func (*Event) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Event) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Event) SetupWebhookWithManager ¶
func (*Event) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Event) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type EventList ¶
type EventList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Event CRD objects Items []Event `json:"items,omitempty"` }
EventList is a list of Events
func (*EventList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.
func (*EventList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventSpec ¶
type EventSpec struct { State *EventSpecResource `json:"state,omitempty" tf:"-"` Resource EventSpecResource `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 (*EventSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSpec.
type EventSpecEvent ¶
type EventSpecEvent struct { // An attribute to include in your event payload. Multiple attribute blocks can be defined for an event. // +kubebuilder:validation:MaxItems=255 // +kubebuilder:validation:MinItems=1 Attribute []EventSpecEventAttribute `json:"attribute" tf:"attribute"` // Must be a Unix epoch timestamp. You can define timestamps either in seconds or in milliseconds. // +optional Timestamp *int64 `json:"timestamp,omitempty" tf:"timestamp"` // The event's name. Can be a combination of alphanumeric characters, underscores, and colons. Type *string `json:"type" tf:"type"` }
func (*EventSpecEvent) DeepCopy ¶
func (in *EventSpecEvent) DeepCopy() *EventSpecEvent
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSpecEvent.
func (*EventSpecEvent) DeepCopyInto ¶
func (in *EventSpecEvent) DeepCopyInto(out *EventSpecEvent)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventSpecEventAttribute ¶
type EventSpecEventAttribute struct { // The name of the attribute. Key *string `json:"key" tf:"key"` // Specify the type for the attribute value. This is useful when passing integer or float values to Insights. Allowed values are string, int, or float. Defaults to string. // +optional Type *string `json:"type,omitempty" tf:"type"` // The value of the attribute. Value *string `json:"value" tf:"value"` }
func (*EventSpecEventAttribute) DeepCopy ¶
func (in *EventSpecEventAttribute) DeepCopy() *EventSpecEventAttribute
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSpecEventAttribute.
func (*EventSpecEventAttribute) DeepCopyInto ¶
func (in *EventSpecEventAttribute) DeepCopyInto(out *EventSpecEventAttribute)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventSpecResource ¶
type EventSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // +kubebuilder:validation:MinItems=1 Event []EventSpecEvent `json:"event" tf:"event"` }
func (*EventSpecResource) DeepCopy ¶
func (in *EventSpecResource) DeepCopy() *EventSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventSpecResource.
func (*EventSpecResource) DeepCopyInto ¶
func (in *EventSpecResource) DeepCopyInto(out *EventSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EventStatus ¶
type EventStatus 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 (*EventStatus) DeepCopy ¶
func (in *EventStatus) DeepCopy() *EventStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventStatus.
func (*EventStatus) DeepCopyInto ¶
func (in *EventStatus) DeepCopyInto(out *EventStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.