Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StateManager ¶
StateManager defines a provides a structure for storing global state of resources within the cluster it uses the sync.Mutex library, to providing locking
func GetStateManager ¶
func GetStateManager() *StateManager
GetStateManager returns an instance of the state manager
func (*StateManager) Get ¶
func (sm *StateManager) Get(key string) interface{}
Get looks up the state manager for existing value
func (*StateManager) Set ¶
func (sm *StateManager) Set(key string, value interface{})
Set creates a new value in the state manager
Click to show internal directories.
Click to hide internal directories.