instance

package
v0.0.0-...-ec8d692 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeManager

type FakeManager struct {
	mock.Mock
}

FakeManager is an autogenerated mock type for the Manager type

func (*FakeManager) Count

func (_m *FakeManager) Count(ctx context.Context, query *q.Query) (int64, error)

Count provides a mock function with given fields: ctx, query

func (*FakeManager) Delete

func (_m *FakeManager) Delete(ctx context.Context, id int64) error

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

func (*FakeManager) Get

func (_m *FakeManager) Get(ctx context.Context, id int64) (*provider.Instance, error)

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

func (*FakeManager) GetByName

func (_m *FakeManager) GetByName(ctx context.Context, name string) (*provider.Instance, error)

GetByName provides a mock function with given fields: ctx, name

func (*FakeManager) List

func (_m *FakeManager) List(ctx context.Context, query *q.Query) ([]*provider.Instance, error)

List provides a mock function with given fields: ctx, query

func (*FakeManager) Save

func (_m *FakeManager) Save(ctx context.Context, inst *provider.Instance) (int64, error)

Save provides a mock function with given fields: ctx, inst

func (*FakeManager) Update

func (_m *FakeManager) Update(ctx context.Context, inst *provider.Instance, props ...string) error

Update provides a mock function with given fields: ctx, inst, props

Jump to

Keyboard shortcuts

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