package
Version:
v0.2.8
Opens a new window with list of versions in this module.
Published: Dec 11, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 298
Opens a new window with list of known importers.
Documentation
¶
Helper is a utility for ensuring the proper Patching of resources
and their status
func NewHelper(resource runtime.Object, crClient client.Client) (*Helper, error)
NewHelper returns an initialized Helper
func (h *Helper) Patch(ctx context.Context, resource runtime.Object) error
Patch will attempt to patch the given resource and its status
Source Files
¶
Click to show internal directories.
Click to hide internal directories.