Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContextKey = settingsKeyType{}
Functions ¶
func AsStringMap ¶
AsStringMap parses a value as a JSON map of map[string]string.
func AsTypedString ¶
AsTypedString passes the value at key through into the target, if it exists.
Types ¶
type NodeNameConvention ¶
type NodeNameConvention string
const ( IPName NodeNameConvention = "ip-name" ResourceName NodeNameConvention = "resource-name" )
type Settings ¶
type Settings struct { ClusterName string `validate:"required"` ClusterEndpoint string DefaultInstanceProfile string EnablePodENI bool EnableENILimitedPodDensity bool IsolatedVPC bool NodeNameConvention NodeNameConvention `validate:"required"` VMMemoryOverheadPercent float64 `validate:"min=0"` InterruptionQueueName string Tags map[string]string }
+k8s:deepcopy-gen=true
func FromContext ¶
func (*Settings) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Settings.
func (*Settings) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Click to show internal directories.
Click to hide internal directories.