nlbinfomanager

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const KEY_COLUMN_NAME = "nlb_id"

Variables

This section is empty.

Functions

func UnRegisterNlb

func UnRegisterNlb(nlbID string) (bool, error)

Types

type NlbInfo

type NlbInfo struct {
	NlbID            string           `gorm:"primaryKey"`
	ProviderName     string           // ex) "KTVPC"
	KeyValueInfoList infostore.KVList `gorm:"type:text"`
}

func GetNlb

func GetNlb(nlbID string) (*NlbInfo, error)

Get GetNlbInfo from info-store (DB)

func RegisterNlb

func RegisterNlb(nlbID string, providereName string, keyValueInfoList []idrv.KeyValue) (*NlbInfo, error)

Register GetNlbInfo to info-store (DB)

func RegisterNlbInfo

func RegisterNlbInfo(nlbInfo NlbInfo) (*NlbInfo, error)

Jump to

Keyboard shortcuts

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