function_util

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FunctionCreate

func FunctionCreate(
	authConfig types.AuthConfig,
	functionDTO quebicFaasTypes.FunctionDTO,
	functionRunTime function_runtime.FunctionRunTime) (string, error)

FunctionCreate create function

func FunctionDeploy

func FunctionDeploy(
	appConfig mgrconfig.AppConfig,
	deployment dep.Deployment,
	messenger quebic_messenger.Messenger,
	function *quebicFaasTypes.Function) (string, error)

FunctionDeploy create-or-update function

func GetFunctionDetails

func GetFunctionDetails(
	appConfig mgrconfig.AppConfig,
	deployment dep.Deployment,
	function quebicFaasTypes.Function) (dep.Details, error)

GetFunctionDetails get function details

func GetFunctionStatus

func GetFunctionStatus(
	appConfig mgrconfig.AppConfig,
	deployment dep.Deployment,
	function quebicFaasTypes.Function) (string, error)

GetFunctionStatus get function current status

func GetServiceID

func GetServiceID(functionID string) string

GetServiceID get function service name

func StopFunction

func StopFunction(
	appConfig mgrconfig.AppConfig,
	deployment dep.Deployment,
	function *quebicFaasTypes.Function) error

StopFunction stop function

Types

This section is empty.

Jump to

Keyboard shortcuts

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