Documentation ¶
Index ¶
- func Close()
- func Get(name string, revision string) ([]byte, error)
- func Open(path string)
- func Set(name string, revision string, data []byte)
- type BugzillaClient
- type FakeBugzillaClient
- func (f *FakeBugzillaClient) GetCachedBug(id int, lastChangedTime string) (*bugzilla.Bug, error)
- func (f *FakeBugzillaClient) GetCachedBugComments(id int, lastChangedTime string) ([]bugzilla.Comment, error)
- func (f *FakeBugzillaClient) GetCachedBugHistory(id int, lastChangedTime string) ([]bugzilla.History, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BugzillaClient ¶
type BugzillaClient interface { bugzilla.Client GetCachedBug(id int, lastChangedTime string) (*bugzilla.Bug, error) GetCachedBugComments(id int, lastChangedTime string) ([]bugzilla.Comment, error) GetCachedBugHistory(id int, lastChangedTime string) ([]bugzilla.History, error) }
func NewCachedBugzillaClient ¶
func NewCachedBugzillaClient(client bugzilla.Client) BugzillaClient
type FakeBugzillaClient ¶
func (*FakeBugzillaClient) GetCachedBug ¶
func (*FakeBugzillaClient) GetCachedBugComments ¶
func (*FakeBugzillaClient) GetCachedBugHistory ¶
Click to show internal directories.
Click to hide internal directories.