cliflags

package
v0.0.0-...-2036b99 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package cliflags is the struct for the cliFlags that gets passed to most of the xtcp go routines

This is kind of like how python passes the flags

In the longer term, we might move all this to a config file of some type

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CliFlags

type CliFlags struct {
	No4                       *bool
	No6                       *bool
	Timeout                   *int64
	PollingFrequency          *time.Duration
	PollingSafetyBuffer       *float64
	MaxLoops                  *int
	ShutdownWorkers           *bool
	Netlinkers4               *int
	Netlinkers6               *int
	Inetdiagers4              *int
	Inetdiagers6              *int
	Single                    *bool
	NlmsgSeq                  *int
	PacketSize                *int
	PacketSizeMply            *int
	NetlinkerChSize           *int
	SamplingModulus           *int
	InetdiagerReportModulus   *int
	InetdiagerStatsRatio      *float64
	GoMaxProcs                *int
	UDPSendDest               *string
	PromListen                *string
	PromPath                  *string
	PromPollerChSize          *int
	PromNetlinkerChSize       *int
	PromInetdiagerChSize      *int
	StatsdDst                 *string
	NoStatsd                  *bool
	HappyPollerReportModulus  *int
	HappyIstaterReportModulus *int
	NoDisabler                *bool
	DisablerFrequency         *time.Duration
	DisablerCommand           *string
	DisablerArgument1         *string
	DisablerArgument2         *string
	XTCPStaterFrequency       *time.Duration
	XTCPStaterSystemctlPath   *string
	XTCPStaterPsPath          *string
	NoLLDPer                  *bool
	LLDPOutputhPath           *string
	NoTrie                    *bool
	TrieCSV4                  *string
	TrieCSV6                  *string
	NoLoopback                *bool
	IPPath                    *string
	NSQ                       *string
}

CliFlags struct to make it easier to pass all the cli flags

Jump to

Keyboard shortcuts

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