yamlpatch

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindToolNode

func FindToolNode(toolSequenceNode *yaml.Node, name string) *yaml.Node

func FindToolVersionWantNode

func FindToolVersionWantNode(toolsNode *yaml.Node, toolName string) *yaml.Node

func FindToolsSequenceNode

func FindToolsSequenceNode(node *yaml.Node) *yaml.Node

func GetYamlNode

func GetYamlNode(s any) (*yaml.Node, error)

func Write

func Write(path string, patcher Patcher) error

Types

type Patcher

type Patcher interface {
	PatchYaml(node *yaml.Node) error
}

Jump to

Keyboard shortcuts

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