Versions in this module Expand all Collapse all v0 v0.1.0 Nov 23, 2019 Changes in this version + const DefaultShell + const EnvConfigPrefix + func AddCertFlags(cmd *cobra.Command) + func GetCertFlags(cmd *cobra.Command) (tls.KeyPairs, error) + func GetCredentials(platform string, cmd *cobra.Command) map[string]string + func GetFilters(cmd *cobra.Command) (filter map[string]string, warns []string, err error) + func GetGenericCredentials(cmd *cobra.Command) map[string]string + func GetMultipleClustersName(cmd *cobra.Command, args []string) ([]string, error) + func GetOneClusterName(cmd *cobra.Command, args []string, validate bool) (clusterName string, err error) + func GetVariables(varsStr string) (variables map[string]string, warns []string, err error) + func HardConfirmation(question, answer string) bool + func StringToArray(val string) ([]string, error) + func StringToMap(str string) (map[string]string, []string, error) + type ApplyOpts struct + Action string + ClusterName string + ForcePackage bool + PackageURL string + UserCACerts tls.KeyPairs + func ApplyGetOpts(cmd *cobra.Command, args []string) (opts *ApplyOpts, warns []string, err error) + type ClusterNodeInfo map[string]configurator.Hosts + func (cni ClusterNodeInfo) IPs() string + func (cni ClusterNodeInfo) JSON(pp bool) (string, error) + func (cni ClusterNodeInfo) Sprintf(format string, pp bool) (string, error) + func (cni ClusterNodeInfo) TOML() (string, error) + func (cni ClusterNodeInfo) Table(wide bool) error + func (cni ClusterNodeInfo) YAML() (string, error) + type DeleteOpts struct + ClusterName string + DestroyAll bool + Force bool + func DeleteGetOpts(cmd *cobra.Command, args []string) (opts *DeleteOpts, warns []string, err error) + func (opts *DeleteOpts) Confirm() bool + type GetEnvOpts struct + ClusterName string + KubeconfigFile string + Shell string + Unset bool + func GetEnvGetOpts(cmd *cobra.Command, args []string) (opts *GetEnvOpts, warns []string, err error) + func (o *GetEnvOpts) SprintEnv(env map[string]string) string + type GetNodesOpts struct + ClustersName []string + Nodes []string + Output string + Pools []string + Pp bool + func GetNodesGetOpts(cmd *cobra.Command, args []string) (opts *GetNodesOpts, warns []string, err error) + type InitOpts struct + ClusterName string + Credentials map[string]string + Format string + Path string + Platform string + TemplateName string + Update bool + Variables map[string]string + func InitGetOpts(cmd *cobra.Command, args []string) (opts *InitOpts, warns []string, err error) + type UpdateOpts struct + ClusterName string + Credentials map[string]string + TemplateName string + Variables map[string]string + func UpdateGetOpts(cmd *cobra.Command, args []string) (opts *UpdateOpts, warns []string, err error)