backend

package
v0.6.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Options *options.CompletedOptions

	Provider                 multicluster.Provider
	ExternalAddressGenerator kuberesources.ExternalAddressGeneratorFunc
	Manager                  mcmanager.Manager
	Scheme                   *runtime.Scheme

	ClientConfig *rest.Config
}

func NewConfig

func NewConfig(options *options.CompletedOptions) (*Config, error)

type Server

type Server struct {
	Config *Config

	OIDC *auth.OIDCServiceProvider

	Kubernetes *kube.Manager
	WebServer  *http.Server

	Controllers
	// contains filtered or unexported fields
}

func NewServer

func NewServer(ctx context.Context, c *Config) (*Server, error)

func (*Server) Addr

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

func (*Server) GetOIDCProvider added in v0.6.0

func (s *Server) GetOIDCProvider(ctx context.Context) (*auth.OIDCServiceProvider, error)

func (*Server) Run

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

Jump to

Keyboard shortcuts

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