wrapper

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	// CRUD functions for objects.
	CreateObject(ctx context.Context, namespace string, obj interface{}) (interface{}, error)
	DeleteObject(ctx context.Context, name, namespace string) error
	GetObject(ctx context.Context, name, namespace string) (interface{}, error)
	UpdateObject(ctx context.Context, namespace string, obj interface{}) (interface{}, error)

	// Functions for test setup and teardown.
	MustSetup(namespace string)
	MustTeardown(namespace string)

	// Getters and setters.
	Controller() *controller.Controller
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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