cmd

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToDaemonset

func AddToDaemonset(ctx context.Context, kubeconfig string, namespace string, deploymentname, containername, debugimage string)

AddToDaemonset setup debug sidecar to a Daemonset and configures it

func AddToDeployment

func AddToDeployment(ctx context.Context, kubeconfig string, namespace string, deploymentname, containername, debugimage string)

AddToDeployment adds a debug sidecar to a deployment and configures it

func ForwardPort

func ForwardPort(ctx context.Context, kubeconfig string, namespace string, podname string)

ForwardPort forwards port 52323 from host to a pod

func RemoveFromDaemonset

func RemoveFromDaemonset(ctx context.Context, kubeconfig string, namespace string, daemonsetname string)

RemoveFromDaemonset removes the debug sidecar and configuration from a daemonset

func RemoveFromDeployment

func RemoveFromDeployment(ctx context.Context, kubeconfig string, namespace string, deploymentname string)

RemoveFromDeployment removes the debug sidecar and configuration from a deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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