controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 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 Handler

type Handler struct {
	mock.Mock
}

Handler is an autogenerated mock type for the Handler type

func (*Handler) Add

func (_m *Handler) Add(ctx context.Context, obj interface{}) error

Add provides a mock function with given fields: ctx, obj

func (*Handler) Delete

func (_m *Handler) Delete(ctx context.Context, id string) error

Delete provides a mock function with given fields: ctx, id

type ListerWatcher

type ListerWatcher struct {
	mock.Mock
}

ListerWatcher is an autogenerated mock type for the ListerWatcher type

func (*ListerWatcher) List

func (_m *ListerWatcher) List(ctx context.Context) ([]string, error)

List provides a mock function with given fields: ctx

func (*ListerWatcher) Watch

func (_m *ListerWatcher) Watch(ctx context.Context) (<-chan controller.Event, error)

Watch provides a mock function with given fields: ctx

type Storage

type Storage struct {
	mock.Mock
}

Storage is an autogenerated mock type for the Storage type

func (*Storage) Get

func (_m *Storage) Get(ctx context.Context, id string) (interface{}, error)

Get provides a mock function with given fields: ctx, id

Jump to

Keyboard shortcuts

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