Documentation ¶
Index ¶
Constants ¶
View Source
const ( SuccessSynced = "Synced" MessageResourceSynced = "Student对象同步成功" MessageTest = "分布式系统中有人改了email,由" + controllerAgentName + "自动完成了向终态的演进" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SampleController ¶
type SampleController struct {
// contains filtered or unexported fields
}
Controller is the controller implementation for Student resources
func NewSampleController ¶
func NewSampleController( kubeclientset kubernetes.Interface, studentclientset clientset.Interface, studentInformer informers.StudentInformer) *SampleController
构造一个studentcontroller
func (*SampleController) Run ¶
func (c *SampleController) Run(max int, stopCh <-chan struct{}) error
在此处开始controller的业务
Click to show internal directories.
Click to hide internal directories.