Documentation ¶
Overview ¶
Package patch provides a simple wrapper around the strategic merge patch
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StrategicMerge ¶
StrategicMerge is a wrapper around the StrategicMergePatch function that takes in a generic type and returns a generic type.
func StrategicMergePatch ¶
StrategicMergePatch is a wrapper around the strategicpatch.StrategicMergePatch function that takes in a generic type and returns a generic type.
Types ¶
type PatchMetaFromOpenAPI3 ¶ added in v0.5.0
type PatchMetaFromOpenAPI3 struct {
// contains filtered or unexported fields
}
PatchMetaFromOpenAPI3 is a PatchMetaFromOpenAPI3 implementation that uses openapi3.
func NewPatchMetaFromOpenAPI3 ¶ added in v0.5.0
func NewPatchMetaFromOpenAPI3(s rest.Interface) *PatchMetaFromOpenAPI3
NewPatchMetaFromOpenAPI3 creates a new PatchMetaFromOpenAPI3.
func (*PatchMetaFromOpenAPI3) Lookup ¶ added in v0.5.0
func (p *PatchMetaFromOpenAPI3) Lookup(gvr schema.GroupVersionResource) (strategicpatch.LookupPatchMeta, error)
Lookup returns the patch metadata for the given group-version-resource.
Click to show internal directories.
Click to hide internal directories.