relationships

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource interface {
	Relationships() map[string]string
}

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)
}

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL