patch

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

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

Helper is a utility for ensuring the proper Patching of resources and their status

func NewHelper

func NewHelper(resource runtime.Object, crClient client.Client) (*Helper, error)

NewHelper returns an initialized Helper

func (*Helper) Patch

func (h *Helper) Patch(ctx context.Context, resource runtime.Object) error

Patch will attempt to patch the given resource and its status

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL