Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Factory ¶
type Factory interface { JobInfos() JobInfoStore Close() error }
Factory defines the goserver platform storage interface.
type JobInfoStore ¶
type JobInfoStore interface { Create(ctx context.Context, jobInfo *model.JobInfo, opts meta.CreateOptions) error Update(ctx context.Context, jobInfo *model.JobInfo, opts meta.UpdateOptions) error Delete(ctx context.Context, username string, jobInfoID string, opts meta.DeleteOptions) error DeleteCollection(ctx context.Context, username string, jobInfoIDs []string, opts meta.DeleteOptions) error Get(ctx context.Context, username string, jobInfoID string, opts meta.GetOptions) (*model.JobInfo, error) List(ctx context.Context, username string, opts meta.ListOptions) (*model.JobInfoList, error) }
Click to show internal directories.
Click to hide internal directories.