agent

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: May 31, 2023 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAgentCmd

func NewAgentCmd(flags *flags.GlobalFlags) *cobra.Command

NewAgentCmd returns a new root command

func NewContainerTunnelCmd

func NewContainerTunnelCmd(flags *flags.GlobalFlags) *cobra.Command

NewContainerTunnelCmd creates a new command

func NewDaemonCmd

func NewDaemonCmd(flags *flags.GlobalFlags) *cobra.Command

NewDaemonCmd creates a new command

func NewDockerCredentialsCmd

func NewDockerCredentialsCmd(flags *flags.GlobalFlags) *cobra.Command

NewDockerCredentialsCmd creates a new command

func NewGitCredentialsCmd

func NewGitCredentialsCmd(flags *flags.GlobalFlags) *cobra.Command

NewGitCredentialsCmd creates a new command

Types

type ContainerTunnelCmd

type ContainerTunnelCmd struct {
	*flags.GlobalFlags

	Token         string
	WorkspaceInfo string
	User          string

	TrackActivity  bool
	StartContainer bool
}

ContainerTunnelCmd holds the ws-tunnel cmd flags

func (*ContainerTunnelCmd) Run

func (cmd *ContainerTunnelCmd) Run(_ *cobra.Command, _ []string) error

Run runs the command logic

type DaemonCmd

type DaemonCmd struct {
	*flags.GlobalFlags
}

DaemonCmd holds the cmd flags

func (*DaemonCmd) Run

func (cmd *DaemonCmd) Run(ctx context.Context) error

type DockerCredentialsCmd

type DockerCredentialsCmd struct {
	*flags.GlobalFlags

	Port int
}

DockerCredentialsCmd holds the cmd flags

func (*DockerCredentialsCmd) Run

func (cmd *DockerCredentialsCmd) Run(ctx context.Context, args []string) error

type GitCredentialsCmd

type GitCredentialsCmd struct {
	*flags.GlobalFlags

	Port int
}

GitCredentialsCmd holds the cmd flags

func (*GitCredentialsCmd) Run

func (cmd *GitCredentialsCmd) Run(ctx context.Context, args []string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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