Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Dashboard resources of the New Relic provider. +kubebuilder:object:generate=true +groupName=dashboard.provider-newrelic.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Dashboard
- func (in *Dashboard) DeepCopy() *Dashboard
- func (in *Dashboard) DeepCopyInto(out *Dashboard)
- func (in *Dashboard) DeepCopyObject() runtime.Object
- func (mg *Dashboard) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Dashboard) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Dashboard) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *Dashboard) GetProviderConfigReference() *xpv1.Reference
- func (in *Dashboard) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Dashboard) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Dashboard) SetConditions(c ...xpv1.Condition)
- func (mg *Dashboard) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Dashboard) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *Dashboard) SetProviderConfigReference(r *xpv1.Reference)
- func (in *Dashboard) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Dashboard) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type DashboardBillboardWidgetThresholdInput
- type DashboardList
- type DashboardObservation
- type DashboardPage
- type DashboardParameters
- type DashboardSpec
- type DashboardStatus
- type DashboardVariable
- type DashboardVariableDefaultItem
- type DashboardVariableDefaultValue
- type DashboardVariableEnumItem
- type DashboardVariableNRQLQuery
- type DashboardWidget
- type DashboardWidgetLayout
- type DashboardWidgetNRQLQueryInput
- type DashboardWidgetRawConfiguration
- type DashboardWidgetVisualization
- type RawConfigurationPlatformOptions
Constants ¶
const ( Group = "dashboard.provider-newrelic.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( DashboardKind = reflect.TypeOf(Dashboard{}).Name() DashboardGroupKind = schema.GroupKind{Group: Group, Kind: DashboardKind}.String() DashboardKindAPIVersion = DashboardKind + "." + SchemeGroupVersion.String() DashboardGroupVersionKind = SchemeGroupVersion.WithKind(DashboardKind) )
Dashboard type metadata.
Functions ¶
This section is empty.
Types ¶
type Dashboard ¶
type Dashboard struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DashboardSpec `json:"spec"` Status DashboardStatus `json:"status,omitempty"` }
A Dashboard is an example API type. +kubebuilder:subresource:status +kubebuilder:printcolumn:name="GUID",type="string",JSONPath=".status.atProvider.guid" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,newrelic}
func (*Dashboard) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Dashboard.
func (*Dashboard) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Dashboard) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Dashboard) GetCondition ¶
func (mg *Dashboard) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Dashboard.
func (*Dashboard) GetDeletionPolicy ¶
func (mg *Dashboard) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Dashboard.
func (*Dashboard) GetManagementPolicies ¶ added in v0.1.6
func (mg *Dashboard) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Dashboard.
func (*Dashboard) GetProviderConfigReference ¶
GetProviderConfigReference of this Dashboard.
func (*Dashboard) GetPublishConnectionDetailsTo ¶
func (in *Dashboard) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo is a func for connection details
func (*Dashboard) GetWriteConnectionSecretToReference ¶
func (mg *Dashboard) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Dashboard.
func (*Dashboard) SetConditions ¶
SetConditions of this Dashboard.
func (*Dashboard) SetDeletionPolicy ¶
func (mg *Dashboard) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Dashboard.
func (*Dashboard) SetManagementPolicies ¶ added in v0.1.6
func (mg *Dashboard) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Dashboard.
func (*Dashboard) SetProviderConfigReference ¶
SetProviderConfigReference of this Dashboard.
func (*Dashboard) SetPublishConnectionDetailsTo ¶
func (in *Dashboard) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo is a func for connection details
func (*Dashboard) SetWriteConnectionSecretToReference ¶
func (mg *Dashboard) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Dashboard.
type DashboardBillboardWidgetThresholdInput ¶
type DashboardBillboardWidgetThresholdInput struct { // alert severity. // +kubebuilder:validation:Enum=CRITICAL;NOT_ALERTING;WARNING AlertSeverity *string `json:"alertSeverity,omitempty"` // value. Value *float64 `json:"value,omitempty"` }
DashboardBillboardWidgetThresholdInput - used by Billboard Widgets
func (*DashboardBillboardWidgetThresholdInput) DeepCopy ¶
func (in *DashboardBillboardWidgetThresholdInput) DeepCopy() *DashboardBillboardWidgetThresholdInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardBillboardWidgetThresholdInput.
func (*DashboardBillboardWidgetThresholdInput) DeepCopyInto ¶
func (in *DashboardBillboardWidgetThresholdInput) DeepCopyInto(out *DashboardBillboardWidgetThresholdInput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardList ¶
type DashboardList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Dashboard `json:"items"` }
DashboardList contains a list of Dashboard
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.
func (*DashboardList) GetItems ¶
func (l *DashboardList) GetItems() []resource.Managed
GetItems of this DashboardList.
type DashboardObservation ¶
type DashboardObservation struct { // The stable and unique string guid from NewRelic. GUID string `json:"guid,omitempty"` ObservableField string `json:"observableField,omitempty"` }
DashboardObservation are the observable fields of a Policy.
func (*DashboardObservation) DeepCopy ¶
func (in *DashboardObservation) DeepCopy() *DashboardObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardObservation.
func (*DashboardObservation) DeepCopyInto ¶
func (in *DashboardObservation) DeepCopyInto(out *DashboardObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardPage ¶
type DashboardPage struct { // Page description. Description *string `json:"description,omitempty"` // Unique entity identifier. GUID string `json:"guid,omitempty"` // Page name. Name string `json:"name,omitempty"` // Page widgets. Widgets []DashboardWidget `json:"widgets,omitempty"` }
DashboardPage is a type of resource
func (*DashboardPage) DeepCopy ¶
func (in *DashboardPage) DeepCopy() *DashboardPage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardPage.
func (*DashboardPage) DeepCopyInto ¶
func (in *DashboardPage) DeepCopyInto(out *DashboardPage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardParameters ¶
type DashboardParameters struct { // Account ID. AccountID int `json:"accountId,omitempty"` // Dashboard description. Description *string `json:"description,omitempty"` // Unique entity identifier. GUID string `json:"guid,omitempty"` // Dashboard name. Name string `json:"name,omitempty"` // Dashboard pages. Pages []DashboardPage `json:"pages,omitempty"` // Dashboard permissions configuration. // +kubebuilder:validation:Enum=PUBLIC_READ_WRITE;PUBLIC_READ_ONLY;PRIVATE Permissions *string `json:"permissions,omitempty"` // Dashboard variables Variables []DashboardVariable `json:"variables,omitempty"` }
DashboardParameters are the configurable fields of a Policy.
func (*DashboardParameters) DeepCopy ¶
func (in *DashboardParameters) DeepCopy() *DashboardParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardParameters.
func (*DashboardParameters) DeepCopyInto ¶
func (in *DashboardParameters) DeepCopyInto(out *DashboardParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardSpec ¶
type DashboardSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider DashboardParameters `json:"forProvider"` }
A DashboardSpec defines the desired state of a Policy.
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 DashboardStatus ¶
type DashboardStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider DashboardObservation `json:"atProvider,omitempty"` }
A DashboardStatus represents the observed state of a Policy.
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.
type DashboardVariable ¶ added in v0.1.1
type DashboardVariable struct { // Default values for this variable. The actual value to be used will depend on the type. DefaultValues *[]DashboardVariableDefaultItem `json:"defaultValues,omitempty"` // Indicates whether this variable supports multiple selection or not. Only applies to variables of type NRQL or ENUM. IsMultiSelection bool `json:"isMultiSelection,omitempty"` // List of possible values for variables of type ENUM. Items []DashboardVariableEnumItem `json:"items,omitempty"` // Configuration for variables of type NRQL. NRQLQuery *DashboardVariableNRQLQuery `json:"nrqlQuery,omitempty"` // Variable identifier. Name string `json:"name,omitempty"` // Indicates the strategy to apply when replacing a variable in a NRQL query. // +kubebuilder:validation:Enum=DEFAULT;IDENTIFIER;NUMBER;STRING ReplacementStrategy string `json:"replacementStrategy,omitempty"` // Human-friendly display string for this variable. Title string `json:"title,omitempty"` // Specifies the data type of the variable and where its possible values may come from. // +kubebuilder:validation:Enum=ENUM;NRQL;STRING Type string `json:"type,omitempty"` }
DashboardVariable - Definition of a variable that is local to this dashboard. Variables are placeholders for dynamic values in widget NRQLs.
func (*DashboardVariable) DeepCopy ¶ added in v0.1.1
func (in *DashboardVariable) DeepCopy() *DashboardVariable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardVariable.
func (*DashboardVariable) DeepCopyInto ¶ added in v0.1.1
func (in *DashboardVariable) DeepCopyInto(out *DashboardVariable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardVariableDefaultItem ¶ added in v0.1.1
type DashboardVariableDefaultItem struct { // The value of this default item. Value DashboardVariableDefaultValue `json:"value,omitempty"` }
DashboardVariableDefaultItem - Represents a possible default value item.
func (*DashboardVariableDefaultItem) DeepCopy ¶ added in v0.1.1
func (in *DashboardVariableDefaultItem) DeepCopy() *DashboardVariableDefaultItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardVariableDefaultItem.
func (*DashboardVariableDefaultItem) DeepCopyInto ¶ added in v0.1.1
func (in *DashboardVariableDefaultItem) DeepCopyInto(out *DashboardVariableDefaultItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardVariableDefaultValue ¶ added in v0.1.1
type DashboardVariableDefaultValue struct { // Default string value. String string `json:"string,omitempty"` }
DashboardVariableDefaultValue - Specifies a default value for variables.
func (*DashboardVariableDefaultValue) DeepCopy ¶ added in v0.1.1
func (in *DashboardVariableDefaultValue) DeepCopy() *DashboardVariableDefaultValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardVariableDefaultValue.
func (*DashboardVariableDefaultValue) DeepCopyInto ¶ added in v0.1.1
func (in *DashboardVariableDefaultValue) DeepCopyInto(out *DashboardVariableDefaultValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardVariableEnumItem ¶ added in v0.1.1
type DashboardVariableEnumItem struct { // A human-friendly display string for this value. Title string `json:"title,omitempty"` // A possible variable value. Value string `json:"value,omitempty"` }
DashboardVariableEnumItem - Represents a possible value for a variable of type ENUM.
func (*DashboardVariableEnumItem) DeepCopy ¶ added in v0.1.1
func (in *DashboardVariableEnumItem) DeepCopy() *DashboardVariableEnumItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardVariableEnumItem.
func (*DashboardVariableEnumItem) DeepCopyInto ¶ added in v0.1.1
func (in *DashboardVariableEnumItem) DeepCopyInto(out *DashboardVariableEnumItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardVariableNRQLQuery ¶ added in v0.1.1
type DashboardVariableNRQLQuery struct { // New Relic account ID(s) to issue the query against. AccountIDs []int `json:"accountIds,omitempty"` // NRQL formatted query. Query string `json:"query"` }
DashboardVariableNRQLQuery - Configuration for variables of type NRQL.
func (*DashboardVariableNRQLQuery) DeepCopy ¶ added in v0.1.1
func (in *DashboardVariableNRQLQuery) DeepCopy() *DashboardVariableNRQLQuery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardVariableNRQLQuery.
func (*DashboardVariableNRQLQuery) DeepCopyInto ¶ added in v0.1.1
func (in *DashboardVariableNRQLQuery) DeepCopyInto(out *DashboardVariableNRQLQuery)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardWidget ¶
type DashboardWidget struct { // id ID *string `json:"id,omitempty"` // layout Layout DashboardWidgetLayout `json:"layout,omitempty"` // Untyped configuration RawConfiguration *DashboardWidgetRawConfiguration `json:"rawConfiguration,omitempty"` // title Title string `json:"title,omitempty"` // Specifies how this widget will be visualized. Visualization DashboardWidgetVisualization `json:"visualization"` }
DashboardWidget - Widgets in a Dashboard Page.
func (*DashboardWidget) DeepCopy ¶
func (in *DashboardWidget) DeepCopy() *DashboardWidget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardWidget.
func (*DashboardWidget) DeepCopyInto ¶
func (in *DashboardWidget) DeepCopyInto(out *DashboardWidget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardWidgetLayout ¶
type DashboardWidgetLayout struct { // Column // +kubebuilder:validation:Minimum=1 Column int `json:"column,omitempty"` // Height // +kubebuilder:validation:Minimum=1 Height int `json:"height,omitempty"` // Row // +kubebuilder:validation:Minimum=1 Row int `json:"row,omitempty"` // Width // +kubebuilder:validation:Minimum=1 Width int `json:"width,omitempty"` }
DashboardWidgetLayout - Widget layout.
func (*DashboardWidgetLayout) DeepCopy ¶
func (in *DashboardWidgetLayout) DeepCopy() *DashboardWidgetLayout
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardWidgetLayout.
func (*DashboardWidgetLayout) DeepCopyInto ¶
func (in *DashboardWidgetLayout) DeepCopyInto(out *DashboardWidgetLayout)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardWidgetNRQLQueryInput ¶
type DashboardWidgetNRQLQueryInput struct { // accountId AccountID int `json:"accountId"` // NRQL formatted query Query string `json:"query"` }
DashboardWidgetNRQLQueryInput - NRQL query used by a widget
func (*DashboardWidgetNRQLQueryInput) DeepCopy ¶
func (in *DashboardWidgetNRQLQueryInput) DeepCopy() *DashboardWidgetNRQLQueryInput
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardWidgetNRQLQueryInput.
func (*DashboardWidgetNRQLQueryInput) DeepCopyInto ¶
func (in *DashboardWidgetNRQLQueryInput) DeepCopyInto(out *DashboardWidgetNRQLQueryInput)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardWidgetRawConfiguration ¶
type DashboardWidgetRawConfiguration struct { // Used by all widgets NRQLQueries *[]DashboardWidgetNRQLQueryInput `json:"nrqlQueries,omitempty"` PlatformOptions *RawConfigurationPlatformOptions `json:"platformOptions,omitempty"` // Used by viz.bullet Limit *float64 `json:"limit,omitempty"` // Used by viz.markdown Text *string `json:"text,omitempty"` // Used by viz.billboard Thresholds []DashboardBillboardWidgetThresholdInput `json:"thresholds,omitempty"` }
DashboardWidgetRawConfiguration represents the configuration for widgets, it's a replacement for configuration field
func (*DashboardWidgetRawConfiguration) DeepCopy ¶
func (in *DashboardWidgetRawConfiguration) DeepCopy() *DashboardWidgetRawConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardWidgetRawConfiguration.
func (*DashboardWidgetRawConfiguration) DeepCopyInto ¶
func (in *DashboardWidgetRawConfiguration) DeepCopyInto(out *DashboardWidgetRawConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardWidgetVisualization ¶
type DashboardWidgetVisualization struct { // Nerdpack artifact ID // +kubebuilder:validation:Enum=viz.area;viz.bar;viz.billboard;viz.bullet;viz.funnel;viz.heatmap;viz.histogram;viz.json;viz.line;viz.markdown;viz.pie;viz.stacked-bar;viz.table ID string `json:"id,omitempty"` }
DashboardWidgetVisualization - Visualization configuration
func (*DashboardWidgetVisualization) DeepCopy ¶
func (in *DashboardWidgetVisualization) DeepCopy() *DashboardWidgetVisualization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardWidgetVisualization.
func (*DashboardWidgetVisualization) DeepCopyInto ¶
func (in *DashboardWidgetVisualization) DeepCopyInto(out *DashboardWidgetVisualization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RawConfigurationPlatformOptions ¶
type RawConfigurationPlatformOptions struct {
IgnoreTimeRange bool `json:"ignoreTimeRange,omitempty"`
}
RawConfigurationPlatformOptions represents the platform widget options
func (*RawConfigurationPlatformOptions) DeepCopy ¶
func (in *RawConfigurationPlatformOptions) DeepCopy() *RawConfigurationPlatformOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RawConfigurationPlatformOptions.
func (*RawConfigurationPlatformOptions) DeepCopyInto ¶
func (in *RawConfigurationPlatformOptions) DeepCopyInto(out *RawConfigurationPlatformOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.