Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Patcher ¶
type Patcher interface {
Create(new runtime.Object, applyFn func(runtime.Object) error) ([]byte, error)
Apply(original, patch []byte, gvk schema.GroupVersionKind) ([]byte, error)
ApplyOnFile(filePath string, patch []byte, gvk schema.GroupVersionKind) error
}
func NewPatcher ¶
func NewPatcher(s serializer.Serializer) Patcher
Click to show internal directories.
Click to hide internal directories.