Documentation ¶
Index ¶
- func NewAutoscalingHorizontalPodAutoscalerV2Manifest() datasource.DataSource
- type AutoscalingHorizontalPodAutoscalerV2Manifest
- func (r *AutoscalingHorizontalPodAutoscalerV2Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (r *AutoscalingHorizontalPodAutoscalerV2Manifest) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (r *AutoscalingHorizontalPodAutoscalerV2Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type AutoscalingHorizontalPodAutoscalerV2ManifestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAutoscalingHorizontalPodAutoscalerV2Manifest ¶
func NewAutoscalingHorizontalPodAutoscalerV2Manifest() datasource.DataSource
Types ¶
type AutoscalingHorizontalPodAutoscalerV2Manifest ¶
type AutoscalingHorizontalPodAutoscalerV2Manifest struct{}
func (*AutoscalingHorizontalPodAutoscalerV2Manifest) Metadata ¶
func (r *AutoscalingHorizontalPodAutoscalerV2Manifest) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*AutoscalingHorizontalPodAutoscalerV2Manifest) Read ¶
func (r *AutoscalingHorizontalPodAutoscalerV2Manifest) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*AutoscalingHorizontalPodAutoscalerV2Manifest) Schema ¶
func (r *AutoscalingHorizontalPodAutoscalerV2Manifest) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type AutoscalingHorizontalPodAutoscalerV2ManifestData ¶
type AutoscalingHorizontalPodAutoscalerV2ManifestData 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 { Behavior *struct { ScaleDown *struct { Policies *[]struct { PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *int64 `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"policies" json:"policies,omitempty"` SelectPolicy *string `tfsdk:"select_policy" json:"selectPolicy,omitempty"` StabilizationWindowSeconds *int64 `tfsdk:"stabilization_window_seconds" json:"stabilizationWindowSeconds,omitempty"` } `tfsdk:"scale_down" json:"scaleDown,omitempty"` ScaleUp *struct { Policies *[]struct { PeriodSeconds *int64 `tfsdk:"period_seconds" json:"periodSeconds,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *int64 `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"policies" json:"policies,omitempty"` SelectPolicy *string `tfsdk:"select_policy" json:"selectPolicy,omitempty"` StabilizationWindowSeconds *int64 `tfsdk:"stabilization_window_seconds" json:"stabilizationWindowSeconds,omitempty"` } `tfsdk:"scale_up" json:"scaleUp,omitempty"` } `tfsdk:"behavior" json:"behavior,omitempty"` MaxReplicas *int64 `tfsdk:"max_replicas" json:"maxReplicas,omitempty"` Metrics *[]struct { ContainerResource *struct { Container *string `tfsdk:"container" json:"container,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` Target *struct { AverageUtilization *int64 `tfsdk:"average_utilization" json:"averageUtilization,omitempty"` AverageValue *string `tfsdk:"average_value" json:"averageValue,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"target" json:"target,omitempty"` } `tfsdk:"container_resource" json:"containerResource,omitempty"` External *struct { Metric *struct { Name *string `tfsdk:"name" json:"name,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:"metric" json:"metric,omitempty"` Target *struct { AverageUtilization *int64 `tfsdk:"average_utilization" json:"averageUtilization,omitempty"` AverageValue *string `tfsdk:"average_value" json:"averageValue,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"target" json:"target,omitempty"` } `tfsdk:"external" json:"external,omitempty"` Object *struct { DescribedObject *struct { ApiVersion *string `tfsdk:"api_version" json:"apiVersion,omitempty"` Kind *string `tfsdk:"kind" json:"kind,omitempty"` Name *string `tfsdk:"name" json:"name,omitempty"` } `tfsdk:"described_object" json:"describedObject,omitempty"` Metric *struct { Name *string `tfsdk:"name" json:"name,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:"metric" json:"metric,omitempty"` Target *struct { AverageUtilization *int64 `tfsdk:"average_utilization" json:"averageUtilization,omitempty"` AverageValue *string `tfsdk:"average_value" json:"averageValue,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"target" json:"target,omitempty"` } `tfsdk:"object" json:"object,omitempty"` Pods *struct { Metric *struct { Name *string `tfsdk:"name" json:"name,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:"metric" json:"metric,omitempty"` Target *struct { AverageUtilization *int64 `tfsdk:"average_utilization" json:"averageUtilization,omitempty"` AverageValue *string `tfsdk:"average_value" json:"averageValue,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"target" json:"target,omitempty"` } `tfsdk:"pods" json:"pods,omitempty"` Resource *struct { Name *string `tfsdk:"name" json:"name,omitempty"` Target *struct { AverageUtilization *int64 `tfsdk:"average_utilization" json:"averageUtilization,omitempty"` AverageValue *string `tfsdk:"average_value" json:"averageValue,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` Value *string `tfsdk:"value" json:"value,omitempty"` } `tfsdk:"target" json:"target,omitempty"` } `tfsdk:"resource" json:"resource,omitempty"` Type *string `tfsdk:"type" json:"type,omitempty"` } `tfsdk:"metrics" json:"metrics,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"` } `tfsdk:"spec" json:"spec,omitempty"` }
Click to show internal directories.
Click to hide internal directories.