types

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: MIT Imports: 3 Imported by: 3

Documentation

Overview

Package types contains definitions for public types

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapConfig

type BootstrapConfig struct {
	AssignPublicIP               string
	EnableFunctionReadinessProbe bool
	ImagePullPolicy              string
	Port                         int
	ReadTimeout                  time.Duration
	SubnetIDs                    string
	SecurityGroupID              string
	WriteTimeout                 time.Duration
	DefaultAWSRegion             string
}

BootstrapConfig for the process.

type DeployHandlerConfig

type DeployHandlerConfig struct {
	AssignPublicIP  string
	SecurityGroupID string
	SubnetIDs       string
	VpcID           string
	Region          string
}

DeployHandlerConfig specify options for Deployments

type HasEnv

type HasEnv interface {
	Getenv(key string) string
}

HasEnv provides interface for os.Getenv

type OsEnv

type OsEnv struct {
}

OsEnv implements interface to wrap os.Getenv

func (OsEnv) Getenv

func (OsEnv) Getenv(key string) string

Getenv wraps os.Getenv

type ReadConfig

type ReadConfig struct {
}

ReadConfig constitutes config from env variables

func (ReadConfig) Read

func (ReadConfig) Read(hasEnv HasEnv) BootstrapConfig

Read fetches config from environmental variables.

Jump to

Keyboard shortcuts

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