runtime

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ReadFile(path string) string
}

type Details

type Details struct {
	FunctionName    string
	FunctionFile    string
	FunctionHandler string
	RuntimeAddress  string
	CodeDirectory   string
	ResultingImage  string
}

type GoGit

type GoGit struct {
	*Location
	*git.Repository
}

func (*GoGit) ReadFile

func (client *GoGit) ReadFile(path string) string

type Location

type Location struct {
	Address   string
	Reference string
}

type Repository

type Repository struct {
	Client
	*Location
}

func NewRepository

func NewRepository(address string) *Repository

type Runtime

type Runtime struct {
	Details
}

func New

func New(details Details) Runtime

func (Runtime) Dockerfile

func (runtime Runtime) Dockerfile() string

func (Runtime) Slug

func (runtime Runtime) Slug() string

type Template

type Template struct {
	*Repository
	Filename string
	// contains filtered or unexported fields
}

func NewTemplate

func NewTemplate(details Details) *Template

func (*Template) Dockerfile

func (template *Template) Dockerfile() string

Jump to

Keyboard shortcuts

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