package
1.14.0-alpha.1
Repository: https://github.com/micnncim/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package options provide a central point for defining flags for kubeadm cobra commands, no matter if hard coded commands or autogenerated command for phases.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AddControlPlaneFlags adds file control plane flags to the specified flagset.
AddImagesCommonConfigFlags adds the flags that configure kubeadm (and affect the images kubeadm will use).
AddImagesPullFlags adds flags related to the `kubeadm config images pull` command.
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.
AddJoinBootstrapTokenDiscoveryFlags adds bootstrap token specific discovery flags to the specified flagset.
AddJoinConfigFlags adds join flags bound to the config to the specified flagset.
AddJoinFileDiscoveryFlags adds file discovery flags to the specified flagset.
AddJoinOtherFlags adds join flags that are not bound to a configuration file to the given flagset.
AddKubeadmOtherFlags adds flags that are not bound to a configuration file to the given flagset.
GetSupportedShells returns a list of supported shells.
NewCmdCompletion returns the "kubeadm completion" command.
NewCmdConfig returns cobra.Command for "kubeadm config" command.
NewCmdConfigImages returns the "kubeadm config images" command.
NewCmdConfigImagesList returns the "kubeadm config images list" command.
NewCmdConfigImagesPull returns the `kubeadm config images pull` command.
NewCmdConfigMigrate returns cobra.Command for "kubeadm config migrate" command.
NewCmdConfigPrint returns cobra.Command for "kubeadm config print" command.
NewCmdConfigPrintInitDefaults returns cobra.Command for "kubeadm config print init-defaults" command.
NewCmdConfigPrintJoinDefaults returns cobra.Command for "kubeadm config print join-defaults" 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.
NewImagesList returns the underlying struct for the "kubeadm config images list" command.
NewImagesPull initializes and returns the `kubeadm config images pull` command.
NewKubeadmCommand returns 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

ImagesList defines the struct used for "kubeadm config images list".
ImagesPull is the struct used to hold information relating to image pulling.
Reset defines struct used for kubeadm reset command.
Version provides the version information of kubeadm.