refresh

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Refresh

func Refresh(ctx context.Context, rc Config) error

Refresh updates all relevant test data in pkg/action and tests.

Types

type Config

type Config struct {
	Concurrency  int
	SamplesPath  string
	TestDataPath string
}

Config holds the configuration for refreshing sample test data.

type TestData

type TestData struct {
	Config     *malcontent.Config
	OutputPath string
}

TestData stores per-scan configuration and output location.

Jump to

Keyboard shortcuts

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