Documentation ¶
Index ¶
- Constants
- Variables
- func Config() *v1Config.Config
- func DB() *storm.DB
- func Listen(route func(party iris.Party), options ...Option) error
- func Logger() *logrus.Logger
- type KubePiServer
- type Option
- type TodoLogger
- func (t TodoLogger) Enabled() bool
- func (t TodoLogger) Error(err error, msg string, keysAndValues ...interface{})
- func (t TodoLogger) Info(msg string, keysAndValues ...interface{})
- func (t TodoLogger) V(level int) logr.Logger
- func (t TodoLogger) WithName(name string) logr.Logger
- func (t TodoLogger) WithValues(keysAndValues ...interface{}) logr.Logger
Constants ¶
View Source
const ContentTypeDownload = "application/download"
Variables ¶
View Source
var EmbedWebDashboard embed.FS
View Source
var EmbedWebKubePi embed.FS
View Source
var EmbedWebTerminal embed.FS
View Source
var SessionMgr *sessions.Sessions
View Source
var WebkubectlEntrypoint string
Functions ¶
Types ¶
type KubePiServer ¶ added in v1.4.1
type KubePiServer struct {
// contains filtered or unexported fields
}
func NewKubePiSerer ¶
func NewKubePiSerer(opts ...Option) *KubePiServer
type Option ¶ added in v1.2.0
type Option func(server *KubePiServer)
func WithCustomConfigFilePath ¶ added in v1.2.0
func WithServerBindHost ¶ added in v1.2.0
func WithServerBindPort ¶ added in v1.2.0
type TodoLogger ¶ added in v1.2.2
type TodoLogger struct { }
屏蔽 klog 日志
func (TodoLogger) Enabled ¶ added in v1.2.2
func (t TodoLogger) Enabled() bool
func (TodoLogger) Error ¶ added in v1.2.2
func (t TodoLogger) Error(err error, msg string, keysAndValues ...interface{})
func (TodoLogger) Info ¶ added in v1.2.2
func (t TodoLogger) Info(msg string, keysAndValues ...interface{})
func (TodoLogger) WithValues ¶ added in v1.2.2
func (t TodoLogger) WithValues(keysAndValues ...interface{}) logr.Logger
Click to show internal directories.
Click to hide internal directories.