Documentation ¶
Index ¶
Constants ¶
View Source
const (
OciGroupName = "oci.oracle.com"
)
OciGroupName constant is used for finalizers string
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller of resource create/update/delete events
func New ¶
func New(adapter kubecommon.KubernetesTypeAdapter, objectType runtime.Object, informerFactory informers.SharedInformerFactory, queueMap map[string]workqueue.RateLimitingInterface) *Controller
New initializes a controller object
func Start ¶
func Start( clientset clientset.Interface, kubeclient kubernetes.Interface, watchType runtime.Object, adapterFactory kubecommon.AdapterFactory, adapterSpecificArgs map[string]interface{}, informerFactory informers.SharedInformerFactory, stopChan <-chan struct{}, queueMap map[string]workqueue.RateLimitingInterface, ) *Controller
Start a new controller for a type adapter
func (*Controller) HasSynced ¶
func (c *Controller) HasSynced() bool
HasSynced is required for the cache.Controller interface.
func (*Controller) LastSyncResourceVersion ¶
func (c *Controller) LastSyncResourceVersion() string
LastSyncResourceVersion is required for the cache.Controller interface.
func (*Controller) Run ¶
func (c *Controller) Run(stopCh <-chan struct{})
Run turns on the controller
Click to show internal directories.
Click to hide internal directories.