k8s

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TimeoutGraceful   = time.Second * 5
	ReadHeaderTimeout = time.Second * 5
)

Variables

This section is empty.

Functions

func MyNamespace

func MyNamespace() (string, error)

Types

type Opts

type Opts struct {
	Kubefile   string
	Namespaces []string
	All        bool
}

type Probe

type Probe struct {
	// contains filtered or unexported fields
}

func NewProbe

func NewProbe(addr string) *Probe

func (*Probe) Ready

func (k *Probe) Ready()

func (*Probe) Run

func (k *Probe) Run(ctx context.Context) error

type Runtime

type Runtime struct {
	// contains filtered or unexported fields
}

func NewRuntime

func NewRuntime(opts Opts) *Runtime

func (*Runtime) Close

func (k *Runtime) Close() error

func (*Runtime) Events

func (k *Runtime) Events() <-chan netmux.Event

func (*Runtime) Run

func (k *Runtime) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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