Documentation
¶
Index ¶
- Variables
- type Config
- func (x *Config) AddK8SRegisterTaints(xs ...corev1.Taint)
- func (x *Config) AddNodeLabels(extra map[string]string)
- func (x *Config) ClearCertificateAuthorityData()
- func (x *Config) ClearMaxPodsPerNode()
- func (x *Config) ClearNodeIp()
- func (x *Config) ClearServer()
- func (x *Config) ClearToken()
- func (x *Config) GetCertificateAuthorityData() []byte
- func (x *Config) GetK8SRegisterTaints() []corev1.Taint
- func (x *Config) GetMaxPodsPerNode() int32
- func (x *Config) GetNodeIp() string
- func (x *Config) GetNodeLabels() map[string]string
- func (x *Config) GetRegisterWithTaints() []*Taint
- func (x *Config) GetServer() string
- func (x *Config) GetToken() string
- func (x *Config) HasCertificateAuthorityData() bool
- func (x *Config) HasMaxPodsPerNode() bool
- func (x *Config) HasNodeIp() bool
- func (x *Config) HasServer() bool
- func (x *Config) HasToken() bool
- func (*Config) ProtoMessage()
- func (x *Config) ProtoReflect() protoreflect.Message
- func (config *Config) Redact()
- func (x *Config) Reset()
- func (x *Config) SetCertificateAuthorityData(v []byte)
- func (x *Config) SetMaxPodsPerNode(v int32)
- func (x *Config) SetNodeIp(v string)
- func (x *Config) SetNodeLabels(v map[string]string)
- func (x *Config) SetRegisterWithTaints(v []*Taint)
- func (x *Config) SetServer(v string)
- func (x *Config) SetToken(v string)
- func (x *Config) String() string
- type Config_builder
- type Taint
- func (x *Taint) ClearEffect()
- func (x *Taint) ClearKey()
- func (x *Taint) ClearValue()
- func (x *Taint) GetEffect() string
- func (x *Taint) GetKey() string
- func (x *Taint) GetValue() string
- func (x *Taint) HasEffect() bool
- func (x *Taint) HasKey() bool
- func (x *Taint) HasValue() bool
- func (*Taint) ProtoMessage()
- func (x *Taint) ProtoReflect() protoreflect.Message
- func (x *Taint) Reset()
- func (x *Taint) SetEffect(v string)
- func (x *Taint) SetKey(v string)
- func (x *Taint) SetValue(v string)
- func (x *Taint) String() string
- type Taint_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_plugin_pkg_services_agentpools_api_features_kubeadm_kubeadm_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Config) AddK8SRegisterTaints ¶
func (*Config) AddNodeLabels ¶
func (*Config) ClearCertificateAuthorityData ¶
func (x *Config) ClearCertificateAuthorityData()
func (*Config) ClearMaxPodsPerNode ¶
func (x *Config) ClearMaxPodsPerNode()
func (*Config) ClearNodeIp ¶
func (x *Config) ClearNodeIp()
func (*Config) ClearServer ¶
func (x *Config) ClearServer()
func (*Config) ClearToken ¶
func (x *Config) ClearToken()
func (*Config) GetCertificateAuthorityData ¶
func (*Config) GetK8SRegisterTaints ¶
func (*Config) GetMaxPodsPerNode ¶
func (*Config) GetNodeLabels ¶
func (*Config) GetRegisterWithTaints ¶
func (*Config) HasCertificateAuthorityData ¶
func (*Config) HasMaxPodsPerNode ¶
func (*Config) ProtoMessage ¶
func (*Config) ProtoMessage()
func (*Config) ProtoReflect ¶
func (x *Config) ProtoReflect() protoreflect.Message
func (*Config) SetCertificateAuthorityData ¶
func (*Config) SetMaxPodsPerNode ¶
func (*Config) SetNodeLabels ¶
func (*Config) SetRegisterWithTaints ¶
type Config_builder ¶
type Config_builder struct {
Server *string
CertificateAuthorityData []byte
Token *string
// List of node labels to assign using the kubelet flag
NodeLabels map[string]string
// WireGuard IP for --node-ip kubelet argument (optional)
NodeIp *string
// List of taints to assign using the kubelet flag, in the format "key=value:effect"
RegisterWithTaints []*Taint
// Max number of pods per node, to be set as --max-pods kubelet argument
MaxPodsPerNode *int32
// contains filtered or unexported fields
}
func (Config_builder) Build ¶
func (b0 Config_builder) Build() *Config
type Taint ¶
type Taint struct {
XXX_raceDetectHookData protoimpl.RaceDetectHookData
XXX_presence [1]uint32
// contains filtered or unexported fields
}
func (*Taint) ClearEffect ¶
func (x *Taint) ClearEffect()
func (*Taint) ClearValue ¶
func (x *Taint) ClearValue()
func (*Taint) ProtoMessage ¶
func (*Taint) ProtoMessage()
func (*Taint) ProtoReflect ¶
func (x *Taint) ProtoReflect() protoreflect.Message
type Taint_builder ¶
type Taint_builder struct {
Key *string
Value *string
Effect *string
// contains filtered or unexported fields
}
func (Taint_builder) Build ¶
func (b0 Taint_builder) Build() *Taint
Click to show internal directories.
Click to hide internal directories.