data_store

package
v0.0.0-...-d4d4b81 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Store = NewStore()

Functions

This section is empty.

Types

type StateData

type StateData struct {
	ClusterEventPublish  map[string][]chan *model.ClusterEventResponse
	ConnectedCluster     map[string]chan *model.ClusterActionResponse
	WorkflowEventPublish map[string][]chan *model.WorkflowRun
	WorkflowLog          map[string]chan *model.PodLogResponse
	KubeObjectData       map[string]chan *model.KubeObjectResponse
	DashboardData        map[string]chan *model.DashboardPromResponse
	Mutex                *sync.Mutex
}

StateData has an application state, contains channels and mutexes used for subscriptions

func NewStore

func NewStore() *StateData

Jump to

Keyboard shortcuts

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