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
Click to show internal directories.
Click to hide internal directories.