Documentation ¶
Index ¶
- Variables
- type Aggregation
- type AlertChart
- type BlankView
- type ChartOptions
- type CollapsibleGroup
- type ColumnLayout
- type ColumnLayout_Column
- type DashboardFilter
- type Empty
- type ErrorReportingPanel
- type GridLayout
- type IncidentList
- type LogsPanel
- type MonitoredResource
- type MonitoringDashboard
- type MonitoringDashboardList
- type MonitoringDashboardSpec
- type MonitoringDashboardStatus
- type MosaicLayout
- type MosaicLayout_Tile
- type PickTimeSeriesFilter
- type PieChart
- type PieChart_PieChartDataSet
- type RowLayout
- type RowLayout_Row
- type Scorecard
- type Scorecard_GaugeView
- type Scorecard_SparkChartView
- type SectionHeader
- type SingleViewGroup
- type StatisticalTimeSeriesFilter
- type TableDisplayOptions
- type Text
- type Text_TextStyle
- type Threshold
- type TimeSeriesFilter
- type TimeSeriesFilterRatio
- type TimeSeriesFilterRatio_RatioPart
- type TimeSeriesQuery
- type TimeSeriesTable
- type TimeSeriesTable_ColumnSettings
- type TimeSeriesTable_TableDataSet
- type Widget
- type XyChart
- type XyChart_Axis
- type XyChart_DataSet
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is a global function that registers this API group & version to a scheme AddToScheme = SchemeBuilder.AddToScheme MonitoringDashboardGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(MonitoringDashboard{}).Name(), } )
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "monitoring.cnrm.cloud.google.com", Version: "v1beta1"} )
Functions ¶
This section is empty.
Types ¶
type Aggregation ¶
type Aggregation struct { // The `alignment_period` specifies a time interval, in seconds, that is used // to divide the data in all the // [time series][google.monitoring.v3.TimeSeries] into consistent blocks of // time. This will be done before the per-series aligner can be applied to // the data. AlignmentPeriod *string `json:"alignmentPeriod,omitempty"` // An `Aligner` describes how to bring the data points in a single // time series into temporal alignment. Except for `ALIGN_NONE`, all // alignments cause all the data points in an `alignment_period` to be // mathematically grouped together, resulting in a single data point for // each `alignment_period` with end timestamp at the end of the period. PerSeriesAligner *string `json:"perSeriesAligner,omitempty"` // The reduction operation to be used to combine time series into a single // time series, where the value of each data point in the resulting series is // a function of all the already aligned values in the input time series. CrossSeriesReducer *string `json:"crossSeriesReducer,omitempty"` // The set of fields to preserve when `cross_series_reducer` is // specified. GroupByFields []string `json:"groupByFields,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Aggregation
func (*Aggregation) DeepCopy ¶
func (in *Aggregation) DeepCopy() *Aggregation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Aggregation.
func (*Aggregation) DeepCopyInto ¶
func (in *Aggregation) DeepCopyInto(out *Aggregation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AlertChart ¶
type AlertChart struct { // Required. A reference to the MonitoringAlertPolicy. // +required AlertPolicyRef *refs.MonitoringAlertPolicyRef `json:"alertPolicyRef"` }
+kcc:proto=google.monitoring.dashboard.v1.AlertChart
func (*AlertChart) DeepCopy ¶
func (in *AlertChart) DeepCopy() *AlertChart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AlertChart.
func (*AlertChart) DeepCopyInto ¶
func (in *AlertChart) DeepCopyInto(out *AlertChart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlankView ¶ added in v1.120.0
type BlankView struct { }
func (*BlankView) DeepCopy ¶ added in v1.120.0
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlankView.
func (*BlankView) DeepCopyInto ¶ added in v1.120.0
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ChartOptions ¶
type ChartOptions struct { // The chart mode. Mode *string `json:"mode,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.ChartOptions
func (*ChartOptions) DeepCopy ¶
func (in *ChartOptions) DeepCopy() *ChartOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ChartOptions.
func (*ChartOptions) DeepCopyInto ¶
func (in *ChartOptions) DeepCopyInto(out *ChartOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CollapsibleGroup ¶
type CollapsibleGroup struct { // The collapsed state of the widget on first page load. Collapsed *bool `json:"collapsed,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.CollapsibleGroup
func (*CollapsibleGroup) DeepCopy ¶
func (in *CollapsibleGroup) DeepCopy() *CollapsibleGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CollapsibleGroup.
func (*CollapsibleGroup) DeepCopyInto ¶
func (in *CollapsibleGroup) DeepCopyInto(out *CollapsibleGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ColumnLayout ¶
type ColumnLayout struct { // The columns of content to display. Columns []ColumnLayout_Column `json:"columns,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.ColumnLayout
func (*ColumnLayout) DeepCopy ¶
func (in *ColumnLayout) DeepCopy() *ColumnLayout
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColumnLayout.
func (*ColumnLayout) DeepCopyInto ¶
func (in *ColumnLayout) DeepCopyInto(out *ColumnLayout)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ColumnLayout_Column ¶
type ColumnLayout_Column struct { // The relative weight of this column. The column weight is used to adjust // the width of columns on the screen (relative to peers). Weight *int64 `json:"weight,omitempty"` // The display widgets arranged vertically in this column. Widgets []Widget `json:"widgets,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.ColumnLayout.Column
func (*ColumnLayout_Column) DeepCopy ¶
func (in *ColumnLayout_Column) DeepCopy() *ColumnLayout_Column
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ColumnLayout_Column.
func (*ColumnLayout_Column) DeepCopyInto ¶
func (in *ColumnLayout_Column) DeepCopyInto(out *ColumnLayout_Column)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DashboardFilter ¶
type DashboardFilter struct { // Required. The key for the label // // +required LabelKey *string `json:"labelKey,omitempty"` // The placeholder text that can be referenced in a filter string or MQL // query. If omitted, the dashboard filter will be applied to all relevant // widgets in the dashboard. TemplateVariable *string `json:"templateVariable,omitempty"` // A variable-length string value. StringValue *string `json:"stringValue,omitempty"` // The specified filter type FilterType *string `json:"filterType,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.DashboardFilter
func (*DashboardFilter) DeepCopy ¶
func (in *DashboardFilter) DeepCopy() *DashboardFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DashboardFilter.
func (*DashboardFilter) DeepCopyInto ¶
func (in *DashboardFilter) DeepCopyInto(out *DashboardFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Empty ¶
type Empty struct { }
+kcc:proto=google.protobuf.Empty
func (*Empty) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Empty.
func (*Empty) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ErrorReportingPanel ¶
type ErrorReportingPanel struct { // The projects from which to gather errors. ProjectRefs []refs.ProjectRef `json:"projectRefs,omitempty"` // An identifier of the service, such as the name of the // executable, job, or Google App Engine service name. This field is expected // to have a low number of values that are relatively stable over time, as // opposed to `version`, which can be changed whenever new code is deployed. Services []string `json:"services,omitempty"` // Represents the source code version that the developer provided, // which could represent a version label or a Git SHA-1 hash, for example. // For App Engine standard environment, the version is set to the version of // the app. Versions []string `json:"versions,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.ErrorReportingPanel
func (*ErrorReportingPanel) DeepCopy ¶
func (in *ErrorReportingPanel) DeepCopy() *ErrorReportingPanel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ErrorReportingPanel.
func (*ErrorReportingPanel) DeepCopyInto ¶
func (in *ErrorReportingPanel) DeepCopyInto(out *ErrorReportingPanel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GridLayout ¶
type GridLayout struct { // The number of columns into which the view's width is divided. If omitted // or set to zero, a system default will be used while rendering. Columns *int64 `json:"columns,omitempty"` // The informational elements that are arranged into the columns row-first. Widgets []Widget `json:"widgets,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.GridLayout
func (*GridLayout) DeepCopy ¶
func (in *GridLayout) DeepCopy() *GridLayout
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GridLayout.
func (*GridLayout) DeepCopyInto ¶
func (in *GridLayout) DeepCopyInto(out *GridLayout)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IncidentList ¶
type IncidentList struct { // Optional. The monitored resource for which incidents are listed. MonitoredResources []MonitoredResource `json:"monitoredResources,omitempty"` // Optional. A list of alert policies to filter the incident list by. PolicyRefs []refs.MonitoringAlertPolicyRef `json:"policyRefs,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.IncidentList
func (*IncidentList) DeepCopy ¶
func (in *IncidentList) DeepCopy() *IncidentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IncidentList.
func (*IncidentList) DeepCopyInto ¶
func (in *IncidentList) DeepCopyInto(out *IncidentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LogsPanel ¶
type LogsPanel struct { // A filter that chooses which log entries to return. See [Advanced Logs // Queries](https://cloud.google.com/logging/docs/view/advanced-queries). Filter *string `json:"filter,omitempty"` // The names of logging resources to collect logs for. ResourceNames []v1alpha1.ResourceRef `json:"resourceNames,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.LogsPanel
func (*LogsPanel) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LogsPanel.
func (*LogsPanel) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoredResource ¶ added in v1.120.0
type MonitoredResource struct { // Required. The monitored resource type. This field must match // the `type` field of a // [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] // object. Type *string `json:"type,omitempty"` // Required. Values for all of the labels listed in the associated monitored // resource descriptor. Labels map[string]string `json:"labels,omitempty"` }
+kcc:proto=google.api.MonitoredResource
func (*MonitoredResource) DeepCopy ¶ added in v1.120.0
func (in *MonitoredResource) DeepCopy() *MonitoredResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoredResource.
func (*MonitoredResource) DeepCopyInto ¶ added in v1.120.0
func (in *MonitoredResource) DeepCopyInto(out *MonitoredResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringDashboard ¶
type MonitoringDashboard struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +required Spec MonitoringDashboardSpec `json:"spec,omitempty"` Status MonitoringDashboardStatus `json:"status,omitempty"` }
MonitoringDashboard is the Schema for the monitoring API +k8s:openapi-gen=true
func (*MonitoringDashboard) DeepCopy ¶
func (in *MonitoringDashboard) DeepCopy() *MonitoringDashboard
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringDashboard.
func (*MonitoringDashboard) DeepCopyInto ¶
func (in *MonitoringDashboard) DeepCopyInto(out *MonitoringDashboard)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringDashboard) DeepCopyObject ¶
func (in *MonitoringDashboard) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringDashboardList ¶
type MonitoringDashboardList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []MonitoringDashboard `json:"items"` }
MonitoringDashboardList contains a list of MonitoringDashboard
func (*MonitoringDashboardList) DeepCopy ¶
func (in *MonitoringDashboardList) DeepCopy() *MonitoringDashboardList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringDashboardList.
func (*MonitoringDashboardList) DeepCopyInto ¶
func (in *MonitoringDashboardList) DeepCopyInto(out *MonitoringDashboardList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*MonitoringDashboardList) DeepCopyObject ¶
func (in *MonitoringDashboardList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type MonitoringDashboardSpec ¶
type MonitoringDashboardSpec struct { /* Immutable. The Project that this resource belongs to. */ ProjectRef refs.ProjectRef `json:"projectRef"` /* Immutable. Optional. The name of the resource. Used for creation and acquisition. */ // +optional ResourceID *string `json:"resourceID,omitempty"` // Required. The mutable, human-readable name. // // +required DisplayName *string `json:"displayName,omitempty"` // Content is arranged with a basic layout that re-flows a simple list of // informational elements like widgets or tiles. GridLayout *GridLayout `json:"gridLayout,omitempty"` // The content is arranged as a grid of tiles, with each content widget // occupying one or more grid blocks. MosaicLayout *MosaicLayout `json:"mosaicLayout,omitempty"` // The content is divided into equally spaced rows and the widgets are // arranged horizontally. RowLayout *RowLayout `json:"rowLayout,omitempty"` // The content is divided into equally spaced columns and the widgets are // arranged vertically. ColumnLayout *ColumnLayout `json:"columnLayout,omitempty"` // Filters to reduce the amount of data charted based on the filter criteria. DashboardFilters []DashboardFilter `json:"dashboardFilters,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Dashboard
func (*MonitoringDashboardSpec) DeepCopy ¶
func (in *MonitoringDashboardSpec) DeepCopy() *MonitoringDashboardSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringDashboardSpec.
func (*MonitoringDashboardSpec) DeepCopyInto ¶
func (in *MonitoringDashboardSpec) DeepCopyInto(out *MonitoringDashboardSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MonitoringDashboardStatus ¶
type MonitoringDashboardStatus struct { /* Conditions represent the latest available observations of the MonitoringDashboard's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* \`etag\` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. */ // +optional Etag *string `json:"etag,omitempty"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ // +optional ObservedGeneration *int64 `json:"observedGeneration,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Dashboard
func (*MonitoringDashboardStatus) DeepCopy ¶
func (in *MonitoringDashboardStatus) DeepCopy() *MonitoringDashboardStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MonitoringDashboardStatus.
func (*MonitoringDashboardStatus) DeepCopyInto ¶
func (in *MonitoringDashboardStatus) DeepCopyInto(out *MonitoringDashboardStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MosaicLayout ¶
type MosaicLayout struct { // The number of columns in the mosaic grid. The number of columns must be // between 1 and 12, inclusive. Columns *int32 `json:"columns,omitempty"` // The tiles to display. Tiles []MosaicLayout_Tile `json:"tiles,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.MosaicLayout
func (*MosaicLayout) DeepCopy ¶
func (in *MosaicLayout) DeepCopy() *MosaicLayout
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MosaicLayout.
func (*MosaicLayout) DeepCopyInto ¶
func (in *MosaicLayout) DeepCopyInto(out *MosaicLayout)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MosaicLayout_Tile ¶
type MosaicLayout_Tile struct { // The zero-indexed position of the tile in grid blocks relative to the // left edge of the grid. Tiles must be contained within the specified // number of columns. `x_pos` cannot be negative. XPos *int32 `json:"xPos,omitempty"` // The zero-indexed position of the tile in grid blocks relative to the // top edge of the grid. `y_pos` cannot be negative. YPos *int32 `json:"yPos,omitempty"` // The width of the tile, measured in grid blocks. Tiles must have a // minimum width of 1. Width *int32 `json:"width,omitempty"` // The height of the tile, measured in grid blocks. Tiles must have a // minimum height of 1. Height *int32 `json:"height,omitempty"` // The informational widget contained in the tile. For example an `XyChart`. Widget *Widget `json:"widget,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.MosaicLayout.Tile
func (*MosaicLayout_Tile) DeepCopy ¶
func (in *MosaicLayout_Tile) DeepCopy() *MosaicLayout_Tile
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MosaicLayout_Tile.
func (*MosaicLayout_Tile) DeepCopyInto ¶
func (in *MosaicLayout_Tile) DeepCopyInto(out *MosaicLayout_Tile)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PickTimeSeriesFilter ¶
type PickTimeSeriesFilter struct { // `ranking_method` is applied to each time series independently to produce // the value which will be used to compare the time series to other time // series. RankingMethod *string `json:"rankingMethod,omitempty"` // How many time series to allow to pass through the filter. NumTimeSeries *int32 `json:"numTimeSeries,omitempty"` // How to use the ranking to select time series that pass through the filter. Direction *string `json:"direction,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.PickTimeSeriesFilter
func (*PickTimeSeriesFilter) DeepCopy ¶
func (in *PickTimeSeriesFilter) DeepCopy() *PickTimeSeriesFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PickTimeSeriesFilter.
func (*PickTimeSeriesFilter) DeepCopyInto ¶
func (in *PickTimeSeriesFilter) DeepCopyInto(out *PickTimeSeriesFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PieChart ¶
type PieChart struct { // Required. The queries for the chart's data. // // +required DataSets []PieChart_PieChartDataSet `json:"dataSets,omitempty"` // Required. Indicates the visualization type for the PieChart. // // +required ChartType *string `json:"chartType,omitempty"` // Optional. Indicates whether or not the pie chart should show slices' labels ShowLabels *bool `json:"showLabels,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.PieChart
func (*PieChart) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PieChart.
func (*PieChart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PieChart_PieChartDataSet ¶
type PieChart_PieChartDataSet struct { // Required. The query for the PieChart. See, // `google.monitoring.dashboard.v1.TimeSeriesQuery`. // // +required TimeSeriesQuery *TimeSeriesQuery `json:"timeSeriesQuery,omitempty"` // Optional. A template for the name of the slice. SliceNameTemplate *string `json:"sliceNameTemplate,omitempty"` // Optional. The lower bound on data point frequency for this data set. MinAlignmentPeriod *string `json:"minAlignmentPeriod,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.PieChart.PieChartDataSet
func (*PieChart_PieChartDataSet) DeepCopy ¶
func (in *PieChart_PieChartDataSet) DeepCopy() *PieChart_PieChartDataSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PieChart_PieChartDataSet.
func (*PieChart_PieChartDataSet) DeepCopyInto ¶
func (in *PieChart_PieChartDataSet) DeepCopyInto(out *PieChart_PieChartDataSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RowLayout ¶
type RowLayout struct { // The rows of content to display. Rows []RowLayout_Row `json:"rows,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.RowLayout
func (*RowLayout) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RowLayout.
func (*RowLayout) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RowLayout_Row ¶
type RowLayout_Row struct { // The relative weight of this row. The row weight is used to adjust the // height of rows on the screen (relative to peers). Weight *int64 `json:"weight,omitempty"` // The display widgets arranged horizontally in this row. Widgets []Widget `json:"widgets,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.RowLayout.Row
func (*RowLayout_Row) DeepCopy ¶
func (in *RowLayout_Row) DeepCopy() *RowLayout_Row
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RowLayout_Row.
func (*RowLayout_Row) DeepCopyInto ¶
func (in *RowLayout_Row) DeepCopyInto(out *RowLayout_Row)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Scorecard ¶
type Scorecard struct { // Required. Fields for querying time series data from the // Stackdriver metrics API. // +required TimeSeriesQuery *TimeSeriesQuery `json:"timeSeriesQuery,omitempty"` // Will cause the scorecard to show a gauge chart. GaugeView *Scorecard_GaugeView `json:"gaugeView,omitempty"` // Will cause the scorecard to show a spark chart. SparkChartView *Scorecard_SparkChartView `json:"sparkChartView,omitempty"` // Will cause the `Scorecard` to show only the value, with no indicator to // its value relative to its thresholds. BlankView *BlankView `json:"blankView,omitempty"` // The thresholds used to determine the state of the scorecard given the // time series' current value. Thresholds []Threshold `json:"thresholds,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Scorecard
func (*Scorecard) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scorecard.
func (*Scorecard) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Scorecard_GaugeView ¶
type Scorecard_GaugeView struct { // The lower bound for this gauge chart. The value of the chart should // always be greater than or equal to this. // +kubebuilder:validation:Format=double LowerBound *float64 `json:"lowerBound,omitempty"` // The upper bound for this gauge chart. The value of the chart should // always be less than or equal to this. // +kubebuilder:validation:Format=double UpperBound *float64 `json:"upperBound,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Scorecard.GaugeView
func (*Scorecard_GaugeView) DeepCopy ¶
func (in *Scorecard_GaugeView) DeepCopy() *Scorecard_GaugeView
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scorecard_GaugeView.
func (*Scorecard_GaugeView) DeepCopyInto ¶
func (in *Scorecard_GaugeView) DeepCopyInto(out *Scorecard_GaugeView)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Scorecard_SparkChartView ¶
type Scorecard_SparkChartView struct { // Required. The type of sparkchart to show in this chartView. // // +required SparkChartType *string `json:"sparkChartType,omitempty"` // The lower bound on data point frequency in the chart implemented by // specifying the minimum alignment period to use in a time series query. MinAlignmentPeriod *string `json:"minAlignmentPeriod,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Scorecard.SparkChartView
func (*Scorecard_SparkChartView) DeepCopy ¶
func (in *Scorecard_SparkChartView) DeepCopy() *Scorecard_SparkChartView
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scorecard_SparkChartView.
func (*Scorecard_SparkChartView) DeepCopyInto ¶
func (in *Scorecard_SparkChartView) DeepCopyInto(out *Scorecard_SparkChartView)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SectionHeader ¶
type SectionHeader struct { // The subtitle of the section Subtitle *string `json:"subtitle,omitempty"` // Whether to insert a divider below the section in the table of contents DividerBelow *bool `json:"dividerBelow,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.SectionHeader
func (*SectionHeader) DeepCopy ¶
func (in *SectionHeader) DeepCopy() *SectionHeader
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SectionHeader.
func (*SectionHeader) DeepCopyInto ¶
func (in *SectionHeader) DeepCopyInto(out *SectionHeader)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SingleViewGroup ¶
type SingleViewGroup struct { }
+kcc:proto=google.monitoring.dashboard.v1.SingleViewGroup
func (*SingleViewGroup) DeepCopy ¶
func (in *SingleViewGroup) DeepCopy() *SingleViewGroup
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SingleViewGroup.
func (*SingleViewGroup) DeepCopyInto ¶
func (in *SingleViewGroup) DeepCopyInto(out *SingleViewGroup)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatisticalTimeSeriesFilter ¶
type StatisticalTimeSeriesFilter struct { // `rankingMethod` is applied to a set of time series, and then the produced // value for each individual time series is used to compare a given time // series to others. RankingMethod *string `json:"rankingMethod,omitempty"` // How many time series to output. NumTimeSeries *int32 `json:"numTimeSeries,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.StatisticalTimeSeriesFilter
func (*StatisticalTimeSeriesFilter) DeepCopy ¶
func (in *StatisticalTimeSeriesFilter) DeepCopy() *StatisticalTimeSeriesFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StatisticalTimeSeriesFilter.
func (*StatisticalTimeSeriesFilter) DeepCopyInto ¶
func (in *StatisticalTimeSeriesFilter) DeepCopyInto(out *StatisticalTimeSeriesFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TableDisplayOptions ¶
type TableDisplayOptions struct { // Optional. This field is unused and has been replaced by // TimeSeriesTable.column_settings ShownColumns []string `json:"shownColumns,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.TableDisplayOptions
func (*TableDisplayOptions) DeepCopy ¶
func (in *TableDisplayOptions) DeepCopy() *TableDisplayOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TableDisplayOptions.
func (*TableDisplayOptions) DeepCopyInto ¶
func (in *TableDisplayOptions) DeepCopyInto(out *TableDisplayOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Text ¶
type Text struct { // The text content to be displayed. Content *string `json:"content,omitempty"` // How the text content is formatted. Format *string `json:"format,omitempty"` // How the text is styled Style *Text_TextStyle `json:"style,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Text
func (*Text) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Text.
func (*Text) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Text_TextStyle ¶
type Text_TextStyle struct { // The background color as a hex string. "#RRGGBB" or "#RGB" BackgroundColor *string `json:"backgroundColor,omitempty"` // The text color as a hex string. "#RRGGBB" or "#RGB" TextColor *string `json:"textColor,omitempty"` // The horizontal alignment of both the title and content HorizontalAlignment *string `json:"horizontalAlignment,omitempty"` // The vertical alignment of both the title and content VerticalAlignment *string `json:"verticalAlignment,omitempty"` // The amount of padding around the widget Padding *string `json:"padding,omitempty"` // Font sizes for both the title and content. The title will still be larger // relative to the content. FontSize *string `json:"fontSize,omitempty"` // The pointer location for this widget (also sometimes called a "tail") PointerLocation *string `json:"pointerLocation,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Text.TextStyle
func (*Text_TextStyle) DeepCopy ¶
func (in *Text_TextStyle) DeepCopy() *Text_TextStyle
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Text_TextStyle.
func (*Text_TextStyle) DeepCopyInto ¶
func (in *Text_TextStyle) DeepCopyInto(out *Text_TextStyle)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Threshold ¶
type Threshold struct { // A label for the threshold. Label *string `json:"label,omitempty"` // The value of the threshold. The value should be defined in the native scale // of the metric. // +kubebuilder:validation:Format=double Value *float64 `json:"value,omitempty"` // The state color for this threshold. Color is not allowed in a XyChart. Color *string `json:"color,omitempty"` // The direction for the current threshold. Direction is not allowed in a // XyChart. Direction *string `json:"direction,omitempty"` // The target axis to use for plotting the threshold. Target axis is not // allowed in a Scorecard. TargetAxis *string `json:"targetAxis,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Threshold
func (*Threshold) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Threshold.
func (*Threshold) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeSeriesFilter ¶
type TimeSeriesFilter struct { // Required. The [monitoring // filter](https://cloud.google.com/monitoring/api/v3/filters) that identifies // the metric types, resources, and projects to query. // // +required Filter *string `json:"filter,omitempty"` // By default, the raw time series data is returned. // Use this field to combine multiple time series for different views of the // data. Aggregation *Aggregation `json:"aggregation,omitempty"` // Apply a second aggregation after `aggregation` is applied. SecondaryAggregation *Aggregation `json:"secondaryAggregation,omitempty"` // Ranking based time series filter. PickTimeSeriesFilter *PickTimeSeriesFilter `json:"pickTimeSeriesFilter,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.TimeSeriesFilter
func (*TimeSeriesFilter) DeepCopy ¶
func (in *TimeSeriesFilter) DeepCopy() *TimeSeriesFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesFilter.
func (*TimeSeriesFilter) DeepCopyInto ¶
func (in *TimeSeriesFilter) DeepCopyInto(out *TimeSeriesFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeSeriesFilterRatio ¶
type TimeSeriesFilterRatio struct { // The numerator of the ratio. Numerator *TimeSeriesFilterRatio_RatioPart `json:"numerator,omitempty"` // The denominator of the ratio. Denominator *TimeSeriesFilterRatio_RatioPart `json:"denominator,omitempty"` // Apply a second aggregation after the ratio is computed. SecondaryAggregation *Aggregation `json:"secondaryAggregation,omitempty"` // Ranking based time series filter. PickTimeSeriesFilter *PickTimeSeriesFilter `json:"pickTimeSeriesFilter,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.TimeSeriesFilterRatio
func (*TimeSeriesFilterRatio) DeepCopy ¶
func (in *TimeSeriesFilterRatio) DeepCopy() *TimeSeriesFilterRatio
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesFilterRatio.
func (*TimeSeriesFilterRatio) DeepCopyInto ¶
func (in *TimeSeriesFilterRatio) DeepCopyInto(out *TimeSeriesFilterRatio)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeSeriesFilterRatio_RatioPart ¶
type TimeSeriesFilterRatio_RatioPart struct { // The [monitoring // filter](https://cloud.google.com/monitoring/api/v3/filters) that // identifies the metric types, resources, and projects to query. // // +required Filter *string `json:"filter,omitempty"` // By default, the raw time series data is returned. Aggregation *Aggregation `json:"aggregation,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.TimeSeriesFilterRatio.RatioPart
func (*TimeSeriesFilterRatio_RatioPart) DeepCopy ¶
func (in *TimeSeriesFilterRatio_RatioPart) DeepCopy() *TimeSeriesFilterRatio_RatioPart
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesFilterRatio_RatioPart.
func (*TimeSeriesFilterRatio_RatioPart) DeepCopyInto ¶
func (in *TimeSeriesFilterRatio_RatioPart) DeepCopyInto(out *TimeSeriesFilterRatio_RatioPart)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeSeriesQuery ¶
type TimeSeriesQuery struct { // Filter parameters to fetch time series. TimeSeriesFilter *TimeSeriesFilter `json:"timeSeriesFilter,omitempty"` // Parameters to fetch a ratio between two time series filters. TimeSeriesFilterRatio *TimeSeriesFilterRatio `json:"timeSeriesFilterRatio,omitempty"` // A query used to fetch time series with MQL. TimeSeriesQueryLanguage *string `json:"timeSeriesQueryLanguage,omitempty"` // A query used to fetch time series with PromQL. PrometheusQuery *string `json:"prometheusQuery,omitempty"` // The unit of data contained in fetched time series. If non-empty, this // unit will override any unit that accompanies fetched data. The format is // the same as the // [`unit`](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) // field in `MetricDescriptor`. UnitOverride *string `json:"unitOverride,omitempty"` // Optional. If set, Cloud Monitoring will treat the full query duration as // the alignment period so that there will be only 1 output value. OutputFullDuration *bool `json:"outputFullDuration,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.TimeSeriesQuery
func (*TimeSeriesQuery) DeepCopy ¶
func (in *TimeSeriesQuery) DeepCopy() *TimeSeriesQuery
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesQuery.
func (*TimeSeriesQuery) DeepCopyInto ¶
func (in *TimeSeriesQuery) DeepCopyInto(out *TimeSeriesQuery)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeSeriesTable ¶
type TimeSeriesTable struct { // Required. The data displayed in this table. // // +required DataSets []TimeSeriesTable_TableDataSet `json:"dataSets,omitempty"` // Optional. Store rendering strategy MetricVisualization *string `json:"metricVisualization,omitempty"` // Optional. The list of the persistent column settings for the table. ColumnSettings []TimeSeriesTable_ColumnSettings `json:"columnSettings,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.TimeSeriesTable
func (*TimeSeriesTable) DeepCopy ¶
func (in *TimeSeriesTable) DeepCopy() *TimeSeriesTable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesTable.
func (*TimeSeriesTable) DeepCopyInto ¶
func (in *TimeSeriesTable) DeepCopyInto(out *TimeSeriesTable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeSeriesTable_ColumnSettings ¶
type TimeSeriesTable_ColumnSettings struct { // Required. The id of the column. // // +required Column *string `json:"column,omitempty"` // Required. Whether the column should be visible on page load. // // +required Visible *bool `json:"visible,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.TimeSeriesTable.ColumnSettings
func (*TimeSeriesTable_ColumnSettings) DeepCopy ¶
func (in *TimeSeriesTable_ColumnSettings) DeepCopy() *TimeSeriesTable_ColumnSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesTable_ColumnSettings.
func (*TimeSeriesTable_ColumnSettings) DeepCopyInto ¶
func (in *TimeSeriesTable_ColumnSettings) DeepCopyInto(out *TimeSeriesTable_ColumnSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TimeSeriesTable_TableDataSet ¶
type TimeSeriesTable_TableDataSet struct { // Required. Fields for querying time series data from the // Stackdriver metrics API. TimeSeriesQuery *TimeSeriesQuery `json:"timeSeriesQuery,omitempty"` // Optional. A template string for naming `TimeSeries` in the resulting data // set. TableTemplate *string `json:"tableTemplate,omitempty"` // Optional. The lower bound on data point frequency for this data set. MinAlignmentPeriod *string `json:"minAlignmentPeriod,omitempty"` // Optional. Table display options for configuring how the table is // rendered. TableDisplayOptions *TableDisplayOptions `json:"tableDisplayOptions,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.TimeSeriesTable.TableDataSet
func (*TimeSeriesTable_TableDataSet) DeepCopy ¶
func (in *TimeSeriesTable_TableDataSet) DeepCopy() *TimeSeriesTable_TableDataSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TimeSeriesTable_TableDataSet.
func (*TimeSeriesTable_TableDataSet) DeepCopyInto ¶
func (in *TimeSeriesTable_TableDataSet) DeepCopyInto(out *TimeSeriesTable_TableDataSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Widget ¶
type Widget struct { // Optional. The title of the widget. Title *string `json:"title,omitempty"` // A chart of time series data. XyChart *XyChart `json:"xyChart,omitempty"` // A scorecard summarizing time series data. Scorecard *Scorecard `json:"scorecard,omitempty"` // A raw string or markdown displaying textual content. Text *Text `json:"text,omitempty"` // A blank space. Blank *Empty `json:"blank,omitempty"` // A widget that displays time series data in a tabular format. TimeSeriesTable *TimeSeriesTable `json:"timeSeriesTable,omitempty"` // A widget that groups the other widgets. All widgets that are within // the area spanned by the grouping widget are considered member widgets. CollapsibleGroup *CollapsibleGroup `json:"collapsibleGroup,omitempty"` // A widget that shows a stream of logs. LogsPanel *LogsPanel `json:"logsPanel,omitempty"` // A widget that shows list of incidents. IncidentList *IncidentList `json:"incidentList,omitempty"` // A widget that displays timeseries data as a pie chart. PieChart *PieChart `json:"pieChart,omitempty"` // A widget that displays a list of error groups. ErrorReportingPanel *ErrorReportingPanel `json:"errorReportingPanel,omitempty"` // A widget that defines a section header for easier navigation of the // dashboard. SectionHeader *SectionHeader `json:"sectionHeader,omitempty"` // A widget that groups the other widgets by using a dropdown menu. SingleViewGroup *SingleViewGroup `json:"singleViewGroup,omitempty"` // Optional. The widget id. Ids may be made up of alphanumerics, dashes and // underscores. Widget ids are optional. Id *string `json:"id,omitempty"` // A chart of alert policy data. AlertChart *AlertChart `json:"alertChart,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.Widget
func (*Widget) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Widget.
func (*Widget) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XyChart ¶
type XyChart struct { // Required. The data displayed in this chart. // +required DataSets []XyChart_DataSet `json:"dataSets,omitempty"` // The duration used to display a comparison chart. TimeshiftDuration *string `json:"timeshiftDuration,omitempty"` // Threshold lines drawn horizontally across the chart. Thresholds []Threshold `json:"thresholds,omitempty"` // The properties applied to the x-axis. XAxis *XyChart_Axis `json:"xAxis,omitempty"` // The properties applied to the y-axis. YAxis *XyChart_Axis `json:"yAxis,omitempty"` // The properties applied to the y2-axis. Y2Axis *XyChart_Axis `json:"y2Axis,omitempty"` // Display options for the chart. ChartOptions *ChartOptions `json:"chartOptions,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.XyChart
func (*XyChart) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XyChart.
func (*XyChart) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XyChart_Axis ¶
type XyChart_Axis struct { // The label of the axis. Label *string `json:"label,omitempty"` // The axis scale. By default, a linear scale is used. Scale *string `json:"scale,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.XyChart.Axis
func (*XyChart_Axis) DeepCopy ¶
func (in *XyChart_Axis) DeepCopy() *XyChart_Axis
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XyChart_Axis.
func (*XyChart_Axis) DeepCopyInto ¶
func (in *XyChart_Axis) DeepCopyInto(out *XyChart_Axis)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type XyChart_DataSet ¶
type XyChart_DataSet struct { // Fields for querying time series data from the // Stackdriver metrics API. // // +required TimeSeriesQuery *TimeSeriesQuery `json:"timeSeriesQuery,omitempty"` // How this data should be plotted on the chart. PlotType *string `json:"plotType,omitempty"` // A template string for naming `TimeSeries` in the resulting data set. LegendTemplate *string `json:"legendTemplate,omitempty"` // Optional. The lower bound on data point frequency for this data set. MinAlignmentPeriod *string `json:"minAlignmentPeriod,omitempty"` // Optional. The target axis to use for plotting the metric. TargetAxis *string `json:"targetAxis,omitempty"` }
+kcc:proto=google.monitoring.dashboard.v1.XyChart.DataSet
func (*XyChart_DataSet) DeepCopy ¶
func (in *XyChart_DataSet) DeepCopy() *XyChart_DataSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new XyChart_DataSet.
func (*XyChart_DataSet) DeepCopyInto ¶
func (in *XyChart_DataSet) DeepCopyInto(out *XyChart_DataSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.