Discover Packages
github.com/0xdones/helm
pkg
strvals
package
Version:
v2.4.1+incompatible
Opens a new window with list of versions in this module.
Published: May 3, 2017
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package strvals provides tools for working with strval lines.
Helm supports a compressed format for YAML settings which we call strvals.
The format is roughly like this:
name=value,topname.subname=value
The above is equivalent to the YAML document
name: value
topname:
subname: value
This package provides a parser and utilities for converting the strvals format
to other formats.
ErrNotList indicates that a non-list was treated as a list.
Parse parses a set line.
A set line is of the form name1=value1,name2=value2
ParseInto parses a strvals line and merges the result into dest.
If the strval string has a key that exists in dest, it overwrites the
dest version.
ToYAML takes a string of arguments and converts to a YAML document.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.