Documentation
¶
Overview ¶
Package mocks implement important mocking interface of packer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAssetsClientFactory ¶
func NewAssetsClientFactory(client *Client) assetsclient.Factory
NewAssetsClientFactory returns a mocked assets client factory.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) DownloadReleaseAssets ¶
DownloadReleaseAssets provides a mock function with given fields: ctx, tag, path
type Factory ¶
Factory is an autogenerated mock type for the Factory type
func NewFactory ¶
NewFactory creates a new instance of Factory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.