juju: github.com/wallyworld/juju/api/imagemetadatamanager Index | Files

package imagemetadatamanager

import "github.com/wallyworld/juju/api/imagemetadatamanager"


Package Files


type Client Uses

type Client struct {
    // contains filtered or unexported fields

Client provides access to cloud image metadata. It is used to find, save and update image metadata.

func NewClient Uses

func NewClient(st base.APICallCloser) *Client

NewClient returns a new metadata client.

func (*Client) Delete Uses

func (c *Client) Delete(imageId string) error

Delete removes image metadata for given image id from stored metadata.

func (*Client) List Uses

func (c *Client) List(
    stream, region string,
    series, arches []string,
    virtType, rootStorageType string,
) ([]params.CloudImageMetadata, error)

List returns image metadata that matches filter. Empty filter will return all image metadata.

func (*Client) Save Uses

func (c *Client) Save(metadata []params.CloudImageMetadata) error

Save saves specified image metadata. Supports bulk saves for scenarios like cloud image metadata caching at bootstrap.

Package imagemetadatamanager imports 3 packages (graph). Updated 2018-07-03. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).