Documentation ¶
Index ¶
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.
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.
Click to show internal directories.
Click to hide internal directories.