deployable

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SyncDeployable

func SyncDeployable(metaobj *unstructured.Unstructured, explorer *utils.Explorer,
	hubSynchronizer synchronizer.HubSynchronizerInterface) error

Types

type ReconcileDeployable

type ReconcileDeployable struct {
	Explorer          *utils.Explorer
	HubSynchronizer   synchronizer.HubSynchronizerInterface
	DynamicHubFactory dynamicinformer.DynamicSharedInformerFactory
	StopCh            chan struct{}
}

ReconcileDeployable reconciles a Deployable object

func NewReconciler

func NewReconciler(mgr manager.Manager, hubconfig *rest.Config, cluster types.NamespacedName,
	explorer *utils.Explorer, hubSynchronizer synchronizer.HubSynchronizerInterface) (*ReconcileDeployable, error)

func (*ReconcileDeployable) Start

func (r *ReconcileDeployable) Start()

func (*ReconcileDeployable) Stop

func (r *ReconcileDeployable) Stop()

func (*ReconcileDeployable) SyncCreateDeployable

func (r *ReconcileDeployable) SyncCreateDeployable(obj interface{})

func (*ReconcileDeployable) SyncRemoveDeployable

func (r *ReconcileDeployable) SyncRemoveDeployable(obj interface{})

func (*ReconcileDeployable) SyncUpdateDeployable

func (r *ReconcileDeployable) SyncUpdateDeployable(oldObj, newObj interface{})

type ReconcileDeployableInterface

type ReconcileDeployableInterface interface {
	Start()
	SyncCreateDeployable(obj interface{})
	SyncUpdateDeployable(old interface{}, new interface{})
	SyncRemoveDeployable(obj interface{})
	Stop()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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