controllers

package
v0.0.0-...-58e94d5 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ControllerRigist

func ControllerRigist(resourceObj interface{},
	deepCopyF func(interface{}) meta_v1.Object,
	f newController)

Types

type ControllerInterface

type ControllerInterface interface {
	SyncLoop(key string) error
}

func NewControllerFactory

func NewControllerFactory(
	resourceObj interface{},
	shareInformerFactory interface{},
	addFunc, delFunc func(i interface{}) func() error,
	updateFunc func(old, new interface{}) func() error,
	rayclient rayclientset.Interface,
	kubeClient clientset.Interface) (ControllerInterface, cache.Controller)

type PodController

type PodController struct {
	// contains filtered or unexported fields
}

func (*PodController) SyncLoop

func (c *PodController) SyncLoop(key string) error

type RayController

type RayController struct {
	// contains filtered or unexported fields
}

func (*RayController) SyncLoop

func (c *RayController) SyncLoop(key string) error

Jump to

Keyboard shortcuts

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