konfig

package
v0.0.0-...-1c9a7a8 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApproximatedTyp

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

func (ApproximatedTyp) ActualOrNil

func (a ApproximatedTyp) ActualOrNil() (actual *sku.Transacted)

func (ApproximatedTyp) ApproximatedOrActual

func (a ApproximatedTyp) ApproximatedOrActual() *sku.Transacted

func (ApproximatedTyp) HasValue

func (a ApproximatedTyp) HasValue() bool

type Compiled

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

func Make

func Make(
	s standort.Standort,
	kcli erworben.Cli,
) (c *Compiled, err error)

func (*Compiled) AccumulateImplicitEtiketten

func (k *Compiled) AccumulateImplicitEtiketten(
	e kennung.Etikett,
) (err error)

func (*Compiled) AddEtikett

func (k *Compiled) AddEtikett(
	b1 *sku.Transacted,
) (err error)

func (*Compiled) AddKasten

func (k *Compiled) AddKasten(
	c *sku.Transacted,
) (err error)

func (*Compiled) AddTyp

func (k *Compiled) AddTyp(
	b1 *sku.Transacted,
) (err error)

func (Compiled) ApplyToNewMetadatei

func (k Compiled) ApplyToNewMetadatei(
	ml metadatei.MetadateiLike,
	tagp schnittstellen.AkteGetterPutter[*typ_akte.V0],
) (err error)

func (*Compiled) ApplyToSku

func (k *Compiled) ApplyToSku(
	sk *sku.Transacted,
	tagp schnittstellen.AkteGetterPutter[*typ_akte.V0],
) (err error)

func (Compiled) Cli

func (kc Compiled) Cli() erworben.Cli

func (Compiled) EachEtikett

func (k Compiled) EachEtikett(
	f schnittstellen.FuncIter[*sku.Transacted],
) (err error)

func (*Compiled) Flush

func (kc *Compiled) Flush(
	s standort.Standort,
	tagp schnittstellen.AkteGetterPutter[*typ_akte.V0],
) (err error)

func (Compiled) GetAngeboren

func (kc Compiled) GetAngeboren() schnittstellen.Angeboren

func (Compiled) GetApproximatedTyp

func (kc Compiled) GetApproximatedTyp(
	k kennung.Kennung,
) (ct ApproximatedTyp)

Returns the exactly matching Typ, or if it doesn't exist, returns the parent Typ or nil. (Parent Typ for `md-gdoc` would be `md`.)

func (Compiled) GetErworben

func (a Compiled) GetErworben() erworben.Akte

func (*Compiled) GetErworbenPtr

func (a *Compiled) GetErworbenPtr() *erworben.Akte

func (Compiled) GetEtikett

func (kc Compiled) GetEtikett(
	k kennung.Etikett,
) (ct *sku.Transacted, ok bool)

func (Compiled) GetImplicitEtiketten

func (c Compiled) GetImplicitEtiketten(
	e *kennung.Etikett,
) kennung.EtikettSet

func (Compiled) GetKasten

func (kc Compiled) GetKasten(k kennung.Kasten) (ct *sku.Transacted)

func (Compiled) GetSortedEtikettenExpanded

func (c Compiled) GetSortedEtikettenExpanded(
	v string,
) (expandedActual []*sku.Transacted)

func (Compiled) GetSortedTypenExpanded

func (c Compiled) GetSortedTypenExpanded(
	v string,
) (expandedActual []*sku.Transacted)

TODO-P3 merge all the below

func (Compiled) GetZettelFileExtension

func (c Compiled) GetZettelFileExtension() string

func (Compiled) HasChanges

func (kc Compiled) HasChanges() bool

func (Compiled) IsInlineTyp

func (kc Compiled) IsInlineTyp(k kennung.Typ) (isInline bool)

func (*Compiled) Reset

func (a *Compiled) Reset()

func (*Compiled) SetCli

func (kc *Compiled) SetCli(k erworben.Cli)

func (*Compiled) SetCliFromCommander

func (kc *Compiled) SetCliFromCommander(k erworben.Cli)

func (*Compiled) SetHasChanges

func (kc *Compiled) SetHasChanges(v bool)

func (*Compiled) SetTransacted

func (k *Compiled) SetTransacted(
	kt1 *sku.Transacted,
	kag schnittstellen.AkteGetter[*erworben.Akte],
) (err error)

type Getter

type Getter interface {
	GetKonfig() Compiled
}

type PtrGetter

type PtrGetter interface {
	GetKonfigPtr() *Compiled
}

Jump to

Keyboard shortcuts

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