backend

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: Apache-2.0 Imports: 34 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                 provider.MultiClusterProvider
	ExternalAddressGenerator kuberesources.ExternalAddreesGeneratorFunc
	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       *http.OIDCServiceProvider
	Kubernetes *kube.Manager
	WebServer  *http.Server

	Controllers
}

func NewServer

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

func (*Server) Addr

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

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