remediation_medik8s_io_v1alpha1

package
v0.0.0-...-6209148 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRemediationMedik8SIoNodeHealthCheckV1Alpha1Manifest

func NewRemediationMedik8SIoNodeHealthCheckV1Alpha1Manifest() datasource.DataSource

Types

type RemediationMedik8SIoNodeHealthCheckV1Alpha1Manifest

type RemediationMedik8SIoNodeHealthCheckV1Alpha1Manifest struct{}

func (*RemediationMedik8SIoNodeHealthCheckV1Alpha1Manifest) Metadata

func (*RemediationMedik8SIoNodeHealthCheckV1Alpha1Manifest) Read

func (*RemediationMedik8SIoNodeHealthCheckV1Alpha1Manifest) Schema

type RemediationMedik8SIoNodeHealthCheckV1Alpha1ManifestData

type RemediationMedik8SIoNodeHealthCheckV1Alpha1ManifestData 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"`
		Labels      map[string]string `tfsdk:"labels" json:"labels,omitempty"`
		Annotations map[string]string `tfsdk:"annotations" json:"annotations,omitempty"`
	} `tfsdk:"metadata" json:"metadata"`

	Spec *struct {
		EscalatingRemediations *[]struct {
			Order               *int64 `tfsdk:"order" json:"order,omitempty"`
			RemediationTemplate *struct {
				ApiVersion      *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
				FieldPath       *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
				Kind            *string `tfsdk:"kind" json:"kind,omitempty"`
				Name            *string `tfsdk:"name" json:"name,omitempty"`
				Namespace       *string `tfsdk:"namespace" json:"namespace,omitempty"`
				ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"`
				Uid             *string `tfsdk:"uid" json:"uid,omitempty"`
			} `tfsdk:"remediation_template" json:"remediationTemplate,omitempty"`
			Timeout *string `tfsdk:"timeout" json:"timeout,omitempty"`
		} `tfsdk:"escalating_remediations" json:"escalatingRemediations,omitempty"`
		MinHealthy          *string   `tfsdk:"min_healthy" json:"minHealthy,omitempty"`
		PauseRequests       *[]string `tfsdk:"pause_requests" json:"pauseRequests,omitempty"`
		RemediationTemplate *struct {
			ApiVersion      *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
			FieldPath       *string `tfsdk:"field_path" json:"fieldPath,omitempty"`
			Kind            *string `tfsdk:"kind" json:"kind,omitempty"`
			Name            *string `tfsdk:"name" json:"name,omitempty"`
			Namespace       *string `tfsdk:"namespace" json:"namespace,omitempty"`
			ResourceVersion *string `tfsdk:"resource_version" json:"resourceVersion,omitempty"`
			Uid             *string `tfsdk:"uid" json:"uid,omitempty"`
		} `tfsdk:"remediation_template" json:"remediationTemplate,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"`
		UnhealthyConditions *[]struct {
			Duration *string `tfsdk:"duration" json:"duration,omitempty"`
			Status   *string `tfsdk:"status" json:"status,omitempty"`
			Type     *string `tfsdk:"type" json:"type,omitempty"`
		} `tfsdk:"unhealthy_conditions" json:"unhealthyConditions,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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