k8s

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: MIT Imports: 14 Imported by: 0

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

func (*Client) UpdateCertificate

func (c *Client) UpdateCertificate(conf cfg.AppConfig, inIPs []string) error

UpdateCertificate updates the certificate in Kubernetes with the provided IP addresses.

Jump to

Keyboard shortcuts

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