Documentation ¶
Index ¶
- type Normalizer
- func (n *Normalizer) Error() error
- func (n *Normalizer) HasError() bool
- func (n *Normalizer) HasMeta() bool
- func (n *Normalizer) HasSource() bool
- func (n *Normalizer) Meta() interface{}
- func (n *Normalizer) Normalize(normalizable structure.Normalizable) error
- func (n *Normalizer) Origin() structure.Origin
- func (n *Normalizer) ReportError(err error)
- func (n *Normalizer) Source() structure.Source
- func (n *Normalizer) WithMeta(meta interface{}) structure.Normalizer
- func (n *Normalizer) WithOrigin(origin structure.Origin) structure.Normalizer
- func (n *Normalizer) WithReference(reference string) structure.Normalizer
- func (n *Normalizer) WithSource(source structure.Source) structure.Normalizer
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
Click to show internal directories.
Click to hide internal directories.