proxyconfig

package
v0.0.0-...-80f85ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL