Documentation ¶
Overview ¶
package datamodel - for modeling and managing that model
Index ¶
- func CalcDatamodelStepwiseDiff(dm *Datamodel) error
- func FindHistoryBaseDir() (string, error)
- func RunCheckpointFromArgs(args []string, bump string, flgs flags.DatamodelPflagpole) error
- func RunDiffFromArgs(args []string, flgs flags.DatamodelPflagpole) error
- func RunHistoryFromArgs(args []string, flgs flags.DatamodelPflagpole) error
- func RunInfoFromArgs(args []string, flgs flags.DatamodelPflagpole) error
- func RunListFromArgs(args []string, flgs flags.DatamodelPflagpole) error
- func RunLogFromArgs(args []string, flgs flags.DatamodelPflagpole) error
- type Common
- type Datamodel
- type Field
- type History
- type Model
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcDatamodelStepwiseDiff ¶ added in v0.6.1
func FindHistoryBaseDir ¶ added in v0.6.1
func RunCheckpointFromArgs ¶ added in v0.5.15
func RunCheckpointFromArgs(args []string, bump string, flgs flags.DatamodelPflagpole) error
func RunDiffFromArgs ¶
func RunDiffFromArgs(args []string, flgs flags.DatamodelPflagpole) error
func RunHistoryFromArgs ¶
func RunHistoryFromArgs(args []string, flgs flags.DatamodelPflagpole) error
func RunInfoFromArgs ¶ added in v0.6.1
func RunInfoFromArgs(args []string, flgs flags.DatamodelPflagpole) error
func RunListFromArgs ¶ added in v0.6.1
func RunListFromArgs(args []string, flgs flags.DatamodelPflagpole) error
func RunLogFromArgs ¶ added in v0.6.1
func RunLogFromArgs(args []string, flgs flags.DatamodelPflagpole) error
Types ¶
type Common ¶ added in v0.6.1
type Common struct { Status string // should probably be an const [ok,dirty,no history] Label string // label from CUE Timestamp string // timestamp Version string // @dm_ver() Value cue.Value // this objects value Other cue.Value // the other value for diff Diff cue.Value // diff from other (checkpoint) Subsume error }
type Datamodel ¶ added in v0.6.1
type Datamodel struct { Name string Models map[string]*Model Ordered []*Model History *History Common }
func LoadDatamodels ¶ added in v0.6.1
func LoadDatamodels(entrypoints []string, flgs flags.DatamodelPflagpole) (dms []*Datamodel, err error)
func PrepDatamodels ¶ added in v0.6.1
func PrepDatamodels(entrypoints []string, flgs flags.DatamodelPflagpole) (dms []*Datamodel, err error)
Click to show internal directories.
Click to hide internal directories.