Documentation
¶
Index ¶
- Constants
- func KeyValuePairsToMap(pairs []string) map[string]string
- func ParseAccessCredentialScopes(ss []string) ([]clientiam.AccessCredentialsScope, error)
- func ParseConditionsJSON(s, path string) (map[string]interface{}, error)
- func ParseOptionalRFC3339(s string) (*time.Time, error)
- func PromptDestructiveUnlessForce(force bool, summary string) (proceed bool, err error)
- func UserDisplay(u base.AppUser) string
- func UserPtrDisplay(u *base.AppUser) string
Constants ¶
View Source
const ( NoHeaderKey = "no-header" // ForceKey is the flag name for skipping the interactive prompt on destructive IAM commands. ForceKey = "force" )
Variables ¶
This section is empty.
Functions ¶
func KeyValuePairsToMap ¶
func ParseAccessCredentialScopes ¶
func ParseAccessCredentialScopes(ss []string) ([]clientiam.AccessCredentialsScope, error)
func ParseConditionsJSON ¶
func PromptDestructiveUnlessForce ¶
PromptDestructiveUnlessForce prompts for typing "yes" unless force is true. On abort (anything other than "yes"), returns proceed=false and err=nil.
func UserDisplay ¶
func UserPtrDisplay ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.