apitypes

package
v0.26.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2017 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSBootstrapRequest

type AWSBootstrapRequest struct {
	Identity      []byte    `json:"identity"`
	Signature     []byte    `json:"signature"`
	ProvisionTime time.Time `json:"provision_time"`

	Machine MachineBootstrap `json:"machine"`
}

AWSBootstrapRequest represents a Bootstrap request from an AWS client

type BootstrapResponse

type BootstrapResponse struct {
	Token  *identity.ID  `json:"token"`
	Secret *base64.Value `json:"secret"`
}

BootstrapResponse represents the Response object returned to Gatekeeper bootstrap request

type MachineBootstrap

type MachineBootstrap struct {
	Name string `json:"name"`
	Org  string `json:"org_id"`
	Team string `json:"team_id"`
}

MachineBootstrap represents a request by a Gatekeeper bootstrap client to create a machine with a given org based on AWS Bootstrap information

Jump to

Keyboard shortcuts

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