monitoring_openshift_io_v1

package
v0.0.0-...-0c7cfb0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2024 License: 0BSD Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMonitoringOpenshiftIoAlertRelabelConfigV1Manifest

func NewMonitoringOpenshiftIoAlertRelabelConfigV1Manifest() datasource.DataSource

func NewMonitoringOpenshiftIoAlertingRuleV1Manifest

func NewMonitoringOpenshiftIoAlertingRuleV1Manifest() datasource.DataSource

Types

type MonitoringOpenshiftIoAlertRelabelConfigV1Manifest

type MonitoringOpenshiftIoAlertRelabelConfigV1Manifest struct{}

func (*MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Metadata

func (*MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Read

func (*MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Schema

type MonitoringOpenshiftIoAlertRelabelConfigV1ManifestData

type MonitoringOpenshiftIoAlertRelabelConfigV1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		Configs *[]struct {
			Action       *string   `tfsdk:"action" json:"action,omitempty"`
			Modulus      *int64    `tfsdk:"modulus" json:"modulus,omitempty"`
			Regex        *string   `tfsdk:"regex" json:"regex,omitempty"`
			Replacement  *string   `tfsdk:"replacement" json:"replacement,omitempty"`
			Separator    *string   `tfsdk:"separator" json:"separator,omitempty"`
			SourceLabels *[]string `tfsdk:"source_labels" json:"sourceLabels,omitempty"`
			TargetLabel  *string   `tfsdk:"target_label" json:"targetLabel,omitempty"`
		} `tfsdk:"configs" json:"configs,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

type MonitoringOpenshiftIoAlertingRuleV1Manifest

type MonitoringOpenshiftIoAlertingRuleV1Manifest struct{}

func (*MonitoringOpenshiftIoAlertingRuleV1Manifest) Metadata

func (*MonitoringOpenshiftIoAlertingRuleV1Manifest) Read

func (*MonitoringOpenshiftIoAlertingRuleV1Manifest) Schema

type MonitoringOpenshiftIoAlertingRuleV1ManifestData

type MonitoringOpenshiftIoAlertingRuleV1ManifestData struct {
	YAML types.String `tfsdk:"yaml" json:"-"`

	ApiVersion *string `tfsdk:"-" json:"apiVersion"`
	Kind       *string `tfsdk:"-" json:"kind"`

	Metadata struct {
		Name        string            `tfsdk:"name" json:"name"`
		Namespace   string            `tfsdk:"namespace" json:"namespace"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		Groups *[]struct {
			Interval *string `tfsdk:"interval" json:"interval,omitempty"`
			Name     *string `tfsdk:"name" json:"name,omitempty"`
			Rules    *[]struct {
				Alert       *string            `tfsdk:"alert" json:"alert,omitempty"`
				Annotations *map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
				Expr        *string            `tfsdk:"expr" json:"expr,omitempty"`
				For         *string            `tfsdk:"for" json:"for,omitempty"`
				Labels      *map[string]string `tfsdk:"labels" json:"labels,omitempty"`
			} `tfsdk:"rules" json:"rules,omitempty"`
		} `tfsdk:"groups" json:"groups,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL