app

package
v0.0.0-...-87722f0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SuccessSynced         = "Synced"
	MessageResourceSynced = "Student对象同步成功"
	MessageTest           = "分布式系统中有人改了email,由" + controllerAgentName + "自动完成了向终态的演进"
)

Variables

This section is empty.

Functions

func NewApp

func NewApp(args []string)

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的业务

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL