cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2017 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exec

type Exec struct {
	clientcmd.ServiceCommand

	GetClient GetClient
	CmdRunner boshsys.CmdRunner
	FS        boshsys.FileSystem

	Opts []string `long:"opts" description:"Options to pass through to SSH"`

	Args ExecArgs `positional-args:"true" optional:"true"`
}

func (Exec) Execute

func (c Exec) Execute(args []string) error

type ExecArgs

type ExecArgs struct {
	Host string `positional-arg-name:"HOST"`
}

type GetClient

type GetClient func(string) (*svchttpclient.Client, error)

type SignPublicKey

type SignPublicKey struct {
	clientcmd.ServiceCommand

	GetClient GetClient
	FS        boshsys.FileSystem

	Args SignPublicKeyArgs `positional-args:"true" required:"true"`
}

func (SignPublicKey) Execute

func (c SignPublicKey) Execute(args []string) error

type SignPublicKeyArgs

type SignPublicKeyArgs struct {
	Path string `positional-arg-name:"PATH"`
}

Jump to

Keyboard shortcuts

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