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: 14 Imported by: 0

Documentation

Overview

+groupName=one.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: one.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 Dashboard

type Dashboard struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DashboardSpec   `json:"spec,omitempty"`
	Status            DashboardStatus `json:"status,omitempty"`
}

func (*Dashboard) DeepCopy

func (in *Dashboard) DeepCopy() *Dashboard

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

func (*Dashboard) DeepCopyInto

func (in *Dashboard) DeepCopyInto(out *Dashboard)

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

func (*Dashboard) DeepCopyObject

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

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

func (*Dashboard) SetupWebhookWithManager

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

func (*Dashboard) ValidateCreate

func (r *Dashboard) ValidateCreate() error

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

func (*Dashboard) ValidateDelete

func (r *Dashboard) ValidateDelete() error

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

func (*Dashboard) ValidateUpdate

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

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

type DashboardList

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

DashboardList is a list of Dashboards

func (*DashboardList) DeepCopy

func (in *DashboardList) DeepCopy() *DashboardList

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

func (*DashboardList) DeepCopyInto

func (in *DashboardList) DeepCopyInto(out *DashboardList)

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

func (*DashboardList) DeepCopyObject

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

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

type DashboardRaw

type DashboardRaw struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DashboardRawSpec   `json:"spec,omitempty"`
	Status            DashboardRawStatus `json:"status,omitempty"`
}

func (*DashboardRaw) DeepCopy

func (in *DashboardRaw) DeepCopy() *DashboardRaw

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

func (*DashboardRaw) DeepCopyInto

func (in *DashboardRaw) DeepCopyInto(out *DashboardRaw)

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

func (*DashboardRaw) DeepCopyObject

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

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

func (*DashboardRaw) SetupWebhookWithManager

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

func (*DashboardRaw) ValidateCreate

func (r *DashboardRaw) ValidateCreate() error

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

func (*DashboardRaw) ValidateDelete

func (r *DashboardRaw) ValidateDelete() error

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

func (*DashboardRaw) ValidateUpdate

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

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

type DashboardRawList

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

DashboardRawList is a list of DashboardRaws

func (*DashboardRawList) DeepCopy

func (in *DashboardRawList) DeepCopy() *DashboardRawList

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

func (*DashboardRawList) DeepCopyInto

func (in *DashboardRawList) DeepCopyInto(out *DashboardRawList)

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

func (*DashboardRawList) DeepCopyObject

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

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

type DashboardRawSpec

type DashboardRawSpec struct {
	State *DashboardRawSpecResource `json:"state,omitempty" tf:"-"`

	Resource DashboardRawSpecResource `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 (*DashboardRawSpec) DeepCopy

func (in *DashboardRawSpec) DeepCopy() *DashboardRawSpec

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

func (*DashboardRawSpec) DeepCopyInto

func (in *DashboardRawSpec) DeepCopyInto(out *DashboardRawSpec)

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

type DashboardRawSpecPage

type DashboardRawSpecPage struct {
	// The dashboard page's description.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The unique entity identifier of the dashboard page in New Relic.
	// +optional
	Guid *string `json:"guid,omitempty" tf:"guid"`
	// The dashboard page's name.
	Name *string `json:"name" tf:"name"`
	// A generic widget configuration. Visualization id is required.
	// +optional
	Widget []DashboardRawSpecPageWidget `json:"widget,omitempty" tf:"widget"`
}

func (*DashboardRawSpecPage) DeepCopy

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

func (*DashboardRawSpecPage) DeepCopyInto

func (in *DashboardRawSpecPage) DeepCopyInto(out *DashboardRawSpecPage)

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

type DashboardRawSpecPageWidget

type DashboardRawSpecPageWidget struct {
	Column *int64 `json:"column" tf:"column"`
	// The configuration of the widget.
	Configuration *string `json:"configuration" tf:"configuration"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// (Optional) Related entity GUIDs. Currently only supports Dashboard entity GUIDs.
	// +optional
	LinkedEntityGuids []string `json:"linkedEntityGuids,omitempty" tf:"linked_entity_guids"`
	Row               *int64   `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// The visualization ID of the widget.
	VisualizationID *string `json:"visualizationID" tf:"visualization_id"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardRawSpecPageWidget) DeepCopy

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

func (*DashboardRawSpecPageWidget) DeepCopyInto

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

type DashboardRawSpecResource

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

	// The New Relic account ID where you want to create the dashboard.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The dashboard's description.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The unique entity identifier of the dashboard in New Relic.
	// +optional
	Guid *string `json:"guid,omitempty" tf:"guid"`
	// The dashboard's name.
	Name *string                `json:"name" tf:"name"`
	Page []DashboardRawSpecPage `json:"page" tf:"page"`
	// The URL of the dashboard.
	// +optional
	Permalink *string `json:"permalink,omitempty" tf:"permalink"`
	// Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only.
	// +optional
	Permissions *string `json:"permissions,omitempty" tf:"permissions"`
}

func (*DashboardRawSpecResource) DeepCopy

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

func (*DashboardRawSpecResource) DeepCopyInto

func (in *DashboardRawSpecResource) DeepCopyInto(out *DashboardRawSpecResource)

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

type DashboardRawStatus

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

func (in *DashboardRawStatus) DeepCopy() *DashboardRawStatus

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

func (*DashboardRawStatus) DeepCopyInto

func (in *DashboardRawStatus) DeepCopyInto(out *DashboardRawStatus)

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

type DashboardSpec

type DashboardSpec struct {
	State *DashboardSpecResource `json:"state,omitempty" tf:"-"`

	Resource DashboardSpecResource `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 (*DashboardSpec) DeepCopy

func (in *DashboardSpec) DeepCopy() *DashboardSpec

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

func (*DashboardSpec) DeepCopyInto

func (in *DashboardSpec) DeepCopyInto(out *DashboardSpec)

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

type DashboardSpecPage

type DashboardSpecPage struct {
	// The dashboard page's description.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The unique entity identifier of the dashboard page in New Relic.
	// +optional
	Guid *string `json:"guid,omitempty" tf:"guid"`
	// The dashboard page's name.
	Name *string `json:"name" tf:"name"`
	// An area widget.
	// +optional
	WidgetArea []DashboardSpecPageWidgetArea `json:"widgetArea,omitempty" tf:"widget_area"`
	// A bar widget.
	// +optional
	WidgetBar []DashboardSpecPageWidgetBar `json:"widgetBar,omitempty" tf:"widget_bar"`
	// A billboard widget.
	// +optional
	WidgetBillboard []DashboardSpecPageWidgetBillboard `json:"widgetBillboard,omitempty" tf:"widget_billboard"`
	// A bullet widget.
	// +optional
	WidgetBullet []DashboardSpecPageWidgetBullet `json:"widgetBullet,omitempty" tf:"widget_bullet"`
	// A funnel widget.
	// +optional
	WidgetFunnel []DashboardSpecPageWidgetFunnel `json:"widgetFunnel,omitempty" tf:"widget_funnel"`
	// A heatmap widget.
	// +optional
	WidgetHeatmap []DashboardSpecPageWidgetHeatmap `json:"widgetHeatmap,omitempty" tf:"widget_heatmap"`
	// A histogram widget.
	// +optional
	WidgetHistogram []DashboardSpecPageWidgetHistogram `json:"widgetHistogram,omitempty" tf:"widget_histogram"`
	// A JSON widget.
	// +optional
	WidgetJSON []DashboardSpecPageWidgetJSON `json:"widgetJSON,omitempty" tf:"widget_json"`
	// A line widget.
	// +optional
	WidgetLine []DashboardSpecPageWidgetLine `json:"widgetLine,omitempty" tf:"widget_line"`
	// A markdown widget.
	// +optional
	WidgetMarkdown []DashboardSpecPageWidgetMarkdown `json:"widgetMarkdown,omitempty" tf:"widget_markdown"`
	// A pie widget.
	// +optional
	WidgetPie []DashboardSpecPageWidgetPie `json:"widgetPie,omitempty" tf:"widget_pie"`
	// A stacked bar widget.
	// +optional
	WidgetStackedBar []DashboardSpecPageWidgetStackedBar `json:"widgetStackedBar,omitempty" tf:"widget_stacked_bar"`
	// A table widget.
	// +optional
	WidgetTable []DashboardSpecPageWidgetTable `json:"widgetTable,omitempty" tf:"widget_table"`
}

func (*DashboardSpecPage) DeepCopy

func (in *DashboardSpecPage) DeepCopy() *DashboardSpecPage

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

func (*DashboardSpecPage) DeepCopyInto

func (in *DashboardSpecPage) DeepCopyInto(out *DashboardSpecPage)

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

type DashboardSpecPageWidgetArea

type DashboardSpecPageWidgetArea struct {
	Column *int64 `json:"column" tf:"column"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID        *string                                `json:"ID,omitempty" tf:"id"`
	NrqlQuery []DashboardSpecPageWidgetAreaNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row       *int64                                 `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetArea) DeepCopy

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

func (*DashboardSpecPageWidgetArea) DeepCopyInto

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

type DashboardSpecPageWidgetAreaNrqlQuery

type DashboardSpecPageWidgetAreaNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetAreaNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetAreaNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetBar

type DashboardSpecPageWidgetBar struct {
	Column *int64 `json:"column" tf:"column"`
	// Use this item to filter the current dashboard
	// +optional
	FilterCurrentDashboard *bool `json:"filterCurrentDashboard,omitempty" tf:"filter_current_dashboard"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.
	// +optional
	LinkedEntityGuids []string                              `json:"linkedEntityGuids,omitempty" tf:"linked_entity_guids"`
	NrqlQuery         []DashboardSpecPageWidgetBarNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row               *int64                                `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetBar) DeepCopy

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

func (*DashboardSpecPageWidgetBar) DeepCopyInto

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

type DashboardSpecPageWidgetBarNrqlQuery

type DashboardSpecPageWidgetBarNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetBarNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetBarNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetBillboard

type DashboardSpecPageWidgetBillboard struct {
	Column *int64 `json:"column" tf:"column"`
	// The critical threshold value.
	// +optional
	Critical *float64 `json:"critical,omitempty" tf:"critical"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID        *string                                     `json:"ID,omitempty" tf:"id"`
	NrqlQuery []DashboardSpecPageWidgetBillboardNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row       *int64                                      `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// The warning threshold value.
	// +optional
	Warning *float64 `json:"warning,omitempty" tf:"warning"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetBillboard) DeepCopy

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

func (*DashboardSpecPageWidgetBillboard) DeepCopyInto

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

type DashboardSpecPageWidgetBillboardNrqlQuery

type DashboardSpecPageWidgetBillboardNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetBillboardNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetBillboardNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetBullet

type DashboardSpecPageWidgetBullet struct {
	Column *int64 `json:"column" tf:"column"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// The maximum value for the visualization
	// +optional
	Limit     *float64                                 `json:"limit,omitempty" tf:"limit"`
	NrqlQuery []DashboardSpecPageWidgetBulletNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row       *int64                                   `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetBullet) DeepCopy

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

func (*DashboardSpecPageWidgetBullet) DeepCopyInto

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

type DashboardSpecPageWidgetBulletNrqlQuery

type DashboardSpecPageWidgetBulletNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetBulletNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetBulletNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetFunnel

type DashboardSpecPageWidgetFunnel struct {
	Column *int64 `json:"column" tf:"column"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID        *string                                  `json:"ID,omitempty" tf:"id"`
	NrqlQuery []DashboardSpecPageWidgetFunnelNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row       *int64                                   `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetFunnel) DeepCopy

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

func (*DashboardSpecPageWidgetFunnel) DeepCopyInto

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

type DashboardSpecPageWidgetFunnelNrqlQuery

type DashboardSpecPageWidgetFunnelNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetFunnelNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetFunnelNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetHeatmap

type DashboardSpecPageWidgetHeatmap struct {
	Column *int64 `json:"column" tf:"column"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID        *string                                   `json:"ID,omitempty" tf:"id"`
	NrqlQuery []DashboardSpecPageWidgetHeatmapNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row       *int64                                    `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetHeatmap) DeepCopy

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

func (*DashboardSpecPageWidgetHeatmap) DeepCopyInto

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

type DashboardSpecPageWidgetHeatmapNrqlQuery

type DashboardSpecPageWidgetHeatmapNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetHeatmapNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetHeatmapNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetHistogram

type DashboardSpecPageWidgetHistogram struct {
	Column *int64 `json:"column" tf:"column"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID        *string                                     `json:"ID,omitempty" tf:"id"`
	NrqlQuery []DashboardSpecPageWidgetHistogramNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row       *int64                                      `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetHistogram) DeepCopy

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

func (*DashboardSpecPageWidgetHistogram) DeepCopyInto

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

type DashboardSpecPageWidgetHistogramNrqlQuery

type DashboardSpecPageWidgetHistogramNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetHistogramNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetHistogramNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetJSON

type DashboardSpecPageWidgetJSON struct {
	Column *int64 `json:"column" tf:"column"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID        *string                                `json:"ID,omitempty" tf:"id"`
	NrqlQuery []DashboardSpecPageWidgetJSONNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row       *int64                                 `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetJSON) DeepCopy

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

func (*DashboardSpecPageWidgetJSON) DeepCopyInto

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

type DashboardSpecPageWidgetJSONNrqlQuery

type DashboardSpecPageWidgetJSONNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetJSONNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetJSONNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetLine

type DashboardSpecPageWidgetLine struct {
	Column *int64 `json:"column" tf:"column"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID        *string                                `json:"ID,omitempty" tf:"id"`
	NrqlQuery []DashboardSpecPageWidgetLineNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row       *int64                                 `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetLine) DeepCopy

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

func (*DashboardSpecPageWidgetLine) DeepCopyInto

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

type DashboardSpecPageWidgetLineNrqlQuery

type DashboardSpecPageWidgetLineNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetLineNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetLineNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetMarkdown

type DashboardSpecPageWidgetMarkdown struct {
	Column *int64 `json:"column" tf:"column"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID  *string `json:"ID,omitempty" tf:"id"`
	Row *int64  `json:"row" tf:"row"`
	// +optional
	Text *string `json:"text,omitempty" tf:"text"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetMarkdown) DeepCopy

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

func (*DashboardSpecPageWidgetMarkdown) DeepCopyInto

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

type DashboardSpecPageWidgetPie

type DashboardSpecPageWidgetPie struct {
	Column *int64 `json:"column" tf:"column"`
	// Use this item to filter the current dashboard
	// +optional
	FilterCurrentDashboard *bool `json:"filterCurrentDashboard,omitempty" tf:"filter_current_dashboard"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.
	// +optional
	LinkedEntityGuids []string                              `json:"linkedEntityGuids,omitempty" tf:"linked_entity_guids"`
	NrqlQuery         []DashboardSpecPageWidgetPieNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row               *int64                                `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetPie) DeepCopy

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

func (*DashboardSpecPageWidgetPie) DeepCopyInto

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

type DashboardSpecPageWidgetPieNrqlQuery

type DashboardSpecPageWidgetPieNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetPieNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetPieNrqlQuery) DeepCopyInto

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

type DashboardSpecPageWidgetStackedBar added in v0.5.0

type DashboardSpecPageWidgetStackedBar struct {
	Column *int64 `json:"column" tf:"column"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID        *string                                      `json:"ID,omitempty" tf:"id"`
	NrqlQuery []DashboardSpecPageWidgetStackedBarNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row       *int64                                       `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetStackedBar) DeepCopy added in v0.5.0

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

func (*DashboardSpecPageWidgetStackedBar) DeepCopyInto added in v0.5.0

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

type DashboardSpecPageWidgetStackedBarNrqlQuery added in v0.5.0

type DashboardSpecPageWidgetStackedBarNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetStackedBarNrqlQuery) DeepCopy added in v0.5.0

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

func (*DashboardSpecPageWidgetStackedBarNrqlQuery) DeepCopyInto added in v0.5.0

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

type DashboardSpecPageWidgetTable

type DashboardSpecPageWidgetTable struct {
	Column *int64 `json:"column" tf:"column"`
	// Use this item to filter the current dashboard
	// +optional
	FilterCurrentDashboard *bool `json:"filterCurrentDashboard,omitempty" tf:"filter_current_dashboard"`
	// +optional
	Height *int64 `json:"height,omitempty" tf:"height"`
	// The ID of the widget.
	// +optional
	ID *string `json:"ID,omitempty" tf:"id"`
	// Related entities. Currently only supports Dashboard entities, but may allow other cases in the future.
	// +optional
	LinkedEntityGuids []string                                `json:"linkedEntityGuids,omitempty" tf:"linked_entity_guids"`
	NrqlQuery         []DashboardSpecPageWidgetTableNrqlQuery `json:"nrqlQuery" tf:"nrql_query"`
	Row               *int64                                  `json:"row" tf:"row"`
	// A title for the widget.
	Title *string `json:"title" tf:"title"`
	// +optional
	Width *int64 `json:"width,omitempty" tf:"width"`
}

func (*DashboardSpecPageWidgetTable) DeepCopy

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

func (*DashboardSpecPageWidgetTable) DeepCopyInto

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

type DashboardSpecPageWidgetTableNrqlQuery

type DashboardSpecPageWidgetTableNrqlQuery struct {
	// The account id used for the NRQL query.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The NRQL query.
	Query *string `json:"query" tf:"query"`
}

func (*DashboardSpecPageWidgetTableNrqlQuery) DeepCopy

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

func (*DashboardSpecPageWidgetTableNrqlQuery) DeepCopyInto

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

type DashboardSpecResource

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

	// The New Relic account ID where you want to create the dashboard.
	// +optional
	AccountID *int64 `json:"accountID,omitempty" tf:"account_id"`
	// The dashboard's description.
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// The unique entity identifier of the dashboard in New Relic.
	// +optional
	Guid *string `json:"guid,omitempty" tf:"guid"`
	// The dashboard's name.
	Name *string             `json:"name" tf:"name"`
	Page []DashboardSpecPage `json:"page" tf:"page"`
	// The URL of the dashboard.
	// +optional
	Permalink *string `json:"permalink,omitempty" tf:"permalink"`
	// Determines who can see or edit the dashboard. Valid values are private, public_read_only, public_read_write. Defaults to public_read_only.
	// +optional
	Permissions *string `json:"permissions,omitempty" tf:"permissions"`
}

func (*DashboardSpecResource) DeepCopy

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

func (*DashboardSpecResource) DeepCopyInto

func (in *DashboardSpecResource) DeepCopyInto(out *DashboardSpecResource)

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

type DashboardStatus

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

func (in *DashboardStatus) DeepCopy() *DashboardStatus

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

func (*DashboardStatus) DeepCopyInto

func (in *DashboardStatus) DeepCopyInto(out *DashboardStatus)

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