http

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(
	provider *OIDCServiceProvider,
	backendCallbackURL, providerPrettyName, testingAutoSelect string,
	mgr *kubernetes.Manager,
	apiextensionsLister apiextensionslisters.CustomResourceDefinitionLister,
) (*handler, error)

Types

type OIDCServiceProvider added in v0.0.11

type OIDCServiceProvider struct {
	// contains filtered or unexported fields
}

func NewOIDCServiceProvider

func NewOIDCServiceProvider(clientID, clientSecret, redirectURI, issuerURL string) (*OIDCServiceProvider, error)

func (*OIDCServiceProvider) OIDCProviderConfig added in v0.0.11

func (o *OIDCServiceProvider) OIDCProviderConfig(scopes []string) *oauth2.Config

type Server added in v0.0.11

type Server struct {
	Router *mux.Router
	// contains filtered or unexported fields
}

func NewServer

func NewServer(options *options.Serve) (*Server, error)

func (*Server) Addr added in v0.0.11

func (s *Server) Addr() net.Addr

func (*Server) Start added in v0.0.11

func (s *Server) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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