Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImageManager

type ImageManager interface {
	ListImages(arg params.ImageFilterParams) (params.ListImageResult, error)
	DeleteImages(arg params.ImageFilterParams) (params.ErrorResults, error)
}

ImageManager defines the methods on the imagemanager API end point.

type ImageManagerAPI

type ImageManagerAPI struct {
	// contains filtered or unexported fields
}

ImageManagerAPI implements the ImageManager interface and is the concrete implementation of the api end point.

func NewImageManagerAPI

func NewImageManagerAPI(st *state.State, resources facade.Resources, authorizer facade.Authorizer) (*ImageManagerAPI, error)

NewImageManagerAPI creates a new server-side imagemanager API end point.

func (*ImageManagerAPI) DeleteImages

DeleteImages deletes the images matching the specified filter.

func (*ImageManagerAPI) ListImages

ListImages returns images matching the specified filter.