Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceRelationshipsRepo ¶
type ResourceRelationshipsRepo struct {
// contains filtered or unexported fields
}
func NewResourseRelationshipsRepo ¶
func NewResourseRelationshipsRepo( serviceOfferingRepo ServiceOfferingRepository, serviceBrokerRepo ServiceBrokerRepository, servicePlanRepo ServicePlanRepository, ) *ResourceRelationshipsRepo
func (*ResourceRelationshipsRepo) ListRelatedResources ¶
func (r *ResourceRelationshipsRepo) ListRelatedResources(ctx context.Context, authInfo authorization.Info, relatedResourceType string, resources []Resource) ([]Resource, error)
type ServiceBrokerRepository ¶
type ServiceBrokerRepository interface {
ListServiceBrokers(context.Context, authorization.Info, repositories.ListServiceBrokerMessage) ([]repositories.ServiceBrokerRecord, error)
}
type ServiceOfferingRepository ¶
type ServiceOfferingRepository interface {
ListOfferings(context.Context, authorization.Info, repositories.ListServiceOfferingMessage) ([]repositories.ServiceOfferingRecord, error)
}
type ServicePlanRepository ¶
type ServicePlanRepository interface {
ListPlans(context.Context, authorization.Info, repositories.ListServicePlanMessage) ([]repositories.ServicePlanRecord, error)
}
Click to show internal directories.
Click to hide internal directories.