Documentation ¶
Overview ¶
Package controller implements Pomerium managed mode
Index ¶
- func Run(ctx context.Context, opts ...Option) error
- type Option
- func WithAPIToken(token string) Option
- func WithBootstrapConfigFileName(name string) Option
- func WithClusterAPIEndpoint(endpoint string) Option
- func WithConnectAPIEndpoint(endpoint string) Option
- func WithDatabrokerLeaseDuration(duration time.Duration) Option
- func WithDatabrokerRequestTimeout(timeout time.Duration) Option
- func WithOTELAPIEndpoint(endpoint string) Option
- func WithTmpDir(dir string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*controllerConfig)
Option configures a controller.
func WithAPIToken ¶
WithAPIToken sets the API token to use for authentication.
func WithBootstrapConfigFileName ¶
WithBootstrapConfigFileName sets the name of the file to store the bootstrap config in.
func WithClusterAPIEndpoint ¶
WithClusterAPIEndpoint sets the endpoint to use for the cluster API
func WithConnectAPIEndpoint ¶
WithConnectAPIEndpoint sets the endpoint to use for the connect API
func WithDatabrokerLeaseDuration ¶
WithDatabrokerLeaseDuration sets the lease duration for the
func WithDatabrokerRequestTimeout ¶
WithDatabrokerRequestTimeout sets the timeout for databroker requests.
func WithOTELAPIEndpoint ¶
WithOTELAPIEndpoint sets the endpoint to use for the OTEL API
func WithTmpDir ¶
WithTmpDir sets the temporary directory to use.
Click to show internal directories.
Click to hide internal directories.