Documentation
¶
Index ¶
- type CFApplication
- type CFApplicationEnvJSON
- type CFBindingCredentials
- type CFCredentials
- type CFEnvironmentResponse
- type CFResource
- type CFResourceEntity
- type CFResourceMetadata
- type CFResponse
- type CFService
- type CFServiceBinding
- type CFServiceInstance
- type CFServiceKey
- type CFServicePlan
- type CFSystemEnvJSON
- type CFUAA
- type HTML5App
- type HTML5ApplicationFile
- type HTML5ApplicationFileMetadata
- type HTML5AppsRepo
- type HTML5ListApplicationFilesResponse
- type HTML5ListApplicationsResponse
- type UAAResponse
- type XSUAA
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFApplication ¶
CFApplication Cloud Foundry application
type CFApplicationEnvJSON ¶
type CFApplicationEnvJSON struct {
VCAPApplication map[string]interface{} `json:"VCAP_APPLICATION,omitempty"`
}
CFApplicationEnvJSON struct
type CFBindingCredentials ¶
type CFBindingCredentials struct {
Endpoints *map[string]string `json:"endpoints,omitempty"`
HTML5AppsRepo *HTML5AppsRepo `json:"html5-apps-repo,omitempty"`
SAPCloudService *string `json:"sap.cloud.service,omitempty"`
UAA *XSUAA `json:"uaa,omitempty"`
}
CFBindingCredentials struct
type CFCredentials ¶
type CFCredentials struct {
Vendor *string `json:"vendor,omitempty"`
URI *string `json:"uri,omitempty"`
GrantType *string `json:"grant_type,omitempty"`
SapCloudService *string `json:"sap.cloud.service,omitempty"`
UAA *CFUAA `json:"uaa,omitempty"`
}
CFCredentials Cloud Foundry response resource entity credentials
type CFEnvironmentResponse ¶
type CFEnvironmentResponse struct {
SystemEnvJSON CFSystemEnvJSON `json:"system_env_json,omitempty"`
ApplicationEnvJSON CFApplicationEnvJSON `json:"application_env_json,omitempty"`
}
CFEnvironmentResponse response of 'cf env'
type CFResource ¶
type CFResource struct {
// metadata
Metadata *CFResourceMetadata `json:"metadata,omitempty"`
// entity
Entity *CFResourceEntity `json:"entity,omitempty"`
}
CFResource Cloud Foundry response resource
type CFResourceEntity ¶
type CFResourceEntity struct {
// name
Name *string `json:"name,omitempty"`
// label
Label *string `json:"label,omitempty"`
// credentials
Credentials *CFCredentials `json:"credentials,omitempty"`
}
CFResourceEntity Cloud Foundry response resource entity
type CFResourceMetadata ¶
type CFResourceMetadata struct {
// created at
CreatedAt string `json:"created_at,omitempty"`
// guid
GUID string `json:"guid,omitempty"`
// updated at
UpdatedAt string `json:"updated_at,omitempty"`
// url
URL string `json:"url,omitempty"`
}
CFResourceMetadata Cloud Foundry response resource metadata
type CFResponse ¶
type CFResponse struct {
TotalResults int `json:"total_results"`
TotalPages int `json:"total_pages"`
PrevURL *string `json:"prev_url,omitempty"`
NextURL *string `json:"next_url,omitempty"`
Resources []CFResource `json:"resources"`
}
CFResponse Cloud Foundry response
type CFServiceBinding ¶
type CFServiceBinding struct {
Name string `json:"name,omitempty"`
Plan string `json:"plan,omitempty"`
Credentials CFBindingCredentials `json:"credentials,omitempty"`
}
CFServiceBinding struct
type CFServiceInstance ¶
CFServiceInstance Cloud Foundry service instance
type CFServiceKey ¶
type CFServiceKey struct {
Name string
GUID string
Credentials CFCredentials
}
CFServiceKey Cloud Foundry service
type CFServicePlan ¶
CFServicePlan Cloud Foundry service plan
type CFSystemEnvJSON ¶
type CFSystemEnvJSON struct {
VCAPServices map[string][]CFServiceBinding `json:"VCAP_SERVICES,omitempty"`
}
CFSystemEnvJSON struct
type CFUAA ¶
type CFUAA struct {
ClientID string `json:"clientid,omitempty"`
ClientSecret string `json:"clientsecret,omitempty"`
URL string `json:"url,omitempty"`
}
CFUAA Cloud Foundry XSUAA credentials
type HTML5App ¶
type HTML5App struct {
ApplicationName string `json:"applicationName,omitempty"`
ApplicationVersion string `json:"applicationVersion,omitempty"`
ChangedOn string `json:"changedOn,omitempty"`
CreatedOn string `json:"createdOn,omitempty"`
IsDefault bool `json:"isDefault,omitempty"`
}
HTML5App HTML5 application
type HTML5ApplicationFile ¶
type HTML5ApplicationFile struct {
FilePath string `json:"filePath,omitempty"`
FileMetadata HTML5ApplicationFileMetadata
}
HTML5ApplicationFile application file
type HTML5ApplicationFileMetadata ¶
HTML5ApplicationFileMetadata application file metadata
type HTML5AppsRepo ¶
type HTML5AppsRepo struct {
AppHostID string `json:"app_host_id,omitempty"`
}
HTML5AppsRepo struct
type HTML5ListApplicationFilesResponse ¶
type HTML5ListApplicationFilesResponse []HTML5ApplicationFile
HTML5ListApplicationFilesResponse response of list application files API
type HTML5ListApplicationsResponse ¶
type HTML5ListApplicationsResponse []HTML5App
HTML5ListApplicationsResponse response of list applications API