Back to godoc.org

Package testutil

v0.0.0-...-1557bcf
Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module: github.com/luci/luci-go

Index

func LoadProjectConfig

func LoadProjectConfig(filename string) (*notifyConfig.ProjectConfig, error)

LoadProjectConfig returns a luci-notify configuration from api/config/testdata by filename (without extension). It does NOT validate the configuration.

func ParseProjectConfig

func ParseProjectConfig(config string) (*notifyConfig.ProjectConfig, error)

ParseProjectConfig parses a luci-notify configuration from a string. It does NOT validate the configuration.

func ParseSettings

func ParseSettings(config string) (*notifyConfig.Settings, error)

ParseSettings parses a luci-notify service configuration from a string. It does NOT validate the configuration.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier