Documentation ¶
Index ¶
- type EntityConfigManager
- func (manager *EntityConfigManager) All(ctx context.Context, version string) (*base.Schema, error)
- func (manager *EntityConfigManager) Read(ctx context.Context, name string, version string) (entityDefinition *base.EntityDefinition, err error)
- func (manager *EntityConfigManager) Write(ctx context.Context, schema string) (string, error)
- type IEntityConfigManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityConfigManager ¶
type EntityConfigManager struct {
// contains filtered or unexported fields
}
EntityConfigManager -
func (*EntityConfigManager) Read ¶
func (manager *EntityConfigManager) Read(ctx context.Context, name string, version string) (entityDefinition *base.EntityDefinition, err error)
Read -
type IEntityConfigManager ¶
type IEntityConfigManager interface { All(ctx context.Context, version string) (sch *base.Schema, err error) Read(ctx context.Context, name string, version string) (entity *base.EntityDefinition, err error) Write(ctx context.Context, configs string) (version string, err error) }
IEntityConfigManager -
func NewEntityConfigManager ¶
func NewEntityConfigManager(repository repositories.IEntityConfigRepository, cache cache.Cache) IEntityConfigManager
NewEntityConfigManager -
Click to show internal directories.
Click to hide internal directories.