Documentation ¶
Overview ¶
Package remoterepoapi contains requests and responses for remote repository API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManifestWithMetadata ¶
type ManifestWithMetadata struct { Payload json.RawMessage `json:"payload"` Metadata *manifest.EntryMetadata `json:"metadata"` }
ManifestWithMetadata represents manifest payload and metadata.
type Parameters ¶
type Parameters struct { HashFunction string `json:"hash"` HMACSecret []byte `json:"hmacSecret"` object.Format }
Parameters encapsulates all parameters for repository. returned by /api/v1/repo/parameters.
func (*Parameters) GetHMACSecret ¶
func (p *Parameters) GetHMACSecret() []byte
GetHMACSecret returns the HMAC secret for the remote repository.
func (*Parameters) GetHashFunction ¶
func (p *Parameters) GetHashFunction() string
GetHashFunction returns the name of the hash function for remote repository.
Click to show internal directories.
Click to hide internal directories.