Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeProjectId ¶
func ExitOnError ¶
func FileExists ¶
func IsWritable ¶
Types ¶
type Agent ¶
func NewSshAgentClient ¶
func NewSshAgentClient() Agent
type Command ¶
type Command interface { Run() error RunDir(string) error RunDirWithArgs(string, ...string) error RunWithArgs(...string) error SetArgs(...string) AppendArg(string) }
func NewCommand ¶
type CommandImpl ¶
type CommandImpl struct { Command // contains filtered or unexported fields }
func (CommandImpl) Run ¶
func (cmd CommandImpl) Run() error
func (CommandImpl) RunDir ¶
func (cmd CommandImpl) RunDir(dir string) error
func (CommandImpl) RunDirWithArgs ¶
func (cmd CommandImpl) RunDirWithArgs(dir string, args ...string) error
func (CommandImpl) RunWithArgs ¶
func (cmd CommandImpl) RunWithArgs(args ...string) error
type KeyPair ¶
type KeyPair struct { RsaKey *rsa.PrivateKey PublicKey ssh.PublicKey }
func NewKeyPair ¶
func NewKeyPair() KeyPair
func (KeyPair) GetPrivateKey ¶
func (KeyPair) GetPublicKey ¶
func (KeyPair) WritePrivateKey ¶
func (KeyPair) WritePublicKey ¶
func (KeyPair) WritePublicPem ¶
Click to show internal directories.
Click to hide internal directories.