mocks

package
v2.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager added in v2.3.0

func NewManager(t mockConstructorTestingTNewManager) *Manager

NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Manager) GetReceivedShare

GetReceivedShare provides a mock function with given fields: ctx, ref

func (*Manager) GetShare

GetShare provides a mock function with given fields: ctx, ref

func (*Manager) ListReceivedShares

func (_m *Manager) ListReceivedShares(ctx context.Context, filters []*collaborationv1beta1.Filter) ([]*collaborationv1beta1.ReceivedShare, error)

ListReceivedShares provides a mock function with given fields: ctx, filters

func (*Manager) ListShares

func (_m *Manager) ListShares(ctx context.Context, filters []*collaborationv1beta1.Filter) ([]*collaborationv1beta1.Share, error)

ListShares provides a mock function with given fields: ctx, filters

func (*Manager) Share

Share provides a mock function with given fields: ctx, md, g

func (*Manager) Unshare

Unshare provides a mock function with given fields: ctx, ref

func (*Manager) UpdateReceivedShare

UpdateReceivedShare provides a mock function with given fields: ctx, _a1, fieldMask

func (*Manager) UpdateShare

UpdateShare provides a mock function with given fields: ctx, ref, p, updated, fieldMask

Jump to

Keyboard shortcuts

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