Documentation ¶
Index ¶
Constants ¶
View Source
const GetCmdName = "resource-get"
GetCmdName is the name of the resource-get command.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetCmd ¶
type GetCmd struct { cmd.CommandBase // contains filtered or unexported fields }
GetCmd provides the functionality of the resource-get command.
type HookContext ¶
type HookContext interface { // Download downloads the named resource and returns // the path to which it was downloaded. Download(name string) (filePath string, _ error) }
HookContext exposes the functionality needed by the "resource-*" hook commands.
Click to show internal directories.
Click to hide internal directories.