package
1.11.0-alpha.0
Repository: https://github.com/astefanutti/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AddInitConfigFlags adds init flags bound to the config to the specified flagset.
AddInitOtherFlags adds init flags that are not bound to a configuration file to the given flagset.
AddJoinConfigFlags adds join flags bound to the config to the specified flagset.
AddJoinOtherFlags adds join flags that are not bound to a configuration file to the given flagset.
NewCmdCompletion return command for executing "kubeadm completion" command.
NewCmdConfig returns cobra.Command for "kubeadm config" command.
NewCmdConfigUpload returns cobra.Command for "kubeadm config upload" command.
NewCmdConfigUploadFromFile verifies given kubernetes config file and returns cobra.Command for "kubeadm config upload from-file" command.
NewCmdConfigUploadFromFlags returns cobra.Command for "kubeadm config upload from-flags" command.
NewCmdConfigView returns cobra.Command for "kubeadm config view" command.
NewCmdInit returns "kubeadm init" command.
NewCmdJoin returns "kubeadm join" command.
NewCmdReset returns the "kubeadm reset" command.
NewCmdToken returns cobra.Command for token management.
NewCmdTokenGenerate returns cobra.Command to generate new token.
NewCmdVersion provides the version information of kubeadm.
NewInit validates given arguments and instantiates Init struct with provided information.
NewJoin instantiates Join struct with given arguments.
NewKubeadmCommand return cobra.Command to run kubeadm command.
NewReset instantiate Reset struct.
RunCompletion checks given arguments and executes command.
RunConfigView gets the configuration persisted in the cluster.
RunCreateToken generates a new bootstrap token and stores it as a secret on the server.
RunDeleteToken removes a bootstrap token from the server.
RunGenerateToken just generates a random token for the user.
RunListTokens lists details on all existing bootstrap tokens on the server.
RunVersion provides the version information of kubeadm in format depending on arguments specified in cobra.Command.

# Structs

Init defines struct used by "kubeadm init" command.
Join defines struct used by kubeadm join command.
Reset defines struct used for kubeadm reset command.
Version provides the version information of kubeadm.