Versions in this module Expand all Collapse all v1 v1.0.0 Nov 28, 2017 Changes in this version + type Authorization struct + AuthorizationID string + CharmURL string + CreatedOn time.Time + CredentialsID string + EnvironmentUUID string + PlanDefinition string + PlanID string + PlanURL string + ServiceName string + User string + func (a *Authorization) UnmarshalJSON(data []byte) error + type AuthorizationQuery struct + AuthorizationID string + CharmURL string + EnvironmentUUID string + IncludePlan bool + PlanURL string + ServiceName string + StatementPeriod string + User string + func (a *AuthorizationQuery) UnmarshalJSON(data []byte) error + type AuthorizationRequest struct + CharmURL string + EnvironmentUUID string + PlanURL string + ServiceName string + func (ar *AuthorizationRequest) UnmarshalJSON(data []byte) error + func (s AuthorizationRequest) Validate() error + type CharmPlanDetail struct + Attached Event + CharmURL string + Default bool + EffectiveSince *time.Time + Events []Event + type Event struct + Time time.Time + Type string + User string + type Plan struct + CreatedOn string + Definition string + EffectiveTime *time.Time + Id string + Model interface{} + PlanDescription string + PlanPrice string + Released bool + URL string + func (p Plan) Validate() error + type PlanActive struct + Active bool + type PlanDetails struct + Charms []CharmPlanDetail + Created Event + Plan Plan + Released *Event + type PlanID struct + Revision int + func ParsePlanID(id string) (*PlanID, error) + func ParsePlanIDWithOptionalRevision(id string) (*PlanID, error) + func (p PlanID) String() string + func (p PlanID) Validate() error + type PlanURL struct + Name string + Owner string + func ParsePlanURL(url string) (*PlanURL, error) + func (p PlanURL) Revision(rev int) PlanID + func (p PlanURL) String() string + func (p PlanURL) Validate() error + type ResellerAuthorization struct + Application string + ApplicationOwner string + ApplicationUser string + AuthUUID string + CharmURL string + CreatedOn time.Time + Credentials []byte + Plan string + PlanDefinition string + PlanID string + type ResellerAuthorizationQuery struct + Application string + AuthUUID string + IncludePlan bool + Reseller string + StatementPeriod string + User string + func (q ResellerAuthorizationQuery) Validate() error + type ResellerAuthorizationRequest struct + Application string + ApplicationOwner string + ApplicationUser string + CharmURL string + Plan string + func (r ResellerAuthorizationRequest) Validate() error + type ServicePlanResponse struct + AvailablePlans map[string]Plan + CurrentPlan string + type UUIDResponse struct + UUID string