clusteragent

package
v0.6.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *Config, k8sClient client.Client, logger *slog.Logger) (*Agent, error)

func (*Agent) Start

func (a *Agent) Start(ctx context.Context) error

func (*Agent) Stop

func (a *Agent) Stop()

type Config

type Config struct {
	ServerURL         string
	PlaneType         string // "dataplane" or "buildplane"
	PlaneName         string
	ClientCertPath    string
	ClientKeyPath     string
	ServerCAPath      string
	ReconnectDelay    time.Duration
	HeartbeatInterval time.Duration
	RequestTimeout    time.Duration
}

type KubernetesExecutor

type KubernetesExecutor struct {
	// contains filtered or unexported fields
}

func NewKubernetesExecutor

func NewKubernetesExecutor(client client.Client) *KubernetesExecutor

func (*KubernetesExecutor) ExecuteClusterAgentRequest

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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