Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocumentsOnList ¶
type DocumentsOnList struct { Given *advisory.DocumentFilter List *advisory.DocumentList Error error }
type MockSecurityAdvisoryClient ¶
type MockSecurityAdvisoryClient struct {
OnListDocuments []DocumentsOnList
}
func (MockSecurityAdvisoryClient) ListDocuments ¶
func (m MockSecurityAdvisoryClient) ListDocuments(_ context.Context, given *advisory.DocumentFilter, _ ...grpc.CallOption) (*advisory.DocumentList, error)
type MockSecurityAdvisoryClients ¶
type MockSecurityAdvisoryClients struct { OnClose error SecurityAdvisoryClient MockSecurityAdvisoryClient }
func (MockSecurityAdvisoryClients) Close ¶
func (m MockSecurityAdvisoryClients) Close() error
func (MockSecurityAdvisoryClients) SecurityAdvisory ¶
func (m MockSecurityAdvisoryClients) SecurityAdvisory() advisory.SecurityAdvisoryClient
Click to show internal directories.
Click to hide internal directories.