k8s

package
v0.0.47 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFromConfig

func NewFromConfig(config *rest.Config, opts ...Option) (*k8s, error)

func NewFromKubeconfig

func NewFromKubeconfig(kubeconfig []byte, opts ...Option) (*k8s, error)

Types

type Option

type Option func(*k8s) error

func WithGracePeriod

func WithGracePeriod(gracePeriod int64) Option

func WithImageRef

func WithImageRef(ref name.Reference) Option

func WithRawImageRef

func WithRawImageRef(ref string) Option

type Request

type Request struct {
	sandbox.Request
}

Jump to

Keyboard shortcuts

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