Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOTELCollectorVersion string
Functions ¶
This section is empty.
Types ¶
type BaseComputeConfig ¶ added in v1.16.0
type BaseComputeConfig struct {
Type string `yaml:"type"`
}
Config shared by all compute types
type BaseConfig ¶ added in v1.16.0
type ComputeUnit ¶
type Config ¶
type Config struct {
BaseConfig `yaml:",inline"`
ConcreteHandlers []*HandlerConfig `yaml:"-"`
}
func ConfigFromProjectPath ¶ added in v1.4.0
ConfigFromProjectPath - loads the config nitric.yaml file from the project path, defaults to the current working directory
type Function ¶
type Function struct {
// The location of the function handler
Handler string `yaml:"handler"`
ComputeUnit `yaml:",inline"`
// The number of workers this function contains
WorkerCount int
}
type HandlerConfig ¶ added in v1.16.0
type HandlerConfig struct {
BaseComputeConfig
Match string
}
Click to show internal directories.
Click to hide internal directories.