gvisorgvisor.dev/gvisor/test/trace/config Index | Files

package config

import "gvisor.dev/gvisor/test/trace/config"

Package config providides helper functions to configure trace sessions.

Index

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.

Source Files

config.go

Version
v0.0.0-20250702182429-85e76111eb28 (latest)
Published
Jul 2, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
6 hours ago

Tools for package owners.