deployer

package
v0.0.0-...-723a762 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deploy

func Deploy(log logr.Logger, cfg *config.Config) error

func Uninstall

func Uninstall(log logr.Logger, cfg *config.Config) error

Types

type KubernetesClients

type KubernetesClients struct {
	TempManagementCluster *k8sclient.ClusterAuthInfo            // Temporary management cluster (kind)
	PermManagementCluster *k8sclient.ClusterAuthInfo            // Permanent management cluster
	WorkloadClusters      map[string]*k8sclient.ClusterAuthInfo // Map of workload clusters
}

KubernetesClients represents a collection of Kubernetes clients for different clusters. ClusterAuthInfo contains REST Config and clientset. Clientset can't be easily used with custom resources and clients used by Cluster API and FluxCD TODO - review this sructure: maybe using only REST Config and building clientset dynamically when needed.

Jump to

Keyboard shortcuts

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