mocks

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 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 Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) Delete

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

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

func (*Service) Get

func (_m *Service) Get(ctx context.Context, id string, password []byte) (*keystore.KeyPair, error)

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

func (*Service) List

func (_m *Service) List(ctx context.Context, start int64, end int64) ([]string, error)

List provides a mock function with given fields: ctx, start, end

func (*Service) Ping

func (_m *Service) Ping(ctx context.Context) error

Ping provides a mock function with given fields: ctx

func (*Service) Store

func (_m *Service) Store(ctx context.Context, id string, password []byte, kp *keystore.KeyPair) error

Store provides a mock function with given fields: ctx, id, password, kp

func (*Service) UpdateID

func (_m *Service) UpdateID(ctx context.Context, oldID string, newID string) error

UpdateID provides a mock function with given fields: ctx, oldID, newID

func (*Service) UpdatePassword

func (_m *Service) UpdatePassword(ctx context.Context, id string, oldPassword []byte, newPassword []byte) error

UpdatePassword provides a mock function with given fields: ctx, id, oldPassword, newPassword

Jump to

Keyboard shortcuts

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