Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
InstanceNotFound = errors.New("Service instance not found")
)
Functions ¶
This section is empty.
Types ¶
type CFListerClient ¶ added in v0.30.0
type CFServiceInstanceLister ¶ added in v0.24.0
type CFServiceInstanceLister struct {
// contains filtered or unexported fields
}
func NewCFServiceInstanceLister ¶ added in v0.24.0
func NewCFServiceInstanceLister(cfClient CFListerClient, serviceOfferingID string, logger *log.Logger) *CFServiceInstanceLister
type InstanceLister ¶ added in v0.24.0
InstanceLister provides a interface to query service instances present in the platform
func BuildInstanceLister ¶ added in v0.24.0
func BuildInstanceLister( client CFListerClient, serviceOfferingID string, siapiConfig config.ServiceInstancesAPI, logger *log.Logger, ) (InstanceLister, error)
type ServiceInstanceLister ¶
type ServiceInstanceLister struct {
// contains filtered or unexported fields
}
func NewInstanceLister ¶
func NewInstanceLister( client Doer, authHeaderBuilder authorizationheader.AuthHeaderBuilder, baseURL string, configured bool, logger *log.Logger) *ServiceInstanceLister
func (*ServiceInstanceLister) Instances ¶
func (s *ServiceInstanceLister) Instances(params map[string]string) ([]Instance, error)
func (*ServiceInstanceLister) LatestInstanceInfo ¶ added in v0.20.0
func (s *ServiceInstanceLister) LatestInstanceInfo(instance Instance) (Instance, error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.