Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sConfig ¶
type K8sConfig struct {
DepHandler *core.DepHandler `inject:"-"`
}
func NewK8sConfig ¶
func NewK8sConfig() *K8sConfig
func (*K8sConfig) InitClient ¶
func (*K8sConfig) InitClient() *kubernetes.Clientset
func (*K8sConfig) InitInformer ¶
func (this *K8sConfig) InitInformer() informers.SharedInformerFactory
初始化Informer
type K8sHandler ¶
type K8sHandler struct{}
注入 回调handler
func NewK8sHandler ¶
func NewK8sHandler() *K8sHandler
func (*K8sHandler) DepHandlers ¶
func (this *K8sHandler) DepHandlers() *core.DepHandler
deployment handler
type K8sMaps ¶
type K8sMaps struct {
K8sClient *kubernetes.Clientset `inject:"-"`
}
func NewK8sMaps ¶
func NewK8sMaps() *K8sMaps
func (*K8sMaps) InitDepMap ¶
func (this *K8sMaps) InitDepMap() *core.DeploymentMap
初始化 deploymentmap
Click to show internal directories.
Click to hide internal directories.