juju: github.com/juju/juju/apiserver/facades/client/imagemetadatamanager Index | Files

package imagemetadatamanager

import "github.com/juju/juju/apiserver/facades/client/imagemetadatamanager"


Package Files

metadata.go state.go

type API Uses

type API struct {
    // contains filtered or unexported fields

API is the concrete implementation of the api end point for loud image metadata manipulations.

func NewAPI Uses

func NewAPI(
    st *state.State,
    resources facade.Resources,
    authorizer facade.Authorizer,
) (*API, error)

NewAPI returns a new cloud image metadata API facade.

func (*API) Delete Uses

func (api *API) Delete(images params.MetadataImageIds) (params.ErrorResults, error)

Delete deletes cloud image metadata for given image ids. It supports bulk calls.

func (*API) List Uses

func (api *API) List(filter params.ImageMetadataFilter) (params.ListCloudImageMetadataResult, error)

List returns all found cloud image metadata that satisfy given filter. Returned list contains metadata ordered by priority.

func (*API) Save Uses

func (api *API) Save(metadata params.MetadataSaveParams) (params.ErrorResults, error)

Save stores given cloud image metadata. It supports bulk calls.

type Model Uses

type Model interface {
    CloudRegion() string

Package imagemetadatamanager imports 14 packages (graph) and is imported by 4 packages. Updated 2020-07-22. Refresh now. Tools for package owners.