kubernetes

package
v0.0.0-...-b3f0fa4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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