Documentation ¶
Index ¶
Constants ¶
View Source
const ( PreTapCheckName = "pre-tap" PreInstallCheckName = "pre-install" ImagePullCheckName = "image-pull" )
View Source
const ( GuiPortTapName = "gui-port" NamespacesTapName = "namespaces" AllNamespacesTapName = "all-namespaces" EnableRedactionTapName = "redact" HumanMaxEntriesDBSizeTapName = "max-entries-db-size" InsertionFilterName = "insertion-filter" DryRunTapName = "dry-run" ServiceMeshName = "service-mesh" TlsName = "tls" ProfilerName = "profiler" MaxLiveStreamsName = "max-live-streams" )
View Source
const ( GuiPortViewName = "gui-port" UrlViewName = "url" )
View Source
const (
DebugInfoVersionName = "debug"
)
View Source
const (
FileLogsName = "file"
)
View Source
const (
OutInstallName = "out"
)
View Source
const (
RegenerateConfigName = "regenerate"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckConfig ¶
type ConfigConfig ¶
type ConfigConfig struct {
Regenerate bool `yaml:"regenerate,omitempty" default:"false" readonly:""`
}
type InstallConfig ¶
type LogsConfig ¶
type LogsConfig struct {
FileStr string `yaml:"file"`
}
func (*LogsConfig) FilePath ¶
func (config *LogsConfig) FilePath() string
func (*LogsConfig) Validate ¶
func (config *LogsConfig) Validate() error
type TapConfig ¶
type TapConfig struct { PodRegexStr string `yaml:"regex" default:".*"` GuiPort uint16 `yaml:"gui-port" default:"8899"` ProxyHost string `yaml:"proxy-host" default:"127.0.0.1"` Namespaces []string `yaml:"namespaces"` AllNamespaces bool `yaml:"all-namespaces" default:"false"` IgnoredUserAgents []string `yaml:"ignored-user-agents"` EnableRedaction bool `yaml:"redact" default:"false"` RedactPatterns struct { RequestHeaders []string `yaml:"request-headers"` ResponseHeaders []string `yaml:"response-headers"` RequestBody []string `yaml:"request-body"` ResponseBody []string `yaml:"response-body"` RequestQueryParams []string `yaml:"request-query-params"` } `yaml:"redact-patterns"` HumanMaxEntriesDBSize string `yaml:"max-entries-db-size" default:"200MB"` InsertionFilter string `yaml:"insertion-filter" default:""` DryRun bool `yaml:"dry-run" default:"false"` ApiServerResources shared.Resources `yaml:"api-server-resources"` TapperResources shared.Resources `yaml:"tapper-resources"` ServiceMesh bool `yaml:"service-mesh" default:"false"` Tls bool `yaml:"tls" default:"false"` PacketCapture string `yaml:"packet-capture" default:"libpcap"` Profiler bool `yaml:"profiler" default:"false"` MaxLiveStreams int `yaml:"max-live-streams" default:"500"` }
func (*TapConfig) GetInsertionFilter ¶
func (*TapConfig) MaxEntriesDBSizeBytes ¶
type VersionConfig ¶
type VersionConfig struct {
DebugInfo bool `yaml:"debug" default:"false"`
}
type ViewConfig ¶
Click to show internal directories.
Click to hide internal directories.