crud

package
v0.0.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(mgr Manager, obj client.Object, options ...interface{}) error

func Read

func Read(mgr Manager, key client.ObjectKey, obj client.Object, options ...interface{}) error

Types

type Condition

type Condition func(obj client.Object) bool

type Manager

type Manager interface {
	GetClient() client.Client
	GetContext() context.Context
	GetNamespace() string
	GetScheme() *runtime.Scheme
}

Jump to

Keyboard shortcuts

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