Documentation ¶
Overview ¶
Package config provides open service broker configuration abstraction.
Index ¶
Constants ¶
View Source
const (
// ConfigurationNameDefault is the default configuration name.
ConfigurationNameDefault = "couchbase-service-broker"
)
Variables ¶
View Source
var ( // ConfigurationName is the configuration resource name. // This has a default for the benfit of testing, it is overidden // by flags for the main binary. ConfigurationName = ConfigurationNameDefault // ErrCacheSync is raised when a shared informer failed to synchronize. ErrCacheSync = errors.New("cache synchronization error") )
View Source
var ErrConfigurationInvalid = errors.New("configuration is invalid")
ErrConfigurationInvalid is a generic configuration error.
Functions ¶
func Config ¶
func Config() *v1.ServiceBrokerConfig
Config returns the user specified custom resource.
func Configure ¶
Configure initializes global configuration and must be called before starting the API service.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.