container

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotInContainerEnv = errors.New("not in a container environment")

ErrNotInContainerEnv is returned when the GetID function is called in a non container environment

Functions

func GetID

func GetID() (string, error)

GetID returns the container ID when in a containerized environment.

Types

This section is empty.

Jump to

Keyboard shortcuts

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