Documentation ¶
Index ¶
- type EnqueueRequest
- type EnqueueResponse
- type InfoResponse
- type IterateQueueResponse
- type MergePromise
- type MergePromiseTBS
- type NoSuchObjectResponse
- type NoSuchQueueEntryResponse
- type ObjectResponse
- type PutObjectRequest
- type PutObjectResponse
- type SimpleHTTPStorage
- func (s *SimpleHTTPStorage) Enqueue(ctx context.Context, queueId iapi.HashSchemeInstance, ...) error
- func (s *SimpleHTTPStorage) Get(ctx context.Context, hash iapi.HashSchemeInstance) (content []byte, err error)
- func (s *SimpleHTTPStorage) Initialize(ctx context.Context, name string, config map[string]string) error
- func (s *SimpleHTTPStorage) IterateQueue(ctx context.Context, queueId iapi.HashSchemeInstance, iteratorToken string) (object iapi.HashSchemeInstance, nextToken string, err error)
- func (s *SimpleHTTPStorage) Location(context.Context) iapi.LocationSchemeInstance
- func (s *SimpleHTTPStorage) PreferredHashScheme() iapi.HashScheme
- func (s *SimpleHTTPStorage) Put(ctx context.Context, content []byte) (iapi.HashSchemeInstance, error)
- func (s *SimpleHTTPStorage) Status(ctx context.Context) (operational bool, info map[string]string, err error)
- type V1CertifierSeal
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnqueueRequest ¶
type EnqueueRequest struct {
EntryHash []byte `json:"entryHash"`
}
type EnqueueResponse ¶
type EnqueueResponse struct {
V1MergePromise *MergePromise `json:"v1promise"`
}
type InfoResponse ¶
type IterateQueueResponse ¶
type IterateQueueResponse struct { Hash []byte `json:"hash"` NextToken string `json:"nextToken"` V1SMR []byte `json:"v1smr"` V1MapInclusion []byte `json:"v1mapinclusion"` V1MergePromise *MergePromise `json:"v1promise"` V1SLR []byte `json:"v1slr"` V1LogInclusion []byte `json:"v1loginclusion"` V1LogConsistency [][]byte `json:"v1logconsistency"` }
type MergePromise ¶ added in v0.2.0
type MergePromiseTBS ¶ added in v0.2.0
type NoSuchObjectResponse ¶
type NoSuchObjectResponse struct { }
type NoSuchQueueEntryResponse ¶
type NoSuchQueueEntryResponse struct { }
type ObjectResponse ¶
type ObjectResponse struct { DER []byte `json:"der"` V1SMR []byte `json:"v1smr"` V1MapInclusion []byte `json:"v1mapinclusion"` V1MergePromise *MergePromise `json:"v1promise"` V1SLR []byte `json:"v1slr"` V1LogInclusion []byte `json:"v1loginclusion"` V1LogConsistency [][]byte `json:"v1logconsistency"` }
type PutObjectRequest ¶
type PutObjectRequest struct {
DER []byte `json:"der"`
}
type PutObjectResponse ¶
type PutObjectResponse struct { Hash []byte `json:"hash"` V1MergePromise *MergePromise `json:"v1promise"` }
type SimpleHTTPStorage ¶
type SimpleHTTPStorage struct {
// contains filtered or unexported fields
}
func (*SimpleHTTPStorage) Enqueue ¶
func (s *SimpleHTTPStorage) Enqueue(ctx context.Context, queueId iapi.HashSchemeInstance, object iapi.HashSchemeInstance) error
func (*SimpleHTTPStorage) Get ¶
func (s *SimpleHTTPStorage) Get(ctx context.Context, hash iapi.HashSchemeInstance) (content []byte, err error)
func (*SimpleHTTPStorage) Initialize ¶
func (*SimpleHTTPStorage) IterateQueue ¶
func (s *SimpleHTTPStorage) IterateQueue(ctx context.Context, queueId iapi.HashSchemeInstance, iteratorToken string) (object iapi.HashSchemeInstance, nextToken string, err error)
func (*SimpleHTTPStorage) Location ¶
func (s *SimpleHTTPStorage) Location(context.Context) iapi.LocationSchemeInstance
func (*SimpleHTTPStorage) PreferredHashScheme ¶
func (s *SimpleHTTPStorage) PreferredHashScheme() iapi.HashScheme
func (*SimpleHTTPStorage) Put ¶
func (s *SimpleHTTPStorage) Put(ctx context.Context, content []byte) (iapi.HashSchemeInstance, error)
Click to show internal directories.
Click to hide internal directories.