Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrTLSCertKeyBothOrNeither = errors.New("TLS cert and key must both be provided or neither")
View Source
var ErrTLSOrSelfSigned = errors.New("cannot provide TLS certificate and also run self-signed")
Functions ¶
Types ¶
type Config ¶
type Config struct {
TLSCert string
TLSKey string
SelfSigned bool
Debug bool
Kubeconfig string
BindHost string
BindPort string
DevMode bool
NoToken bool
AppVersion string
ChopRelease string
UIFiles *embed.FS
EmbedFiles *embed.FS
URL string
IsHTTPS bool
ServerError error
Context context.Context
Cancel func()
}
Click to show internal directories.
Click to hide internal directories.