// NewNodeComponentFlag returns a flag capable of handling enabled components for the network func NewNetworkComponentFlag() *utilflags.ComponentFlag { return utilflags.NewComponentFlag(nil, ComponentProxy, ComponentPlugins, ComponentDNS).DefaultDisable(ComponentDNS) }
// NewNodeComponentFlag returns a flag capable of handling enabled components for the network func NewNetworkComponentFlag() *utilflags.ComponentFlag { return utilflags.NewComponentFlag(nil, ComponentProxy, ComponentPlugins) }
// NewNodeComponentFlag returns a flag capable of handling enabled components for the node func NewNodeComponentFlag() *utilflags.ComponentFlag { return utilflags.NewComponentFlag( map[string][]string{ComponentGroupNetwork: {ComponentProxy, ComponentPlugins}}, ComponentKubelet, ComponentProxy, ComponentPlugins, ComponentDNS, ).DefaultDisable(ComponentDNS) }
// NewNodeComponentFlag returns a flag capable of handling enabled components for the node func NewNodeComponentFlag() *utilflags.ComponentFlag { return utilflags.NewComponentFlag( map[string][]string{ComponentGroupNetwork: {ComponentProxy, ComponentPlugins}}, ComponentKubelet, ComponentProxy, ComponentPlugins, ) }