infrastructure

package
v0.0.0-...-3e6e532 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IaasAsset

type IaasAsset interface {
	GetRouterTemplate() (*string, error)
	GetSourceTemplate() (*string, error)
}

IaasAsset is an interface to retrieve a required IaaS template

type LambdaRouterCreator

type LambdaRouterCreator struct {
	Executor cf.Executor
	Template IaasAsset
}

LambdaRouterCreator is the struct implementation of the sources.RouterCreator

func (LambdaRouterCreator) CreateRouters

func (lambda LambdaRouterCreator) CreateRouters(source *handlers.Source) error

CreateRouters creates Lambda Routers based on provided clise of Routes

func (LambdaRouterCreator) CreateRoutersWithSource

func (lambda LambdaRouterCreator) CreateRoutersWithSource(source *handlers.Source) error

CreateRoutersWithSource creates Lambda Routers and SQS Queue based on provided clise of Routes

Jump to

Keyboard shortcuts

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