controller
package controller
import controller "chantico/internal/patch"
Index
Constants
const ( PatchResource = iota PatchResourceStatus PatchResourceNone )
Types
type PatchHelper
type PatchHelper struct { // contains filtered or unexported fields }
func Initialize
func Initialize(ctx context.Context, c client.Client, obj client.Object) *PatchHelper
func (*PatchHelper) Patch
func (p *PatchHelper) Patch(patchType PatchType) error
func (*PatchHelper) PatchNone
func (p *PatchHelper) PatchNone() error
func (*PatchHelper) PatchSpec
func (p *PatchHelper) PatchSpec() error
func (*PatchHelper) PatchStatus
func (p *PatchHelper) PatchStatus() error
type PatchType
type PatchType int
type ResultToPatch
type ResultToPatch struct { Result *ctrl.Result PatchType PatchType }