Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ComposeCatalog ¶
type ComposeCatalog struct { Catalog Catalog ComposeUnits ComposeUnits }
func (*ComposeCatalog) GetService ¶
func (c *ComposeCatalog) GetService(id string) (*Service, error)
func (*ComposeCatalog) Validate ¶
func (c *ComposeCatalog) Validate() error
type ComposeUnits ¶
type ComposeUnits struct {
Services []Service `json:"services"`
}
type Service ¶
type Service struct { ID string `json:"id"` Name string `json:"name"` Plans []ServicePlan `json:"plans"` }
type ServicePlan ¶
type ServicePlan struct { ID string `json:"id"` Metadata ServicePlanMetadata `json:"metadata,omitempty"` }
type ServicePlanMetadata ¶
type ServicePlanMetadata struct {
Units int `json:"units,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.