runtimes

package
v0.10.25 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	io.Reader
	Path string
}

File included in function generation

type OsType

type OsType uint8

OsType defines target os in Azure Functions

const (
	Linux OsType = iota
	Windows
)

List of operating systems supported by azure function

type StuccoJS

type StuccoJS struct {
	OsType       OsType
	MajorVersion int
}

StuccoJS runtime

func (StuccoJS) Function

func (s StuccoJS) Function(f types.Function) (files []File, err error)

Function return stucco-js runtime function config

func (StuccoJS) GlobalFiles

func (s StuccoJS) GlobalFiles() ([]File, error)

GlobalFiles returns shared config files for runtime

func (StuccoJS) IgnoreFiles

func (s StuccoJS) IgnoreFiles() []string

IgnoreFiles returns a list of Glob patterns to be ignored while creating runtime bundle

Jump to

Keyboard shortcuts

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