patch

package
v0.0.0-...-05758ac Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetaDataPatch

type MetaDataPatch struct {
	Finalizers []string `json:"finalizers"`
}

type Patch

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

func GetRemoveFinalizersPatch

func GetRemoveFinalizersPatch(original []string, toRemove []string) *Patch

func (*Patch) Data

func (p *Patch) Data(_ client.Object) ([]byte, error)

func (*Patch) Type

func (p *Patch) Type() types.PatchType

type RemoveFinalizerPatch

type RemoveFinalizerPatch struct {
	Meta *MetaDataPatch `json:"metadata,omitempty"`
}

Jump to

Keyboard shortcuts

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