Documentation
¶
Overview ¶
Package client wraps go-gitlab with automatic journaling and a TTL cache.
Index ¶
- type Client
- func (c *Client) CacheKey(path, params string) string
- func (c *Client) Close() error
- func (c *Client) Host() string
- func (c *Client) Rec(op journal.Op, entity journal.Entity, project, group string, entityID, iid int, ...) error
- func (c *Client) RecErr(op journal.Op, entity journal.Entity, project, group, detail string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
GL *gl.Client
Provider provider.Provider // host-neutral provider interface (P5)
Journal *journal.Journal
Cache *cache.Cache
State *state.Store
// contains filtered or unexported fields
}
Client bundles the GitLab SDK, journal, and cache.
Click to show internal directories.
Click to hide internal directories.