Documentation ¶
Index ¶
- func NewSigner(inner cosign.Signer, rClient *client.Rekor) cosign.Signer
- type MockEntriesClient
- func (m *MockEntriesClient) CreateLogEntry(params *entries.CreateLogEntryParams, opts ...entries.ClientOption) (*entries.CreateLogEntryCreated, error)
- func (m *MockEntriesClient) GetLogEntryByIndex(params *entries.GetLogEntryByIndexParams, opts ...entries.ClientOption) (*entries.GetLogEntryByIndexOK, error)
- func (m *MockEntriesClient) GetLogEntryByUUID(params *entries.GetLogEntryByUUIDParams, opts ...entries.ClientOption) (*entries.GetLogEntryByUUIDOK, error)
- func (m *MockEntriesClient) SearchLogQuery(params *entries.SearchLogQueryParams, opts ...entries.ClientOption) (*entries.SearchLogQueryOK, error)
- func (m *MockEntriesClient) SetTransport(transport runtime.ClientTransport)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockEntriesClient ¶ added in v1.5.0
type MockEntriesClient struct { }
Client that implements entries.ClientService for Rekor To use: var mClient client.Rekor mClient.entries = &MockEntriesClient{}
func (*MockEntriesClient) CreateLogEntry ¶ added in v1.5.0
func (m *MockEntriesClient) CreateLogEntry(params *entries.CreateLogEntryParams, opts ...entries.ClientOption) (*entries.CreateLogEntryCreated, error)
func (*MockEntriesClient) GetLogEntryByIndex ¶ added in v1.5.0
func (m *MockEntriesClient) GetLogEntryByIndex(params *entries.GetLogEntryByIndexParams, opts ...entries.ClientOption) (*entries.GetLogEntryByIndexOK, error)
TODO: Implement mock
func (*MockEntriesClient) GetLogEntryByUUID ¶ added in v1.5.0
func (m *MockEntriesClient) GetLogEntryByUUID(params *entries.GetLogEntryByUUIDParams, opts ...entries.ClientOption) (*entries.GetLogEntryByUUIDOK, error)
TODO: Implement mock
func (*MockEntriesClient) SearchLogQuery ¶ added in v1.5.0
func (m *MockEntriesClient) SearchLogQuery(params *entries.SearchLogQueryParams, opts ...entries.ClientOption) (*entries.SearchLogQueryOK, error)
TODO: Implement mock
func (*MockEntriesClient) SetTransport ¶ added in v1.5.0
func (m *MockEntriesClient) SetTransport(transport runtime.ClientTransport)
TODO: Implement mock
Click to show internal directories.
Click to hide internal directories.