agent

package
v18.3.3 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	APIServerConn grpc.ClientConnInterface
}

func (*Factory) GetConnectionManager added in v18.2.0

func (f *Factory) GetConnectionManager(log *slog.Logger, kasConn grpc.ClientConnInterface, apiServer grpctool.GRPCServer) *tunclient.ConnectionManager

func (*Factory) IsProducingLeaderModules

func (f *Factory) IsProducingLeaderModules() bool

func (*Factory) Name

func (f *Factory) Name() string

type Module added in v18.2.0

type Module[CM any] struct {
	ConnManager *tunclient.ConnectionManager
}

func (*Module[CM]) DefaultAndValidateConfiguration added in v18.2.0

func (m *Module[CM]) DefaultAndValidateConfiguration(_ CM) error

func (*Module[CM]) Name added in v18.2.0

func (m *Module[CM]) Name() string

func (*Module[CM]) Run added in v18.2.0

func (m *Module[CM]) Run(ctx context.Context, _ <-chan CM) error

Jump to

Keyboard shortcuts

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