classic

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() resource.Resource

Types

type AutoscalerGPULimit

type AutoscalerGPULimit struct {
	Type  types.String             `tfsdk:"type"`
	Range autoscaler.ResourceRange `tfsdk:"range"`
}

type AutoscalerResourceLimits

type AutoscalerResourceLimits struct {
	MaxNodesTotal types.Int64               `tfsdk:"max_nodes_total"`
	Cores         *autoscaler.ResourceRange `tfsdk:"cores"`
	Memory        *autoscaler.ResourceRange `tfsdk:"memory"`
	GPUS          []AutoscalerGPULimit      `tfsdk:"gpus"`
}

type AutoscalerScaleDownConfig

type AutoscalerScaleDownConfig struct {
	Enabled              types.Bool   `tfsdk:"enabled"`
	UnneededTime         types.String `tfsdk:"unneeded_time"`
	UtilizationThreshold types.String `tfsdk:"utilization_threshold"`
	DelayAfterAdd        types.String `tfsdk:"delay_after_add"`
	DelayAfterDelete     types.String `tfsdk:"delay_after_delete"`
	DelayAfterFailure    types.String `tfsdk:"delay_after_failure"`
}

type ClusterAutoscalerResource

type ClusterAutoscalerResource struct {
	// contains filtered or unexported fields
}

func (*ClusterAutoscalerResource) Configure

func (*ClusterAutoscalerResource) Create

func (*ClusterAutoscalerResource) Delete

func (*ClusterAutoscalerResource) ImportState

func (*ClusterAutoscalerResource) Metadata

func (*ClusterAutoscalerResource) Read

func (*ClusterAutoscalerResource) Schema

func (*ClusterAutoscalerResource) Update

type ClusterAutoscalerResourceType

type ClusterAutoscalerResourceType struct {
}

type ClusterAutoscalerState

type ClusterAutoscalerState struct {
	Cluster                     types.String               `tfsdk:"cluster"`
	BalanceSimilarNodeGroups    types.Bool                 `tfsdk:"balance_similar_node_groups"`
	SkipNodesWithLocalStorage   types.Bool                 `tfsdk:"skip_nodes_with_local_storage"`
	LogVerbosity                types.Int64                `tfsdk:"log_verbosity"`
	MaxPodGracePeriod           types.Int64                `tfsdk:"max_pod_grace_period"`
	PodPriorityThreshold        types.Int64                `tfsdk:"pod_priority_threshold"`
	IgnoreDaemonsetsUtilization types.Bool                 `tfsdk:"ignore_daemonsets_utilization"`
	MaxNodeProvisionTime        types.String               `tfsdk:"max_node_provision_time"`
	BalancingIgnoredLabels      types.List                 `tfsdk:"balancing_ignored_labels"`
	ResourceLimits              *AutoscalerResourceLimits  `tfsdk:"resource_limits"`
	ScaleDown                   *AutoscalerScaleDownConfig `tfsdk:"scale_down"`
}

Jump to

Keyboard shortcuts

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