Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartAPIServer ¶
StartAPIServer TODO APIServer(轻量化 k8s APIServer),供节点直接调用,获取本地存储中的资源,增/改/删 操作需要透传至云端
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
type Config ¶
type Config struct { Logger logr.Config `json:"logger,omitempty"` Agent ConfigAgent `json:"agent,omitempty"` Server ConfigServer `json:"server"` Storage Storage `json:"storage,omitempty"` }
type ConfigAgent ¶
type ConfigAgent struct {
Name string `json:"name"`
}
type ConfigServer ¶
type ConfigServer struct {
Host string `json:"host" yaml:"host"`
}
type Storage ¶
type Storage struct {
Badger *badgerstorage.Config `json:"badger"`
}
Click to show internal directories.
Click to hide internal directories.