Documentation
¶
Overview ¶
Package utils provides helper functions for permctl
Index ¶
- func CheckIfUnknownSubcommand(cmd *cobra.Command, args []string)
- func CmdHelp(cmd *cobra.Command, _ []string)
- func ParseEntity(entityStr string) (*v1.Entity, error)
- func ParseSubject(subjectStr string) (*v1.Subject, error)
- func PrettyPrint(i interface{}) string
- func ReadFileToString(filePath string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfUnknownSubcommand ¶
CheckIfUnknownSubcommand halts execution on passing unknown subcommand. Which is not usually an error
func ReadFileToString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.