yamlReader

package
v1.0.48 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadImportYamlContent added in v1.0.46

func ReadImportYamlContent(uxBlocks uxBlock.UxBlocks, importYamlPath string, workingDir string) ([]byte, error)

func ReadImportYamlContentFromStdin added in v1.0.46

func ReadImportYamlContentFromStdin(uxBlocks uxBlock.UxBlocks) ([]byte, error)

func ReadZeropsYamlContent added in v1.0.46

func ReadZeropsYamlContent(uxBlocks uxBlock.UxBlocks, selectedWorkingDir string, selectedZeropsYamlPath string, opts ...ReadZeropsYamlOption) ([]byte, error)

ReadZeropsYamlContent WARN: reads and caches zerops.yaml at first call, all other calls will use cache only

func ReadZeropsYamlSetups added in v1.0.46

func ReadZeropsYamlSetups(in []byte) ([]string, error)

Types

type ReadZeropsYamlOption added in v1.0.46

type ReadZeropsYamlOption gn.Option[readZeropsYaml]

func WithReturnErrOnZeropsYamlNotFound added in v1.0.46

func WithReturnErrOnZeropsYamlNotFound(b bool) ReadZeropsYamlOption

type Setup added in v1.0.46

type Setup struct {
	Setup string `yaml:"setup"`
}

type ZeropsYaml added in v1.0.46

type ZeropsYaml struct {
	Zerops []Setup `yaml:"zerops"`
}

Jump to

Keyboard shortcuts

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