Documentation
¶
Index ¶
- func ApplyPatch(patchType sharedpatch.PatchType, input []byte, patchContent []byte) ([]byte, error)
- func ApplyPatchFile(input []byte, patch sharedpatch.SpecPatch) ([]byte, error)
- func NewContentPatch(patchType sharedpatch.PatchType, content interface{}) (sharedpatch.SpecPatch, error)
- func ValidatePatch(patchType sharedpatch.PatchType, patchContent []byte) error
- func ValidatePatchFile(patchType string, patchFile string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyPatch ¶
func ApplyPatchFile ¶
func ApplyPatchFile(input []byte, patch sharedpatch.SpecPatch) ([]byte, error)
func NewContentPatch ¶
func NewContentPatch(patchType sharedpatch.PatchType, content interface{}) (sharedpatch.SpecPatch, error)
func ValidatePatch ¶
func ValidatePatch(patchType sharedpatch.PatchType, patchContent []byte) error
func ValidatePatchFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.