Documentation
¶
Index ¶
- func CheckAuth(cfg config.Config) bool
- func ConfigExists(path string)
- func DisableAuthCheck(cmd *cobra.Command)
- func IsAuthCheckEnabled(cmd *cobra.Command) bool
- func ReadYAML(yamlContent interface{}, fileName string) any
- func ValidateRegExp(regex string, value string) bool
- func WriteYAML(yamlContent interface{}, fileName string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigExists ¶
func ConfigExists(path string)
func DisableAuthCheck ¶
DisableAuthCheck disables the auth check for a command
func IsAuthCheckEnabled ¶
IsAuthCheckEnabled checks if the auth check is enabled for a command
func ValidateRegExp ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.