Documentation ¶
Index ¶
Constants ¶
View Source
const StartBlockKeyword = "@nuclio."
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigParser ¶
ConfigParser parsers inline configuration in files
type InlineParser ¶
type InlineParser struct {
// contains filtered or unexported fields
}
InlineParser parses comment in code
func (*InlineParser) Parse ¶
func (p *InlineParser) Parse(path string) (map[string]Block, error)
Parse looks for a block starting with a comment character and "@nuclio.". It then adds this to the list of inline configuration blocks. For example:
@nuclio.configure function.yaml: apiVersion: "nuclio.io/v1" kind: "NuclioFunction" spec: runtime: "golang" triggers: http: numWorkers: 8 kind: http
type JarParser ¶
type JarParser struct {
// contains filtered or unexported fields
}
JarParser parses config in Jar files
func NewJarParser ¶
NewJarParser returns a new Jar config parser
Click to show internal directories.
Click to hide internal directories.