Documentation ¶
Index ¶
- func FromPb(impl *protobufs.DatabaseSnapshot) data.Snapshot
- func New() data.Snapshot
- func ToPb(s data.Snapshot) *protobufs.DatabaseSnapshot
- type Wrapper
- func (w *Wrapper) AppendEntity(e data.Entity)
- func (w *Wrapper) AppendField(f data.Field)
- func (w *Wrapper) AppendSchema(s data.EntitySchema)
- func (w *Wrapper) GetEntities() []data.Entity
- func (w *Wrapper) GetFields() []data.Field
- func (w *Wrapper) GetSchemas() []data.EntitySchema
- func (w *Wrapper) SetEntities(entities []data.Entity)
- func (w *Wrapper) SetFields(fields []data.Field)
- func (w *Wrapper) SetSchemas(schemas []data.EntitySchema)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
func (*Wrapper) AppendEntity ¶
func (*Wrapper) AppendField ¶
func (*Wrapper) AppendSchema ¶
func (w *Wrapper) AppendSchema(s data.EntitySchema)
func (*Wrapper) GetEntities ¶
func (*Wrapper) GetSchemas ¶
func (w *Wrapper) GetSchemas() []data.EntitySchema
func (*Wrapper) SetEntities ¶
func (*Wrapper) SetSchemas ¶
func (w *Wrapper) SetSchemas(schemas []data.EntitySchema)
Click to show internal directories.
Click to hide internal directories.