google

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function

type Function struct {
	// contains filtered or unexported fields
}

func (*Function) Description

func (f *Function) Description() string

func (*Function) Handler

func (f *Function) Handler() string

func (*Function) MemorySize

func (f *Function) MemorySize() string

func (*Function) Name

func (f *Function) Name() string

func (*Function) Runtime

func (f *Function) Runtime() string

type Google

type Google struct {
	// contains filtered or unexported fields
}

func New

func New() (*Google, error)

func (*Google) HttpInvocationTriggerStage

func (google *Google) HttpInvocationTriggerStage() syncedtrace.TraceHookType

func (*Google) HttpResult

func (google *Google) HttpResult(sleepTime time.Duration, tr *engine.TraceResult, funcDuration time.Duration, reused bool) (report.Result, error)

func (*Google) Name

func (google *Google) Name() string

func (*Google) NewFunctionRequest

func (google *Google) NewFunctionRequest(stack stack.Stack, function stack.Function, qParams *url.Values, headers *http.Header, body *[]byte) func(uniqueId string) (*http.Request, error)

func (*Google) NewStack

func (google *Google) NewStack(stackPath string) (stack.Stack, error)

type Result

type Result struct {
	// contains filtered or unexported fields
}

func (*Result) ContentTransfer

func (r *Result) ContentTransfer() float64

func (*Result) Duration

func (r *Result) Duration() float64

func (*Result) Id

func (r *Result) Id() uint64

func (*Result) InvocationOverHead

func (r *Result) InvocationOverHead() float64

func (*Result) Reused

func (r *Result) Reused() bool

type Stack

type Stack struct {
	*sls.Stack
}

func (*Stack) ListFunctions

func (s *Stack) ListFunctions() []stack.Function

Jump to

Keyboard shortcuts

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