normalizer

package
v1.33.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: BSD-2-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Normalizer

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

func New

func New() *Normalizer

func NewNormalizer

func NewNormalizer(base *structureBase.Base) *Normalizer

func (*Normalizer) Error

func (n *Normalizer) Error() error

func (*Normalizer) HasError added in v1.24.0

func (n *Normalizer) HasError() bool

func (*Normalizer) HasMeta added in v1.24.0

func (n *Normalizer) HasMeta() bool

func (*Normalizer) HasSource added in v1.24.0

func (n *Normalizer) HasSource() bool

func (*Normalizer) Meta added in v1.24.0

func (n *Normalizer) Meta() interface{}

func (*Normalizer) Normalize

func (n *Normalizer) Normalize(normalizable structure.Normalizable) error

func (*Normalizer) Origin added in v1.24.0

func (n *Normalizer) Origin() structure.Origin

func (*Normalizer) ReportError added in v1.24.0

func (n *Normalizer) ReportError(err error)

func (*Normalizer) Source added in v1.24.0

func (n *Normalizer) Source() structure.Source

func (*Normalizer) WithMeta

func (n *Normalizer) WithMeta(meta interface{}) structure.Normalizer

func (*Normalizer) WithOrigin added in v1.24.0

func (n *Normalizer) WithOrigin(origin structure.Origin) structure.Normalizer

func (*Normalizer) WithReference

func (n *Normalizer) WithReference(reference string) structure.Normalizer

func (*Normalizer) WithSource

func (n *Normalizer) WithSource(source structure.Source) structure.Normalizer

Jump to

Keyboard shortcuts

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