config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Overview

Package config providides helper functions to configure trace sessions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder helps with building of trace session configuration.

func (*Builder) AddSink

func (b *Builder) AddSink(sink seccheck.SinkConfig)

AddSink adds the sink to the configuration.

func (*Builder) LoadAllPoints

func (b *Builder) LoadAllPoints(runscPath string) error

LoadAllPoints enables all points together with all optional and context fields.

func (*Builder) WriteInitConfig

func (b *Builder) WriteInitConfig(w io.Writer) error

WriteInitConfig writes the current configuration in a format compatible with the flag --pod-init-config.

Jump to

Keyboard shortcuts

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