kube

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAgentDeployment

func CreateAgentDeployment(clientset *kubernetes.Clientset, deployment *appsv1.Deployment) (*appsv1.Deployment, error)

func CreateAgentService

func CreateAgentService(clientset *kubernetes.Clientset, service *corev1.Service) (*corev1.Service, error)

func GetAgentDeployment

func GetAgentDeployment(id string) *appsv1.Deployment

func GetAgentService

func GetAgentService(id string) *corev1.Service

func GetKubernetesClient

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

Obtains the Kubernetes clientset based on the environment this function is executing in.

Types

This section is empty.

Jump to

Keyboard shortcuts

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