utils

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License: Apache-2.0 Imports: 8 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[V any](m map[string]V) []string

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