kubernetes: github.com/erimatnor/kubernetes/pkg/util/strategicpatch Index | Files

package strategicpatch

import "github.com/erimatnor/kubernetes/pkg/util/strategicpatch"

Index

Package Files

patch.go

func StrategicMergePatchData Uses

func StrategicMergePatchData(original, patch []byte, dataStruct interface{}) ([]byte, error)

An alternate implementation of JSON Merge Patch (https://tools.ietf.org/html/rfc7386) which supports the ability to annotate certain fields with metadata that indicates whether the elements of JSON lists should be merged or replaced.

For more information, see the PATCH section of docs/api-conventions.md.

type SortableSliceOfMaps Uses

type SortableSliceOfMaps struct {
    // contains filtered or unexported fields
}

func (SortableSliceOfMaps) Len Uses

func (ss SortableSliceOfMaps) Len() int

func (SortableSliceOfMaps) Less Uses

func (ss SortableSliceOfMaps) Less(i, j int) bool

func (SortableSliceOfMaps) Swap Uses

func (ss SortableSliceOfMaps) Swap(i, j int)

type SortableSliceOfScalars Uses

type SortableSliceOfScalars struct {
    // contains filtered or unexported fields
}

func (SortableSliceOfScalars) Len Uses

func (ss SortableSliceOfScalars) Len() int

func (SortableSliceOfScalars) Less Uses

func (ss SortableSliceOfScalars) Less(i, j int) bool

func (SortableSliceOfScalars) Swap Uses

func (ss SortableSliceOfScalars) Swap(i, j int)

Package strategicpatch imports 5 packages (graph). Updated 2017-05-11. Refresh now. Tools for package owners.