yaml

package
v0.11.0-nightly.20240612 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const LatestVersion = v2.LatestVersion

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration interface {
	ToConfig() []config.Pipeline
}

Configuration is parsed by a yaml Parser.

type Configurations

type Configurations []Configuration

func (Configurations) ToConfig

func (c Configurations) ToConfig() []config.Pipeline

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

func NewParser

func NewParser(logger log.CtxLogger) *Parser

func (*Parser) Parse

func (p *Parser) Parse(ctx context.Context, reader io.Reader) ([]config.Pipeline, error)

func (*Parser) ParseConfigurations

func (p *Parser) ParseConfigurations(ctx context.Context, reader io.Reader) (Configurations, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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