cluster

package
v1.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(in *api.Integration, tenant string) (err error)

Close closes a cluster

func EnsureServiceAccount

func EnsureServiceAccount(clusterClient *kubernetes.Clientset, namespace string) error

EnsureServiceAccount ensures default service account for stage pod created. Coordinator container in stage pod needs certain permission to pods and pods/log.

func GetSchedulableClusters

func GetSchedulableClusters(client clientset.Interface, tenant string) ([]api.Integration, error)

GetSchedulableClusters gets all clusters which are used to perform workload for this tenant.

func Open

func Open(client clientset.Interface, in *api.Integration, tenantName string) (err error)

Open opens cluster to run workload.

func ReconcileTriggerExecutionContext added in v1.0.0

func ReconcileTriggerExecutionContext(tenant string) error

ReconcileTriggerExecutionContext reconciles execution context for workflow triggers. Update WorkflowTriggers' unavailable execution context (related cluster closed or deleted) with an available one (related cluster opened).

func StartPVCWatcher added in v1.0.0

func StartPVCWatcher(in *api.Integration, tenant string) (err error)

StartPVCWatcher creates a pvc watcher deployment for the integration

func StopPVCWatcher added in v1.0.0

func StopPVCWatcher(in *api.Integration, tenant string) (err error)

StopPVCWatcher deletes the pvc watcher deployment for the integration

func UpdateClusterIntegration

func UpdateClusterIntegration(client clientset.Interface, tenant, name string, in *api.Integration) error

UpdateClusterIntegration ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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