local

package
v0.0.0-...-2f10389 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Platform

type Platform struct {
	*platform.AbstractPlatform
	// contains filtered or unexported fields
}

func NewPlatform

func NewPlatform(parentLogger nuclio.Logger) (*Platform, error)

NewPlatform instantiates a new local platform

func (*Platform) DeleteFunction

func (p *Platform) DeleteFunction(deleteOptions *platform.DeleteOptions) error

DeleteFunction will delete a previously deployed function

func (*Platform) DeployFunction

func (p *Platform) DeployFunction(deployOptions *platform.DeployOptions) (*platform.DeployResult, error)

DeployFunction will simply run a docker image

func (*Platform) GetDeployRequiresRegistry

func (p *Platform) GetDeployRequiresRegistry() bool

GetDeployRequiresRegistry returns true if a registry is required for deploy, false otherwise

func (*Platform) GetFunctions

func (p *Platform) GetFunctions(getOptions *platform.GetOptions) ([]platform.Function, error)

GetFunctions will return deployed functions

func (*Platform) GetName

func (p *Platform) GetName() string

GetName returns the platform name

func (*Platform) UpdateFunction

func (p *Platform) UpdateFunction(updateOptions *platform.UpdateOptions) error

UpdateFunction will update a previously deployed function

Jump to

Keyboard shortcuts

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