autoscaling_v1

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 NewAutoscalingHorizontalPodAutoscalerV1Manifest

func NewAutoscalingHorizontalPodAutoscalerV1Manifest() datasource.DataSource

Types

type AutoscalingHorizontalPodAutoscalerV1Manifest

type AutoscalingHorizontalPodAutoscalerV1Manifest struct{}

func (*AutoscalingHorizontalPodAutoscalerV1Manifest) Metadata

func (*AutoscalingHorizontalPodAutoscalerV1Manifest) Read

func (*AutoscalingHorizontalPodAutoscalerV1Manifest) Schema

type AutoscalingHorizontalPodAutoscalerV1ManifestData

type AutoscalingHorizontalPodAutoscalerV1ManifestData 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 {
		MaxReplicas    *int64 `tfsdk:"max_replicas" json:"maxReplicas,omitempty"`
		MinReplicas    *int64 `tfsdk:"min_replicas" json:"minReplicas,omitempty"`
		ScaleTargetRef *struct {
			ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"`
			Kind       *string `tfsdk:"kind" json:"kind,omitempty"`
			Name       *string `tfsdk:"name" json:"name,omitempty"`
		} `tfsdk:"scale_target_ref" json:"scaleTargetRef,omitempty"`
		TargetCPUUtilizationPercentage *int64 `tfsdk:"target_cpu_utilization_percentage" json:"targetCPUUtilizationPercentage,omitempty"`
	} `tfsdk:"spec" json:"spec,omitempty"`
}

Jump to

Keyboard shortcuts

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