k8s

package
v0.0.0-...-d780fd3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentNode

func GetCurrentNode(clientset *kubernetes.Clientset, currentNodeName string) (*v1.Node, error)

func GetCurrentNodeIP

func GetCurrentNodeIP(clientset *kubernetes.Clientset, currentNodeName string) (string, error)

func GetCurrentNodeName

func GetCurrentNodeName(clientset *kubernetes.Clientset) (string, error)

func GetKubeClientSet

func GetKubeClientSet() (*kubernetes.Clientset, error)

func GetNodeCIDR

func GetNodeCIDR(nodeList *v1.NodeList, currentNodeName string) (string, error)

func GetNodes

func GetNodes(clientset *kubernetes.Clientset) (*v1.NodeList, error)

func InitKubeConfig

func InitKubeConfig() (*rest.Config, error)

func StoreTenantAnnotationNode

func StoreTenantAnnotationNode(clientset *kubernetes.Clientset, node *v1.Node, tenantName string) error

func StoreTenantInfoCR

func StoreTenantInfoCR()

Types

This section is empty.

Jump to

Keyboard shortcuts

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