Documentation ¶
Index ¶
- type BrokerError
- type Call
- type CallListResponse
- type CallSchedule
- type CallScheduleListResponse
- type Catalog
- type Context
- type CreateServiceBindingResponse
- type CreateServiceInstanceResponse
- type Credentials
- type DeleteServiceInstanceResponse
- type DummyResponse
- type GenericV3Response
- type History
- type HistoryListResponse
- type HttpResponse
- type Job
- type JobListResponse
- type JobSchedule
- type JobScheduleListResponse
- type LastOperation
- type Parameters
- type SchedulableCall
- type SchedulableJob
- type ScheduleRequest
- type Service
- type ServiceInstance
- type ServicePlan
- type TaskCreateResponse
- type TaskListResponse
- type TokenKey
- type TokenKeys
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerError ¶
type CallListResponse ¶
type CallListResponse struct {
Calls []Call
}
type CallSchedule ¶
type CallScheduleListResponse ¶
type CallScheduleListResponse struct {
CallSchedules []CallSchedule
}
type Context ¶
type Context struct { Platform string `json:"platform"` OrgName string `json:"organization_name"` SpaceName string `json:"space_name"` InstanceName string `json:"instance_name"` }
Context The context inside the ServiceInstance and ServiceBinding request
type CreateServiceBindingResponse ¶
type CreateServiceBindingResponse struct { // SyslogDrainUrl string `json:"syslog_drain_url, omitempty"` Credentials *Credentials `json:"credentials"` }
type CreateServiceInstanceResponse ¶
type CreateServiceInstanceResponse struct { ServiceId string `json:"service_id"` PlanId string `json:"plan_id"` DashboardUrl string `json:"dashboard_url"` LastOperation *LastOperation `json:"last_operation,omitempty"` }
type Credentials ¶
type Credentials struct {
DummyCreds string `json:"dummycreds"`
}
type DeleteServiceInstanceResponse ¶
type DeleteServiceInstanceResponse struct {
Result string `json:"result,omitempty"`
}
type DummyResponse ¶
type DummyResponse struct {
DummyField string
}
type GenericV3Response ¶
type History ¶
type HistoryListResponse ¶
type HistoryListResponse struct {
Histories []History
}
type HttpResponse ¶
type HttpResponse struct {
Message string `json:"message"`
}
type JobListResponse ¶
type JobListResponse struct {
Jobs []Job
}
type JobSchedule ¶
type JobScheduleListResponse ¶
type JobScheduleListResponse struct {
JobSchedules []JobSchedule
}
type LastOperation ¶
type Parameters ¶
type Parameters struct { }
Parameters These are the potential parameters that can be given on the -c parameter of "cf create-service"
type SchedulableCall ¶
type SchedulableJob ¶
type ScheduleRequest ¶
type Service ¶
type Service struct { Name string `json:"name"` Id string `json:"id"` Description string `json:"description"` Bindable bool `json:"bindable"` MaxPollInterval int `json:"maximum_polling_duration"` 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 ServiceInstance ¶
type ServicePlan ¶
type TaskCreateResponse ¶
type TaskCreateResponse struct { GUID string `json:"guid"` SequenceID int `json:"sequence_id"` Name string `json:"name"` Command string `json:"command"` State string `json:"state"` MemoryInMb int `json:"memory_in_mb"` DiskInMb int `json:"disk_in_mb"` Result struct { FailureReason interface{} `json:"failure_reason"` } `json:"result"` DropletGUID string `json:"droplet_guid"` Metadata struct { Labels struct { } `json:"labels"` Annotations struct { } `json:"annotations"` } `json:"metadata"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Relationships struct { App struct { Data struct { GUID string `json:"guid"` } `json:"data"` } `json:"app"` } `json:"relationships"` Links struct { Self struct { Href string `json:"href"` } `json:"self"` App struct { Href string `json:"href"` } `json:"app"` Cancel struct { Href string `json:"href"` Method string `json:"method"` } `json:"cancel"` Droplet struct { Href string `json:"href"` } `json:"droplet"` } `json:"links"` }
type TaskListResponse ¶
type TaskListResponse struct { Pagination struct { TotalResults int `json:"total_results"` TotalPages int `json:"total_pages"` First struct { Href string `json:"href"` } `json:"first"` Last struct { Href string `json:"href"` } `json:"last"` Next struct { Href string `json:"href"` } `json:"next"` Previous interface{} `json:"previous"` } `json:"pagination"` Resources []struct { GUID string `json:"guid"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` SequenceID int `json:"sequence_id"` Name string `json:"name"` State string `json:"state"` MemoryInMb int `json:"memory_in_mb"` DiskInMb int `json:"disk_in_mb"` Result struct { FailureReason string `json:"failure_reason"` } `json:"result"` DropletGUID string `json:"droplet_guid"` Relationships struct { App struct { Data struct { GUID string `json:"guid"` } `json:"data"` } `json:"app"` } `json:"relationships"` Metadata struct { Labels struct { } `json:"labels"` Annotations struct { } `json:"annotations"` } `json:"metadata"` Links struct { Self struct { Href string `json:"href"` } `json:"self"` App struct { Href string `json:"href"` } `json:"app"` Cancel struct { Href string `json:"href"` Method string `json:"method"` } `json:"cancel"` Droplet struct { Href string `json:"href"` } `json:"droplet"` } `json:"links"` } `json:"resources"` }
Click to show internal directories.
Click to hide internal directories.