localstore

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENABLE  = "Enable"
	DISABLE = "Disable"
)

Variables

This section is empty.

Functions

func AgentDeletionMetadata

func AgentDeletionMetadata(nsId string, mcisId string, vmId string, cspType string, publicIp string) error

func AgentInstallationMetadata

func AgentInstallationMetadata(nsId string, mcisId string, vmId string, cspType string, publicIp string) error

func Initialize

func Initialize()

func ShowMetadata

func ShowMetadata(c echo.Context) error

Types

type AgentInfo

type AgentInfo struct {
	AgentState *string
	AgentType  *string
	Public_IP  *string
}

type CBStore

type CBStore struct {
	Store icbs.Store
}

func GetInstance

func GetInstance() *CBStore

func (*CBStore) StoreDelList

func (cs *CBStore) StoreDelList(key string) error

func (*CBStore) StoreDelete

func (cs *CBStore) StoreDelete(key string) error

func (*CBStore) StoreGet

func (cs *CBStore) StoreGet(key string) string

func (*CBStore) StoreGetList

func (cs *CBStore) StoreGetList(key string, sortAscend bool) []string

func (*CBStore) StoreGetNodeValue

func (cs *CBStore) StoreGetNodeValue(key string, depth int) string

func (*CBStore) StoreGetToInt

func (cs *CBStore) StoreGetToInt(key string) int

func (*CBStore) StoreGetToString

func (cs *CBStore) StoreGetToString(key string) string

func (*CBStore) StorePut

func (cs *CBStore) StorePut(key string, value string) error

type Metadata

type Metadata struct {
	Key   *string
	Value *AgentInfo
}

Jump to

Keyboard shortcuts

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