Documentation ¶
Index ¶
Constants ¶
View Source
const ( // BrokerPathParam for the broker id BrokerPathParam = "brokerID" // APIPrefix for the Proxy OSB API APIPrefix = "/v1/osb" // Path for the Proxy OSB API Path = APIPrefix + "/{" + BrokerPathParam + "}" )
Variables ¶
This section is empty.
Functions ¶
func DefaultEnv ¶
func DefaultEnv(ctx context.Context, additionalPFlags ...func(set *pflag.FlagSet)) (env.Environment, error)
DefaultEnv creates a default environment that can be used to boot up a Service Broker proxy
Types ¶
type SMProxyBuilder ¶
SMProxyBuilder type is an extension point that allows adding additional filters, plugins and controllers before running SMProxy.
func New ¶
func New(ctx context.Context, cancel context.CancelFunc, environment env.Environment, settings *Settings, platformClient platform.Client) (*SMProxyBuilder, error)
New creates service broker proxy that is configured from the provided environment and platform client.
func (*SMProxyBuilder) Build ¶
func (smb *SMProxyBuilder) Build() *SMProxy
Build builds the Service Manager
func (*SMProxyBuilder) Security ¶ added in v0.7.3
func (smb *SMProxyBuilder) Security() *osssm.SecurityBuilder
Security returns the ready to use SecurityBuilder
type Settings ¶ added in v0.1.1
type Settings struct { Server *server.Settings `mapstructure:"server"` Log *log.Settings `mapstructure:"log"` Sm *sm.Settings `mapstructure:"sm"` Reconcile *reconcile.Settings `mapstructure:"app"` Producer *notifications.ProducerSettings `mapstructure:"producer"` Health *health.Settings `mapstructure:"health"` Authentication *authn.Settings `mapstructure:"authn"` }
Settings type holds all config properties for the sbproxy
func DefaultSettings ¶ added in v0.1.1
func DefaultSettings() *Settings
DefaultSettings returns default value for the proxy settings
func NewSettings ¶ added in v0.1.1
func NewSettings(env env.Environment) (*Settings, error)
NewSettings creates new proxy settings from the specified environment
Click to show internal directories.
Click to hide internal directories.