command

package
v0.0.0-...-0b46cb8 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2025 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseCommand

type BaseCommand struct {
	Debug            bool
	OutputCurlString bool
	Raw              bool
	UI               cli.Ui
}

BaseCommand ...

func (*BaseCommand) DoCommand

func (c *BaseCommand) DoCommand(method string, u *url.URL) (int, []byte)

DoCommand will either execute a Request or print the curl command, return code for Command.Run()

type CreateCommand

type CreateCommand struct {
	*BaseCommand
}

CreateCommand ...

func (*CreateCommand) Help

func (c *CreateCommand) Help() string

Help ...

func (*CreateCommand) Run

func (c *CreateCommand) Run(args []string) int

Run ...

func (*CreateCommand) Synopsis

func (c *CreateCommand) Synopsis() string

Synopsis ...

type CreateListenerCommand

type CreateListenerCommand struct {
	*BaseCommand
}

CreateListenerCommand ...

func (*CreateListenerCommand) Help

func (c *CreateListenerCommand) Help() string

Help ...

func (*CreateListenerCommand) Run

func (c *CreateListenerCommand) Run(args []string) int

Run ...

func (*CreateListenerCommand) Synopsis

func (c *CreateListenerCommand) Synopsis() string

Synopsis ...

type CreateUserCommand

type CreateUserCommand struct {
	*BaseCommand
}

CreateUserCommand ...

func (*CreateUserCommand) Help

func (c *CreateUserCommand) Help() string

Help ...

func (*CreateUserCommand) Run

func (c *CreateUserCommand) Run(args []string) int

Run ...

func (*CreateUserCommand) Synopsis

func (c *CreateUserCommand) Synopsis() string

Synopsis ...

type DeleteCommand

type DeleteCommand struct {
	*BaseCommand
}

DeleteCommand ...

func (*DeleteCommand) Help

func (c *DeleteCommand) Help() string

Help ...

func (*DeleteCommand) Run

func (c *DeleteCommand) Run(args []string) int

Run ...

func (*DeleteCommand) Synopsis

func (c *DeleteCommand) Synopsis() string

Synopsis ...

type DeleteListenerCommand

type DeleteListenerCommand struct {
	*BaseCommand
}

DeleteListenerCommand ...

func (*DeleteListenerCommand) Help

func (c *DeleteListenerCommand) Help() string

Help ...

func (*DeleteListenerCommand) Run

func (c *DeleteListenerCommand) Run(args []string) int

Run ...

func (*DeleteListenerCommand) Synopsis

func (c *DeleteListenerCommand) Synopsis() string

Synopsis ...

type DeleteUserCommand

type DeleteUserCommand struct {
	*BaseCommand
}

DeleteUserCommand ...

func (*DeleteUserCommand) Help

func (c *DeleteUserCommand) Help() string

Help ...

func (*DeleteUserCommand) Run

func (c *DeleteUserCommand) Run(args []string) int

Run ...

func (*DeleteUserCommand) Synopsis

func (c *DeleteUserCommand) Synopsis() string

Synopsis ...

type GetAccessTokenCommand

type GetAccessTokenCommand struct {
	*BaseCommand
}

GetAccessTokenCommand ...

func (*GetAccessTokenCommand) Help

func (c *GetAccessTokenCommand) Help() string

Help ...

func (*GetAccessTokenCommand) Run

func (c *GetAccessTokenCommand) Run(args []string) int

Run ...

func (*GetAccessTokenCommand) Synopsis

func (c *GetAccessTokenCommand) Synopsis() string

Synopsis ...

type GetCommand

type GetCommand struct {
	*BaseCommand
}

GetCommand ...

func (*GetCommand) Help

func (c *GetCommand) Help() string

Help ...

func (*GetCommand) Run

func (c *GetCommand) Run(args []string) int

Run ...

func (*GetCommand) Synopsis

func (c *GetCommand) Synopsis() string

Synopsis ...

type GetDataSourcesCommand

type GetDataSourcesCommand struct {
	*BaseCommand
}

GetDataSourcesCommand ...

func (*GetDataSourcesCommand) Help

func (c *GetDataSourcesCommand) Help() string

Help ...

func (*GetDataSourcesCommand) Run

func (c *GetDataSourcesCommand) Run(args []string) int

Run ...

func (*GetDataSourcesCommand) Synopsis

func (c *GetDataSourcesCommand) Synopsis() string

Synopsis ...

type GetDbCommand

type GetDbCommand struct {
	*BaseCommand
}

GetDbCommand ...

func (*GetDbCommand) Help

func (c *GetDbCommand) Help() string

Help ...

func (*GetDbCommand) Run

func (c *GetDbCommand) Run(args []string) int

Run ...

func (*GetDbCommand) Synopsis

func (c *GetDbCommand) Synopsis() string

Synopsis ...

type GetListenerTypesCommand

type GetListenerTypesCommand struct {
	*BaseCommand
}

GetListenerTypesCommand ...

func (*GetListenerTypesCommand) Help

func (c *GetListenerTypesCommand) Help() string

Help ...

func (*GetListenerTypesCommand) Run

func (c *GetListenerTypesCommand) Run(args []string) int

Run ...

func (*GetListenerTypesCommand) Synopsis

func (c *GetListenerTypesCommand) Synopsis() string

Synopsis ...

type GetListenersCommand

type GetListenersCommand struct {
	*BaseCommand
}

GetListenersCommand ...

func (*GetListenersCommand) Help

func (c *GetListenersCommand) Help() string

Help ...

func (*GetListenersCommand) Run

func (c *GetListenersCommand) Run(args []string) int

Run ...

func (*GetListenersCommand) Synopsis

func (c *GetListenersCommand) Synopsis() string

Synopsis ...

type GetStateCommand

type GetStateCommand struct {
	*BaseCommand
}

GetStateCommand ...

func (*GetStateCommand) Help

func (c *GetStateCommand) Help() string

Help ...

func (*GetStateCommand) Run

func (c *GetStateCommand) Run(args []string) int

Run ...

func (*GetStateCommand) Synopsis

func (c *GetStateCommand) Synopsis() string

Synopsis ...

type GetUsersCommand

type GetUsersCommand struct {
	*BaseCommand
}

GetUsersCommand ...

func (*GetUsersCommand) Help

func (c *GetUsersCommand) Help() string

Help ...

func (*GetUsersCommand) Run

func (c *GetUsersCommand) Run(args []string) int

Run ...

func (*GetUsersCommand) Synopsis

func (c *GetUsersCommand) Synopsis() string

Synopsis ...

type LoginCommand

type LoginCommand struct {
	*BaseCommand
}

LoginCommand ...

func (*LoginCommand) Help

func (c *LoginCommand) Help() string

Help ...

func (*LoginCommand) Run

func (c *LoginCommand) Run(args []string) int

Run ...

func (*LoginCommand) Synopsis

func (c *LoginCommand) Synopsis() string

Synopsis ...

type TriggerCommand

type TriggerCommand struct {
	*BaseCommand
}

TriggerCommand ...

func (*TriggerCommand) Help

func (c *TriggerCommand) Help() string

Help ...

func (*TriggerCommand) Run

func (c *TriggerCommand) Run(args []string) int

Run ...

func (*TriggerCommand) Synopsis

func (c *TriggerCommand) Synopsis() string

Synopsis ...

type TriggerListenerCommand

type TriggerListenerCommand struct {
	*BaseCommand
}

TriggerListenerCommand ...

func (*TriggerListenerCommand) Help

func (c *TriggerListenerCommand) Help() string

Help ...

func (*TriggerListenerCommand) Run

func (c *TriggerListenerCommand) Run(args []string) int

Run ...

func (*TriggerListenerCommand) Synopsis

func (c *TriggerListenerCommand) Synopsis() string

Synopsis ...

type UpdateCommand

type UpdateCommand struct {
	*BaseCommand
}

UpdateCommand ...

func (*UpdateCommand) Help

func (c *UpdateCommand) Help() string

Help ...

func (*UpdateCommand) Run

func (c *UpdateCommand) Run(args []string) int

Run ...

func (*UpdateCommand) Synopsis

func (c *UpdateCommand) Synopsis() string

Synopsis ...

type UpdateListenerCommand

type UpdateListenerCommand struct {
	*BaseCommand
}

UpdateListenerCommand ...

func (*UpdateListenerCommand) Help

func (c *UpdateListenerCommand) Help() string

Help ...

func (*UpdateListenerCommand) Run

func (c *UpdateListenerCommand) Run(args []string) int

Run ...

func (*UpdateListenerCommand) Synopsis

func (c *UpdateListenerCommand) Synopsis() string

Synopsis ...

type UpdateUserCommand

type UpdateUserCommand struct {
	*BaseCommand
}

UpdateUserCommand ...

func (*UpdateUserCommand) Help

func (c *UpdateUserCommand) Help() string

Help ...

func (*UpdateUserCommand) Run

func (c *UpdateUserCommand) Run(args []string) int

Run ...

func (*UpdateUserCommand) Synopsis

func (c *UpdateUserCommand) Synopsis() string

Synopsis ...

Jump to

Keyboard shortcuts

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