mock

package module
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Overview

Package mock offers a mock implementation for the configuration

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(t testing.TB) model.Config

New creates a mock for the config

func NewFromFile added in v0.58.0

func NewFromFile(t testing.TB, yamlFilePath string) model.Config

NewFromFile creates a mock for the config and load the give YAML

func NewFromYAML added in v0.58.0

func NewFromYAML(t testing.TB, yamlData string) model.Config

NewFromYAML creates a mock for the config and load the give YAML

func NewSystemProbe

func NewSystemProbe(t testing.TB) model.Config

NewSystemProbe creates a mock for the system-probe config

Types

This section is empty.

Jump to

Keyboard shortcuts

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