configuration

package
v0.1.0-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddrListFromVipConfig

func AddrListFromVipConfig(vips *reader.VipList) []string

AddrListFromVipConfig - Generate string list of VIP addresses based on the config

func DiffGatewayConfig

func DiffGatewayConfig(a, b *reader.GatewayList) bool

DiffGatewayConfig - returns true if different

func DiffOperatorConfigItem

func DiffOperatorConfigItem(a, b interface{}) bool

DiffOperatorConfigItem - returns true if different

func DiffVipConfig

func DiffVipConfig(a, b *reader.VipList) bool

DiffVipConfig - returns true if different

Types

type OperatorConfig

type OperatorConfig struct {
	GWs  *reader.GatewayList
	VIPs *reader.VipList
}

func (*OperatorConfig) String

func (oc *OperatorConfig) String() string

type OperatorWatcher

type OperatorWatcher struct {
	// contains filtered or unexported fields
}

func NewOperatorWatcher

func NewOperatorWatcher(configMap string, namespace string, configEvent chan<- *OperatorConfig) *OperatorWatcher

func (*OperatorWatcher) Delete

func (w *OperatorWatcher) Delete()

func (*OperatorWatcher) Start

func (w *OperatorWatcher) Start()

Directories

Path Synopsis
Package manager provides a server implementation of the ConfigurationManager service of the Network Service Platform (NSP) API.
Package manager provides a server implementation of the ConfigurationManager service of the Network Service Platform (NSP) API.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package reader provides an implementation to read the meridio configmap and convert it to Network Service Platform (NSP) API stucture instances.
Package reader provides an implementation to read the meridio configmap and convert it to Network Service Platform (NSP) API stucture instances.

Jump to

Keyboard shortcuts

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