model

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: Apache-2.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 ExecutionRecords added in v0.5.0

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

func NewExecutionRecords added in v0.5.0

func NewExecutionRecords() *ExecutionRecords

func (*ExecutionRecords) ForEach added in v0.5.0

func (e *ExecutionRecords) ForEach(f func(name string, duration time.Duration))

func (*ExecutionRecords) Record added in v0.5.0

func (e *ExecutionRecords) Record(name string, duration time.Duration)

type FilterConfig

type FilterConfig struct {
	Name   string      `json:"name,omitempty"`
	Config interface{} `json:"config,omitempty"`
}

type FilterWrapper

type FilterWrapper struct {
	api.Filter
	Name string
}

func NewFilterWrapper

func NewFilterWrapper(name string, f api.Filter) *FilterWrapper

type ParsedFilterConfig

type ParsedFilterConfig struct {
	Name          string
	ParsedConfig  interface{}
	InitOnce      sync.Once
	InitFailure   error
	Factory       api.FilterFactory
	SyncRunPhases api.Phase
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳