catalog

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	Services []*Service `json:"services"`
}

func Load added in v0.3.0

func Load(input io.Reader) (*Catalog, error)

func (*Catalog) GetService added in v0.9.0

func (c *Catalog) GetService(id string) (*Service, error)

type ComposeConfig added in v0.9.0

type ComposeConfig struct {
	Units        int    `json:"units"`
	DatabaseType string `json:"databaseType"`
}

type Plan added in v0.9.0

type Plan struct {
	Compose ComposeConfig `json:"compose"`
	brokerapi.ServicePlan
}

type Service

type Service struct {
	Plans []*Plan `json:"plans"`
	brokerapi.Service
}

func (*Service) GetPlan

func (s *Service) GetPlan(id string) (*Plan, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL