Documentation ¶
Index ¶
- func URL(scheme string, host string, format string, a ...interface{}) string
- type BasicCredentials
- type Client
- func (c *Client) Auth(creds auth.CredentialStore, scope string, actions ...string) error
- func (c *Client) DeleteManifest(name string) (*http.Response, error)
- func (c *Client) Do(req *http.Request) (*http.Response, error)
- func (c *Client) GetBlob(name string) (*http.Response, error)
- func (c *Client) GetManifest(name string, opts GetManifestOptions) (*http.Response, error)
- func (c *Client) Named() reference.Named
- func (c *Client) Scope() string
- func (c *Client) URL(format string, a ...interface{}) string
- type GetManifestOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BasicCredentials ¶
func (*BasicCredentials) RefreshToken ¶
func (c *BasicCredentials) RefreshToken(url *url.URL, service string) string
func (*BasicCredentials) SetRefreshToken ¶
func (c *BasicCredentials) SetRefreshToken(url *url.URL, service string, token string)
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteManifest ¶
func (*Client) GetManifest ¶
type GetManifestOptions ¶
type GetManifestOptions struct { AcceptKnown bool AcceptSchema1 bool AcceptSchema1Signed bool AcceptSchema2 bool AcceptManifestList bool AcceptOCISchema bool AcceptOCIIndex bool MediaTypes []string }
func (*GetManifestOptions) AddToFlagSet ¶
func (o *GetManifestOptions) AddToFlagSet(fs *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.