Documentation ¶
Overview ¶
Package charms provides a client for accessing the charms API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationCharmInfoClient ¶
type ApplicationCharmInfoClient struct {
// contains filtered or unexported fields
}
ApplicationCharmInfoClient allows access to the ApplicationCharmInfo endpoint.
func NewApplicationCharmInfoClient ¶
func NewApplicationCharmInfoClient(facade base.FacadeCaller) *ApplicationCharmInfoClient
NewApplicationCharmInfoClient creates a new client for accessing the ApplicationCharmInfo API.
func (*ApplicationCharmInfoClient) ApplicationCharmInfo ¶
func (c *ApplicationCharmInfoClient) ApplicationCharmInfo(appName string) (*CharmInfo, error)
ApplicationCharmInfo returns information about an application's charm.
type CharmInfo ¶
type CharmInfo struct { Revision int URL string Config *charm.Config Meta *charm.Meta Actions *charm.Actions Metrics *charm.Metrics Manifest *charm.Manifest LXDProfile *charm.LXDProfile }
CharmInfo holds information about a charm.
type CharmInfoClient ¶
type CharmInfoClient struct {
// contains filtered or unexported fields
}
CharmInfoClient allows access to the charms API endpoint.
func NewCharmInfoClient ¶
func NewCharmInfoClient(facade base.FacadeCaller) *CharmInfoClient
NewCharmInfoClient creates a new client for accessing the charms API.
Click to show internal directories.
Click to hide internal directories.