environment

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 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

Directories

Path Synopsis
Package k8s sets the environnment to Kubernetes.
Package k8s sets the environnment to Kubernetes.
Package local sets the environnment to Local.
Package local sets the environnment to Local.

Jump to

Keyboard shortcuts

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