clusterinfo

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterHookApiPath  = "/api/pipeline-clusters/actions/hook"
	ClusterEventEtcdKey = "/devops/pipeline/cluster-info/events"
)

Variables

This section is empty.

Functions

func DispatchClusterEvent

func DispatchClusterEvent(js jsonstore.JsonStore, clusterEvent apistructs.ClusterEvent) error

DispatchClusterEvent dispatch every cluster event to registered chan

func Initialize

func Initialize(bundle *bundle.Bundle)

func ListAllClusters

func ListAllClusters() ([]apistructs.ClusterInfo, error)

func RegisterClusterHook

func RegisterClusterHook() error

RegisterClusterHook register cluster hook in eventbox

func RegisterRefreshChan

func RegisterRefreshChan() <-chan struct{}

RegisterRefreshChan return channel for manual trigger refresh executor only for scheduler task manager

func TriggerManualRefresh

func TriggerManualRefresh()

Types

This section is empty.

Jump to

Keyboard shortcuts

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