Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(mockResponses map[string]aurestclientapi.ParsedResponse, mockErrors map[string]error) aurestclientapi.Client
Types ¶
type MockImpl ¶
type MockImpl struct { // Now is exposed so tests can fixate the time by overwriting this field Now func() time.Time // contains filtered or unexported fields }
func (*MockImpl) Perform ¶
func (c *MockImpl) Perform(ctx context.Context, method string, requestUrl string, requestBody interface{}, response *aurestclientapi.ParsedResponse) error
Click to show internal directories.
Click to hide internal directories.