Documentation
¶
Index ¶
- Variables
- func GetProjectAndContainerID(args []string) (projectID, containerID string, err error)
- func GetProjectID(args []string) (projectID string, err error)
- func GetProjectOrContainerID(args []string) (projectID, containerID string, err error)
- func SplitArguments(recArgs []string, offset, limit int) []string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrContextNotFound error message ErrContextNotFound = errors.New("Context is not set") // ErrInvalidArgumentLength error message ErrInvalidArgumentLength = errors.New("Unexpected arguments length") )
Functions ¶
func GetProjectAndContainerID ¶
GetProjectAndContainerID gets the project and container IDs
func GetProjectID ¶
GetProjectID gets the project ID
func GetProjectOrContainerID ¶
GetProjectOrContainerID gets the project or the project and container IDs
func SplitArguments ¶
SplitArguments splits a group of arguments (e.g., project + container)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.