Documentation
¶
Index ¶
- func EnsureDirExists(filename string) error
- func GetHomePath(path string) string
- func HandleUrl(action, browser, url, pre, post string) error
- func MakeRoleARN(account int64, name string) string
- func ParseRoleARN(arn string) (int64, string, error)
- func ParseTimeString(t string) (int64, error)
- func TimeRemain(expires int64, space bool) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureDirExists ¶
ensures the given directory exists for the filename used by JsonStore and InsecureStore
func GetHomePath ¶
GetHomePath returns the absolute path of the provided path with the first ~ replaced with the location of the users home directory and the path rewritten for the host operating system
func MakeRoleARN ¶
Creates an AWS ARN for a role
func ParseRoleARN ¶
ParseRoleARN parses an ARN representing a role in long or short format
func ParseTimeString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.