Documentation ¶
Index ¶
- func NewCommand(out io.Writer) *cobra.Command
- type ControlPlane
- func (c *ControlPlane) RegisterFlags(flags *pflag.FlagSet)
- func (c *ControlPlane) Run(out io.Writer) error
- func (c *ControlPlane) Short() string
- func (c *ControlPlane) Use() string
- func (c *ControlPlane) Validate(cmd *cobra.Command) error
- func (c ControlPlane) WriteKubeadmConfig(out io.Writer, filename string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ControlPlane ¶
type ControlPlane struct {
// contains filtered or unexported fields
}
func NewDefault ¶
func NewDefault(kubernetesVersion, imageRepository string) *ControlPlane
func (*ControlPlane) RegisterFlags ¶
func (c *ControlPlane) RegisterFlags(flags *pflag.FlagSet)
func (*ControlPlane) Short ¶
func (c *ControlPlane) Short() string
func (*ControlPlane) Use ¶
func (c *ControlPlane) Use() string
func (ControlPlane) WriteKubeadmConfig ¶
func (c ControlPlane) WriteKubeadmConfig(out io.Writer, filename string) error
Click to show internal directories.
Click to hide internal directories.