utils

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeMapFromAttractorList

func MakeMapFromAttractorList(lst []*reader.Attractor) map[string]reader.Attractor

Input is a slice of Attractors. Return a map with key as attractor names.

func MakeMapFromConduitList

func MakeMapFromConduitList(lst []*reader.Conduit) map[string]reader.Conduit

Input is a slice of Conduits. Return a map with key as conduit names.

func MakeMapFromFlowList

func MakeMapFromFlowList(lst []*reader.Flow) map[string]reader.Flow

Input is a slice of Flows. Return a map with key as flow names.

func MakeMapFromGWList

func MakeMapFromGWList(lst []*reader.Gateway) map[string]reader.Gateway

Input is a slice of Gateways. Return a map with key as gateway names.

func MakeMapFromStreamList

func MakeMapFromStreamList(lst []*reader.Stream) map[string]reader.Stream

Input is a slice of Streams. Return a map with key as stream names.

func MakeMapFromVipList

func MakeMapFromVipList(lst []*reader.Vip) map[string]reader.Vip

Input is a slice of Vips. Return a map with key as vip names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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