options

package
v1.0.0 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: 6 Imported by: 0

Documentation

Overview

Package options for parsing config

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BootstrapConfigs

type BootstrapConfigs struct {
	BpfConfig           *BpfConfig
	CniConfig           *cniConfig
	ByPassConfig        *byPassConfig
	SecretManagerConfig *secretConfig
}

func NewBootstrapConfigs

func NewBootstrapConfigs() *BootstrapConfigs

func (*BootstrapConfigs) AttachFlags

func (c *BootstrapConfigs) AttachFlags(cmd *cobra.Command)

func (*BootstrapConfigs) ParseConfigs

func (c *BootstrapConfigs) ParseConfigs() error

func (*BootstrapConfigs) String

func (c *BootstrapConfigs) String() string

type BpfConfig

type BpfConfig struct {
	Mode             string
	BpfFsPath        string
	Cgroup2Path      string
	EnableMda        bool
	EnableMonitoring bool
	EnableProfiling  bool
	EnableIPsec      bool
}

func (*BpfConfig) AttachFlags

func (c *BpfConfig) AttachFlags(cmd *cobra.Command)

func (*BpfConfig) DualEngineEnabled added in v1.0.0

func (c *BpfConfig) DualEngineEnabled() bool

func (*BpfConfig) KernelNativeEnabled added in v1.0.0

func (c *BpfConfig) KernelNativeEnabled() bool

func (*BpfConfig) ParseConfig

func (c *BpfConfig) ParseConfig() error

Jump to

Keyboard shortcuts

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