Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CredentialRequest ¶
type CredentialRequest struct {
// id
// Required: true
ID manifold.ID `json:"id"`
// resource id
// Required: true
ResourceID manifold.ID `json:"resource_id"`
}
CredentialRequest The information sent along to a Provider to provision a set of Credentials for a resource.
swagger:model CredentialRequest
type CredentialResponse ¶
type CredentialResponse struct {
// All key values must be strings and valid environment variable names.
//
// Names must match this expression: `^[A-Z][A-Z0-9_]{0,127}$`
//
// Required: true
Credentials map[string]string `json:"credentials"`
// message
Message Message `json:"message,omitempty"`
}
CredentialResponse The response expected back from a Provider to provision a set of Credentials for a resource.
swagger:model CredentialResponse
type RegionSlug ¶
type RegionSlug string
RegionSlug Combination of the cloud platform and location to provision this resource within.
swagger:model RegionSlug
type ResourceMeasures ¶ added in v0.13.0
type ResourceMeasures struct {
// measures
// Required: true
Measures map[string]int64 `json:"measures"`
// period end
// Required: true
PeriodEnd *strfmt.DateTime `json:"period_end"`
// period start
// Required: true
PeriodStart *strfmt.DateTime `json:"period_start"`
// resource id
// Required: true
ResourceID manifold.ID `json:"resource_id"`
}
ResourceMeasures Object describing a resource's feature usage for a billing period.
swagger:model ResourceMeasures
type ResourcePlanChangeRequest ¶
type ResourcePlanChangeRequest struct {
// features
Features manifold.FeatureMap `json:"features,omitempty"`
// plan
// Required: true
Plan manifold.Label `json:"plan"`
}
ResourcePlanChangeRequest The information sent along to a Provider to request a resources' plan be changed.
swagger:model ResourcePlanChangeRequest
type ResourceRequest ¶
type ResourceRequest struct {
// features
Features manifold.FeatureMap `json:"features,omitempty"`
// id
// Required: true
ID manifold.ID `json:"id"`
// plan
// Required: true
Plan manifold.Label `json:"plan"`
// platform id
PlatformID *manifold.ID `json:"platform_id,omitempty"`
// product
// Required: true
Product manifold.Label `json:"product"`
// region
// Required: true
Region RegionSlug `json:"region"`
}
ResourceRequest The information sent along to a Provider to provision a resource.
swagger:model ResourceRequest
type SuccessMessage ¶
type SuccessMessage struct {
// message
// Required: true
Message Message `json:"message"`
}
SuccessMessage Object used to display a message back to the user after a change has been made to a Resource.
swagger:model SuccessMessage