cmd

package
v0.34.1 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: EPL-2.0 Imports: 20 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

Index

Constants

View Source
const (
	COMMAND_NAME_ROOT                     = "galasactl"
	COMMAND_NAME_AUTH                     = "auth" //This is a command, not a secret //pragma: allowlist secret
	COMMAND_NAME_AUTH_LOGIN               = "auth login"
	COMMAND_NAME_AUTH_LOGOUT              = "auth logout"
	COMMAND_NAME_AUTH_TOKENS              = "auth tokens"
	COMMAND_NAME_AUTH_TOKENS_GET          = "auth tokens get"
	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 spi.Factory, args []string) error

The main entry point into the cmd package.

func IsInstanceOf

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

func NewAuthCommand

func NewAuthCommand(rootCmd spi.GalasaCommand) (spi.GalasaCommand, error)

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

func NewAuthLoginCommand

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

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

func NewAuthLogoutCommand

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

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

func NewAuthTokensCommand added in v0.34.0

func NewAuthTokensCommand(authCommand spi.GalasaCommand, rootCmd spi.GalasaCommand) (spi.GalasaCommand, error)

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

func NewAuthTokensGetCommand added in v0.34.0

func NewAuthTokensGetCommand(
	factory spi.Factory,
	authTokensCommand spi.GalasaCommand,
	rootCmd spi.GalasaCommand,
) (spi.GalasaCommand, error)

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

func NewLocalCommand

func NewLocalCommand(rootCmd spi.GalasaCommand) (spi.GalasaCommand, error)

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

func NewLocalInitCommand

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

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

func NewProjectCmd

func NewProjectCmd(rootCmd spi.GalasaCommand) (spi.GalasaCommand, error)

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

func NewProjectCreateCmd

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

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

func NewPropertiesCommand

func NewPropertiesCommand(rootCmd spi.GalasaCommand) (spi.GalasaCommand, error)

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

func NewPropertiesDeleteCommand

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

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

func NewPropertiesGetCommand

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

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

func NewPropertiesNamespaceCommand

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

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

func NewPropertiesNamespaceGetCommand

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

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

func NewPropertiesSetCommand

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

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

func NewRealFactory

func NewRealFactory() spi.Factory

func NewRealFinalWordHandler

func NewRealFinalWordHandler() spi.FinalWordHandler

func NewResourcesApplyCommand

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

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

func NewResourcesCmd

func NewResourcesCmd(rootCommand spi.GalasaCommand) (spi.GalasaCommand, error)

func NewResourcesCreateCommand

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

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

func NewResourcesDeleteCommand

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

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

func NewResourcesUpdateCommand

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

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

func NewRunsCancelCommand added in v0.32.0

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

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

func NewRunsCmd

func NewRunsCmd(rootCommand spi.GalasaCommand) (spi.GalasaCommand, error)

func NewRunsDownloadCommand

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

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

func NewRunsGetCommand

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

func NewRunsPrepareCommand

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

func NewRunsResetCommand added in v0.32.0

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

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

func NewRunsSubmitCommand

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

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

func NewRunsSubmitLocalCommand

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

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

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 AuthLogoutCmdValues added in v0.34.0

type AuthLogoutCmdValues struct {
}

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 AuthTokensCmdValues added in v0.34.0

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

type AuthTokensCommand added in v0.34.0

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

func (*AuthTokensCommand) CobraCommand added in v0.34.0

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

func (*AuthTokensCommand) Name added in v0.34.0

func (cmd *AuthTokensCommand) Name() string

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

func (*AuthTokensCommand) Values added in v0.34.0

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

type AuthTokensGetCommand added in v0.34.0

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

Objective: Allow user to do this:

	auth tokens get
 And then display all tokens or returns empty

func (*AuthTokensGetCommand) CobraCommand added in v0.34.0

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

func (*AuthTokensGetCommand) Name added in v0.34.0

func (cmd *AuthTokensGetCommand) Name() string

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

func (*AuthTokensGetCommand) Values added in v0.34.0

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

type CommandCollection

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

	GetRootCommand() spi.GalasaCommand

	Execute(args []string) error
}

func NewCommandCollection

func NewCommandCollection(factory spi.Factory) (CommandCollection, 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 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) GetAuthenticator added in v0.34.0

func (factory *RealFactory) GetAuthenticator(apiServerUrl string, galasaHome spi.GalasaHome) spi.Authenticator

func (*RealFactory) GetEnvironment

func (*RealFactory) GetEnvironment() spi.Environment

func (*RealFactory) GetFileSystem

func (*RealFactory) GetFileSystem() spi.FileSystem

func (*RealFactory) GetFinalWordHandler

func (*RealFactory) GetFinalWordHandler() spi.FinalWordHandler

func (*RealFactory) GetStdErrConsole

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

func (*RealFactory) GetStdOutConsole

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

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

func (*RealFactory) GetTimeService

func (*RealFactory) GetTimeService() spi.TimeService

type RealFinalWordHandler

type RealFinalWordHandler struct {
}

The real implementation of the interface.

func (*RealFinalWordHandler) FinalWord

func (handler *RealFinalWordHandler) FinalWord(rootCmd spi.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 spi.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