instance

package
v0.0.2-0...-b38e615 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

instance registration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegisterRequest

type RegisterRequest struct {
	Env        string
	Provider   string
	Account    string
	Region     string
	InstanceID string
	Role       string
	Policies   []string

	RemoteAddr string
}

type RegisterResponse

type RegisterResponse struct {
	TempToken string
}

type Registrar

type Registrar struct {
	// contains filtered or unexported fields
}

func NewRegistrar

func NewRegistrar(vaultClient interfaces.VaultClient) *Registrar

func (*Registrar) Register

func (self *Registrar) Register(req *RegisterRequest) (*RegisterResponse, error)

type ValidationError

type ValidationError struct {
	// contains filtered or unexported fields
}

func (*ValidationError) Error

func (self *ValidationError) Error() string

Jump to

Keyboard shortcuts

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