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) DeleteID

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

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

func (*Service) ListCertIDs

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

ListCertIDs 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) SendSale

func (_m *Service) SendSale(ctx context.Context, certID string, pk []byte, trzba *eet.TrzbaType) (*eet.OdpovedType, error)

SendSale provides a mock function with given fields: ctx, certID, pk, trzba

func (*Service) StoreCert

func (_m *Service) StoreCert(ctx context.Context, certID string, password []byte, pkcsData []byte, pkcsPassword string) error

StoreCert provides a mock function with given fields: ctx, certID, password, pkcsData, pkcsPassword

func (*Service) UpdateCertID

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

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

func (*Service) UpdateCertPassword

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

UpdateCertPassword 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