function

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

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GitHub SCM
	GitHub = "github"
	// GitLab SCM
	GitLab = "gitlab"
)

Variables

This section is empty.

Functions

func Handle

func Handle(req []byte) string

Handle submits the tar to the of-builder then configures an OpenFaaS deployment based upon stack.yml found in the Git repo. Finally starts a rolling deployment of the function.

Types

type CPULimits

type CPULimits struct {
	Limit     string
	Requests  string
	Available bool
}

type FaaSAuth

type FaaSAuth struct {
}

FaaSAuth Authentication type for OpenFaaS

func (*FaaSAuth) Set

func (auth *FaaSAuth) Set(req *http.Request) error

Set add basic authentication to the request

Jump to

Keyboard shortcuts

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