agent

package
v0.0.0-...-65247a5 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2014 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

The machine package implements the API interfaces used by the machine agent.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	*common.PasswordChanger
	// contains filtered or unexported fields
}

API implements the API provided to an agent.

func NewAPI

func NewAPI(st *state.State, auth common.Authorizer) (*API, error)

NewAPI returns an object implementing an agent API with the given authorizer representing the currently logged in client.

func (*API) GetEntities

func (api *API) GetEntities(args params.Entities) params.AgentGetEntitiesResults

Jump to

Keyboard shortcuts

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