model

package
v1.4.1-0...-3bf76e9 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2017 License: MIT Imports: 0 Imported by: 3

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"`
}

Catalog struct

type CreateServiceBindingResponse

type CreateServiceBindingResponse struct {
	Credentials interface{} `json:"credentials"`
}

CreateServiceBindingResponse struct

type CreateServiceInstanceResponse

type CreateServiceInstanceResponse struct {
	DashboardURL string  `json:"dashboard_url"`
	Probability  float64 `json:"probability"`
	Frequency    int     `json:"frequency"`
}

CreateServiceInstanceResponse struct

type Credential

type Credential struct {
	Probability float64 `json:"probability"`
	Frequency   int     `json:"frequency"`
}

Credential struct

type Service

type Service struct {
	Name        string        `json:"name"`
	ID          string        `json:"id"`
	Description string        `json:"description"`
	Bindable    bool          `json:"bindable"`
	Plans       []ServicePlan `json:"plans"`
	Metadata    interface{}   `json:"metadata, omitempty"`
}

Service struct

type ServicePlan

type ServicePlan struct {
	Name        string      `json:"name"`
	ID          string      `json:"id"`
	Description string      `json:"description"`
	Metadata    interface{} `json:"metadata, omitempty"`
	Free        bool        `json:"free, omitempty"`
}

ServicePlan struct

type VCAPApplication

type VCAPApplication struct {
	ApplicationName string   `json:"application_name"`
	ApplicationURIs []string `json:"application_uris"`
	SpaceID         string   `json:"space_id"`
}

VCAPApplication struct

Jump to

Keyboard shortcuts

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