Documentation ¶
Overview ¶
Package appinfo is responsible for defining REST endpoints which are serving overall information about created and managed resources e.g. Runtimes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceFinder ¶
type InstanceFinder interface {
FindAllJoinedWithOperations(prct ...predicate.Predicate) ([]internal.InstanceWithOperation, error)
}
type OperationStatusDTO ¶
type ResponseWriter ¶
type RuntimeDTO ¶
type RuntimeDTO struct { RuntimeID string `json:"runtimeId"` GlobalAccountID string `json:"globalAccountId"` SubAccountID string `json:"subaccountId"` SubAccountRegion string `json:"subaccountRegion"` ServiceInstanceID string `json:"serviceInstanceId"` ServiceClassID string `json:"serviceClassId"` ServiceClassName string `json:"serviceClassName"` ServicePlanID string `json:"servicePlanId"` ServicePlanName string `json:"servicePlanName"` Status StatusDTO `json:"status"` }
type RuntimeInfoHandler ¶
type RuntimeInfoHandler struct {
// contains filtered or unexported fields
}
func NewRuntimeInfoHandler ¶
func NewRuntimeInfoHandler(instanceFinder InstanceFinder, region string, respWriter ResponseWriter) *RuntimeInfoHandler
func (*RuntimeInfoHandler) ServeHTTP ¶
func (h *RuntimeInfoHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type StatusDTO ¶
type StatusDTO struct { CreatedAt *time.Time `json:"createdAt,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` DeletedAt *time.Time `json:"deletedAt,omitempty"` Provisioning *OperationStatusDTO `json:"provisioning,omitempty"` Deprovisioning *OperationStatusDTO `json:"deprovisioning,omitempty"` }
Click to show internal directories.
Click to hide internal directories.