mock

package
v0.0.0-...-65a2a9e Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTargetProvider

type MockTargetProvider struct {
	Config  MockTargetProviderConfig
	Context *contexts.ManagerContext
}

func (*MockTargetProvider) Apply

func (*MockTargetProvider) Get

func (*MockTargetProvider) GetValidationRule

func (m *MockTargetProvider) GetValidationRule(ctx context.Context) model.ValidationRule

func (*MockTargetProvider) Init

func (*MockTargetProvider) InitWithMap

func (i *MockTargetProvider) InitWithMap(properties map[string]string) error

func (*MockTargetProvider) SetContext

func (s *MockTargetProvider) SetContext(ctx *contexts.ManagerContext)

type MockTargetProviderConfig

type MockTargetProviderConfig struct {
	ID string `json:"id"`
}

func MockTargetProviderConfigFromMap

func MockTargetProviderConfigFromMap(properties map[string]string) (MockTargetProviderConfig, error)

Jump to

Keyboard shortcuts

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