v3

package
v6.29.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2017 License: Apache-2.0 Imports: 14 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 ResetOrgDefaultIsolationSegmentActor

type ResetOrgDefaultIsolationSegmentActor interface {
	CloudControllerAPIVersion() string
	ResetOrganizationDefaultIsolationSegment(orgGUID string) (v3action.Warnings, error)
}

type ResetOrgDefaultIsolationSegmentActorV2

type ResetOrgDefaultIsolationSegmentActorV2 interface {
	GetOrganizationByName(orgName string) (v2action.Organization, v2action.Warnings, error)
}

type ResetOrgDefaultIsolationSegmentCommand

type ResetOrgDefaultIsolationSegmentCommand struct {
	RequiredArgs flag.ResetOrgDefaultIsolationArgs `positional-args:"yes"`

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       ResetOrgDefaultIsolationSegmentActor
	ActorV2     ResetOrgDefaultIsolationSegmentActorV2
	// contains filtered or unexported fields
}

func (ResetOrgDefaultIsolationSegmentCommand) Execute

func (*ResetOrgDefaultIsolationSegmentCommand) Setup

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 SetOrgDefaultIsolationSegmentActor

type SetOrgDefaultIsolationSegmentActor interface {
	CloudControllerAPIVersion() string
	GetIsolationSegmentByName(isoSegName string) (v3action.IsolationSegment, v3action.Warnings, error)
	SetOrganizationDefaultIsolationSegment(orgGUID string, isoSegGUID string) (v3action.Warnings, error)
}

type SetOrgDefaultIsolationSegmentActorV2

type SetOrgDefaultIsolationSegmentActorV2 interface {
	GetOrganizationByName(orgName string) (v2action.Organization, v2action.Warnings, error)
}

type SetOrgDefaultIsolationSegmentCommand

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

	UI          command.UI
	Config      command.Config
	SharedActor command.SharedActor
	Actor       SetOrgDefaultIsolationSegmentActor
	ActorV2     SetOrgDefaultIsolationSegmentActorV2
	// contains filtered or unexported fields
}

func (SetOrgDefaultIsolationSegmentCommand) Execute

func (*SetOrgDefaultIsolationSegmentCommand) Setup

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 V2PushActor

type V2PushActor interface {
	CreateAndBindApplicationRoutes(orgGUID string, spaceGUID string, app v2action.Application) (pushaction.Warnings, error)
}

type V3AppActor

type V3AppActor interface {
	shared.V3AppSummaryActor
	GetApplicationByNameAndSpace(name string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
}

type V3AppCommand

type V3AppCommand struct {
	RequiredArgs flag.AppName `positional-args:"yes"`
	GUID         bool         `` /* 131-byte string literal not displayed */

	UI                  command.UI
	Config              command.Config
	SharedActor         command.SharedActor
	Actor               V3AppActor
	AppSummaryDisplayer shared.AppSummaryDisplayer
	// contains filtered or unexported fields
}

func (V3AppCommand) Execute

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

func (*V3AppCommand) Setup

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

type V3AppsActor

type V3AppsActor interface {
	GetApplicationSummariesBySpace(spaceGUID string) ([]v3action.ApplicationSummary, v3action.Warnings, error)
}

type V3AppsCommand

type V3AppsCommand struct {
	UI              command.UI
	Config          command.Config
	Actor           V3AppsActor
	V2AppRouteActor shared.V2AppRouteActor
	SharedActor     command.SharedActor
	// contains filtered or unexported fields
}

func (V3AppsCommand) Execute

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

func (*V3AppsCommand) Setup

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

type V3CreateAppActor

type V3CreateAppActor interface {
	CreateApplicationByNameAndSpace(createApplicationInput v3action.CreateApplicationInput) (v3action.Application, v3action.Warnings, error)
}

type V3CreateAppCommand

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

	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 {
	RequiredArgs flag.AppName `positional-args:"yes"`

	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

type V3DeleteActor

type V3DeleteActor interface {
	DeleteApplicationByNameAndSpace(name string, spaceGUID string) (v3action.Warnings, error)
}

type V3DeleteCommand

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

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

func (V3DeleteCommand) Execute

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

func (*V3DeleteCommand) Setup

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

type V3DropletsActor

type V3DropletsActor interface {
	GetApplicationDroplets(appName string, spaceGUID string) ([]v3action.Droplet, v3action.Warnings, error)
}

type V3DropletsCommand

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

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

func (V3DropletsCommand) Execute

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

func (*V3DropletsCommand) Setup

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

type V3GetHealthCheckActor

type V3GetHealthCheckActor interface {
	GetApplicationProcessHealthChecksByNameAndSpace(appName string, spaceGUID string) ([]v3action.ProcessHealthCheck, v3action.Warnings, error)
}

type V3GetHealthCheckCommand

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

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

func (V3GetHealthCheckCommand) Execute

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

func (*V3GetHealthCheckCommand) Setup

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

type V3PackagesActor

type V3PackagesActor interface {
	GetApplicationPackages(appName string, spaceGUID string) ([]v3action.Package, v3action.Warnings, error)
}

type V3PackagesCommand

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

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

func (V3PackagesCommand) Execute

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

func (*V3PackagesCommand) Setup

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

type V3PushActor

type V3PushActor interface {
	CreateAndUploadPackageByApplicationNameAndSpace(appName string, spaceGUID string, bitsPath string) (v3action.Package, v3action.Warnings, error)
	CreateApplicationByNameAndSpace(createApplicationInput v3action.CreateApplicationInput) (v3action.Application, v3action.Warnings, error)
	GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
	GetApplicationSummaryByNameAndSpace(appName string, spaceGUID string) (v3action.ApplicationSummary, v3action.Warnings, error)
	GetStreamingLogsForApplicationByNameAndSpace(appName string, spaceGUID string, client v3action.NOAAClient) (<-chan *v3action.LogMessage, <-chan error, v3action.Warnings, error)
	PollStart(appGUID string, warnings chan<- v3action.Warnings) error
	SetApplicationDroplet(appName string, spaceGUID string, dropletGUID string) (v3action.Warnings, error)
	StagePackage(packageGUID string, appName string) (<-chan v3action.Build, <-chan v3action.Warnings, <-chan error)
	StartApplication(appGUID string) (v3action.Application, v3action.Warnings, error)
	StopApplication(appGUID string) (v3action.Warnings, error)
	UpdateApplication(appGUID string, buildpacks []string) (v3action.Application, v3action.Warnings, error)
}

type V3PushCommand

type V3PushCommand struct {
	RequiredArgs flag.AppName                `positional-args:"yes"`
	NoRoute      bool                        `long:"no-route" description:"Do not map a route to this app"`
	Buildpacks   []string                    `` /* 317-byte string literal not displayed */
	AppPath      flag.PathWithExistenceCheck `short:"p" description:"Path to app directory or to a zip file of the contents of the app directory"`

	UI                  command.UI
	Config              command.Config
	NOAAClient          v3action.NOAAClient
	SharedActor         command.SharedActor
	Actor               V3PushActor
	V2PushActor         V2PushActor
	AppSummaryDisplayer shared.AppSummaryDisplayer
	// contains filtered or unexported fields
}

func (V3PushCommand) Execute

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

func (*V3PushCommand) Setup

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

type V3RestartActor

type V3RestartActor interface {
	GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
	StartApplication(appGUID string) (v3action.Application, v3action.Warnings, error)
	StopApplication(appGUID string) (v3action.Warnings, error)
}

type V3RestartAppInstanceActor

type V3RestartAppInstanceActor interface {
	DeleteInstanceByApplicationNameSpaceProcessTypeAndIndex(appName string, spaceGUID string, processType string, instanceIndex int) (v3action.Warnings, error)
}

type V3RestartAppInstanceCommand

type V3RestartAppInstanceCommand struct {
	RequiredArgs flag.AppInstance `positional-args:"yes"`
	ProcessType  string           `long:"process" default:"web" description:"Process to restart"`

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

func (V3RestartAppInstanceCommand) Execute

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

func (*V3RestartAppInstanceCommand) Setup

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

type V3RestartCommand

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

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

func (V3RestartCommand) Execute

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

func (*V3RestartCommand) Setup

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

type V3ScaleActor

type V3ScaleActor interface {
	shared.V3AppSummaryActor

	GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
	GetProcessSummaryByApplicationAndProcessType(appGUID string, processType string) (v3action.ProcessSummary, v3action.Warnings, error)
	ScaleProcessByApplication(appGUID string, process v3action.Process) (v3action.Warnings, error)
	StopApplication(appGUID string) (v3action.Warnings, error)
	StartApplication(appGUID string) (v3action.Application, v3action.Warnings, error)
	PollStart(appGUID string, warnings chan<- v3action.Warnings) error
}

type V3ScaleCommand

type V3ScaleCommand struct {
	RequiredArgs flag.AppName   `positional-args:"yes"`
	ProcessType  string         `long:"process" default:"web" description:"App process to scale"`
	Instances    flag.Instances `short:"i" required:"false" description:"Number of instances"`
	DiskLimit    flag.Megabytes `short:"k" required:"false" description:"Disk limit (e.g. 256M, 1024M, 1G)"`
	MemoryLimit  flag.Megabytes `short:"m" required:"false" description:"Memory limit (e.g. 256M, 1024M, 1G)"`

	UI                  command.UI
	Config              command.Config
	Actor               V3ScaleActor
	SharedActor         command.SharedActor
	AppSummaryDisplayer shared.AppSummaryDisplayer
	// contains filtered or unexported fields
}

func (V3ScaleCommand) Execute

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

func (*V3ScaleCommand) Setup

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

type V3SetDropletActor

type V3SetDropletActor interface {
	SetApplicationDroplet(appName string, spaceGUID string, dropletGUID string) (v3action.Warnings, error)
}

type V3SetDropletCommand

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

	DropletGUID string `short:"d" long:"droplet-guid" description:"The guid of the droplet to use" required:"true"`

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

func (V3SetDropletCommand) Execute

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

func (*V3SetDropletCommand) Setup

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

type V3SetHealthCheckActor

type V3SetHealthCheckActor interface {
	SetApplicationProcessHealthCheckTypeByNameAndSpace(appName string, spaceGUID string, healthCheckType string, httpEndpoint string, processType string) (v3action.Application, v3action.Warnings, error)
}

type V3SetHealthCheckCommand

type V3SetHealthCheckCommand struct {
	RequiredArgs flag.SetHealthCheckArgs `positional-args:"yes"`
	HTTPEndpoint string                  `long:"endpoint" default:"/" description:"Path on the app"`
	ProcessType  string                  `long:"process" default:"web" description:"App process to update"`

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

func (V3SetHealthCheckCommand) Execute

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

func (*V3SetHealthCheckCommand) Setup

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

type V3StageActor

type V3StageActor interface {
	GetStreamingLogsForApplicationByNameAndSpace(appName string, spaceGUID string, client v3action.NOAAClient) (<-chan *v3action.LogMessage, <-chan error, v3action.Warnings, error)
	StagePackage(packageGUID string, appName string) (<-chan v3action.Build, <-chan v3action.Warnings, <-chan error)
}

type V3StageCommand

type V3StageCommand struct {
	RequiredArgs flag.AppName `positional-args:"yes"`
	PackageGUID  string       `long:"package-guid" description:"The guid of the package to stage" required:"true"`

	UI          command.UI
	Config      command.Config
	NOAAClient  v3action.NOAAClient
	SharedActor command.SharedActor
	Actor       V3StageActor
	// contains filtered or unexported fields
}

func (V3StageCommand) Execute

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

func (*V3StageCommand) Setup

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

type V3StartActor

type V3StartActor interface {
	GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
	StartApplication(appGUID string) (v3action.Application, v3action.Warnings, error)
}

type V3StartCommand

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

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

func (V3StartCommand) Execute

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

func (*V3StartCommand) Setup

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

type V3StopActor

type V3StopActor interface {
	GetApplicationByNameAndSpace(appName string, spaceGUID string) (v3action.Application, v3action.Warnings, error)
	StopApplication(appGUID string) (v3action.Warnings, error)
}

type V3StopCommand

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

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

func (V3StopCommand) Execute

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

func (*V3StopCommand) Setup

func (cmd *V3StopCommand) 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.
sharedfakes
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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