model

package
v0.0.0-...-32fef8a Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2016 License: Apache-2.0 Imports: 0 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"`
}

type CreateLastOperationResponse

type CreateLastOperationResponse struct {
	State       string `json:"state"`
	Description string `json:"description"`
}

type CreateServiceBindingResponse

type CreateServiceBindingResponse struct {
	// SyslogDrainUrl string      `json:"syslog_drain_url, omitempty"`
	Credentials interface{} `json:"credentials"`
}

type CreateServiceInstanceResponse

type CreateServiceInstanceResponse struct {
	DashboardUrl string `json:"dashboard_url"`
}

type Credentials

type Credentials struct {
	StorageAccountName string `json:"storage_account_name"`
	ContainerName      string `json:"container_name"`
	PrimaryAccessKey   string `json:"primary_access_key"`
	SecondaryAccessKey string `json:"secondary_access_key"`
}

type Service

type Service struct {
	Name           string   `json:"name"`
	Id             string   `json:"id"`
	Description    string   `json:"description"`
	Bindable       bool     `json:"bindable"`
	PlanUpdateable bool     `json:"plan_updateable, omitempty"`
	Tags           []string `json:"tags, omitempty"`
	Requires       []string `json:"requires, omitempty"`

	Metadata        interface{}   `json:"metadata, omitempty"`
	Plans           []ServicePlan `json:"plans"`
	DashboardClient interface{}   `json:"dashboard_client"`
}

type ServiceBinding

type ServiceBinding struct {
	Id                string `json:"id"`
	ServiceId         string `json:"service_id"`
	AppId             string `json:"app_id"`
	ServicePlanId     string `json:"service_plan_id"`
	ServiceInstanceId string `json:"service_instance_id"`
	Credentials       Credentials
}

type ServiceInstance

type ServiceInstance struct {
	Id               string      `json:"id"`
	OrganizationGuid string      `json:"organization_guid"`
	PlanId           string      `json:"plan_id"`
	ServiceId        string      `json:"service_id"`
	SpaceGuid        string      `json:"space_guid"`
	Parameters       interface{} `json:"parameters, omitempty"`
}

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

Jump to

Keyboard shortcuts

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