storageutil

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package storageutil contains utility functions for mesh database interactions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectProtoFromEdgeAttrs

func ConnectProtoFromEdgeAttrs(attrs map[string]string) v1.ConnectProtocol

ConnectProtoFromEdgeAttrs returns the protocol for the given edge attributes.

func EdgeAttrsForConnectProto

func EdgeAttrsForConnectProto(proto v1.ConnectProtocol) map[string]string

EdgeAttrsForConnectProto returns the edge attributes for the given protocol.

func IsValidKey

func IsValidKey(key string) bool

IsValidKey reports that a key is valid. All keys must be non-empty and valid UTF-8.

Types

This section is empty.

Jump to

Keyboard shortcuts

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