server

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

Types

type Config

type Config struct {
	Log *zap.SugaredLogger

	AllowedOrigins           []string
	ListenAddress            string
	InstallationProvider     string
	InstallationCodename     string
	InstallationK8sApiUrl    string
	InstallationK8sAuthUrl   string
	InstallationK8sCaCert    string
	AnalyticsEnv             string
	AnalyticsCredentialsJSON string
}

type Server

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

func New

func New(config Config) (*Server, error)

func (*Server) Boot

func (s *Server) Boot() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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