Documentation ¶
Overview ¶
Package provider defines interface for obtaining instances of objects that we commonly use in all the modules. This pattern is useful to make our modules more flexible, as they don't take concrete objects but interfaces, which can be mocked, replaced, etc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client provides a *cb.DevClient instance. Note that this is an operation that can fail, therefore, we have a function that panics and another one that returns the error.
type ConfigAndClient ¶
ConfigAndClient provides both provider.Config and provider.Client.
Click to show internal directories.
Click to hide internal directories.