Documentation ¶
Index ¶
Constants ¶
View Source
const UnreserveTip = "ignore"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubeProxyLitekubeOptions ¶
type KubeProxyLitekubeOptions struct { }
options for Litekube to start kube-controller-manager
var DefaultKPLO KubeProxyLitekubeOptions = KubeProxyLitekubeOptions{}
func NewKubeProxyLitekubeOptions ¶
func NewKubeProxyLitekubeOptions() *KubeProxyLitekubeOptions
func (*KubeProxyLitekubeOptions) AddTips ¶
func (opt *KubeProxyLitekubeOptions) AddTips(section *help.Section)
type KubeProxyOptions ¶
type KubeProxyOptions struct { ReservedOptions map[string]string `yaml:"reserve"` ProfessionalOptions *KubeProxyProfessionalOptions `yaml:"professional"` Options *KubeProxyLitekubeOptions `yaml:"options"` IgnoreOptions map[string]string `yaml:"-"` }
struct to store args from input
func NewKubeProxyOptions ¶
func NewKubeProxyOptions() *KubeProxyOptions
func (*KubeProxyOptions) CheckReservedOptions ¶
func (opt *KubeProxyOptions) CheckReservedOptions() error
delete keys already be disable or define in other block
func (*KubeProxyOptions) HelpSection ¶
func (opt *KubeProxyOptions) HelpSection() *help.Section
func (*KubeProxyOptions) PrintFlags ¶
func (opt *KubeProxyOptions) PrintFlags(prefix string, printFunc func(format string, a ...interface{}) error) error
print all flags
type KubeProxyProfessionalOptions ¶
type KubeProxyProfessionalOptions struct { HostnameOverride string `yaml:"hostname-override"` ClusterCidr string `yaml:"cluster-cidr"` ProxyMode string `yaml:"proxy-mode"` Kubeconfig string `yaml:"kubeconfig"` }
Empirically assigned parameters are not recommended
var DefaultKPPO KubeProxyProfessionalOptions = KubeProxyProfessionalOptions{
ProxyMode: "ipvs",
}
func NewKubeProxyProfessionalOptions ¶
func NewKubeProxyProfessionalOptions() *KubeProxyProfessionalOptions
func (*KubeProxyProfessionalOptions) AddTips ¶
func (opt *KubeProxyProfessionalOptions) AddTips(section *help.Section)
Click to show internal directories.
Click to hide internal directories.