Documentation ¶
Index ¶
- type Blob
- type Client
- func (c *Client) AuthorizeOCIRequest(ctx context.Context, image oci.Reference, req *http.Request) error
- func (c *Client) GetBlob(ctx context.Context, href string, includeRaw bool) (*Blob, error)
- func (c *Client) GetProjectContainerRepositories(ctx context.Context, fullPath string) ([]ContainerRepository, error)
- func (c *Client) GetProjectContainerRepositoryTags(ctx context.Context, id string) ([]ContainerRepositoryTag, error)
- func (c *Client) GetRegistryToken(ctx context.Context, image oci.Reference) (string, error)
- func (c *Client) GetRepositoryDescription(ctx context.Context, fullPath string) (string, error)
- func (c *Client) GetRepositoryREADMEBlob(ctx context.Context, fullPath string) (*Blob, error)
- type ContainerRepository
- type ContainerRepositoryTag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct { ID string `json:"id"` Path string `json:"path"` Name string `json:"name"` Extension string `json:"extension"` Size int `json:"size"` MimeType string `json:"mime_type"` Binary bool `json:"binary"` RawPath string `json:"raw_path"` BlamePath string `json:"blame_path"` CommitsPath string `json:"commits_path"` TreePath string `json:"tree_path"` Permalink string `json:"permalink"` LastCommitSHA string `json:"last_commit_sha"` HTML string `json:"html"` Raw []byte `json:"-"` }
type Client ¶
func (*Client) AuthorizeOCIRequest ¶
func (*Client) GetProjectContainerRepositories ¶
func (*Client) GetProjectContainerRepositoryTags ¶
func (*Client) GetRegistryToken ¶
func (*Client) GetRepositoryDescription ¶
type ContainerRepository ¶
Click to show internal directories.
Click to hide internal directories.