cmd

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: EPL-2.0 Imports: 19 Imported by: 0

Documentation

Overview

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

* Copyright contributors to the Galasa project * * SPDX-License-Identifier: EPL-2.0

Index

Constants

View Source
const (
	COMMAND_NAME_ROOT                     = "galasactl"
	COMMAND_NAME_AUTH                     = "auth"
	COMMAND_NAME_AUTH_LOGIN               = "auth login"
	COMMAND_NAME_AUTH_LOGOUT              = "auth logout"
	COMMAND_NAME_PROJECT                  = "project"
	COMMAND_NAME_PROJECT_CREATE           = "project create"
	COMMAND_NAME_LOCAL                    = "local"
	COMMAND_NAME_LOCAL_INIT               = "local init"
	COMMAND_NAME_PROPERTIES               = "properties"
	COMMAND_NAME_PROPERTIES_GET           = "properties get"
	COMMAND_NAME_PROPERTIES_SET           = "properties set"
	COMMAND_NAME_PROPERTIES_DELETE        = "properties delete"
	COMMAND_NAME_PROPERTIES_NAMESPACE     = "properties namespaces"
	COMMAND_NAME_PROPERTIES_NAMESPACE_GET = "properties namespaces get"
	COMMAND_NAME_RUNS                     = "runs"
	COMMAND_NAME_RUNS_DOWNLOAD            = "runs download"
	COMMAND_NAME_RUNS_GET                 = "runs get"
	COMMAND_NAME_RUNS_PREPARE             = "runs prepare"
	COMMAND_NAME_RUNS_SUBMIT              = "runs submit"
	COMMAND_NAME_RUNS_SUBMIT_LOCAL        = "runs submit local"
	COMMAND_NAME_RUNS_RESET               = "runs reset"
	COMMAND_NAME_RUNS_CANCEL              = "runs cancel"
	COMMAND_NAME_RESOURCES                = "resources"
	COMMAND_NAME_RESOURCES_APPLY          = "resources apply"
	COMMAND_NAME_RESOURCES_CREATE         = "resources create"
	COMMAND_NAME_RESOURCES_UPDATE         = "resources update"
	COMMAND_NAME_RESOURCES_DELETE         = "resources delete"
)

Variables

This section is empty.

Functions

func Execute

func Execute(factory Factory, args []string) error

The main entry point into the cmd package.

func IsInstanceOf

func IsInstanceOf(objectPtr interface{}, typePtr interface{}) bool

Types

type AuthCommand

type AuthCommand struct {
	// contains filtered or unexported fields
}

func (*AuthCommand) CobraCommand

func (cmd *AuthCommand) CobraCommand() *cobra.Command

func (*AuthCommand) Name

func (cmd *AuthCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*AuthCommand) Values

func (cmd *AuthCommand) Values() interface{}

type AuthLoginCmdValues

type AuthLoginCmdValues struct {
	// contains filtered or unexported fields
}

type AuthLoginComamnd

type AuthLoginComamnd struct {
	// contains filtered or unexported fields
}

func (*AuthLoginComamnd) CobraCommand

func (cmd *AuthLoginComamnd) CobraCommand() *cobra.Command

func (*AuthLoginComamnd) Name

func (cmd *AuthLoginComamnd) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*AuthLoginComamnd) Values

func (cmd *AuthLoginComamnd) Values() interface{}

type AuthLogoutCommand

type AuthLogoutCommand struct {
	// contains filtered or unexported fields
}

func (*AuthLogoutCommand) CobraCommand

func (cmd *AuthLogoutCommand) CobraCommand() *cobra.Command

func (*AuthLogoutCommand) Name

func (cmd *AuthLogoutCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*AuthLogoutCommand) Values

func (cmd *AuthLogoutCommand) Values() interface{}

type CommandCollection

type CommandCollection interface {
	// name - One of the COMMAND_NAME_* constants.
	GetCommand(name string) (GalasaCommand, error)

	GetRootCommand() GalasaCommand

	Execute(args []string) error
}

func NewCommandCollection

func NewCommandCollection(factory Factory) (CommandCollection, error)

----------------------------------------------------------------- Constructors -----------------------------------------------------------------

type Factory

type Factory interface {
	GetFileSystem() files.FileSystem
	GetEnvironment() utils.Environment
	GetFinalWordHandler() FinalWordHandler
	GetStdOutConsole() utils.Console
	GetStdErrConsole() utils.Console
	GetTimeService() utils.TimeService
}

We use the factory to create instances of various classes. Some are cached, so you get the same one back each time Some are fresh objects created each time. We do this so we can have a real and a mock implementation to make unit testing easier.

func NewMockFactory

func NewMockFactory() Factory

func NewRealFactory

func NewRealFactory() Factory

type FinalWordHandler

type FinalWordHandler interface {
	FinalWord(rootCmd GalasaCommand, errorToExctractFrom interface{})
}

A final word handler can set the exit code of the entire process. Or it could be mocked-out to just collect it and checked in tests.

func NewMockFinalWordHandler

func NewMockFinalWordHandler() FinalWordHandler

func NewRealFinalWordHandler

func NewRealFinalWordHandler() FinalWordHandler

type GalasaCommand

type GalasaCommand interface {
	// The name of the galasa command. One of the COMMAND_NAME_* constants.
	Name() string

	// Returns the cobra command which is part of the Galasa command.
	CobraCommand() *cobra.Command

	// Returns the data structure associated with this cobra command.
	Values() interface{}
}

A class which houses both the cobra command and the values structure the command puts things into.

func NewAuthCommand

func NewAuthCommand(rootCmd GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors ------------------------------------------------------------------------------------------------

func NewAuthLoginCommand

func NewAuthLoginCommand(factory Factory, authCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewAuthLogoutCommand

func NewAuthLogoutCommand(factory Factory, authCommand GalasaCommand, rootCmd GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewLocalCommand

func NewLocalCommand(rootCmd GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors ------------------------------------------------------------------------------------------------

func NewLocalInitCommand

func NewLocalInitCommand(factory Factory, localCommand GalasaCommand, rootCmd GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors ------------------------------------------------------------------------------------------------

func NewProjectCmd

func NewProjectCmd(rootCmd GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors ------------------------------------------------------------------------------------------------

func NewProjectCreateCmd

func NewProjectCreateCmd(factory Factory, projectCmd GalasaCommand, rootCmd GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors ------------------------------------------------------------------------------------------------

func NewPropertiesCommand

func NewPropertiesCommand(rootCmd GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewPropertiesDeleteCommand

func NewPropertiesDeleteCommand(factory Factory, propertiesCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewPropertiesGetCommand

func NewPropertiesGetCommand(factory Factory, propertiesCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewPropertiesNamespaceCommand

func NewPropertiesNamespaceCommand(propertiesCommand GalasaCommand, rootCmd GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewPropertiesNamespaceGetCommand

func NewPropertiesNamespaceGetCommand(
	factory Factory,
	propertiesNamespaceCommand GalasaCommand,
	propertiesCommand GalasaCommand,
	rootCommand GalasaCommand,
) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewPropertiesSetCommand

func NewPropertiesSetCommand(factory Factory, propertiesCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewResourcesApplyCommand

func NewResourcesApplyCommand(factory Factory, resourcesCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewResourcesCmd

func NewResourcesCmd(rootCommand GalasaCommand) (GalasaCommand, error)

func NewResourcesCreateCommand

func NewResourcesCreateCommand(factory Factory, resourcesCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewResourcesDeleteCommand

func NewResourcesDeleteCommand(factory Factory, resourcesCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewResourcesUpdateCommand

func NewResourcesUpdateCommand(factory Factory, resourcesCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewRunsCancelCommand added in v0.32.0

func NewRunsCancelCommand(factory Factory, runsCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewRunsCmd

func NewRunsCmd(rootCommand GalasaCommand) (GalasaCommand, error)

func NewRunsDownloadCommand

func NewRunsDownloadCommand(factory Factory, runsCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewRunsGetCommand

func NewRunsGetCommand(factory Factory, runsCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

func NewRunsPrepareCommand

func NewRunsPrepareCommand(factory Factory, runsCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

func NewRunsResetCommand added in v0.32.0

func NewRunsResetCommand(factory Factory, runsCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors methods ------------------------------------------------------------------------------------------------

func NewRunsSubmitCommand

func NewRunsSubmitCommand(factory Factory, runsCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors ------------------------------------------------------------------------------------------------

func NewRunsSubmitLocalCommand

func NewRunsSubmitLocalCommand(factory Factory, runsSubmitCommand GalasaCommand, runsCommand GalasaCommand, rootCommand GalasaCommand) (GalasaCommand, error)

------------------------------------------------------------------------------------------------ Constructors ------------------------------------------------------------------------------------------------

type GradleCoordinates

type GradleCoordinates struct {
	GroupId string
	Name    string
}

GradleCoordinates holds common substitution parameters .gradle file templates use.

type LocalCommand

type LocalCommand struct {
	// contains filtered or unexported fields
}

func (*LocalCommand) CobraCommand

func (cmd *LocalCommand) CobraCommand() *cobra.Command

func (*LocalCommand) Name

func (cmd *LocalCommand) Name() string

------------------------------------------------------------------------------------------------ Public functions ------------------------------------------------------------------------------------------------

func (*LocalCommand) Values

func (cmd *LocalCommand) Values() interface{}

type LocalInitCmdValues

type LocalInitCmdValues struct {
	// contains filtered or unexported fields
}

type LocalInitCommand

type LocalInitCommand struct {
	// contains filtered or unexported fields
}

func (*LocalInitCommand) CobraCommand

func (cmd *LocalInitCommand) CobraCommand() *cobra.Command

func (*LocalInitCommand) Name

func (cmd *LocalInitCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*LocalInitCommand) Values

func (cmd *LocalInitCommand) Values() interface{}

type MavenCoordinates

type MavenCoordinates struct {
	GroupId    string
	ArtifactId string
	Name       string
}

MavenCoordinates holds common substitution parameters a pom.xml file template uses.

type MockFactory

type MockFactory struct {
	// contains filtered or unexported fields
}

func (*MockFactory) GetEnvironment

func (factory *MockFactory) GetEnvironment() utils.Environment

func (*MockFactory) GetFileSystem

func (factory *MockFactory) GetFileSystem() files.FileSystem

func (*MockFactory) GetFinalWordHandler

func (factory *MockFactory) GetFinalWordHandler() FinalWordHandler

func (*MockFactory) GetStdErrConsole

func (factory *MockFactory) GetStdErrConsole() utils.Console

func (*MockFactory) GetStdOutConsole

func (factory *MockFactory) GetStdOutConsole() utils.Console

func (*MockFactory) GetTimeService

func (factory *MockFactory) GetTimeService() utils.TimeService

type MockFinalWordHandler

type MockFinalWordHandler struct {
	ReportedObject interface{}
}

func (*MockFinalWordHandler) FinalWord

func (handler *MockFinalWordHandler) FinalWord(rootCmd GalasaCommand, errorToExctractFrom interface{})

type ProjectCommand

type ProjectCommand struct {
	// contains filtered or unexported fields
}

func (*ProjectCommand) CobraCommand

func (cmd *ProjectCommand) CobraCommand() *cobra.Command

func (*ProjectCommand) Name

func (cmd *ProjectCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*ProjectCommand) Values

func (cmd *ProjectCommand) Values() interface{}

type ProjectCreateCmdValues

type ProjectCreateCmdValues struct {
	// contains filtered or unexported fields
}

type ProjectCreateCommand

type ProjectCreateCommand struct {
	// contains filtered or unexported fields
}

func (*ProjectCreateCommand) CobraCommand

func (cmd *ProjectCreateCommand) CobraCommand() *cobra.Command

func (*ProjectCreateCommand) Name

func (cmd *ProjectCreateCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*ProjectCreateCommand) Values

func (cmd *ProjectCreateCommand) Values() interface{}

type PropertiesCmdValues

type PropertiesCmdValues struct {
	// contains filtered or unexported fields
}

type PropertiesCommand

type PropertiesCommand struct {
	// contains filtered or unexported fields
}

func (*PropertiesCommand) CobraCommand

func (cmd *PropertiesCommand) CobraCommand() *cobra.Command

func (*PropertiesCommand) Name

func (cmd *PropertiesCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*PropertiesCommand) Values

func (cmd *PropertiesCommand) Values() interface{}

type PropertiesDeleteCommand

type PropertiesDeleteCommand struct {
	// contains filtered or unexported fields
}

func (*PropertiesDeleteCommand) CobraCommand

func (cmd *PropertiesDeleteCommand) CobraCommand() *cobra.Command

func (*PropertiesDeleteCommand) Name

func (cmd *PropertiesDeleteCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*PropertiesDeleteCommand) Values

func (cmd *PropertiesDeleteCommand) Values() interface{}

type PropertiesGetCmdValues

type PropertiesGetCmdValues struct {
	// contains filtered or unexported fields
}

Variables set by cobra's command-line parsing.

type PropertiesGetCommand

type PropertiesGetCommand struct {
	// contains filtered or unexported fields
}

func (*PropertiesGetCommand) CobraCommand

func (cmd *PropertiesGetCommand) CobraCommand() *cobra.Command

func (*PropertiesGetCommand) Name

func (cmd *PropertiesGetCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*PropertiesGetCommand) Values

func (cmd *PropertiesGetCommand) Values() interface{}

type PropertiesNamespaceCommand

type PropertiesNamespaceCommand struct {
	// contains filtered or unexported fields
}

func (*PropertiesNamespaceCommand) CobraCommand

func (cmd *PropertiesNamespaceCommand) CobraCommand() *cobra.Command

func (*PropertiesNamespaceCommand) Name

func (cmd *PropertiesNamespaceCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*PropertiesNamespaceCommand) Values

func (cmd *PropertiesNamespaceCommand) Values() interface{}

type PropertiesNamespaceGetCmdValues

type PropertiesNamespaceGetCmdValues struct {
	// contains filtered or unexported fields
}

type PropertiesNamespaceGetCommand

type PropertiesNamespaceGetCommand struct {
	// contains filtered or unexported fields
}

func (*PropertiesNamespaceGetCommand) CobraCommand

func (cmd *PropertiesNamespaceGetCommand) CobraCommand() *cobra.Command

func (*PropertiesNamespaceGetCommand) Name

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*PropertiesNamespaceGetCommand) Values

func (cmd *PropertiesNamespaceGetCommand) Values() interface{}

type PropertiesSetCmdValues

type PropertiesSetCmdValues struct {
	// contains filtered or unexported fields
}

type PropertiesSetCommand

type PropertiesSetCommand struct {
	// contains filtered or unexported fields
}

func (*PropertiesSetCommand) CobraCommand

func (cmd *PropertiesSetCommand) CobraCommand() *cobra.Command

func (*PropertiesSetCommand) Name

func (cmd *PropertiesSetCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*PropertiesSetCommand) Values

func (cmd *PropertiesSetCommand) Values() interface{}

type RealFactory

type RealFactory struct {
	// contains filtered or unexported fields
}

Allocates real objects with real implementations, none of which are generally great for unit testing. eg: A real file system can leave debris behind when a test runs.

func (*RealFactory) GetEnvironment

func (*RealFactory) GetEnvironment() utils.Environment

func (*RealFactory) GetFileSystem

func (*RealFactory) GetFileSystem() files.FileSystem

func (*RealFactory) GetFinalWordHandler

func (*RealFactory) GetFinalWordHandler() FinalWordHandler

func (*RealFactory) GetStdErrConsole

func (factory *RealFactory) GetStdErrConsole() utils.Console

func (*RealFactory) GetStdOutConsole

func (factory *RealFactory) GetStdOutConsole() utils.Console

We only ever expect there to be a single console object, which collects all the command output.

func (*RealFactory) GetTimeService

func (*RealFactory) GetTimeService() utils.TimeService

type RealFinalWordHandler

type RealFinalWordHandler struct {
}

The real implementation of the interface.

func (*RealFinalWordHandler) FinalWord

func (handler *RealFinalWordHandler) FinalWord(rootCmd GalasaCommand, errorToExctractFrom interface{})

type ResourcesApplyCmdValues

type ResourcesApplyCmdValues struct {
}

Variables set by cobra's command-line parsing.

type ResourcesApplyCommand

type ResourcesApplyCommand struct {
	// contains filtered or unexported fields
}

func (*ResourcesApplyCommand) CobraCommand

func (cmd *ResourcesApplyCommand) CobraCommand() *cobra.Command

func (*ResourcesApplyCommand) Name

func (cmd *ResourcesApplyCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*ResourcesApplyCommand) Values

func (cmd *ResourcesApplyCommand) Values() interface{}

type ResourcesCmdValues

type ResourcesCmdValues struct {
	// contains filtered or unexported fields
}

type ResourcesCommand

type ResourcesCommand struct {
	// contains filtered or unexported fields
}

func (*ResourcesCommand) CobraCommand

func (cmd *ResourcesCommand) CobraCommand() *cobra.Command

func (*ResourcesCommand) Name

func (cmd *ResourcesCommand) Name() string

func (*ResourcesCommand) Values

func (cmd *ResourcesCommand) Values() interface{}

type ResourcesCreateCmdValues

type ResourcesCreateCmdValues struct {
}

Variables set by cobra's command-line parsing.

type ResourcesCreateCommand

type ResourcesCreateCommand struct {
	// contains filtered or unexported fields
}

func (*ResourcesCreateCommand) CobraCommand

func (cmd *ResourcesCreateCommand) CobraCommand() *cobra.Command

func (*ResourcesCreateCommand) Name

func (cmd *ResourcesCreateCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*ResourcesCreateCommand) Values

func (cmd *ResourcesCreateCommand) Values() interface{}

type ResourcesDeleteCmdValues

type ResourcesDeleteCmdValues struct {
}

Variables set by cobra's command-line parsing.

type ResourcesDeleteCommand

type ResourcesDeleteCommand struct {
	// contains filtered or unexported fields
}

func (*ResourcesDeleteCommand) CobraCommand

func (cmd *ResourcesDeleteCommand) CobraCommand() *cobra.Command

func (*ResourcesDeleteCommand) Name

func (cmd *ResourcesDeleteCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*ResourcesDeleteCommand) Values

func (cmd *ResourcesDeleteCommand) Values() interface{}

type ResourcesUpdateCmdValues

type ResourcesUpdateCmdValues struct {
}

Variables set by cobra's command-line parsing.

type ResourcesUpdateCommand

type ResourcesUpdateCommand struct {
	// contains filtered or unexported fields
}

func (*ResourcesUpdateCommand) CobraCommand

func (cmd *ResourcesUpdateCommand) CobraCommand() *cobra.Command

func (*ResourcesUpdateCommand) Name

func (cmd *ResourcesUpdateCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*ResourcesUpdateCommand) Values

func (cmd *ResourcesUpdateCommand) Values() interface{}

type RootCmdValues

type RootCmdValues struct {

	// The path to GALASA_HOME. Over-rides the environment variable.
	CmdParamGalasaHomePath string
	// contains filtered or unexported fields
}

type RootCommand

type RootCommand struct {
	// contains filtered or unexported fields
}

func NewRootCommand

func NewRootCommand(factory Factory) (*RootCommand, error)

------------------------------------------------------------------------------- Constructor -------------------------------------------------------------------------------

func (*RootCommand) CobraCommand

func (cmd *RootCommand) CobraCommand() *cobra.Command

func (*RootCommand) Name

func (cmd *RootCommand) Name() string

func (*RootCommand) Values

func (cmd *RootCommand) Values() interface{}

type RunsCancelCmdValues added in v0.32.0

type RunsCancelCmdValues struct {
	// contains filtered or unexported fields
}

type RunsCancelCommand added in v0.32.0

type RunsCancelCommand struct {
	// contains filtered or unexported fields
}

func (*RunsCancelCommand) CobraCommand added in v0.32.0

func (cmd *RunsCancelCommand) CobraCommand() *cobra.Command

func (*RunsCancelCommand) Name added in v0.32.0

func (cmd *RunsCancelCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*RunsCancelCommand) Values added in v0.32.0

func (cmd *RunsCancelCommand) Values() interface{}

type RunsCmdValues

type RunsCmdValues struct {
	// contains filtered or unexported fields
}

type RunsCommand

type RunsCommand struct {
	// contains filtered or unexported fields
}

func (*RunsCommand) CobraCommand

func (cmd *RunsCommand) CobraCommand() *cobra.Command

func (*RunsCommand) Name

func (cmd *RunsCommand) Name() string

func (*RunsCommand) Values

func (cmd *RunsCommand) Values() interface{}

type RunsDownloadCmdValues

type RunsDownloadCmdValues struct {
	// contains filtered or unexported fields
}

Variables set by cobra's command-line parsing.

type RunsDownloadCommand

type RunsDownloadCommand struct {
	// contains filtered or unexported fields
}

func (*RunsDownloadCommand) CobraCommand

func (cmd *RunsDownloadCommand) CobraCommand() *cobra.Command

func (*RunsDownloadCommand) Name

func (cmd *RunsDownloadCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*RunsDownloadCommand) Values

func (cmd *RunsDownloadCommand) Values() interface{}

type RunsGetCmdValues

type RunsGetCmdValues struct {
	// contains filtered or unexported fields
}

Variables set by cobra's command-line parsing.

type RunsGetCommand

type RunsGetCommand struct {
	// contains filtered or unexported fields
}

func (*RunsGetCommand) CobraCommand

func (cmd *RunsGetCommand) CobraCommand() *cobra.Command

func (*RunsGetCommand) Name

func (cmd *RunsGetCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*RunsGetCommand) Values

func (cmd *RunsGetCommand) Values() interface{}

type RunsPrepareCmdValues

type RunsPrepareCmdValues struct {
	// contains filtered or unexported fields
}

type RunsPrepareCommand

type RunsPrepareCommand struct {
	// contains filtered or unexported fields
}

func (*RunsPrepareCommand) CobraCommand

func (cmd *RunsPrepareCommand) CobraCommand() *cobra.Command

func (*RunsPrepareCommand) Name

func (cmd *RunsPrepareCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*RunsPrepareCommand) Values

func (cmd *RunsPrepareCommand) Values() interface{}

type RunsResetCmdValues added in v0.32.0

type RunsResetCmdValues struct {
	// contains filtered or unexported fields
}

type RunsResetCommand added in v0.32.0

type RunsResetCommand struct {
	// contains filtered or unexported fields
}

func (*RunsResetCommand) CobraCommand added in v0.32.0

func (cmd *RunsResetCommand) CobraCommand() *cobra.Command

func (*RunsResetCommand) Name added in v0.32.0

func (cmd *RunsResetCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*RunsResetCommand) Values added in v0.32.0

func (cmd *RunsResetCommand) Values() interface{}

type RunsSubmitCommand

type RunsSubmitCommand struct {
	// contains filtered or unexported fields
}

func (*RunsSubmitCommand) CobraCommand

func (cmd *RunsSubmitCommand) CobraCommand() *cobra.Command

func (*RunsSubmitCommand) Name

func (cmd *RunsSubmitCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*RunsSubmitCommand) Values

func (cmd *RunsSubmitCommand) Values() interface{}

type RunsSubmitLocalCmdValues

type RunsSubmitLocalCmdValues struct {
	// contains filtered or unexported fields
}

Variables set by cobra's command-line parsing.

type RunsSubmitLocalCommand

type RunsSubmitLocalCommand struct {
	// contains filtered or unexported fields
}

func (*RunsSubmitLocalCommand) CobraCommand

func (cmd *RunsSubmitLocalCommand) CobraCommand() *cobra.Command

func (*RunsSubmitLocalCommand) Name

func (cmd *RunsSubmitLocalCommand) Name() string

------------------------------------------------------------------------------------------------ Public methods ------------------------------------------------------------------------------------------------

func (*RunsSubmitLocalCommand) Values

func (cmd *RunsSubmitLocalCommand) Values() interface{}

Jump to

Keyboard shortcuts

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