yamltoresources

package
v0.0.0-...-17a060d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 12 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