Documentation
¶
Index ¶
Constants ¶
View Source
const ( LinePatchModifierName string = "line-patch" YAMLPathVersionModifierName string = "yaml-path-version-patch" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContentReader ¶
type ContentWriter ¶
type LinePatch ¶
type LinePatch struct {
// contains filtered or unexported fields
}
func (LinePatch) Apply ¶
func (p LinePatch) Apply(cr ContentReader, cw ContentWriter, newValue string) error
type Patcher ¶
type Patcher interface { Apply(cr ContentReader, cw ContentWriter, newValue string) error Validate() error }
type YAMLPathPatch ¶
type YAMLPathPatch struct {
// contains filtered or unexported fields
}
func (YAMLPathPatch) Apply ¶
func (p YAMLPathPatch) Apply(cn ContentReader, cw ContentWriter, newValue string) error
func (YAMLPathPatch) Validate ¶
func (p YAMLPathPatch) Validate() error
Click to show internal directories.
Click to hide internal directories.