manager

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandStringRunes

func RandStringRunes(n int) string

RandStringRunes returns the fix length string.

Types

type Manager

type Manager struct {
	Backend     backend.Interface
	S2IClient   s2i.Interface
	Interpreter interpreter.Interface
}

Manager is the type for the manager.

func New

func New(Backend backend.Interface, S2IClient s2i.Interface, Interpreter interpreter.Interface) *Manager

New creates a new Manager.

func (Manager) Execute

func (m Manager) Execute(code string) (*types.Job, error)

Execute executes the code.

func (Manager) GetImage

func (m Manager) GetImage(code string, parameter *types.Parameter) (string, error)

GetImage gets the image by the given code.

Jump to

Keyboard shortcuts

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