cmd

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: EPL-2.0 Imports: 27 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

* 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_AUTH_TOKENS_DELETE       = "auth tokens delete"
	COMMAND_NAME_PROJECT                  = "project"
	COMMAND_NAME_PROJECT_CREATE           = "project create"
	COMMAND_NAME_LOCAL                    = "local"
	COMMAND_NAME_LOCAL_INIT               = "local init"
	COMMAND_NAME_MONITORS                 = "monitors"
	COMMAND_NAME_MONITORS_GET             = "monitors get"
	COMMAND_NAME_MONITORS_SET             = "monitors set"
	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_RUNS_DELETE              = "runs delete"
	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"
	COMMAND_NAME_SECRETS                  = "secrets"
	COMMAND_NAME_SECRETS_GET              = "secrets get"
	COMMAND_NAME_SECRETS_SET              = "secrets set"
	COMMAND_NAME_SECRETS_DELETE           = "secrets delete"
	COMMAND_NAME_USERS                    = "users"
	COMMAND_NAME_USERS_GET                = "users get"
	COMMAND_NAME_USERS_SET                = "users set"
	COMMAND_NAME_USERS_DELETE             = "users delete"
	COMMAND_NAME_ROLES                    = "roles"
	COMMAND_NAME_ROLES_GET                = "roles get"
	COMMAND_NAME_STREAMS                  = "streams"
	COMMAND_NAME_STREAMS_GET              = "streams get"
	COMMAND_NAME_STREAMS_DELETE           = "streams delete"
)
View Source
const (
	MANDATORY_FLAG = true
	OPTIONAL_FLAG  = false
)

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, commsFlagSet GalasaFlagSet) (spi.GalasaCommand, error)

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

func NewAuthLoginCommand

func NewAuthLoginCommand(
	factory spi.Factory,
	authCommand spi.GalasaCommand,
	rootCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (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) (spi.GalasaCommand, error)

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

func NewAuthTokensDeleteCommand added in v0.36.0

func NewAuthTokensDeleteCommand(
	factory spi.Factory,
	authTokensCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewAuthTokensGetCommand added in v0.34.0

func NewAuthTokensGetCommand(
	factory spi.Factory,
	authTokensCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (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 NewMonitorsCmd added in v0.41.0

func NewMonitorsCmd(rootCommand spi.GalasaCommand, commsFlagSet GalasaFlagSet) (spi.GalasaCommand, error)

func NewMonitorsGetCommand added in v0.41.0

func NewMonitorsGetCommand(
	factory spi.Factory,
	monitorsGetCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewMonitorsSetCommand added in v0.41.0

func NewMonitorsSetCommand(
	factory spi.Factory,
	monitorsSetCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

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, commsFlagSet GalasaFlagSet) (spi.GalasaCommand, error)

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

func NewPropertiesDeleteCommand

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

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

func NewPropertiesGetCommand

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

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

func NewPropertiesNamespaceCommand

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

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

func NewPropertiesNamespaceGetCommand

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

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

func NewPropertiesSetCommand

func NewPropertiesSetCommand(factory spi.Factory, propertiesCommand spi.GalasaCommand, commsFlagSet GalasaFlagSet) (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, commsFlagSet GalasaFlagSet) (spi.GalasaCommand, error)

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

func NewResourcesCmd

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

func NewResourcesCreateCommand

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

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

func NewResourcesDeleteCommand

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

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

func NewResourcesUpdateCommand

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

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

func NewRolesCmd added in v0.39.0

func NewRolesCmd(rootCommand spi.GalasaCommand, commsFlagSet GalasaFlagSet) (spi.GalasaCommand, error)

func NewRolesGetCommand added in v0.39.0

func NewRolesGetCommand(
	factory spi.Factory,
	rolesGetCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewRunsCancelCommand added in v0.32.0

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

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

func NewRunsCmd

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

func NewRunsDeleteCommand added in v0.37.0

func NewRunsDeleteCommand(factory spi.Factory, runsCommand spi.GalasaCommand, commsFlagSet GalasaFlagSet) (spi.GalasaCommand, error)

func NewRunsDownloadCommand

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

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

func NewRunsGetCommand

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

func NewRunsPrepareCommand

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

func NewRunsResetCommand added in v0.32.0

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

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

func NewRunsSubmitCommand

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

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

func NewRunsSubmitLocalCommand

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

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

func NewSecretsCmd added in v0.38.0

func NewSecretsCmd(rootCommand spi.GalasaCommand, commsFlagSet GalasaFlagSet) (spi.GalasaCommand, error)

func NewSecretsDeleteCommand added in v0.38.0

func NewSecretsDeleteCommand(
	factory spi.Factory,
	secretsDeleteCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewSecretsGetCommand added in v0.38.0

func NewSecretsGetCommand(
	factory spi.Factory,
	secretsGetCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewSecretsSetCommand added in v0.38.0

func NewSecretsSetCommand(
	factory spi.Factory,
	secretsSetCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewStreamsCommand added in v0.41.0

func NewStreamsCommand(rootCmd spi.GalasaCommand, commsFlagSet GalasaFlagSet) (spi.GalasaCommand, error)

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

func NewStreamsDeleteCommand added in v0.41.0

func NewStreamsDeleteCommand(
	factory spi.Factory,
	streamsDeleteCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewStreamsGetCommand added in v0.41.0

func NewStreamsGetCommand(
	factory spi.Factory,
	streamsGetCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewUsersCommand added in v0.37.0

func NewUsersCommand(rootCmd spi.GalasaCommand, commsFlagSet GalasaFlagSet) (spi.GalasaCommand, error)

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

func NewUsersDeleteCommand added in v0.38.0

func NewUsersDeleteCommand(
	factory spi.Factory,
	usersDeleteCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewUsersGetCommand added in v0.37.0

func NewUsersGetCommand(
	factory spi.Factory,
	usersGetCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

func NewUsersSetCommand added in v0.40.0

func NewUsersSetCommand(
	factory spi.Factory,
	usersSetCommand spi.GalasaCommand,
	commsFlagSet GalasaFlagSet,
) (spi.GalasaCommand, error)

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

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{}

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 AuthTokensDeleteCmdValues added in v0.36.0

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

Objective: Allow user to do this: auth tokens delete --tokenid xxx And delete the token of that id

type AuthTokensDeleteCommand added in v0.36.0

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

func (*AuthTokensDeleteCommand) CobraCommand added in v0.36.0

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

func (*AuthTokensDeleteCommand) Name added in v0.36.0

func (cmd *AuthTokensDeleteCommand) Name() string

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

func (*AuthTokensDeleteCommand) Values added in v0.36.0

func (cmd *AuthTokensDeleteCommand) 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 CommsFlagSet added in v0.39.0

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

func NewCommsFlagSet added in v0.39.0

func NewCommsFlagSet(rootCommand spi.GalasaCommand) (*CommsFlagSet, error)

func (*CommsFlagSet) Flags added in v0.39.0

func (commsFlagSet *CommsFlagSet) Flags() *pflag.FlagSet

func (*CommsFlagSet) Values added in v0.39.0

func (commsFlagSet *CommsFlagSet) Values() interface{}

type CommsFlagSetValues added in v0.39.0

type CommsFlagSetValues struct {
	*RootCmdValues
	// contains filtered or unexported fields
}

type GalasaFlagSet added in v0.39.0

type GalasaFlagSet interface {
	Flags() *pflag.FlagSet
	Values() interface{}
}

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 MonitorsCmdValues added in v0.41.0

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

type MonitorsCommand added in v0.41.0

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

func (*MonitorsCommand) CobraCommand added in v0.41.0

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

func (*MonitorsCommand) Name added in v0.41.0

func (cmd *MonitorsCommand) Name() string

func (*MonitorsCommand) Values added in v0.41.0

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

type MonitorsGetCmdValues added in v0.41.0

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

type MonitorsGetCommand added in v0.41.0

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

func (*MonitorsGetCommand) CobraCommand added in v0.41.0

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

func (*MonitorsGetCommand) Name added in v0.41.0

func (cmd *MonitorsGetCommand) Name() string

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

func (*MonitorsGetCommand) Values added in v0.41.0

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

type MonitorsSetCmdValues added in v0.41.0

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

type MonitorsSetCommand added in v0.41.0

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

func (*MonitorsSetCommand) CobraCommand added in v0.41.0

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

func (*MonitorsSetCommand) Name added in v0.41.0

func (cmd *MonitorsSetCommand) Name() string

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

func (*MonitorsSetCommand) Values added in v0.41.0

func (cmd *MonitorsSetCommand) Values() 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) GetAuthenticator added in v0.34.0

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

func (*RealFactory) GetByteReader added in v0.37.0

func (*RealFactory) GetByteReader() spi.ByteReader

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 RolesCmdValues added in v0.39.0

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

type RolesCommand added in v0.39.0

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

func (*RolesCommand) CobraCommand added in v0.39.0

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

func (*RolesCommand) Name added in v0.39.0

func (cmd *RolesCommand) Name() string

func (*RolesCommand) Values added in v0.39.0

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

type RolesGetCmdValues added in v0.39.0

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

type RolesGetCommand added in v0.39.0

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

func (*RolesGetCommand) CobraCommand added in v0.39.0

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

func (*RolesGetCommand) Name added in v0.39.0

func (cmd *RolesGetCommand) Name() string

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

func (*RolesGetCommand) Values added in v0.39.0

func (cmd *RolesGetCommand) 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 {
}

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 RunsDeleteCmdValues added in v0.37.0

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

Variables set by cobra's command-line parsing.

type RunsDeleteCommand added in v0.37.0

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

func (*RunsDeleteCommand) CobraCommand added in v0.37.0

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

func (*RunsDeleteCommand) Name added in v0.37.0

func (cmd *RunsDeleteCommand) Name() string

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

func (*RunsDeleteCommand) Values added in v0.37.0

func (cmd *RunsDeleteCommand) 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{}

type SecretsCmdValues added in v0.38.0

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

type SecretsCommand added in v0.38.0

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

func (*SecretsCommand) CobraCommand added in v0.38.0

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

func (*SecretsCommand) Name added in v0.38.0

func (cmd *SecretsCommand) Name() string

func (*SecretsCommand) Values added in v0.38.0

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

type SecretsDeleteCommand added in v0.38.0

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

func (*SecretsDeleteCommand) CobraCommand added in v0.38.0

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

func (*SecretsDeleteCommand) Name added in v0.38.0

func (cmd *SecretsDeleteCommand) Name() string

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

func (*SecretsDeleteCommand) Values added in v0.38.0

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

type SecretsGetCmdValues added in v0.38.0

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

type SecretsGetCommand added in v0.38.0

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

func (*SecretsGetCommand) CobraCommand added in v0.38.0

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

func (*SecretsGetCommand) Name added in v0.38.0

func (cmd *SecretsGetCommand) Name() string

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

func (*SecretsGetCommand) Values added in v0.38.0

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

type SecretsSetCmdValues added in v0.38.0

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

type SecretsSetCommand added in v0.38.0

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

func (*SecretsSetCommand) CobraCommand added in v0.38.0

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

func (*SecretsSetCommand) Name added in v0.38.0

func (cmd *SecretsSetCommand) Name() string

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

func (*SecretsSetCommand) Values added in v0.38.0

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

type StreamsCmdValues added in v0.41.0

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

type StreamsCommand added in v0.41.0

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

func (*StreamsCommand) CobraCommand added in v0.41.0

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

func (*StreamsCommand) Name added in v0.41.0

func (cmd *StreamsCommand) Name() string

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

func (*StreamsCommand) Values added in v0.41.0

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

type StreamsDeleteCommand added in v0.41.0

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

Objective: Allow user to do this:

streams delete

func (*StreamsDeleteCommand) CobraCommand added in v0.41.0

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

func (*StreamsDeleteCommand) Name added in v0.41.0

func (cmd *StreamsDeleteCommand) Name() string

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

func (*StreamsDeleteCommand) Values added in v0.41.0

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

type StreamsGetCmdValues added in v0.41.0

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

type StreamsGetCommand added in v0.41.0

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

Objective: Allow user to do this:

streams get

func (*StreamsGetCommand) CobraCommand added in v0.41.0

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

func (*StreamsGetCommand) Name added in v0.41.0

func (cmd *StreamsGetCommand) Name() string

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

func (*StreamsGetCommand) Values added in v0.41.0

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

type UsersCmdValues added in v0.37.0

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

type UsersCommand added in v0.37.0

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

func (*UsersCommand) CobraCommand added in v0.37.0

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

func (*UsersCommand) Name added in v0.37.0

func (cmd *UsersCommand) Name() string

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

func (*UsersCommand) Values added in v0.37.0

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

type UsersDeleteCommand added in v0.38.0

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

Objective: Allow user to do this:

users delete

func (*UsersDeleteCommand) CobraCommand added in v0.38.0

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

func (*UsersDeleteCommand) Name added in v0.38.0

func (cmd *UsersDeleteCommand) Name() string

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

func (*UsersDeleteCommand) Values added in v0.38.0

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

type UsersGetCommand added in v0.37.0

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

Objective: Allow user to do this:

users get

func (*UsersGetCommand) CobraCommand added in v0.37.0

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

func (*UsersGetCommand) Name added in v0.37.0

func (cmd *UsersGetCommand) Name() string

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

func (*UsersGetCommand) Values added in v0.37.0

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

type UsersSetCmdValues added in v0.40.0

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

type UsersSetCommand added in v0.40.0

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

func (*UsersSetCommand) CobraCommand added in v0.40.0

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

func (*UsersSetCommand) Name added in v0.40.0

func (cmd *UsersSetCommand) Name() string

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

func (*UsersSetCommand) Values added in v0.40.0

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

Jump to

Keyboard shortcuts

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