cluster

package
v1.3.4-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GCP                                 string = "gcp"
	AWS                                 string = "aws"
	AZURE                               string = "azure"
	LINODE                              string = "linode"
	AKAMAI                              string = "akamai"
	MAX_CLUSTER_DEREGISTRATION_ATTEMPTS        = 3
)

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")
)

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 (*Reconciler) InjectClient

func (r *Reconciler) InjectClient(c client.Client) error

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Jump to

Keyboard shortcuts

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