Documentation ¶
Index ¶
- type ConfigBuilder
- func (cb *ConfigBuilder) ToConfig() proxyconfig.ProxyDestinationConfig
- func (cb *ConfigBuilder) WithBasicAuth(username, password string) *ConfigBuilder
- func (cb *ConfigBuilder) WithCSRF(tokenURL string) *ConfigBuilder
- func (cb *ConfigBuilder) WithCertificate(cert, key []byte) *ConfigBuilder
- func (cb *ConfigBuilder) WithOAuth(clientId, clientSecret, tokenURL string, ...) *ConfigBuilder
- func (cb *ConfigBuilder) WithRequestParameters(params authorization.RequestParameters) *ConfigBuilder
- type SecretsCreator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigBuilder ¶
type ConfigBuilder struct {
// contains filtered or unexported fields
}
func NewConfigBuilder ¶
func NewConfigBuilder(targetURL string) *ConfigBuilder
func (*ConfigBuilder) ToConfig ¶
func (cb *ConfigBuilder) ToConfig() proxyconfig.ProxyDestinationConfig
func (*ConfigBuilder) WithBasicAuth ¶
func (cb *ConfigBuilder) WithBasicAuth(username, password string) *ConfigBuilder
func (*ConfigBuilder) WithCSRF ¶
func (cb *ConfigBuilder) WithCSRF(tokenURL string) *ConfigBuilder
func (*ConfigBuilder) WithCertificate ¶
func (cb *ConfigBuilder) WithCertificate(cert, key []byte) *ConfigBuilder
func (*ConfigBuilder) WithOAuth ¶
func (cb *ConfigBuilder) WithOAuth(clientId, clientSecret, tokenURL string, reqParams authorization.RequestParameters) *ConfigBuilder
func (*ConfigBuilder) WithRequestParameters ¶
func (cb *ConfigBuilder) WithRequestParameters(params authorization.RequestParameters) *ConfigBuilder
type SecretsCreator ¶
type SecretsCreator struct {
// contains filtered or unexported fields
}
func NewSecretsCreator ¶
func NewSecretsCreator(secretsClient v1.SecretInterface) *SecretsCreator
func (*SecretsCreator) NewSecret ¶
func (sc *SecretsCreator) NewSecret(secretName, apiName string, proxyConfig proxyconfig.ProxyDestinationConfig) error
Click to show internal directories.
Click to hide internal directories.