clients

package
v0.0.0-...-2bf6daa Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitKubeClient

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

Clientset abstracts the cluster config loading both locally and on Kubernetes

Types

type KraftClients

type KraftClients struct {
	// contains filtered or unexported fields
}

func NewKraftClients

func NewKraftClients(kubeClient kubernetes.Interface) *KraftClients

func (*KraftClients) GetKubeClient

func (kraftClients *KraftClients) GetKubeClient() kubernetes.Interface

func (*KraftClients) PatchDeployments

func (kraftClient *KraftClients) PatchDeployments(deployments map[string]appsv1.Deployment) utils.MultiError

Jump to

Keyboard shortcuts

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