utils

package
v2.4.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSrcTargetSystemType

func GetSrcTargetSystemType(tlConfig *api.TeamLinkConfig) (string, string, error)

GetSrcTargetSystemType parse source and target system typle from teamlink config.

func MapKeys

func MapKeys[K cmp.Ordered, V any](m map[K]V) []K

MapKeys returns the keys in a map, sorted with the default sorter.

func ParseConfigTextProto

func ParseConfigTextProto(ctx context.Context, file string) (*api.TeamLinkConfig, error)

ParseConfigTextProto parses a textproto to TeamLinkConfig type.

func ParseMappingTextProto

func ParseMappingTextProto(ctx context.Context, file string) (*api.TeamLinkMappings, error)

ParseMappingTextProto parses a textproto file to TeamLinkMappings type.

Types

This section is empty.

Jump to

Keyboard shortcuts

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