environment

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package environment is a temporary workaround to have a simple means of knowing what environment we're running in. It's supposed to be set by the main.go of ig and kubectl-gadget respectively. Right now this is only used to distinguish whether we can rely on and should show the contents of the `container` column for network related gadgets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type int
const (
	Undefined Type = iota
	Kubernetes
	Local
)
var Environment Type

Jump to

Keyboard shortcuts

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