Documentation
¶
Index ¶
Constants ¶
View Source
const (
Banner = `` /* 1689-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
func LoadConfigFromToml ¶
LoadConfigFromToml load from configuration file
Types ¶
type App ¶
type Config ¶
type Config struct {
*Log `toml:"log"`
*App `toml:"app"`
*Kube `toml:"kube"`
*Supervisor `toml:"supervisor"`
}
type Kube ¶
type Kube struct {
KubeConfig string `toml:"kubeConfigPath"`
// contains filtered or unexported fields
}
func (*Kube) GetClientSet ¶
func (k *Kube) GetClientSet() (kubernetes.Interface, error)
type Log ¶
func (*Log) GetLogLevel ¶
type Supervisor ¶
type Supervisor struct {
Addr string `toml:"address"`
Port int `toml:"port"`
// contains filtered or unexported fields
}
func (*Supervisor) GetSupervisorClient ¶
func (s *Supervisor) GetSupervisorClient() (*supervisord.Client, error)
Click to show internal directories.
Click to hide internal directories.