hooks

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequireResourceStateOrOrig

func RequireResourceStateOrOrig(ctx context.Context, apiVersion string, source Source, callee Callee, orig, state any) (err error)

Types

type Callee

type Callee uint8
const (
	CalleeCreate Callee = iota
	CalleeUpdate
	CalleeRead
	CalleeDelete
)

type Source

type Source uint8
const (
	SourceData Source = iota
	SourceResource
)

Jump to

Keyboard shortcuts

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