usecases

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AuthProxy added in v0.3.0

type AuthProxy struct {
	ReverseProxy    reverseproxy.Interface
	PortForwarder   portforwarder.Interface
	ResolverFactory resolver.FactoryInterface
	Network         network.Interface
	Logger          logger.Interface
}

AuthProxy provides a use-case of authentication proxy.

func (*AuthProxy) Do added in v0.3.0

Do runs the use-case.

type AuthProxyInterface added in v0.3.0

type AuthProxyInterface interface {
	Do(ctx context.Context, in AuthProxyOptions) error
}

type AuthProxyOptions added in v0.3.0

type AuthProxyOptions struct {
	Config                *rest.Config
	Namespace             string
	TargetURL             *url.URL
	BindAddressCandidates []string
}

AuthProxyOptions represents an option of AuthProxy.

Jump to

Keyboard shortcuts

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