Documentation ¶
Index ¶
- type EntriesClient
- func (m *EntriesClient) CreateLogEntry(_ *entries.CreateLogEntryParams, _ ...entries.ClientOption) (*entries.CreateLogEntryCreated, error)
- func (m *EntriesClient) GetLogEntryByIndex(_ *entries.GetLogEntryByIndexParams, _ ...entries.ClientOption) (*entries.GetLogEntryByIndexOK, error)
- func (m *EntriesClient) GetLogEntryByUUID(_ *entries.GetLogEntryByUUIDParams, _ ...entries.ClientOption) (*entries.GetLogEntryByUUIDOK, error)
- func (m *EntriesClient) SearchLogQuery(params *entries.SearchLogQueryParams, _ ...entries.ClientOption) (*entries.SearchLogQueryOK, error)
- func (m *EntriesClient) SetTransport(_ runtime.ClientTransport)
- type PubkeyClient
- type TlogClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntriesClient ¶
EntriesClient is a client that implements entries.ClientService for Rekor To use: var mClient client.Rekor mClient.Entries = &mock.EntriesClient{Entries: <logEntries>}
func (*EntriesClient) CreateLogEntry ¶
func (m *EntriesClient) CreateLogEntry(_ *entries.CreateLogEntryParams, _ ...entries.ClientOption) (*entries.CreateLogEntryCreated, error)
func (*EntriesClient) GetLogEntryByIndex ¶
func (m *EntriesClient) GetLogEntryByIndex(_ *entries.GetLogEntryByIndexParams, _ ...entries.ClientOption) (*entries.GetLogEntryByIndexOK, error)
func (*EntriesClient) GetLogEntryByUUID ¶
func (m *EntriesClient) GetLogEntryByUUID(_ *entries.GetLogEntryByUUIDParams, _ ...entries.ClientOption) (*entries.GetLogEntryByUUIDOK, error)
func (*EntriesClient) SearchLogQuery ¶
func (m *EntriesClient) SearchLogQuery(params *entries.SearchLogQueryParams, _ ...entries.ClientOption) (*entries.SearchLogQueryOK, error)
func (*EntriesClient) SetTransport ¶
func (m *EntriesClient) SetTransport(_ runtime.ClientTransport)
type PubkeyClient ¶
type PubkeyClient struct {
PEMPubKey string
}
PubkeyClient is a client that implements pubkey.ClientService for Rekor To use: var mClient client.Rekor mClient.Entries = &mock.PubkeyClient{PEMPubKey: <string>}
func (*PubkeyClient) GetPublicKey ¶
func (m *PubkeyClient) GetPublicKey(_ *pubkey.GetPublicKeyParams, _ ...pubkey.ClientOption) (*pubkey.GetPublicKeyOK, error)
func (*PubkeyClient) SetTransport ¶
func (m *PubkeyClient) SetTransport(_ runtime.ClientTransport)
type TlogClient ¶
TlogClient is a client that implements tlog.ClientService for Rekor To use: var mClient client.Rekor mClient.Entries = &mock.TlogClient{LogInfo: <loginfo>}
func (*TlogClient) GetLogInfo ¶
func (m *TlogClient) GetLogInfo(_ *tlog.GetLogInfoParams, _ ...tlog.ClientOption) (*tlog.GetLogInfoOK, error)
func (*TlogClient) GetLogProof ¶
func (m *TlogClient) GetLogProof(_ *tlog.GetLogProofParams, _ ...tlog.ClientOption) (*tlog.GetLogProofOK, error)
func (*TlogClient) SetTransport ¶
func (m *TlogClient) SetTransport(_ runtime.ClientTransport)
Click to show internal directories.
Click to hide internal directories.