state

package module
v0.0.0-...-cc2015d Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FunctionState

type FunctionState struct {
	Container     string // TO DO: Solve Openwhisk autoscaling problem
	Quotas        int64
	DesiredQuotas int64
	Requests      RequestsInfo
}

Struct for tracking function container/s state from inside watcher.

func NewFunctionState

func NewFunctionState(container string) *FunctionState

type RequestsInfo

type RequestsInfo struct {
	Current uint64
	Active  map[uint64]int64
}

Jump to

Keyboard shortcuts

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