Documentation ¶
Overview ¶
Package postgres is a baur-storage implementation storing data in postgresql.
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) Init(ctx context.Context) error
- func (c *Client) Inputs(ctx context.Context, taskRunID int) (*storage.Inputs, error)
- func (c *Client) IsCompatible(ctx context.Context) error
- func (c *Client) LatestTaskRunByDigest(ctx context.Context, appName, taskName, totalInputDigest string) (*storage.TaskRunWithID, error)
- func (c *Client) Outputs(ctx context.Context, taskRunID int) ([]*storage.Output, error)
- func (c *Client) SaveTaskRun(ctx context.Context, taskRun *storage.TaskRunFull) (int, error)
- func (c *Client) TaskRun(ctx context.Context, id int) (*storage.TaskRunWithID, error)
- func (c *Client) TaskRuns(ctx context.Context, filters []*storage.Filter, sorters []*storage.Sorter, ...) error
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a postgres storage client
func (*Client) IsCompatible ¶
IsCompatible checks if the database schema exist and has the required migration version.
func (*Client) LatestTaskRunByDigest ¶
func (*Client) SaveTaskRun ¶
Click to show internal directories.
Click to hide internal directories.