Documentation ¶
Index ¶
- func NewStackdriverAccountProvider(projectId string, auth *jwt.Config, logger lager.Logger) broker.ServiceProvider
- func StackdriverDebuggerServiceDefinition() *broker.ServiceDefinition
- func StackdriverMonitoringServiceDefinition() *broker.ServiceDefinition
- func StackdriverProfilerServiceDefinition() *broker.ServiceDefinition
- func StackdriverTraceServiceDefinition() *broker.ServiceDefinition
- type StackdriverAccountProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStackdriverAccountProvider ¶
func NewStackdriverAccountProvider(projectId string, auth *jwt.Config, logger lager.Logger) broker.ServiceProvider
NewStackdriverAccountProvider creates a new StackdriverAccountProvider for the given project.
func StackdriverDebuggerServiceDefinition ¶
func StackdriverDebuggerServiceDefinition() *broker.ServiceDefinition
StackdriverDebuggerServiceDefinition creates a new ServiceDefinition object for the Stackdriver Debugger service.
func StackdriverMonitoringServiceDefinition ¶
func StackdriverMonitoringServiceDefinition() *broker.ServiceDefinition
StackdriverMonitoringServiceDefinition creates a new ServiceDefinition object for the Stackdriver Monitoring service.
func StackdriverProfilerServiceDefinition ¶
func StackdriverProfilerServiceDefinition() *broker.ServiceDefinition
StackdriverProfilerServiceDefinition creates a new ServiceDefinition object for the Stackdriver Profiler service.
func StackdriverTraceServiceDefinition ¶
func StackdriverTraceServiceDefinition() *broker.ServiceDefinition
StackdriverTraceServiceDefinition creates a new ServiceDefinition object for the Stackdriver Trace service.
Types ¶
type StackdriverAccountProvider ¶
type StackdriverAccountProvider struct {
broker_base.BrokerBase
}
StackdriverServiceAccountProvider is the provider for binding new services to Stackdriver. It has no-op calls for Provision and Deprovision because Stackdriver is a single-instance API service.
func (*StackdriverAccountProvider) Deprovision ¶
func (b *StackdriverAccountProvider) Deprovision(ctx context.Context, instance models.ServiceInstanceDetails, details brokerapi.DeprovisionDetails) (*string, error)
Deprovision is a no-op call because only service accounts need to be bound/unbound for Stackdriver.
func (*StackdriverAccountProvider) Provision ¶
func (b *StackdriverAccountProvider) Provision(ctx context.Context, provisionContext *varcontext.VarContext) (models.ServiceInstanceDetails, error)
Provision is a no-op call because only service accounts need to be bound/unbound for Stackdriver.