Documentation ¶
Index ¶
- Variables
- func CheckAWSIAMAuthPrereq() error
- func CheckKubectlOidcLoginPrereq() error
- func CheckKubectlPrereq() error
- func CheckKubeloginPrereq() error
- func FormatCommand(cmd *cobra.Command)
- func FormatUse(use string) string
- func RegexFilter(options []string, regexString string) ([]string, error)
- func SurveyFilter(filter string, value string, index int) bool
- type KubectlVersion
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorTooLowKubectlVersion = errors.New("kubectl version is too low")
Functions ¶
func CheckAWSIAMAuthPrereq ¶
func CheckAWSIAMAuthPrereq() error
func CheckKubectlOidcLoginPrereq ¶
func CheckKubectlOidcLoginPrereq() error
func CheckKubectlPrereq ¶
func CheckKubectlPrereq() error
func CheckKubeloginPrereq ¶
func CheckKubeloginPrereq() error
func FormatCommand ¶
func RegexFilter ¶
RegexFilter to filter a slice or strings based on a regex filter passed to it. Returns an error if regex is invalid
Types ¶
type KubectlVersion ¶
Click to show internal directories.
Click to hide internal directories.