Documentation ¶
Index ¶
- func GetFullPolicyVariableID(client *conjurapi.Client, policyBranch string) string
- func GetHomeDirectory() (string, error)
- func GetNamespaceLocation(namespaceName string) (string, error)
- func GetPolicyVariableID(policyBranch string) string
- func JsonPrettyPrint(response *conjurapi.PolicyResponse) string
- func JsonPrettyPrintMap(response map[string]interface{}) string
- func JsonPrettyPrintMapArray(response []map[string]interface{}) string
- func JsonPrettyPrintMembersResponse(response []conjurapi.MemberResponse) string
- func MakeFullID(client *conjurapi.Client, kind string, id string) string
- func NewResourceFilter(kind string, annotation string) *conjurapi.ResourceFilter
- func PromptUser(message string) string
- func ReadFile(fileName string) ([]byte, error)
- func ReadMandatoryArg(index int, name string, help string, validArguments ...string) string
- func WriteNamespaceLocation(namespaceName string) error
- func WriteStdErrAndExit(err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFullPolicyVariableID ¶
func GetHomeDirectory ¶
func GetNamespaceLocation ¶
func GetPolicyVariableID ¶
func JsonPrettyPrint ¶
func JsonPrettyPrint(response *conjurapi.PolicyResponse) string
func JsonPrettyPrintMap ¶
func JsonPrettyPrintMapArray ¶
func JsonPrettyPrintMembersResponse ¶
func JsonPrettyPrintMembersResponse(response []conjurapi.MemberResponse) string
func NewResourceFilter ¶
func NewResourceFilter(kind string, annotation string) *conjurapi.ResourceFilter
func PromptUser ¶
func ReadMandatoryArg ¶
ReadMandatoryArg read arg, if it does not exist call WriteStdErrAndExit()
func WriteNamespaceLocation ¶
func WriteStdErrAndExit ¶
func WriteStdErrAndExit(err error)
WriteStdErrAndExit write error to stderr and os.Exit(1)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.