k8s

package
v0.20.21 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WaitForReady added in v0.20.17

func WaitForReady[T any, obj k8s.MetaObject[T]](ctx context.Context, client *Client, resource *T, opts WaitOptions) error

WaitForReady polls the resource until it is deemed to be ready.

TODO: once go1.27 is out and generic methods are added this should become a method of the standard client.

Types

type Client

type Client k8s.Client

func NewClient

func NewClient(kubecfg *rest.Config) (*Client, error)

type TypedIntf

type TypedIntf[T any] = k8s.TypedIntf[T]

func TypedInterface

func TypedInterface[T any, obj k8s.MetaObject[T]](client *Client, resource schema.GroupVersionResource) TypedIntf[T]

TypedInterface returns a typed wrapper over the client-go dynamic client.

TODO: once go1.27 is out and generic functions are added this should become a method of the standard client.

type WaitOptions added in v0.20.17

type WaitOptions = k8s.WaitOptions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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