Documentation
¶
Index ¶
- type Agent
- func (a Agent) Add(key sshagent.AddedKey) error
- func (a Agent) List() ([]*sshagent.Key, error)
- func (a Agent) Listen(socket net.Listener) error
- func (a Agent) Lock(passphrase []byte) error
- func (a Agent) Remove(key ssh.PublicKey) error
- func (a Agent) RemoveAll() error
- func (a Agent) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (a Agent) Signers() ([]ssh.Signer, error)
- func (a Agent) Unlock(passphrase []byte) error
- type ExecuteOptions
- type Service
- func (s Service) Execute(opts ExecuteOptions) (int, error)
- func (s Service) GetClient(skipAuthRetry bool) (svchttpclient.Client, error)
- func (s Service) Name() string
- func (s Service) NewAgent(parent sshagent.Agent) Agent
- func (s Service) SignPublicKey(opts SignPublicKeyOptions) ([]byte, *api.SignPublicKeyTargetResponse, error)
- type ServiceFactory
- type SignPublicKeyOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶ added in v0.8.0
type Agent struct {
// contains filtered or unexported fields
}
type ExecuteOptions ¶ added in v0.8.0
type Service ¶
type Service struct { svc.ServiceType // contains filtered or unexported fields }
func NewService ¶
func (Service) GetClient ¶
func (s Service) GetClient(skipAuthRetry bool) (svchttpclient.Client, error)
func (Service) SignPublicKey ¶ added in v0.8.0
func (s Service) SignPublicKey(opts SignPublicKeyOptions) ([]byte, *api.SignPublicKeyTargetResponse, error)
type ServiceFactory ¶ added in v0.8.0
type ServiceFactory struct { svc.ServiceType // contains filtered or unexported fields }
func NewServiceFactory ¶ added in v0.8.0
func NewServiceFactory(runtime client.Runtime, fs boshsys.FileSystem, cmdRunner boshsys.CmdRunner) ServiceFactory
func (ServiceFactory) New ¶ added in v0.8.0
func (sf ServiceFactory) New(name string) *Service
type SignPublicKeyOptions ¶ added in v0.8.0
Source Files
¶
Click to show internal directories.
Click to hide internal directories.