mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: GPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeConfig

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

func (*FakeConfig) AddInputField

func (f *FakeConfig) AddInputField(
	name,
	displayName,
	description,
	defaultValue string,
	envVars []string,
)

func (*FakeConfig) Copy

func (f *FakeConfig) Copy() (config.Configurable, error)

func (*FakeConfig) GetInternalValue

func (f *FakeConfig) GetInternalValue(name string) (*string, bool)

func (*FakeConfig) GetValue

func (f *FakeConfig) GetValue(name string) (*string, error)

func (*FakeConfig) GetVars

func (f *FakeConfig) GetVars(vars map[string]string) error

func (*FakeConfig) InitConfig

func (f *FakeConfig) InitConfig(name, description string)

func (*FakeConfig) InputForm

func (f *FakeConfig) InputForm() (forms.InputForm, error)

func (*FakeConfig) IsValid

func (f *FakeConfig) IsValid() bool

func (*FakeConfig) Reset

func (f *FakeConfig) Reset()

Jump to

Keyboard shortcuts

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