Documentation
¶
Index ¶
- type Client
- type Session
- func (_m *Session) Create(ctx context.Context, provider service.ProviderModel) (common.ID, error)
- func (_m *Session) Delete(ctx context.Context, id common.ID) (service.DepCheckDeletionResult, error)
- func (_m *Session) Get(ctx context.Context, id common.ID) (*service.ProviderModel, error)
- func (_m *Session) List(ctx context.Context) ([]service.ProviderModel, error)
- func (_m *Session) Update(ctx context.Context, provider service.ProviderModel) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
type Session ¶
Session is an autogenerated mock type for the Session type
func NewSession ¶
func NewSession(t mockConstructorTestingTNewSession) *Session
NewSession creates a new instance of Session. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Session) Delete ¶
func (_m *Session) Delete(ctx context.Context, id common.ID) (service.DepCheckDeletionResult, error)
Delete provides a mock function with given fields: ctx, id
Click to show internal directories.
Click to hide internal directories.