Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { base.ClientFacade // contains filtered or unexported fields }
Client provides access to the imagemanager, used to list/delete images.
func NewClient ¶
func NewClient(st base.APICallCloser) *Client
NewClient returns a new imagemanager client.
func (*Client) DeleteImage ¶
DeleteImage deletes the specified image.
func (*Client) ListImages ¶
func (c *Client) ListImages(kind, series, arch string) ([]params.ImageMetadata, error)
ListImages returns the images.
Click to show internal directories.
Click to hide internal directories.