utils

package
v22.11.6 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContext

func GetContext(storeUUID bool) (context.Context, fail.Error)

GetContext ...

func GetReference

func GetReference(in *protocol.Reference) (string, string)

GetReference return a reference from the name or id given in the protocol.Reference returns value and its display representation (without ” if id, with ” if name)

func GetTimeoutContext

func GetTimeoutContext(parentCtx context.Context, timeout time.Duration) (context.Context, context.CancelFunc, fail.Error)

GetTimeoutContext return a context for gRPC commands

func GetUUID

func GetUUID() string

GetUUID ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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