jobs

package
v0.0.0-...-b7fbcf1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2014 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateKeysRequest

type CreateKeysRequest struct {
	*ExtendedCreateKeysData
}

func (*CreateKeysRequest) Execute

func (j *CreateKeysRequest) Execute(resp jobs.JobResponse)

type ExtendedCreateKeysData

type ExtendedCreateKeysData struct {
	Keys        []KeyData
	Permissions []KeyPermission
}

func (*ExtendedCreateKeysData) Check

func (d *ExtendedCreateKeysData) Check() error

type KeyData

type KeyData struct {
	Type  string
	Value utils.RawMessage
}

func NewKeyData

func NewKeyData(t string, value interface{}) (*KeyData, error)

func (*KeyData) Check

func (k *KeyData) Check() error

func (*KeyData) Create

func (k *KeyData) Create() (ssh.KeyLocator, error)

type KeyFailure

type KeyFailure struct {
	Index  int
	Key    *KeyData
	Reason error
}

type KeyPermission

type KeyPermission struct {
	Type string
	With *utils.RawMessage
}

func NewKeyPermission

func NewKeyPermission(t string, value interface{}) (*KeyPermission, error)

func (*KeyPermission) Check

func (p *KeyPermission) Check() error

func (*KeyPermission) Create

func (k *KeyPermission) Create(locator ssh.KeyLocator) error

type KeyStructuredFailure

type KeyStructuredFailure struct {
	Index   int    `json:"index"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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