Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCustomClientSet ¶
func GetCustomClientSet() *customClient.Clientset
GetCustomClientSet return custom clientset
func GetCustomInformerFactory ¶
func GetCustomInformerFactory() customeInformers.SharedInformerFactory
GetCustomInformerFactory return custom informer factory
func GetK8sClientSet ¶
func GetK8sClientSet() *kubernetes.Clientset
GetK8sClientSet return k8s clientset
func GetKubeInformerFactory ¶
func GetKubeInformerFactory() informers.SharedInformerFactory
GetKubeInformerFactory return k8s informer factory
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller 自定义实现的Controller
func NewController ¶
func NewController( ctx context.Context, k8sClientSet kubernetes.Interface, customClientSet customClient.Interface, k8sInformer appsinformers.DeploymentInformer, informer customInformers.RedisInformer) *Controller
NewController 自定义的创建controller的函数
Click to show internal directories.
Click to hide internal directories.