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

      func (c *Client) DeleteImage(kind, series, arch string) error

        DeleteImage deletes the specified image.

        func (*Client) ListImages

        func (c *Client) ListImages(kind, series, arch string) ([]params.ImageMetadata, error)

          ListImages returns the images.

          Source Files