cluster

package
v0.2.2-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterInvalidName = "system"
)

Variables

This section is empty.

Functions

func Add

func Add(ctx context.Context, mgr manager.Manager, sharedAgentImage string, logger *log.Logger) error

Add adds a new controller to the manager

func AddPodController added in v0.3.0

func AddPodController(ctx context.Context, mgr manager.Manager, logger *log.Logger) error

Add adds a new controller to the manager

func TokenSecretName added in v0.3.0

func TokenSecretName(clusterName string) string

func TokenSecretObj added in v0.3.0

func TokenSecretObj(token, name, namespace string) v1.Secret

Types

type ClusterReconciler

type ClusterReconciler struct {
	Client           ctrlruntimeclient.Client
	Scheme           *runtime.Scheme
	SharedAgentImage string
	// contains filtered or unexported fields
}

func (*ClusterReconciler) Reconcile

type PodReconciler added in v0.3.0

type PodReconciler struct {
	Client ctrlruntimeclient.Client
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

func (*PodReconciler) Reconcile added in v0.3.0

func (p *PodReconciler) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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