Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectResult ¶
func CollectResult(ctx context.Context, restConfig *rest.Config, opts ...CollectOption) (tbcollect.CollectorResult, error)
Types ¶
type CollectOption ¶ added in v1.6.0
type CollectOption func(opts *CollectOptions)
func DisableCollector ¶ added in v1.6.0
func DisableCollector(collector CollectorType) CollectOption
func WithBundlePath ¶ added in v1.6.0
func WithBundlePath(path string) CollectOption
func WithCollectedNamespaces ¶ added in v1.6.0
func WithCollectedNamespaces(ns []string) CollectOption
func WithSDS ¶ added in v1.6.0
func WithSDS(enabled bool) CollectOption
type CollectOptions ¶ added in v1.5.0
type CollectOptions struct {
// contains filtered or unexported fields
}
type CollectorType ¶ added in v1.6.0
type CollectorType string
const ( CollectorTypeEnvoyGatewayResource CollectorType = "EnvoyGatewayResource" CollectorTypePrometheusMetrics CollectorType = "PrometheusMetrics" CollectorTypePodLogs CollectorType = "PodLogs" CollectorTypeConfigDump CollectorType = "ConfigDump" )
Click to show internal directories.
Click to hide internal directories.