Documentation ¶
Index ¶
Constants ¶
View Source
const ErrCodeAPICreation = "APICreationError"
ErrCodeAPICreation ...
View Source
const ErrCodeResourceServiceInstanceDoesnotExist = "ResourceServiceInstanceDoesnotExist"
ErrCodeResourceServiceInstanceDoesnotExist ...
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateServiceInstanceRequest ¶
type CreateServiceInstanceRequest struct { Name string `json:"name"` ServicePlanID string `json:"resource_plan_id"` ResourceGroupID string `json:"resource_group_id"` Crn string `json:"crn,omitempty"` Tags []string `json:"tags,omitempty"` Parameters map[string]interface{} `json:"parameters,omitempty"` TargetCrn string `json:"target_crn"` }
type GenericPaginatedResourcesHandler ¶
type GenericPaginatedResourcesHandler struct {
// contains filtered or unexported fields
}
func NewRCPaginatedResources ¶
func NewRCPaginatedResources(resource interface{}) GenericPaginatedResourcesHandler
type ResourceControllerAPIV2 ¶
type ResourceControllerAPIV2 interface {
ResourceServiceInstanceV2() ResourceServiceInstanceRepository
}
ResourceControllerAPIV2 is the resource client ...
type ResourceServiceInstanceRepository ¶
type ResourceServiceInstanceRepository interface { ListInstances(query ServiceInstanceQuery) ([]models.ServiceInstanceV2, error) GetInstance(serviceInstanceID string) (models.ServiceInstanceV2, error) }
ResourceServiceInstanceQuery ...
type ServiceInstanceQuery ¶
Click to show internal directories.
Click to hide internal directories.