controller

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RandTimeSed = 1000
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

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

func NewController

func NewController(opts *options.BootstrapConfigs, bpfWorkloadObj *bpfwl.BpfWorkload, bpfFsPath string, enableBpfLog, enableAccesslog bool) *Controller

func (*Controller) GetXdsClient

func (c *Controller) GetXdsClient() *XdsClient

func (*Controller) Start

func (c *Controller) Start(stopCh <-chan struct{}) error

func (*Controller) Stop

func (c *Controller) Stop()

type XdsClient

type XdsClient struct {
	AdsController      *ads.Controller
	WorkloadController *workload.Controller
	// contains filtered or unexported fields
}

func NewXdsClient

func NewXdsClient(mode string, bpfWorkload *bpfwl.BpfWorkload, enableAccesslog bool) *XdsClient

func (*XdsClient) Close

func (c *XdsClient) Close() error

func (*XdsClient) Run

func (c *XdsClient) Run(stopCh <-chan struct{}) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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