Documentation ¶
Index ¶
- Constants
- type Endpoint
- type ManifestsConfig
- type ManifestsV2
- type MediaType
- type Platform
- type Project
- type ProjectSearchResult
- type Registry
- func (r *Registry) Do(template string, input *handler.ApiRequestInput, fn ResponseFunc) error
- func (r *Registry) Login() error
- func (r *Registry) ManifestV2(imageFullName string) (*ManifestsV2, error)
- func (r *Registry) Manifests(imageName string) (string, error)
- func (r *Registry) Ping() error
- func (r *Registry) SearchProject(nameQuery string, n int) ([]Project, error)
- func (r *Registry) Tags(repoName string) (string, error)
- func (r *Registry) TagsPaginated(repoName string, pageNo int, pageSize int) (string, error)
- type ResponseFunc
- type SubManifestsV2
Constants ¶
View Source
const BlobRequestTemplate = `` /* 411-byte string literal not displayed */
View Source
const ManifestV2RequestTemplate = `` /* 716-byte string literal not displayed */
View Source
const SearchProjectRequestTemplate = `` /* 322-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManifestsConfig ¶
type ManifestsV2 ¶
type ProjectSearchResult ¶
type Registry ¶
type Registry struct { Auth *common.Auth Endpoint *Endpoint Client *http.Client HandlerFacade *handler.Facade }
func (*Registry) Do ¶
func (r *Registry) Do(template string, input *handler.ApiRequestInput, fn ResponseFunc) error
func (*Registry) ManifestV2 ¶
func (r *Registry) ManifestV2(imageFullName string) (*ManifestsV2, error)
func (*Registry) SearchProject ¶
type ResponseFunc ¶
type SubManifestsV2 ¶
type SubManifestsV2 struct { Digest string `json:"digest"` SchemaVersion int `json:"schemaVersion"` MediaType string `json:"mediaType"` Config *MediaType `json:"config"` Layers []MediaType `json:"layers"` Platform *Platform `json:"platform"` Size int `json:"size"` RawBase64 string `json:"rawBase64"` RawSha256Sum string `json:"rawSha256Sum"` }
Click to show internal directories.
Click to hide internal directories.