mk8sCommon

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoscalerConfig

type AutoscalerConfig struct {
	Expander             []AutoscalerConfigExpander `json:"expander,omitempty"`
	UnneededTime         string                     `json:"unneededTime,omitempty"`
	UnreadyTime          string                     `json:"unreadyTime,omitempty"`
	UtilizationThreshold float32                    `json:"utilizationThreshold"`
}

type AutoscalerConfigExpander

type AutoscalerConfigExpander string
const (
	AutoscalerConfigExpanderRandom     AutoscalerConfigExpander = "random"
	AutoscalerConfigExpanderMostPods   AutoscalerConfigExpander = "most-pods"
	AutoscalerConfigExpanderLeastWaste AutoscalerConfigExpander = "least-waste"
	AutoscalerConfigExpanderPrice      AutoscalerConfigExpander = "price"
	AutoscalerConfigExpanderPriority   AutoscalerConfigExpander = "priority"
)

type CacertsRes

type CacertsRes struct {
	Cacerts string `json:"cacerts,omitempty"`
}

type GoDuration

type GoDuration string

type InitBody

type InitBody map[string]any

type InitRes

type InitRes struct {
	Script string `json:"script,omitempty"`
}

type JoinBody

type JoinBody map[string]any

type JoinRes

type JoinRes struct {
	Script string `json:"script,omitempty"`
}

type KubeConfigBody

type KubeConfigBody map[string]any

type KubeConfigRes

type KubeConfigRes struct {
	Kubeconfig string `json:"kubeconfig,omitempty"`
	FileName   string `json:"fileName,omitempty"`
}

type Labels

type Labels map[string]string

type NodePoolName

type NodePoolName string

type PreInstallScript

type PreInstallScript string

type ReadyRes

type ReadyRes struct {
	Ready   bool   `json:"ready,omitempty"`
	Message string `json:"message,omitempty"`
}

type SshPublicKey

type SshPublicKey string

type Taint

type Taint struct {
	Key    string      `json:"key,omitempty"`
	Value  string      `json:"value,omitempty"`
	Effect TaintEffect `json:"effect,omitempty"`
}

type TaintEffect

type TaintEffect string
const (
	TaintEffectNoSchedule       TaintEffect = "NoSchedule"
	TaintEffectPreferNoSchedule TaintEffect = "PreferNoSchedule"
	TaintEffectNoExecute        TaintEffect = "NoExecute"
)

type Taints

type Taints []Taint

type UnmanagedPool

type UnmanagedPool struct {
	Name   string `json:"name,omitempty"`
	Labels Labels `json:"labels,omitempty"`
	Taints Taints `json:"taints,omitempty"`
}

Jump to

Keyboard shortcuts

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