luci: go.chromium.org/luci/luci_notify/testutil Index | Files

package testutil

import "go.chromium.org/luci/luci_notify/testutil"

Index

Package Files

config.go

func LoadProjectConfig Uses

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 Uses

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

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

func ParseSettings Uses

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

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

Package testutil imports 5 packages (graph). Updated 2018-08-21. Refresh now. Tools for package owners.