plugin

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKubeconfig added in v0.2.0

func GetKubeconfig(kubeconfig string) string

func RunPlugin

func RunPlugin(kind PluginKind, logger *log.Logger, opts *Opts, args []string) error

Types

type Opts

type Opts struct {
	Kubeconfig string
	Context    string
	Image      string
	Namespace  string
	PodName    string
	Cleanup    bool
	Verbose    bool
	Timeout    int
}

type PluginKind added in v0.2.0

type PluginKind string
const (
	Curl    PluginKind = "curl"
	Grpcurl            = "grpcurl"
)

func (PluginKind) String added in v0.2.0

func (p PluginKind) String() string

Jump to

Keyboard shortcuts

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