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

Documentation

Overview

+groupName=dashboard.wavefront.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: dashboard.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 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 DashboardSpecParameterDetails

type DashboardSpecParameterDetails struct {
	DefaultValue *string `json:"defaultValue" tf:"default_value"`
	// +optional
	DynamicFieldType *string `json:"dynamicFieldType,omitempty" tf:"dynamic_field_type"`
	HideFromView     *bool   `json:"hideFromView" tf:"hide_from_view"`
	Label            *string `json:"label" tf:"label"`
	Name             *string `json:"name" tf:"name"`
	ParameterType    *string `json:"parameterType" tf:"parameter_type"`
	// +optional
	QueryValue *string `json:"queryValue,omitempty" tf:"query_value"`
	// +optional
	TagKey *string `json:"tagKey,omitempty" tf:"tag_key"`
	// Map of [string]string. At least one of the keys must match the value of default_value.
	ValuesToReadableStrings *map[string]string `json:"valuesToReadableStrings" tf:"values_to_readable_strings"`
}

func (*DashboardSpecParameterDetails) DeepCopy

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

func (*DashboardSpecParameterDetails) 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"`

	// +optional
	CanModify []string `json:"canModify,omitempty" tf:"can_modify"`
	// +optional
	CanView     []string `json:"canView,omitempty" tf:"can_view"`
	Description *string  `json:"description" tf:"description"`
	// +optional
	DisplayQueryParameters *bool `json:"displayQueryParameters,omitempty" tf:"display_query_parameters"`
	// +optional
	DisplaySectionTableOfContents *bool `json:"displaySectionTableOfContents,omitempty" tf:"display_section_table_of_contents"`
	// +optional
	EventFilterType *string `json:"eventFilterType,omitempty" tf:"event_filter_type"`
	Name            *string `json:"name" tf:"name"`
	// +optional
	ParameterDetails []DashboardSpecParameterDetails `json:"parameterDetails,omitempty" tf:"parameter_details"`
	// Sections of a Dashboard
	Section []DashboardSpecSection `json:"section" tf:"section"`
	Tags    []string               `json:"tags" tf:"tags"`
	Url     *string                `json:"url" tf:"url"`
}

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 DashboardSpecSection

type DashboardSpecSection struct {
	// Name of the Sections
	Name *string `json:"name" tf:"name"`
	// Rows containing chart. Rows belong in Sections
	Row []DashboardSpecSectionRow `json:"row" tf:"row"`
}

func (*DashboardSpecSection) DeepCopy

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

func (*DashboardSpecSection) DeepCopyInto

func (in *DashboardSpecSection) DeepCopyInto(out *DashboardSpecSection)

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

type DashboardSpecSectionRow

type DashboardSpecSectionRow struct {
	// A collection of chart
	Chart []DashboardSpecSectionRowChart `json:"chart" tf:"chart"`
}

func (*DashboardSpecSectionRow) DeepCopy

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

func (*DashboardSpecSectionRow) DeepCopyInto

func (in *DashboardSpecSectionRow) DeepCopyInto(out *DashboardSpecSectionRow)

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

type DashboardSpecSectionRowChart

type DashboardSpecSectionRowChart struct {
	// Base of logarithmic scale, default is 0 for linear scale
	// +optional
	Base *int64 `json:"base,omitempty" tf:"base"`
	// +optional
	ChartAttribute *string `json:"chartAttribute,omitempty" tf:"chart_attribute"`
	// Chart settings. Defaults to line charts
	ChartSetting *DashboardSpecSectionRowChartChartSetting `json:"chartSetting" tf:"chart_setting"`
	// Description of the chart
	// +optional
	Description *string `json:"description,omitempty" tf:"description"`
	// Name of the Chart
	Name *string `json:"name" tf:"name"`
	// A collection of Sources for a Chart
	Source []DashboardSpecSectionRowChartSource `json:"source" tf:"source"`
	// Summarization strategy for the chart. MEAN is default = ['MEAN', 'MEDIAN', 'MIN', 'MAX', 'SUM', 'COUNT', 'LAST', 'FIRST']
	Summarization *string `json:"summarization" tf:"summarization"`
	// Units of measurements for the chart
	Units *string `json:"units" tf:"units"`
}

func (*DashboardSpecSectionRowChart) DeepCopy

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

func (*DashboardSpecSectionRowChart) DeepCopyInto

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

type DashboardSpecSectionRowChartChartSetting

type DashboardSpecSectionRowChartChartSetting struct {
	// deprecated
	// +optional
	AutoColumnTags *bool `json:"autoColumnTags,omitempty" tf:"auto_column_tags"`
	// deprecated
	// +optional
	ColumnTags *string `json:"columnTags,omitempty" tf:"column_tags"`
	// For the tabular view, a list of point tags to display when using the custom tag display mode
	// +optional
	CustomTags []string `json:"customTags,omitempty" tf:"custom_tags"`
	// Threshold (in seconds) for time delta between consecutive points in a series above which a dotted line will replace a solid line in line plots. Default: 60s
	// +optional
	ExpectedDataSpacing *int64 `json:"expectedDataSpacing,omitempty" tf:"expected_data_spacing"`
	// For a chart with a fixed legend, a list of statistics to display in the legend
	// +optional
	FixedLegendDisplayStats []string `json:"fixedLegendDisplayStats,omitempty" tf:"fixed_legend_display_stats"`
	// Whether to enable a fixed tabular legend adjacent to the chart
	// +optional
	FixedLegendEnabled *bool `json:"fixedLegendEnabled,omitempty" tf:"fixed_legend_enabled"`
	// Statistic to use for determining whether a series is displayed on the fixed legend = ['CURRENT', 'MEAN', 'MEDIAN', 'SUM', 'MIN', 'MAX', 'COUNT']
	// +optional
	FixedLegendFilterField *string `json:"fixedLegendFilterField,omitempty" tf:"fixed_legend_filter_field"`
	// Number of series to include in the fixed legend
	// +optional
	FixedLegendFilterLimit *int64 `json:"fixedLegendFilterLimit,omitempty" tf:"fixed_legend_filter_limit"`
	// Whether to display Top- or Bottom-ranked series in the fixed legend = ['TOP', 'BOTTOM']
	// +optional
	FixedLegendFilterSort *string `json:"fixedLegendFilterSort,omitempty" tf:"fixed_legend_filter_sort"`
	// deprecated
	// +optional
	FixedLegendHideLabel *bool `json:"fixedLegendHideLabel,omitempty" tf:"fixed_legend_hide_label"`
	// Where the fixed legend should be displayed with respect to the chart = ['RIGHT', 'TOP', 'LEFT', 'BOTTOM']
	// +optional
	FixedLegendPosition *string `json:"fixedLegendPosition,omitempty" tf:"fixed_legend_position"`
	// If true, the legend uses non-summarized stats instead of summarized
	// +optional
	FixedLegendUseRawStats *bool `json:"fixedLegendUseRawStats,omitempty" tf:"fixed_legend_use_raw_stats"`
	// For the tabular view, whether to group multi metrics into a single row by a common source. If false, each metric for each source is displayed in its own row. If true, multiple metrics for the same host will be displayed as different columns in the same row
	// +optional
	GroupBySource *bool `json:"groupBySource,omitempty" tf:"group_by_source"`
	// Whether to disable the display of the floating legend (but reenable it when the ctrl-key is pressed)
	// +optional
	InvertDynamicLegendHoverControl *bool `json:"invertDynamicLegendHoverControl,omitempty" tf:"invert_dynamic_legend_hover_control"`
	// Plot interpolation type. linear is default = ['linear', 'step-before', 'step-after', 'basis', 'cardinal', 'monotone']
	// +optional
	LineType *string `json:"lineType,omitempty" tf:"line_type"`
	// Max value of Y-axis. Set to null or leave blank for auto
	// +optional
	Max *float64 `json:"max,omitempty" tf:"max"`
	// Min value of Y-axis. Set to null or leave blank for auto
	// +optional
	Min *float64 `json:"min,omitempty" tf:"min"`
	// For the tabular view, how many point tags to display
	// +optional
	NumTags *int64 `json:"numTags,omitempty" tf:"num_tags"`
	// The Markdown content for a Markdown display, in plain text. Use this field instead of markdownContent
	// +optional
	PlainMarkdownContent *string `json:"plainMarkdownContent,omitempty" tf:"plain_markdown_content"`
	// For the tabular view, whether to display sources. Default: true
	// +optional
	ShowHosts *bool `json:"showHosts,omitempty" tf:"show_hosts"`
	// For the tabular view, whether to display labels. Default: true
	// +optional
	ShowLabels *bool `json:"showLabels,omitempty" tf:"show_labels"`
	// For the tabular view, whether to display raw values. Default: false
	// +optional
	ShowRawValues *bool `json:"showRawValues,omitempty" tf:"show_raw_values"`
	// For the tabular view, whether to display display values in descending order. Default: false
	// +optional
	SortValuesDescending *bool `json:"sortValuesDescending,omitempty" tf:"sort_values_descending"`
	// For the single stat view, the decimal precision of the displayed number
	// +optional
	SparklineDecimalPrecision *int64 `json:"sparklineDecimalPrecision,omitempty" tf:"sparkline_decimal_precision"`
	// For the single stat view, the color of the displayed text (when not dynamically determined). Values should be in rgba(, , ,  format
	// +optional
	SparklineDisplayColor *string `json:"sparklineDisplayColor,omitempty" tf:"sparkline_display_color"`
	// For the single stat view, the font size of the displayed text, in percent
	// +optional
	SparklineDisplayFontSize *string `json:"sparklineDisplayFontSize,omitempty" tf:"sparkline_display_font_size"`
	// For the single stat view, the horizontal position of the displayed text = ['MIDDLE', 'LEFT', 'RIGHT']
	// +optional
	SparklineDisplayHorizontalPosition *string `json:"sparklineDisplayHorizontalPosition,omitempty" tf:"sparkline_display_horizontal_position"`
	// For the single stat view, a string to append to the displayed text
	// +optional
	SparklineDisplayPostfix *string `json:"sparklineDisplayPostfix,omitempty" tf:"sparkline_display_postfix"`
	// For the single stat view, a string to add before the displayed text
	// +optional
	SparklineDisplayPrefix *string `json:"sparklineDisplayPrefix,omitempty" tf:"sparkline_display_prefix"`
	// For the single stat view, whether to display the name of the query or the value of query = ['VALUE', 'LABEL']
	// +optional
	SparklineDisplayValueType *string `json:"sparklineDisplayValueType,omitempty" tf:"sparkline_display_value_type"`
	// deprecated
	// +optional
	SparklineDisplayVerticalPosition *string `json:"sparklineDisplayVerticalPosition,omitempty" tf:"sparkline_display_vertical_position"`
	// For the single stat view, the color of the background fill. Values should be in rgba(, , ,  format
	// +optional
	SparklineFillColor *string `json:"sparklineFillColor,omitempty" tf:"sparkline_fill_color"`
	// For the single stat view, the color of the line. Values should be in rgba(, , ,  format
	// +optional
	SparklineLineColor *string `json:"sparklineLineColor,omitempty" tf:"sparkline_line_color"`
	// For the single stat view, a misleadingly named property. This determines whether the sparkline of the statistic is displayed in the chart BACKGROUND, BOTTOM, or NONE = ['BACKGROUND', 'BOTTOM', 'NONE']
	// +optional
	SparklineSize *string `json:"sparklineSize,omitempty" tf:"sparkline_size"`
	// For the single stat view, whether to apply dynamic color settings to the displayed TEXT or BACKGROUND = ['TEXT', 'BACKGROUND']
	// +optional
	SparklineValueColorMapApplyTo *string `json:"sparklineValueColorMapApplyTo,omitempty" tf:"sparkline_value_color_map_apply_to"`
	// For the single stat view, a list of colors that differing query values map to. Must contain one more element than sparklineValueColorMapValuesV2. Values should be in rgba(, , ,  format
	// +optional
	SparklineValueColorMapColors []string `json:"sparklineValueColorMapColors,omitempty" tf:"sparkline_value_color_map_colors"`
	// deprecated
	// +optional
	SparklineValueColorMapValues []int64 `json:"sparklineValueColorMapValues,omitempty" tf:"sparkline_value_color_map_values"`
	// deprecated
	// +optional
	SparklineValueColorMapValuesV2 []float64 `json:"sparklineValueColorMapValuesV2,omitempty" tf:"sparkline_value_color_map_values_v2"`
	// For the single stat view, a list of display text values that different query values map to. Must contain one more element than sparklineValueTextMapThresholds
	// +optional
	SparklineValueTextMapText []string `json:"sparklineValueTextMapText,omitempty" tf:"sparkline_value_text_map_text"`
	// For the single stat view, a list of threshold boundaries for mapping different query values to display text. Must contain one less element than sparklineValueTextMapText
	// +optional
	SparklineValueTextMapThresholds []float64 `json:"sparklineValueTextMapThresholds,omitempty" tf:"sparkline_value_text_map_thresholds"`
	// Type of stacked chart (applicable only if chart type is stacked). zero (default) means stacked from y=0. expand means Normalized from 0 to 1. wiggle means Minimize weighted changes. silhouette means to Center the Stream = ['zero', 'expand', 'wiggle', 'silhouette']
	// +optional
	StackType *string `json:"stackType,omitempty" tf:"stack_type"`
	// For the tabular view, which mode to use to determine which point tags to display = ['all', 'top', 'custom']
	// +optional
	TagMode *string `json:"tagMode,omitempty" tf:"tag_mode"`
	// Fox x-y scatterplots, whether to color more recent points as darker than older points. Default: false
	// +optional
	TimeBasedColoring *bool `json:"timeBasedColoring,omitempty" tf:"time_based_coloring"`
	// Chart Type. 'line' refers to the Line Plot, 'scatter' to the Point Plot, 'stacked-area' to the Stacked Area plot, 'table' to the Tabular View, 'scatterploy-xy' to Scatter Plot, 'markdown-widget' to the Markdown display, and 'sparkline' to the Single Stat view = ['line', 'scatterplot', 'stacked-area', 'table', 'scatterplot-xy', 'markdown-widget', 'sparkline']
	Type *string `json:"type" tf:"type"`
	// Width, in minutes, of the time window to use for last windowing
	// +optional
	WindowSize *int64 `json:"windowSize,omitempty" tf:"window_size"`
	// For the tabular view, whether to use the full time window for the query or the last X minutes = ['full', 'last']
	// +optional
	Windowing *string `json:"windowing,omitempty" tf:"windowing"`
	// For x-y scatterplots, max value for X-axis. Set null for auto
	// +optional
	Xmax *float64 `json:"xmax,omitempty" tf:"xmax"`
	// For x-y scatterplots, min value for X-axis. Set null for auto
	// +optional
	Xmin *float64 `json:"xmin,omitempty" tf:"xmin"`
	// Default: false. Whether to scale numerical magnitude labels for left Y-axis by 1024 in the IEC/Binary manner (instead of by 1000 like SI) ,
	// +optional
	Y0ScaleSiBy1024 *bool `json:"y0ScaleSiBy1024,omitempty" tf:"y0_scale_si_by_1024"`
	// Default: false. Whether to automatically adjust magnitude labels and units for the left Y-axis to favor smaller magnitudes and larger units
	// +optional
	Y0UnitAutoscaling *bool `json:"y0UnitAutoscaling,omitempty" tf:"y0_unit_autoscaling"`
	// Default: false. Whether to scale numerical magnitude labels for right Y-axis by 1024 in the IEC/Binary manner (instead of by 1000 like SI)
	// +optional
	Y1ScaleSiBy1024 *bool `json:"y1ScaleSiBy1024,omitempty" tf:"y1_scale_si_by_1024"`
	// Default: false. Whether to automatically adjust magnitude labels and units for the right Y-axis to favor smaller magnitudes and larger units
	// +optional
	Y1UnitAutoscaling *bool `json:"y1UnitAutoscaling,omitempty" tf:"y1_unit_autoscaling"`
	// For plots with multiple Y-axes, units for right-side Y-axis
	// +optional
	Y1Units *string `json:"y1Units,omitempty" tf:"y1_units"`
	// For plots with multiple Y-axes, max value for right-side Y-axis. Set null for auto
	// +optional
	Y1max *float64 `json:"y1max,omitempty" tf:"y1max"`
	// For plots with multiple Y-axes, min value for right-side Y-axis. Set null for auto
	// +optional
	Y1min *float64 `json:"y1min,omitempty" tf:"y1min"`
	// For x-y scatterplots, max value for Y-axis. Set null for auto
	// +optional
	Ymax *float64 `json:"ymax,omitempty" tf:"ymax"`
	// For x-y scatterplots, min value for Y-axis. Set null for auto
	// +optional
	Ymin *float64 `json:"ymin,omitempty" tf:"ymin"`
}

func (*DashboardSpecSectionRowChartChartSetting) DeepCopy

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

func (*DashboardSpecSectionRowChartChartSetting) DeepCopyInto

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

type DashboardSpecSectionRowChartChartSettingCodec

type DashboardSpecSectionRowChartChartSettingCodec struct {
}

+k8s:deepcopy-gen=false

func (DashboardSpecSectionRowChartChartSettingCodec) Decode

func (DashboardSpecSectionRowChartChartSettingCodec) Encode

func (DashboardSpecSectionRowChartChartSettingCodec) IsEmpty

type DashboardSpecSectionRowChartSource

type DashboardSpecSectionRowChartSource struct {
	// Whether to disabled the source from being displayed
	// +optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled"`
	// Name of the Source
	Name *string `json:"name" tf:"name"`
	// Query for the Source
	Query *string `json:"query" tf:"query"`
	// Whether the query builder should be enabled
	// +optional
	QueryBuilderEnabled *bool `json:"queryBuilderEnabled,omitempty" tf:"query_builder_enabled"`
	// +optional
	ScatterPlotSource *string `json:"scatterPlotSource,omitempty" tf:"scatter_plot_source"`
	// Description of the source
	// +optional
	SourceDescription *string `json:"sourceDescription,omitempty" tf:"source_description"`
}

func (*DashboardSpecSectionRowChartSource) DeepCopy

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

func (*DashboardSpecSectionRowChartSource) DeepCopyInto

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.

type Json

type Json struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              JsonSpec   `json:"spec,omitempty"`
	Status            JsonStatus `json:"status,omitempty"`
}

func (*Json) DeepCopy

func (in *Json) DeepCopy() *Json

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

func (*Json) DeepCopyInto

func (in *Json) DeepCopyInto(out *Json)

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

func (*Json) DeepCopyObject

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

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

func (*Json) SetupWebhookWithManager

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

func (*Json) ValidateCreate

func (r *Json) ValidateCreate() error

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

func (*Json) ValidateDelete

func (r *Json) ValidateDelete() error

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

func (*Json) ValidateUpdate

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

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

type JsonList

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

JsonList is a list of Jsons

func (*JsonList) DeepCopy

func (in *JsonList) DeepCopy() *JsonList

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

func (*JsonList) DeepCopyInto

func (in *JsonList) DeepCopyInto(out *JsonList)

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

func (*JsonList) DeepCopyObject

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

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

type JsonSpec

type JsonSpec struct {
	State *JsonSpecResource `json:"state,omitempty" tf:"-"`

	Resource JsonSpecResource `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 (*JsonSpec) DeepCopy

func (in *JsonSpec) DeepCopy() *JsonSpec

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

func (*JsonSpec) DeepCopyInto

func (in *JsonSpec) DeepCopyInto(out *JsonSpec)

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

type JsonSpecResource

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

	DashboardJSON *string `json:"dashboardJSON" tf:"dashboard_json"`
}

func (*JsonSpecResource) DeepCopy

func (in *JsonSpecResource) DeepCopy() *JsonSpecResource

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

func (*JsonSpecResource) DeepCopyInto

func (in *JsonSpecResource) DeepCopyInto(out *JsonSpecResource)

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

type JsonStatus

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

func (in *JsonStatus) DeepCopy() *JsonStatus

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

func (*JsonStatus) DeepCopyInto

func (in *JsonStatus) DeepCopyInto(out *JsonStatus)

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