Documentation ¶
Overview ¶
@Time : 2019-08-27 14:22 @Author : zr
@Time : 2019-08-27 14:42 @Author : zr
Index ¶
- type Role
- type Service
- type ServiceRoleRelation
- type Storage
- func (s *Storage) RoleCreate(role *model.Role) (err error)
- func (s *Storage) RoleDelete(name string) (err error)
- func (s *Storage) RoleUpdate(role *model.Role) (err error)
- func (s *Storage) ServiceCreate(service *model.Service) (err error)
- func (s *Storage) ServiceDelete(servicePath string) (err error)
- func (s *Storage) ServiceUpdate(service *model.Service) (err error)
- func (s *Storage) Sync(memory *model.Memory) (err error)
- func (s *Storage) UpdateRelation(role *model.Role, services []*model.Service) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceRoleRelation ¶
func (ServiceRoleRelation) TableName ¶
func (ServiceRoleRelation) TableName() string
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*Storage) RoleCreate ¶ added in v1.1.0
func (*Storage) RoleDelete ¶ added in v1.1.0
func (*Storage) RoleUpdate ¶ added in v1.1.0
func (*Storage) ServiceCreate ¶ added in v1.1.0
func (*Storage) ServiceDelete ¶ added in v1.1.0
func (*Storage) ServiceUpdate ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.