Documentation ¶
Index ¶
Constants ¶
Variables ¶
View Source
var ( ControlPlaneNamespace = "kubeslice-system" HubSecretSuffix = "-kubernetes-dashboard" KubeSliceDashboardSA = "kubeslice-kubernetes-dashboard" ProjectNamespace = os.Getenv("HUB_PROJECT_NAMESPACE") HubEndpoint = os.Getenv("HUB_HOST_ENDPOINT") HubTokenFile = utils.GetEnvOrDefault("HUB_TOKEN_FILE", "/var/run/secrets/kubernetes.io/hub-serviceaccount/token") HubCAFile = utils.GetEnvOrDefault("HUB_CA_FILE", "/var/run/secrets/kubernetes.io/hub-serviceaccount/ca.crt") ClusterName = os.Getenv("CLUSTER_NAME") WORKER_INSTALLER_DEFAULT_IMAGE = "aveshasystems/worker-installer:1.1.8" NSM_WEBHOOK_NS = "kubeslice-nsm-webhook-system" )
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client MeshClient client.Client EventRecorder *events.EventRecorder ReconcileInterval time.Duration // contains filtered or unexported fields }
func NewReconciler ¶
func NewReconciler(c client.Client, mc client.Client, er *events.EventRecorder, mf metrics.MetricsFactory) *Reconciler
func (*Reconciler) InjectClient ¶
func (r *Reconciler) InjectClient(c client.Client) error
Click to show internal directories.
Click to hide internal directories.