Documentation ¶
Index ¶
- func NewLokiGrafanaComAlertingRuleV1Manifest() datasource.DataSource
- func NewLokiGrafanaComLokiStackV1Manifest() datasource.DataSource
- func NewLokiGrafanaComRecordingRuleV1Manifest() datasource.DataSource
- func NewLokiGrafanaComRulerConfigV1Manifest() datasource.DataSource
- type LokiGrafanaComAlertingRuleV1Manifest
- func (r *LokiGrafanaComAlertingRuleV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *LokiGrafanaComAlertingRuleV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *LokiGrafanaComAlertingRuleV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type LokiGrafanaComAlertingRuleV1ManifestData
- type LokiGrafanaComLokiStackV1Manifest
- func (r *LokiGrafanaComLokiStackV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *LokiGrafanaComLokiStackV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *LokiGrafanaComLokiStackV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type LokiGrafanaComLokiStackV1ManifestData
- type LokiGrafanaComRecordingRuleV1Manifest
- func (r *LokiGrafanaComRecordingRuleV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *LokiGrafanaComRecordingRuleV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *LokiGrafanaComRecordingRuleV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type LokiGrafanaComRecordingRuleV1ManifestData
- type LokiGrafanaComRulerConfigV1Manifest
- func (r *LokiGrafanaComRulerConfigV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *LokiGrafanaComRulerConfigV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *LokiGrafanaComRulerConfigV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type LokiGrafanaComRulerConfigV1ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLokiGrafanaComAlertingRuleV1Manifest ¶
func NewLokiGrafanaComAlertingRuleV1Manifest() datasource.DataSource
func NewLokiGrafanaComLokiStackV1Manifest ¶
func NewLokiGrafanaComLokiStackV1Manifest() datasource.DataSource
func NewLokiGrafanaComRecordingRuleV1Manifest ¶
func NewLokiGrafanaComRecordingRuleV1Manifest() datasource.DataSource
func NewLokiGrafanaComRulerConfigV1Manifest ¶
func NewLokiGrafanaComRulerConfigV1Manifest() datasource.DataSource
Types ¶
type LokiGrafanaComAlertingRuleV1Manifest ¶
type LokiGrafanaComAlertingRuleV1Manifest struct{}
func (*LokiGrafanaComAlertingRuleV1Manifest) Metadata ¶
func (r *LokiGrafanaComAlertingRuleV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*LokiGrafanaComAlertingRuleV1Manifest) Read ¶
func (r *LokiGrafanaComAlertingRuleV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*LokiGrafanaComAlertingRuleV1Manifest) Schema ¶
func (r *LokiGrafanaComAlertingRuleV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type LokiGrafanaComAlertingRuleV1ManifestData ¶
type LokiGrafanaComAlertingRuleV1ManifestData 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"` Limit *int64 `tfsdk:"limit" json:"limit,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"` TenantID *string `tfsdk:"tenant_id" json:"tenantID,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type LokiGrafanaComLokiStackV1Manifest ¶
type LokiGrafanaComLokiStackV1Manifest struct{}
func (*LokiGrafanaComLokiStackV1Manifest) Metadata ¶
func (r *LokiGrafanaComLokiStackV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*LokiGrafanaComLokiStackV1Manifest) Read ¶
func (r *LokiGrafanaComLokiStackV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*LokiGrafanaComLokiStackV1Manifest) Schema ¶
func (r *LokiGrafanaComLokiStackV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type LokiGrafanaComLokiStackV1ManifestData ¶
type LokiGrafanaComLokiStackV1ManifestData 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 { HashRing *struct { Memberlist *struct { EnableIPv6 *bool `tfsdk:"enable_i_pv6" json:"enableIPv6,omitempty"` InstanceAddrType *string `tfsdk:"instance_addr_type" json:"instanceAddrType,omitempty"` } `tfsdk:"memberlist" json:"memberlist,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"hash_ring" json:"hashRing,omitempty"` Limits *struct { Global *struct { Ingestion *struct { IngestionBurstSize *int64 `tfsdk:"ingestion_burst_size" json:"ingestionBurstSize,omitempty"` IngestionRate *int64 `tfsdk:"ingestion_rate" json:"ingestionRate,omitempty"` MaxGlobalStreamsPerTenant *int64 `tfsdk:"max_global_streams_per_tenant" json:"maxGlobalStreamsPerTenant,omitempty"` MaxLabelNameLength *int64 `tfsdk:"max_label_name_length" json:"maxLabelNameLength,omitempty"` MaxLabelNamesPerSeries *int64 `tfsdk:"max_label_names_per_series" json:"maxLabelNamesPerSeries,omitempty"` MaxLabelValueLength *int64 `tfsdk:"max_label_value_length" json:"maxLabelValueLength,omitempty"` MaxLineSize *int64 `tfsdk:"max_line_size" json:"maxLineSize,omitempty"` PerStreamDesiredRate *int64 `tfsdk:"per_stream_desired_rate" json:"perStreamDesiredRate,omitempty"` PerStreamRateLimit *int64 `tfsdk:"per_stream_rate_limit" json:"perStreamRateLimit,omitempty"` PerStreamRateLimitBurst *int64 `tfsdk:"per_stream_rate_limit_burst" json:"perStreamRateLimitBurst,omitempty"` } `tfsdk:"ingestion" json:"ingestion,omitempty"` Otlp *struct { IndexedResourceAttributes *[]string `tfsdk:"indexed_resource_attributes" json:"indexedResourceAttributes,omitempty"` LogAttributes *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` Attributes *[]string `tfsdk:"attributes" json:"attributes,omitempty"` Regex *string `tfsdk:"regex" json:"regex,omitempty"` } `tfsdk:"log_attributes" json:"logAttributes,omitempty"` ResourceAttributes *struct { Attributes *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` Attributes *[]string `tfsdk:"attributes" json:"attributes,omitempty"` Regex *string `tfsdk:"regex" json:"regex,omitempty"` } `tfsdk:"attributes" json:"attributes,omitempty"` IgnoreDefaults *bool `tfsdk:"ignore_defaults" json:"ignoreDefaults,omitempty"` } `tfsdk:"resource_attributes" json:"resourceAttributes,omitempty"` ScopeAttributes *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` Attributes *[]string `tfsdk:"attributes" json:"attributes,omitempty"` Regex *string `tfsdk:"regex" json:"regex,omitempty"` } `tfsdk:"scope_attributes" json:"scopeAttributes,omitempty"` } `tfsdk:"otlp" json:"otlp,omitempty"` Queries *struct { CardinalityLimit *int64 `tfsdk:"cardinality_limit" json:"cardinalityLimit,omitempty"` MaxChunksPerQuery *int64 `tfsdk:"max_chunks_per_query" json:"maxChunksPerQuery,omitempty"` MaxEntriesLimitPerQuery *int64 `tfsdk:"max_entries_limit_per_query" json:"maxEntriesLimitPerQuery,omitempty"` MaxQuerySeries *int64 `tfsdk:"max_query_series" json:"maxQuerySeries,omitempty"` MaxVolumeSeries *int64 `tfsdk:"max_volume_series" json:"maxVolumeSeries,omitempty"` QueryTimeout *string `tfsdk:"query_timeout" json:"queryTimeout,omitempty"` } `tfsdk:"queries" json:"queries,omitempty"` Retention *struct { Days *int64 `tfsdk:"days" json:"days,omitempty"` Streams *[]struct { Days *int64 `tfsdk:"days" json:"days,omitempty"` Priority *int64 `tfsdk:"priority" json:"priority,omitempty"` Selector *string `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"streams" json:"streams,omitempty"` } `tfsdk:"retention" json:"retention,omitempty"` } `tfsdk:"global" json:"global,omitempty"` Tenants *struct { Ingestion *struct { IngestionBurstSize *int64 `tfsdk:"ingestion_burst_size" json:"ingestionBurstSize,omitempty"` IngestionRate *int64 `tfsdk:"ingestion_rate" json:"ingestionRate,omitempty"` MaxGlobalStreamsPerTenant *int64 `tfsdk:"max_global_streams_per_tenant" json:"maxGlobalStreamsPerTenant,omitempty"` MaxLabelNameLength *int64 `tfsdk:"max_label_name_length" json:"maxLabelNameLength,omitempty"` MaxLabelNamesPerSeries *int64 `tfsdk:"max_label_names_per_series" json:"maxLabelNamesPerSeries,omitempty"` MaxLabelValueLength *int64 `tfsdk:"max_label_value_length" json:"maxLabelValueLength,omitempty"` MaxLineSize *int64 `tfsdk:"max_line_size" json:"maxLineSize,omitempty"` PerStreamDesiredRate *int64 `tfsdk:"per_stream_desired_rate" json:"perStreamDesiredRate,omitempty"` PerStreamRateLimit *int64 `tfsdk:"per_stream_rate_limit" json:"perStreamRateLimit,omitempty"` PerStreamRateLimitBurst *int64 `tfsdk:"per_stream_rate_limit_burst" json:"perStreamRateLimitBurst,omitempty"` } `tfsdk:"ingestion" json:"ingestion,omitempty"` Otlp *struct { LogAttributes *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` Attributes *[]string `tfsdk:"attributes" json:"attributes,omitempty"` Regex *string `tfsdk:"regex" json:"regex,omitempty"` } `tfsdk:"log_attributes" json:"logAttributes,omitempty"` ResourceAttributes *struct { Attributes *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` Attributes *[]string `tfsdk:"attributes" json:"attributes,omitempty"` Regex *string `tfsdk:"regex" json:"regex,omitempty"` } `tfsdk:"attributes" json:"attributes,omitempty"` IgnoreDefaults *bool `tfsdk:"ignore_defaults" json:"ignoreDefaults,omitempty"` } `tfsdk:"resource_attributes" json:"resourceAttributes,omitempty"` ScopeAttributes *[]struct { Action *string `tfsdk:"action" json:"action,omitempty"` Attributes *[]string `tfsdk:"attributes" json:"attributes,omitempty"` Regex *string `tfsdk:"regex" json:"regex,omitempty"` } `tfsdk:"scope_attributes" json:"scopeAttributes,omitempty"` } `tfsdk:"otlp" json:"otlp,omitempty"` Queries *struct { Blocked *[]struct { Hash *int64 `tfsdk:"hash" json:"hash,omitempty"` Pattern *string `tfsdk:"pattern" json:"pattern,omitempty"` Regex *bool `tfsdk:"regex" json:"regex,omitempty"` Types *[]string `tfsdk:"types" json:"types,omitempty"` } `tfsdk:"blocked" json:"blocked,omitempty"` CardinalityLimit *int64 `tfsdk:"cardinality_limit" json:"cardinalityLimit,omitempty"` MaxChunksPerQuery *int64 `tfsdk:"max_chunks_per_query" json:"maxChunksPerQuery,omitempty"` MaxEntriesLimitPerQuery *int64 `tfsdk:"max_entries_limit_per_query" json:"maxEntriesLimitPerQuery,omitempty"` MaxQuerySeries *int64 `tfsdk:"max_query_series" json:"maxQuerySeries,omitempty"` MaxVolumeSeries *int64 `tfsdk:"max_volume_series" json:"maxVolumeSeries,omitempty"` QueryTimeout *string `tfsdk:"query_timeout" json:"queryTimeout,omitempty"` } `tfsdk:"queries" json:"queries,omitempty"` Retention *struct { Days *int64 `tfsdk:"days" json:"days,omitempty"` Streams *[]struct { Days *int64 `tfsdk:"days" json:"days,omitempty"` Priority *int64 `tfsdk:"priority" json:"priority,omitempty"` Selector *string `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"streams" json:"streams,omitempty"` } `tfsdk:"retention" json:"retention,omitempty"` } `tfsdk:"tenants" json:"tenants,omitempty"` } `tfsdk:"limits" json:"limits,omitempty"` ManagementState *string `tfsdk:"management_state" json:"managementState,omitempty"` Proxy *struct { HttpProxy *string `tfsdk:"http_proxy" json:"httpProxy,omitempty"` HttpsProxy *string `tfsdk:"https_proxy" json:"httpsProxy,omitempty"` NoProxy *string `tfsdk:"no_proxy" json:"noProxy,omitempty"` } `tfsdk:"proxy" json:"proxy,omitempty"` Replication *struct { Factor *int64 `tfsdk:"factor" json:"factor,omitempty"` Zones *[]struct { MaxSkew *int64 `tfsdk:"max_skew" json:"maxSkew,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"zones" json:"zones,omitempty"` } `tfsdk:"replication" json:"replication,omitempty"` ReplicationFactor *int64 `tfsdk:"replication_factor" json:"replicationFactor,omitempty"` Rules *struct { Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Selector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"selector" json:"selector,omitempty"` } `tfsdk:"rules" json:"rules,omitempty"` Size *string `tfsdk:"size" json:"size,omitempty"` Storage *struct { Schemas *[]struct { EffectiveDate *string `tfsdk:"effective_date" json:"effectiveDate,omitempty"` Version *string `tfsdk:"version" json:"version,omitempty"` } `tfsdk:"schemas" json:"schemas,omitempty"` Secret *struct { CredentialMode *string `tfsdk:"credential_mode" json:"credentialMode,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"secret" json:"secret,omitempty"` Tls *struct { CaKey *string `tfsdk:"ca_key" json:"caKey,omitempty"` CaName *string `tfsdk:"ca_name" json:"caName,omitempty"` } `tfsdk:"tls" json:"tls,omitempty"` } `tfsdk:"storage" json:"storage,omitempty"` StorageClassName *string `tfsdk:"storage_class_name" json:"storageClassName,omitempty"` Template *struct { Compactor *struct { NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"compactor" json:"compactor,omitempty"` Distributor *struct { NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"distributor" json:"distributor,omitempty"` Gateway *struct { NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"gateway" json:"gateway,omitempty"` IndexGateway *struct { NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"index_gateway" json:"indexGateway,omitempty"` Ingester *struct { NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"ingester" json:"ingester,omitempty"` Querier *struct { NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"querier" json:"querier,omitempty"` QueryFrontend *struct { NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"query_frontend" json:"queryFrontend,omitempty"` Ruler *struct { NodeSelector *map[string]string `tfsdk:"node_selector" json:"nodeSelector,omitempty"` PodAntiAffinity *struct { PreferredDuringSchedulingIgnoredDuringExecution *[]struct { PodAffinityTerm *struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"pod_affinity_term" json:"podAffinityTerm,omitempty"` Weight *int64 `tfsdk:"weight" json:"weight,omitempty"` } `tfsdk:"preferred_during_scheduling_ignored_during_execution" json:"preferredDuringSchedulingIgnoredDuringExecution,omitempty"` RequiredDuringSchedulingIgnoredDuringExecution *[]struct { LabelSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"label_selector" json:"labelSelector,omitempty"` NamespaceSelector *struct { MatchExpressions *[]struct { Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` Values *[]string `tfsdk:"values" json:"values,omitempty"` } `tfsdk:"match_expressions" json:"matchExpressions,omitempty"` MatchLabels *map[string]string `tfsdk:"match_labels" json:"matchLabels,omitempty"` } `tfsdk:"namespace_selector" json:"namespaceSelector,omitempty"` Namespaces *[]string `tfsdk:"namespaces" json:"namespaces,omitempty"` TopologyKey *string `tfsdk:"topology_key" json:"topologyKey,omitempty"` } `tfsdk:"required_during_scheduling_ignored_during_execution" json:"requiredDuringSchedulingIgnoredDuringExecution,omitempty"` } `tfsdk:"pod_anti_affinity" json:"podAntiAffinity,omitempty"` Replicas *int64 `tfsdk:"replicas" json:"replicas,omitempty"` Tolerations *[]struct { Effect *string `tfsdk:"effect" json:"effect,omitempty"` Key *string `tfsdk:"key" json:"key,omitempty"` Operator *string `tfsdk:"operator" json:"operator,omitempty"` TolerationSeconds *int64 `tfsdk:"toleration_seconds" json:"tolerationSeconds,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"tolerations" json:"tolerations,omitempty"` } `tfsdk:"ruler" json:"ruler,omitempty"` } `tfsdk:"template" json:"template,omitempty"` Tenants *struct { Authentication *[]struct { MTLS *struct { Ca *struct { CaKey *string `tfsdk:"ca_key" json:"caKey,omitempty"` CaName *string `tfsdk:"ca_name" json:"caName,omitempty"` } `tfsdk:"ca" json:"ca,omitempty"` } `tfsdk:"m_tls" json:"mTLS,omitempty"` Oidc *struct { GroupClaim *string `tfsdk:"group_claim" json:"groupClaim,omitempty"` IssuerCA *struct { CaKey *string `tfsdk:"ca_key" json:"caKey,omitempty"` CaName *string `tfsdk:"ca_name" json:"caName,omitempty"` } `tfsdk:"issuer_ca" json:"issuerCA,omitempty"` IssuerURL *string `tfsdk:"issuer_url" json:"issuerURL,omitempty"` RedirectURL *string `tfsdk:"redirect_url" json:"redirectURL,omitempty"` Secret *struct { Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"secret" json:"secret,omitempty"` UsernameClaim *string `tfsdk:"username_claim" json:"usernameClaim,omitempty"` } `tfsdk:"oidc" json:"oidc,omitempty"` TenantId *string `tfsdk:"tenant_id" json:"tenantId,omitempty"` TenantName *string `tfsdk:"tenant_name" json:"tenantName,omitempty"` } `tfsdk:"authentication" json:"authentication,omitempty"` Authorization *struct { Opa *struct { Url *string `tfsdk:"url" json:"url,omitempty"` } `tfsdk:"opa" json:"opa,omitempty"` RoleBindings *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Roles *[]string `tfsdk:"roles" json:"roles,omitempty"` Subjects *[]struct { Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"subjects" json:"subjects,omitempty"` } `tfsdk:"role_bindings" json:"roleBindings,omitempty"` Roles *[]struct { Name *string `tfsdk:"name" json:"name,omitempty"` Permissions *[]string `tfsdk:"permissions" json:"permissions,omitempty"` Resources *[]string `tfsdk:"resources" json:"resources,omitempty"` Tenants *[]string `tfsdk:"tenants" json:"tenants,omitempty"` } `tfsdk:"roles" json:"roles,omitempty"` } `tfsdk:"authorization" json:"authorization,omitempty"` Mode *string `tfsdk:"mode" json:"mode,omitempty"` Openshift *struct { AdminGroups *[]string `tfsdk:"admin_groups" json:"adminGroups,omitempty"` } `tfsdk:"openshift" json:"openshift,omitempty"` } `tfsdk:"tenants" json:"tenants,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type LokiGrafanaComRecordingRuleV1Manifest ¶
type LokiGrafanaComRecordingRuleV1Manifest struct{}
func (*LokiGrafanaComRecordingRuleV1Manifest) Metadata ¶
func (r *LokiGrafanaComRecordingRuleV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*LokiGrafanaComRecordingRuleV1Manifest) Read ¶
func (r *LokiGrafanaComRecordingRuleV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*LokiGrafanaComRecordingRuleV1Manifest) Schema ¶
func (r *LokiGrafanaComRecordingRuleV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type LokiGrafanaComRecordingRuleV1ManifestData ¶
type LokiGrafanaComRecordingRuleV1ManifestData 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"` Limit *int64 `tfsdk:"limit" json:"limit,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Rules *[]struct { Expr *string `tfsdk:"expr" json:"expr,omitempty"` Labels *map[string]string `tfsdk:"labels" json:"labels,omitempty"` Record *string `tfsdk:"record" json:"record,omitempty"` } `tfsdk:"rules" json:"rules,omitempty"` } `tfsdk:"groups" json:"groups,omitempty"` TenantID *string `tfsdk:"tenant_id" json:"tenantID,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
type LokiGrafanaComRulerConfigV1Manifest ¶
type LokiGrafanaComRulerConfigV1Manifest struct{}
func (*LokiGrafanaComRulerConfigV1Manifest) Metadata ¶
func (r *LokiGrafanaComRulerConfigV1Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*LokiGrafanaComRulerConfigV1Manifest) Read ¶
func (r *LokiGrafanaComRulerConfigV1Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*LokiGrafanaComRulerConfigV1Manifest) Schema ¶
func (r *LokiGrafanaComRulerConfigV1Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type LokiGrafanaComRulerConfigV1ManifestData ¶
type LokiGrafanaComRulerConfigV1ManifestData 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 { Alertmanager *struct { Client *struct { BasicAuth *struct { Password *string `tfsdk:"password" json:"password,omitempty"` Username *string `tfsdk:"username" json:"username,omitempty"` } `tfsdk:"basic_auth" json:"basicAuth,omitempty"` HeaderAuth *struct { Credentials *string `tfsdk:"credentials" json:"credentials,omitempty"` CredentialsFile *string `tfsdk:"credentials_file" json:"credentialsFile,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"header_auth" json:"headerAuth,omitempty"` Tls *struct { CaPath *string `tfsdk:"ca_path" json:"caPath,omitempty"` CertPath *string `tfsdk:"cert_path" json:"certPath,omitempty"` InsecureSkipVerify *bool `tfsdk:"insecure_skip_verify" json:"insecureSkipVerify,omitempty"` KeyPath *string `tfsdk:"key_path" json:"keyPath,omitempty"` ServerName *string `tfsdk:"server_name" json:"serverName,omitempty"` } `tfsdk:"tls" json:"tls,omitempty"` } `tfsdk:"client" json:"client,omitempty"` Discovery *struct { EnableSRV *bool `tfsdk:"enable_srv" json:"enableSRV,omitempty"` RefreshInterval *string `tfsdk:"refresh_interval" json:"refreshInterval,omitempty"` } `tfsdk:"discovery" json:"discovery,omitempty"` EnableV2 *bool `tfsdk:"enable_v2" json:"enableV2,omitempty"` Endpoints *[]string `tfsdk:"endpoints" json:"endpoints,omitempty"` ExternalLabels *map[string]string `tfsdk:"external_labels" json:"externalLabels,omitempty"` ExternalUrl *string `tfsdk:"external_url" json:"externalUrl,omitempty"` NotificationQueue *struct { Capacity *int64 `tfsdk:"capacity" json:"capacity,omitempty"` ForGracePeriod *string `tfsdk:"for_grace_period" json:"forGracePeriod,omitempty"` ForOutageTolerance *string `tfsdk:"for_outage_tolerance" json:"forOutageTolerance,omitempty"` ResendDelay *string `tfsdk:"resend_delay" json:"resendDelay,omitempty"` Timeout *string `tfsdk:"timeout" json:"timeout,omitempty"` } `tfsdk:"notification_queue" json:"notificationQueue,omitempty"` RelabelConfigs *[]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:"relabel_configs" json:"relabelConfigs,omitempty"` } `tfsdk:"alertmanager" json:"alertmanager,omitempty"` EvaluationInterval *string `tfsdk:"evaluation_interval" json:"evaluationInterval,omitempty"` Overrides *struct { Alertmanager *struct { Client *struct { BasicAuth *struct { Password *string `tfsdk:"password" json:"password,omitempty"` Username *string `tfsdk:"username" json:"username,omitempty"` } `tfsdk:"basic_auth" json:"basicAuth,omitempty"` HeaderAuth *struct { Credentials *string `tfsdk:"credentials" json:"credentials,omitempty"` CredentialsFile *string `tfsdk:"credentials_file" json:"credentialsFile,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"header_auth" json:"headerAuth,omitempty"` Tls *struct { CaPath *string `tfsdk:"ca_path" json:"caPath,omitempty"` CertPath *string `tfsdk:"cert_path" json:"certPath,omitempty"` InsecureSkipVerify *bool `tfsdk:"insecure_skip_verify" json:"insecureSkipVerify,omitempty"` KeyPath *string `tfsdk:"key_path" json:"keyPath,omitempty"` ServerName *string `tfsdk:"server_name" json:"serverName,omitempty"` } `tfsdk:"tls" json:"tls,omitempty"` } `tfsdk:"client" json:"client,omitempty"` Discovery *struct { EnableSRV *bool `tfsdk:"enable_srv" json:"enableSRV,omitempty"` RefreshInterval *string `tfsdk:"refresh_interval" json:"refreshInterval,omitempty"` } `tfsdk:"discovery" json:"discovery,omitempty"` EnableV2 *bool `tfsdk:"enable_v2" json:"enableV2,omitempty"` Endpoints *[]string `tfsdk:"endpoints" json:"endpoints,omitempty"` ExternalLabels *map[string]string `tfsdk:"external_labels" json:"externalLabels,omitempty"` ExternalUrl *string `tfsdk:"external_url" json:"externalUrl,omitempty"` NotificationQueue *struct { Capacity *int64 `tfsdk:"capacity" json:"capacity,omitempty"` ForGracePeriod *string `tfsdk:"for_grace_period" json:"forGracePeriod,omitempty"` ForOutageTolerance *string `tfsdk:"for_outage_tolerance" json:"forOutageTolerance,omitempty"` ResendDelay *string `tfsdk:"resend_delay" json:"resendDelay,omitempty"` Timeout *string `tfsdk:"timeout" json:"timeout,omitempty"` } `tfsdk:"notification_queue" json:"notificationQueue,omitempty"` RelabelConfigs *[]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:"relabel_configs" json:"relabelConfigs,omitempty"` } `tfsdk:"alertmanager" json:"alertmanager,omitempty"` } `tfsdk:"overrides" json:"overrides,omitempty"` PollInterval *string `tfsdk:"poll_interval" json:"pollInterval,omitempty"` RemoteWrite *struct { Client *struct { AdditionalHeaders *map[string]string `tfsdk:"additional_headers" json:"additionalHeaders,omitempty"` Authorization *string `tfsdk:"authorization" json:"authorization,omitempty"` AuthorizationSecretName *string `tfsdk:"authorization_secret_name" json:"authorizationSecretName,omitempty"` FollowRedirects *bool `tfsdk:"follow_redirects" json:"followRedirects,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` ProxyUrl *string `tfsdk:"proxy_url" json:"proxyUrl,omitempty"` RelabelConfigs *[]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:"relabel_configs" json:"relabelConfigs,omitempty"` Timeout *string `tfsdk:"timeout" json:"timeout,omitempty"` Url *string `tfsdk:"url" json:"url,omitempty"` } `tfsdk:"client" json:"client,omitempty"` Enabled *bool `tfsdk:"enabled" json:"enabled,omitempty"` Queue *struct { BatchSendDeadline *string `tfsdk:"batch_send_deadline" json:"batchSendDeadline,omitempty"` Capacity *int64 `tfsdk:"capacity" json:"capacity,omitempty"` MaxBackOffPeriod *string `tfsdk:"max_back_off_period" json:"maxBackOffPeriod,omitempty"` MaxSamplesPerSend *int64 `tfsdk:"max_samples_per_send" json:"maxSamplesPerSend,omitempty"` MaxShards *int64 `tfsdk:"max_shards" json:"maxShards,omitempty"` MinBackOffPeriod *string `tfsdk:"min_back_off_period" json:"minBackOffPeriod,omitempty"` MinShards *int64 `tfsdk:"min_shards" json:"minShards,omitempty"` } `tfsdk:"queue" json:"queue,omitempty"` RefreshPeriod *string `tfsdk:"refresh_period" json:"refreshPeriod,omitempty"` } `tfsdk:"remote_write" json:"remoteWrite,omitempty"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.