Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Factory ¶
type Factory interface { ClusterAgentInformer(token string) Informer PipelineRunInformer(cond *pipeline.PipelineRunWatchCondition) Informer PipelineRunJobInformer(cond *pipeline.PipelineRunJobWatchCondition) Informer PipelineTriggerInformer(cond *pipeline.PipelineTriggerWatchCondition) Informer PipelineTriggerEventInformer(cond *pipeline.PipelineTriggerEventWatchCondition) Informer PipelineCodeCacheInformer(cond *pipeline.PipelineCodeCacheWatchCondition) Informer SpaceletInformer(cond *spacelet.SpaceletWatchCondition) Informer }
func NewInformerFactory ¶
func NewInformerFactory(config *config.ListWatcherConfig) Factory
type Informer ¶
type Informer interface { Run(stopCh <-chan struct{}) AddHandler(Handler) }
func NewInformer ¶
func NewInformer(listWatcher listwatcher.Interface) Informer
type ResourceHandler ¶
ResourceHandler 通用资源处理对象,也可以自定义对象,实现Handler接口
func (*ResourceHandler) Check ¶
func (h *ResourceHandler) Check(obj interface{}) bool
func (*ResourceHandler) Handle ¶
func (h *ResourceHandler) Handle(obj interface{}) error
Click to show internal directories.
Click to hide internal directories.