lookup

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(data []byte) (builder.LookupExtractor, error)

Types

type Base

type Base struct {
	Typ string `json:"type,omitempty"`
}

func (*Base) SetType

func (b *Base) SetType(typ string) *Base

func (*Base) Type

func (b *Base) Type() builder.ComponentType

type Map

type Map struct {
	Base
	Map        map[string]string `json:"map,omitempty"`
	IsOneToOne *bool             `json:"isOneToOne,omitempty"`
}

func NewMap

func NewMap() *Map

func (*Map) SetIsOneToOne

func (m *Map) SetIsOneToOne(i bool) *Map

func (*Map) SetMap

func (m *Map) SetMap(mp map[string]string) *Map

Jump to

Keyboard shortcuts

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