Documentation ¶
Overview ¶
Package v3 should not be imported by external consumers. It was not designed for external use.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunTaskActor ¶
type RunTaskActor interface { GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error) RunTask(appGUID string, command string, name string, memory uint64, disk uint64) (v3action.Task, v3action.Warnings, error) CloudControllerAPIVersion() string }
type RunTaskCommand ¶
type RunTaskCommand struct { RequiredArgs flag.RunTaskArgs `positional-args:"yes"` Disk flag.Megabytes `short:"k" description:"Disk limit (e.g. 256M, 1024M, 1G)"` Memory flag.Megabytes `short:"m" description:"Memory limit (e.g. 256M, 1024M, 1G)"` Name string `long:"name" description:"Name to give the task (generated if omitted)"` UI command.UI Config command.Config Actor RunTaskActor // contains filtered or unexported fields }
func (RunTaskCommand) Execute ¶
func (cmd RunTaskCommand) Execute(args []string) error
type TasksActor ¶
type TasksCommand ¶
type TasksCommand struct { RequiredArgs flag.AppName `positional-args:"yes"` UI command.UI Config command.Config Actor TasksActor // contains filtered or unexported fields }
func (TasksCommand) Execute ¶
func (cmd TasksCommand) Execute(args []string) error
type TerminateTaskActor ¶
type TerminateTaskActor interface { GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error) GetTaskBySequenceIDAndApplication(sequenceID int, appGUID string) (v3action.Task, v3action.Warnings, error) TerminateTask(taskGUID string) (v3action.Task, v3action.Warnings, error) CloudControllerAPIVersion() string }
type TerminateTaskCommand ¶
type TerminateTaskCommand struct { RequiredArgs flag.TerminateTaskArgs `positional-args:"yes"` UI command.UI Config command.Config Actor TerminateTaskActor // contains filtered or unexported fields }
func (TerminateTaskCommand) Execute ¶
func (cmd TerminateTaskCommand) Execute(args []string) error
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package shared should not be imported by external consumers.
|
Package shared should not be imported by external consumers. |
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter
|
This file was generated by counterfeiter This file was generated by counterfeiter This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.