v3

package
v6.26.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

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 CreateIsolationSegmentActor

type CreateIsolationSegmentActor interface {
	CloudControllerAPIVersion() string
	CreateIsolationSegmentByName(isolationSegment v3action.IsolationSegment) (v3action.Warnings, error)
}

type CreateIsolationSegmentCommand

type CreateIsolationSegmentCommand struct {
	RequiredArgs flag.IsolationSegmentName `positional-args:"yes"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       CreateIsolationSegmentActor
	// contains filtered or unexported fields
}

func (CreateIsolationSegmentCommand) Execute

func (cmd CreateIsolationSegmentCommand) Execute(args []string) error

func (*CreateIsolationSegmentCommand) Setup

type DeleteIsolationSegmentActor

type DeleteIsolationSegmentActor interface {
	CloudControllerAPIVersion() string
	DeleteIsolationSegmentByName(name string) (v3action.Warnings, error)
}

type DeleteIsolationSegmentCommand

type DeleteIsolationSegmentCommand struct {
	RequiredArgs flag.IsolationSegmentName `positional-args:"yes"`
	Force        bool                      `short:"f" description:"Force deletion without confirmation"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       DeleteIsolationSegmentActor
	// contains filtered or unexported fields
}

func (DeleteIsolationSegmentCommand) Execute

func (cmd DeleteIsolationSegmentCommand) Execute(args []string) error

func (*DeleteIsolationSegmentCommand) Setup

type DisableOrgIsolationActor

type DisableOrgIsolationActor interface {
	CloudControllerAPIVersion() string
	RevokeIsolationSegmentFromOrganizationByName(isolationSegmentName string, orgName string) (v3action.Warnings, error)
}

type DisableOrgIsolationCommand

type DisableOrgIsolationCommand struct {
	RequiredArgs flag.OrgIsolationArgs `positional-args:"yes"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       DisableOrgIsolationActor
	// contains filtered or unexported fields
}

func (DisableOrgIsolationCommand) Execute

func (cmd DisableOrgIsolationCommand) Execute(args []string) error

func (*DisableOrgIsolationCommand) Setup

func (cmd *DisableOrgIsolationCommand) Setup(config command.Config, ui command.UI) error

type EnableOrgIsolationActor

type EnableOrgIsolationActor interface {
	CloudControllerAPIVersion() string
	EntitleIsolationSegmentToOrganizationByName(isolationSegmentName string, orgName string) (v3action.Warnings, error)
}

type EnableOrgIsolationCommand

type EnableOrgIsolationCommand struct {
	RequiredArgs flag.OrgIsolationArgs `positional-args:"yes"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       EnableOrgIsolationActor
	// contains filtered or unexported fields
}

func (EnableOrgIsolationCommand) Execute

func (cmd EnableOrgIsolationCommand) Execute(args []string) error

func (*EnableOrgIsolationCommand) Setup

func (cmd *EnableOrgIsolationCommand) Setup(config command.Config, ui command.UI) error

type IsolationSegmentsActor

type IsolationSegmentsActor interface {
	CloudControllerAPIVersion() string
	GetIsolationSegmentSummaries() ([]v3action.IsolationSegmentSummary, v3action.Warnings, error)
}

type IsolationSegmentsCommand

type IsolationSegmentsCommand struct {
	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       IsolationSegmentsActor
	// contains filtered or unexported fields
}

func (IsolationSegmentsCommand) Execute

func (cmd IsolationSegmentsCommand) Execute(args []string) error

func (*IsolationSegmentsCommand) Setup

func (cmd *IsolationSegmentsCommand) Setup(config command.Config, ui command.UI) error

type ResetSpaceIsolationSegmentActor

type ResetSpaceIsolationSegmentActor interface {
	CloudControllerAPIVersion() string
	ResetSpaceIsolationSegment(orgGUID string, spaceGUID string) (string, v3action.Warnings, error)
}

type ResetSpaceIsolationSegmentActorV2

type ResetSpaceIsolationSegmentActorV2 interface {
	GetSpaceByOrganizationAndName(orgGUID string, spaceName string) (v2action.Space, v2action.Warnings, error)
}

type ResetSpaceIsolationSegmentCommand

type ResetSpaceIsolationSegmentCommand struct {
	RequiredArgs flag.ResetSpaceIsolationArgs `positional-args:"yes"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       ResetSpaceIsolationSegmentActor
	ActorV2     ResetSpaceIsolationSegmentActorV2
	// contains filtered or unexported fields
}

func (ResetSpaceIsolationSegmentCommand) Execute

func (cmd ResetSpaceIsolationSegmentCommand) Execute(args []string) error

func (*ResetSpaceIsolationSegmentCommand) Setup

type RunTaskActor

type RunTaskActor interface {
	GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
	RunTask(appGUID string, task v3action.Task) (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
	SharedActor command.SharedActor
	Actor       RunTaskActor
	// contains filtered or unexported fields
}

func (RunTaskCommand) Execute

func (cmd RunTaskCommand) Execute(args []string) error

func (*RunTaskCommand) Setup

func (cmd *RunTaskCommand) Setup(config command.Config, ui command.UI) error

type SetSpaceIsolationSegmentActor

type SetSpaceIsolationSegmentActor interface {
	CloudControllerAPIVersion() string
	AssignIsolationSegmentToSpaceByNameAndSpace(isolationSegmentName string, spaceGUID string) (v3action.Warnings, error)
}

type SetSpaceIsolationSegmentActorV2

type SetSpaceIsolationSegmentActorV2 interface {
	GetSpaceByOrganizationAndName(orgGUID string, spaceName string) (v2action.Space, v2action.Warnings, error)
}

type SetSpaceIsolationSegmentCommand

type SetSpaceIsolationSegmentCommand struct {
	RequiredArgs flag.SpaceIsolationArgs `positional-args:"yes"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       SetSpaceIsolationSegmentActor
	ActorV2     SetSpaceIsolationSegmentActorV2
	// contains filtered or unexported fields
}

func (SetSpaceIsolationSegmentCommand) Execute

func (cmd SetSpaceIsolationSegmentCommand) Execute(args []string) error

func (*SetSpaceIsolationSegmentCommand) Setup

type TasksActor

type TasksActor interface {
	GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
	GetApplicationTasks(appGUID string, sortOrder v3action.SortOrder) ([]v3action.Task, v3action.Warnings, error)
	CloudControllerAPIVersion() string
}

type TasksCommand

type TasksCommand struct {
	RequiredArgs flag.AppName `positional-args:"yes"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       TasksActor
	// contains filtered or unexported fields
}

func (TasksCommand) Execute

func (cmd TasksCommand) Execute(args []string) error

func (*TasksCommand) Setup

func (cmd *TasksCommand) Setup(config command.Config, ui command.UI) 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
	SharedActor command.SharedActor
	Actor       TerminateTaskActor
	// contains filtered or unexported fields
}

func (TerminateTaskCommand) Execute

func (cmd TerminateTaskCommand) Execute(args []string) error

func (*TerminateTaskCommand) Setup

func (cmd *TerminateTaskCommand) Setup(config command.Config, ui command.UI) error

type V3CreateAppActor

type V3CreateAppActor interface {
	CreateApplicationByNameAndSpace(name string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
}

type V3CreateAppCommand

type V3CreateAppCommand struct {
	AppName string `short:"n" long:"name" description:"The desired application name" required:"true"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       V3CreateAppActor
	// contains filtered or unexported fields
}

func (V3CreateAppCommand) Execute

func (cmd V3CreateAppCommand) Execute(args []string) error

func (*V3CreateAppCommand) Setup

func (cmd *V3CreateAppCommand) Setup(config command.Config, ui command.UI) error

type V3CreatePackageActor

type V3CreatePackageActor interface {
	CreateAndUploadPackageByApplicationNameAndSpace(appName string, spaceGUID string, bitsPath string) (v3action.Package, v3action.Warnings, error)
}

type V3CreatePackageCommand

type V3CreatePackageCommand struct {
	AppName string `short:"n" long:"name" description:"The application name" required:"true"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       V3CreatePackageActor
	// contains filtered or unexported fields
}

func (V3CreatePackageCommand) Execute

func (cmd V3CreatePackageCommand) Execute(args []string) error

func (*V3CreatePackageCommand) Setup

func (cmd *V3CreatePackageCommand) Setup(config command.Config, ui command.UI) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL