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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAutoscalingK8SElasticCoElasticsearchAutoscalerV1Alpha1Manifest

func NewAutoscalingK8SElasticCoElasticsearchAutoscalerV1Alpha1Manifest() datasource.DataSource

Types

type AutoscalingK8SElasticCoElasticsearchAutoscalerV1Alpha1Manifest

type AutoscalingK8SElasticCoElasticsearchAutoscalerV1Alpha1Manifest struct{}

func (*AutoscalingK8SElasticCoElasticsearchAutoscalerV1Alpha1Manifest) Metadata

func (*AutoscalingK8SElasticCoElasticsearchAutoscalerV1Alpha1Manifest) Read

func (*AutoscalingK8SElasticCoElasticsearchAutoscalerV1Alpha1Manifest) Schema

type AutoscalingK8SElasticCoElasticsearchAutoscalerV1Alpha1ManifestData

type AutoscalingK8SElasticCoElasticsearchAutoscalerV1Alpha1ManifestData 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 {
		ElasticsearchRef *struct {
			Name *string `tfsdk:"name" json:"name,omitempty"`
		} `tfsdk:"elasticsearch_ref" json:"elasticsearchRef,omitempty"`
		Policies *[]struct {
			Deciders  *map[string]map[string]string `tfsdk:"deciders" json:"deciders,omitempty"`
			Name      *string                       `tfsdk:"name" json:"name,omitempty"`
			Resources *struct {
				Cpu *struct {
					Max                   *string `tfsdk:"max" json:"max,omitempty"`
					Min                   *string `tfsdk:"min" json:"min,omitempty"`
					RequestsToLimitsRatio *string `tfsdk:"requests_to_limits_ratio" json:"requestsToLimitsRatio,omitempty"`
				} `tfsdk:"cpu" json:"cpu,omitempty"`
				Memory *struct {
					Max                   *string `tfsdk:"max" json:"max,omitempty"`
					Min                   *string `tfsdk:"min" json:"min,omitempty"`
					RequestsToLimitsRatio *string `tfsdk:"requests_to_limits_ratio" json:"requestsToLimitsRatio,omitempty"`
				} `tfsdk:"memory" json:"memory,omitempty"`
				NodeCount *struct {
					Max *int64 `tfsdk:"max" json:"max,omitempty"`
					Min *int64 `tfsdk:"min" json:"min,omitempty"`
				} `tfsdk:"node_count" json:"nodeCount,omitempty"`
				Storage *struct {
					Max                   *string `tfsdk:"max" json:"max,omitempty"`
					Min                   *string `tfsdk:"min" json:"min,omitempty"`
					RequestsToLimitsRatio *string `tfsdk:"requests_to_limits_ratio" json:"requestsToLimitsRatio,omitempty"`
				} `tfsdk:"storage" json:"storage,omitempty"`
			} `tfsdk:"resources" json:"resources,omitempty"`
			Roles *[]string `tfsdk:"roles" json:"roles,omitempty"`
		} `tfsdk:"policies" json:"policies,omitempty"`
		PollingPeriod *string `tfsdk:"polling_period" json:"pollingPeriod,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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