tenancywatcher

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NamespaceMap = make(map[string]*NamespacedRC)

Not thread safe

Functions

This section is empty.

Types

type ApiVersionRC

type ApiVersionRC struct {
	ApiVersion string
	Kind       string
}

type NamespacedRC

type NamespacedRC struct {
	Ctx             context.Context
	CancelFunc      context.CancelFunc
	NamespacedRCMap map[ApiVersionRC]*NamespacedRCMap
}

type NamespacedRCMap

type NamespacedRCMap struct {
	Ctx        context.Context
	CancelFunc context.CancelFunc
	RCName     []string
}

type ReplicationControllerWatcher

type ReplicationControllerWatcher struct {
}

func ReplicationControllerWatcherFor

func ReplicationControllerWatcherFor() ReplicationControllerWatcher

func (ReplicationControllerWatcher) CreateTenancyNamespacesIfNeed

func (w ReplicationControllerWatcher) CreateTenancyNamespacesIfNeed(t *multitenancycontroller.TenancyExample)

func (ReplicationControllerWatcher) CreateTenancyPodStatusAndReplicationControllerStatus

func (w ReplicationControllerWatcher) CreateTenancyPodStatusAndReplicationControllerStatus(objs []multitenancycontroller.KubeObject, t *multitenancycontroller.TenancyExample)

func (ReplicationControllerWatcher) DeleteTenancyNamespacesIfNeed

func (w ReplicationControllerWatcher) DeleteTenancyNamespacesIfNeed(t *multitenancycontroller.TenancyExample)

func (ReplicationControllerWatcher) DeleteTenancyPodStatusAndReplicationControllerStatus

func (w ReplicationControllerWatcher) DeleteTenancyPodStatusAndReplicationControllerStatus(objs []multitenancycontroller.KubeObject, t *multitenancycontroller.TenancyExample)

func (ReplicationControllerWatcher) InitTenancyWatcher

Jump to

Keyboard shortcuts

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