Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WithTracer = base.WithTracer
WithTracer returns an Option that configures the Client to use the supplied tracer.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides access to a worker's client facade.
func NewClient ¶
NewClient returns a version of the state that provides functionality required by the worker.
func (*Client) AuthorisedKeys ¶
AuthorisedKeys returns the authorised ssh keys for the machine specified by machineTag.
func (*Client) WatchAuthorisedKeys ¶
func (c *Client) WatchAuthorisedKeys(ctx context.Context, tag names.MachineTag) (watcher.NotifyWatcher, error)
WatchAuthorisedKeys returns a notify watcher that looks for changes in the authorised ssh keys for the machine specified by machineTag.
Click to show internal directories.
Click to hide internal directories.