Documentation ¶
Index ¶
- type Client
- func (_m *Client) GetConfig(ctx context.Context, registry string, repository string, configDigest string) (*docker.ImageConfig, error)
- func (_m *Client) GetManifest(ctx context.Context, registry string, repository string, reference string) (*docker.Manifest, error)
- func (_m *Client) ListInstances(ctx context.Context, registry string, repository string) (map[string]*docker.ImageInstance, error)
- func (_m *Client) ListRepositories(ctx context.Context, registry string) ([]string, error)
- func (_m *Client) ListTags(ctx context.Context, registry string, repository string) ([]string, error)
- func (_m *Client) SetTag(ctx context.Context, registry string, repository string, reference string, ...) 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
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) GetConfig ¶
func (_m *Client) GetConfig(ctx context.Context, registry string, repository string, configDigest string) (*docker.ImageConfig, error)
GetConfig provides a mock function with given fields: ctx, registry, repository, configDigest
func (*Client) GetManifest ¶
func (_m *Client) GetManifest(ctx context.Context, registry string, repository string, reference string) (*docker.Manifest, error)
GetManifest provides a mock function with given fields: ctx, registry, repository, reference
func (*Client) ListInstances ¶
func (_m *Client) ListInstances(ctx context.Context, registry string, repository string) (map[string]*docker.ImageInstance, error)
ListInstances provides a mock function with given fields: ctx, registry, repository
func (*Client) ListRepositories ¶
ListRepositories provides a mock function with given fields: ctx, registry
Click to show internal directories.
Click to hide internal directories.