testutil

package
v0.0.0-...-5fcb699 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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