Documentation ¶
Index ¶
- func ConvertDocument(node *yaml.Node) *yaml.Node
- func DefaultNode(node *yaml.Node) *yaml.Node
- func ExecuteCommand(name string, args ...string) ([]byte, error)
- func ExecuteCommandStdin(stdin io.Reader, name string, args ...string) ([]byte, error)
- func IsDifferent(first *yaml.Node, second *yaml.Node) bool
- func Loader(options LoaderOptions) func(success bool)
- func MarshalYaml(node *yaml.Node) ([]byte, error)
- func MergeRelativePath(base, relative string) string
- func MergeStrings(lines ...string) string
- func MergeYaml(defaultValues *yaml.Node, chartValues *yaml.Node) *yaml.Node
- func NodeIsZero(n *yaml.Node) bool
- func OrStr(a, b string) string
- func ParseLocalChartYaml(chart *types.HelmChart) error
- func ParseYaml(data []byte) (*yaml.Node, error)
- func Prompt[T comparable](p PromptMessage[T]) (string, error)
- func PruneYaml(defaultValues *yaml.Node, chartValues *yaml.Node) *yaml.Node
- func ReadFile(path string) ([]byte, error)
- func ReadManifest(cwd string) error
- func RemoveYamlComments(node *yaml.Node) *yaml.Node
- func Selector(short string, labelLong string, help bool, search bool, ...) int
- func Sum256(data []byte) []byte
- func ToDocument(node *yaml.Node) *yaml.Node
- func TraverseYamlNode(node *yaml.Node, f func(node *yaml.Node))
- func WriteManifest(cwd string)
- type LoaderOptions
- type PromptMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertDocument ¶
func ConvertDocument(node *yaml.Node) *yaml.Node
func DefaultNode ¶
func DefaultNode(node *yaml.Node) *yaml.Node
func ExecuteCommandStdin ¶
func IsDifferent ¶
func IsDifferent(first *yaml.Node, second *yaml.Node) bool
func Loader ¶
func Loader(options LoaderOptions) func(success bool)
func MarshalYaml ¶
func MergeRelativePath ¶
func MergeStrings ¶
func NodeIsZero ¶
func NodeIsZero(n *yaml.Node) bool
func ParseLocalChartYaml ¶
func Prompt ¶
func Prompt[T comparable](p PromptMessage[T]) (string, error)
func ReadManifest ¶
func RemoveYamlComments ¶
func RemoveYamlComments(node *yaml.Node) *yaml.Node
func ToDocument ¶
func ToDocument(node *yaml.Node) *yaml.Node
func TraverseYamlNode ¶
func TraverseYamlNode(node *yaml.Node, f func(node *yaml.Node))
func WriteManifest ¶
func WriteManifest(cwd string)
Types ¶
type LoaderOptions ¶
type PromptMessage ¶
type PromptMessage[T comparable] struct { Label string IsConfirm bool HideEntered bool Validate types.Validator[T] Default string Templates *promptui.PromptTemplates }
Click to show internal directories.
Click to hide internal directories.