yamltoresources

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEmptyConfig = errors.New("config file is empty")

Functions

func Parse

func Parse(filename string) (*resources.ResourceCollection, error)

Types

type Transformer

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

func NewTransformer

func NewTransformer(yamlConfig *config.Config) *Transformer

func (*Transformer) Transform

func (t *Transformer) Transform() (*resources.ResourceCollection, error)

Jump to

Keyboard shortcuts

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