k8s

package
v0.0.0-...-5cd33dd Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

README

K8s go-client dynamic client

Just some useful example snippets

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Config *rest.Config
}

func (*Client) GetCiliumNodes

func (c *Client) GetCiliumNodes() ([]string, error)

GetCiliumNodes retrieves a list of CiliumNode resources from the cilium.io/v2 API and returns a list of CiliumInternalIP addresses.

func (*Client) Init

func (c *Client) Init(kubeConfigPath string) error

Jump to

Keyboard shortcuts

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