Documentation ¶
Index ¶
- func NewMonitoringOpenshiftIoAlertRelabelConfigV1Manifest() datasource.DataSource
- func NewMonitoringOpenshiftIoAlertingRuleV1Manifest() datasource.DataSource
- type MonitoringOpenshiftIoAlertRelabelConfigV1Manifest
- func (r *MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MonitoringOpenshiftIoAlertRelabelConfigV1ManifestData
- type MonitoringOpenshiftIoAlertingRuleV1Manifest
- func (r *MonitoringOpenshiftIoAlertingRuleV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *MonitoringOpenshiftIoAlertingRuleV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *MonitoringOpenshiftIoAlertingRuleV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MonitoringOpenshiftIoAlertingRuleV1ManifestData
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 (r *MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Read ¶
func (r *MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Schema ¶
func (r *MonitoringOpenshiftIoAlertRelabelConfigV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
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 (r *MonitoringOpenshiftIoAlertingRuleV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MonitoringOpenshiftIoAlertingRuleV1Manifest) Read ¶
func (r *MonitoringOpenshiftIoAlertingRuleV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MonitoringOpenshiftIoAlertingRuleV1Manifest) Schema ¶
func (r *MonitoringOpenshiftIoAlertingRuleV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
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"` }
Click to show internal directories.
Click to hide internal directories.