Documentation
¶
Index ¶
- type Dao
- func (d *Dao) ChartBatch(names ...string) (charts []*model.Chart, err error)
- func (d *Dao) ChartCreate(chart *model.Chart) (err error)
- func (d *Dao) ChartDelete(name string) (err error)
- func (d *Dao) ChartGet(name string) (chart *model.Chart, err error)
- func (d *Dao) ChartList() (charts []*model.Chart, err error)
- func (d *Dao) ChartUpdate(chart *model.Chart) (err error)
- func (d *Dao) Close()
- func (d *Dao) DashboardGet(name, key string) (dashboard *model.ChartDashboard, err error)
- func (d *Dao) DashboardUpdate(dashboard *model.ChartDashboard) (err error)
- func (d *Dao) EventCreate(event *model.Event) (err error)
- func (d *Dao) EventList(args *model.EventListArgs) (events []*model.Event, count int, err error)
- func (d *Dao) Init()
- func (d *Dao) PermDelete(resType, resID string) (err error)
- func (d *Dao) PermGet(resType, resID string) (p *model.Perm, err error)
- func (d *Dao) PermUpdate(perm *model.Perm) (err error)
- func (d *Dao) ProfileUpdateInfo(user *model.User) (err error)
- func (d *Dao) ProfileUpdatePassword(id, pwd, salt string) (err error)
- func (d *Dao) RegistryCreate(registry *model.Registry) (err error)
- func (d *Dao) RegistryDelete(id string) (err error)
- func (d *Dao) RegistryGet(id string) (registry *model.Registry, err error)
- func (d *Dao) RegistryList() (registries []*model.Registry, err error)
- func (d *Dao) RegistryUpdate(registry *model.Registry) (err error)
- func (d *Dao) RoleCreate(role *model.Role) (err error)
- func (d *Dao) RoleDelete(id string) (err error)
- func (d *Dao) RoleGet(id string) (role *model.Role, err error)
- func (d *Dao) RoleList() (roles []*model.Role, err error)
- func (d *Dao) RoleUpdate(role *model.Role) (err error)
- func (d *Dao) SessionGet(token string) (session *model.Session, err error)
- func (d *Dao) SessionUpdate(session *model.Session) (err error)
- func (d *Dao) SettingGet() (setting *model.Setting, err error)
- func (d *Dao) SettingUpdate(setting *model.Setting) (err error)
- func (d *Dao) StackCreate(stack *model.Stack) (err error)
- func (d *Dao) StackDelete(name string) (err error)
- func (d *Dao) StackGet(name string) (stack *model.Stack, err error)
- func (d *Dao) StackList() (stacks []*model.Stack, err error)
- func (d *Dao) StackMigrate()
- func (d *Dao) StackUpdate(stack *model.Stack) (err error)
- func (d *Dao) TemplateCreate(tpl *model.Template) (err error)
- func (d *Dao) TemplateDelete(id string) (err error)
- func (d *Dao) TemplateGet(id string) (tpl *model.Template, err error)
- func (d *Dao) TemplateList(args *model.TemplateListArgs) (tpls []*model.Template, count int, err error)
- func (d *Dao) TemplateUpdate(tpl *model.Template) (err error)
- func (d *Dao) UserBlock(id string, blocked bool) (err error)
- func (d *Dao) UserCount() (count int, err error)
- func (d *Dao) UserCreate(user *model.User) (err error)
- func (d *Dao) UserDelete(id string) (err error)
- func (d *Dao) UserGetByID(id string) (user *model.User, err error)
- func (d *Dao) UserGetByName(loginName string) (user *model.User, err error)
- func (d *Dao) UserList(args *model.UserListArgs) (users []*model.User, count int, err error)
- func (d *Dao) UserUpdate(user *model.User) (err error)
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao implements dao.Interface interface.
func (*Dao) ChartBatch ¶
func (*Dao) ChartDelete ¶
func (*Dao) DashboardGet ¶
func (d *Dao) DashboardGet(name, key string) (dashboard *model.ChartDashboard, err error)
func (*Dao) DashboardUpdate ¶
func (d *Dao) DashboardUpdate(dashboard *model.ChartDashboard) (err error)
func (*Dao) PermDelete ¶
func (*Dao) ProfileUpdatePassword ¶
func (*Dao) RegistryDelete ¶
func (*Dao) RegistryGet ¶
func (*Dao) RoleDelete ¶
func (*Dao) StackDelete ¶
func (*Dao) StackMigrate ¶
func (d *Dao) StackMigrate()
StackMigrate migrates stacks from old archive collection.
func (*Dao) TemplateDelete ¶
func (*Dao) TemplateList ¶
func (*Dao) UserDelete ¶
func (*Dao) UserGetByName ¶
Click to show internal directories.
Click to hide internal directories.