Documentation ¶
Index ¶
- func New(conn *sql.DB) (*storer.Ferrite, error)
- type ClusterStorer
- type CodeStorer
- func (c *CodeStorer) Create(code types.Code) (*types.Code, error)
- func (c *CodeStorer) Delete(id string) error
- func (c *CodeStorer) FindByID(id string) (*types.Code, error)
- func (c *CodeStorer) FindByName(name string) (*types.Code, error)
- func (c *CodeStorer) FindByProjectID(id string) (*[]types.Code, error)
- func (c *CodeStorer) SaveCredentials(creds types.DockerCredentials) error
- func (c *CodeStorer) Update(code types.Code) error
- type ProjectStorer
- type ScheduleStorer
- func (g *ScheduleStorer) Create(schedule types.Schedule) (*types.Schedule, error)
- func (g *ScheduleStorer) Delete(id string) error
- func (g *ScheduleStorer) FindByCodeName(codeName string) (*[]types.Schedule, error)
- func (g *ScheduleStorer) FindByID(id string) (*types.Schedule, error)
- func (g *ScheduleStorer) FindByProjectID(id string) (*[]types.Schedule, error)
- type TaskStorer
- func (g *TaskStorer) Create(schedule types.Task) (*types.Task, error)
- func (g *TaskStorer) Delete(id string) error
- func (g *TaskStorer) FindByCodeName(codeName string) (*[]types.Task, error)
- func (g *TaskStorer) FindByID(id string) (*types.Task, error)
- func (g *TaskStorer) FindByProjectID(id string) (*[]types.Task, error)
- func (g *TaskStorer) Next() (*types.Task, error)
- func (g *TaskStorer) SetStatus(id, status string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClusterStorer ¶
func (*ClusterStorer) Delete ¶
func (c *ClusterStorer) Delete(id string) error
func (*ClusterStorer) FindByID ¶
func (c *ClusterStorer) FindByID(id string) (*types.Cluster, error)
func (*ClusterStorer) FindLatest ¶
func (c *ClusterStorer) FindLatest() (*types.Cluster, error)
type CodeStorer ¶
func (*CodeStorer) Delete ¶
func (c *CodeStorer) Delete(id string) error
func (*CodeStorer) FindByName ¶
func (c *CodeStorer) FindByName(name string) (*types.Code, error)
func (*CodeStorer) FindByProjectID ¶
func (c *CodeStorer) FindByProjectID(id string) (*[]types.Code, error)
func (*CodeStorer) SaveCredentials ¶
func (c *CodeStorer) SaveCredentials(creds types.DockerCredentials) error
type ProjectStorer ¶
func (*ProjectStorer) FindByID ¶
func (g *ProjectStorer) FindByID(id string) (*types.Project, error)
func (*ProjectStorer) FindLatest ¶
func (g *ProjectStorer) FindLatest() (*types.Project, error)
type ScheduleStorer ¶
func (*ScheduleStorer) Delete ¶
func (g *ScheduleStorer) Delete(id string) error
func (*ScheduleStorer) FindByCodeName ¶
func (g *ScheduleStorer) FindByCodeName(codeName string) (*[]types.Schedule, error)
func (*ScheduleStorer) FindByID ¶
func (g *ScheduleStorer) FindByID(id string) (*types.Schedule, error)
func (*ScheduleStorer) FindByProjectID ¶
func (g *ScheduleStorer) FindByProjectID(id string) (*[]types.Schedule, error)
type TaskStorer ¶
func (*TaskStorer) Delete ¶
func (g *TaskStorer) Delete(id string) error
func (*TaskStorer) FindByCodeName ¶
func (g *TaskStorer) FindByCodeName(codeName string) (*[]types.Task, error)
func (*TaskStorer) FindByProjectID ¶
func (g *TaskStorer) FindByProjectID(id string) (*[]types.Task, error)
func (*TaskStorer) SetStatus ¶
func (g *TaskStorer) SetStatus(id, status string) error
Click to show internal directories.
Click to hide internal directories.