config

package
v0.2.9-beta.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultFileName = ".chainsaw.yaml"
)

Variables

View Source
var DefaultConfiguration = sync.OnceValues(func() (*v1alpha2.Configuration, error) { return defaultConfiguration(nil) })

Functions

func Load

func Load(path string) (*v1alpha2.Configuration, error)

func LoadBytes

func LoadBytes(content []byte) (*v1alpha2.Configuration, error)

func Parse

func Parse(content []byte) ([]*v1alpha2.Configuration, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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