v2

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceType voyager.ResourceType = "EC2Compute"

	MaximumServiceNameLength = 26
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConstructComputeParametersFunction

type ConstructComputeParametersFunction func(
	origSpec *runtime.RawExtension,
	iamRoleRef, iamInstProfRef smith_v1.Reference,
	microsServiceName string, stateContext wiringplugin.StateContext) (*runtime.RawExtension, bool, bool, error)

ec2 v2 plan wiring will implement this

type Docker

type Docker struct {
	EnvVars map[string]string `json:"envVars"`
}

type StateComputeSpec

type StateComputeSpec struct {
	RenameEnvVar map[string]string `json:"rename,omitempty"`
}

type WiringPlugin

type WiringPlugin struct {
	DeveloperRole   func(location voyager.Location) []string
	ManagedPolicies func(location voyager.Location) []string
	VPC             func(location voyager.Location) *oap.VPCEnvironment
}

func New

func New(developerRole func(location voyager.Location) []string,
	managedPolicies func(location voyager.Location) []string,
	vpc func(location voyager.Location) *oap.VPCEnvironment) *WiringPlugin

func (*WiringPlugin) WireUp

Jump to

Keyboard shortcuts

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