Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthEndpoint ¶ added in v0.13.0
AuthEndpoint .
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client .
func (Client) CheckAuthRequired ¶ added in v0.13.0
CheckAuthRequired checks if the notary requires authentication and returns information where to authenticate
func (Client) GetNotaryRepo ¶
func (c Client) GetNotaryRepo(server, image, notaryToken string) (notaryclient.Repository, error)
GetNotaryRepo .
type Interface ¶
type Interface interface { GetNotaryRepo(server, image, notaryToken string) (notaryclient.Repository, error) CheckAuthRequired(notaryURL string, img *image.Reference) (*AuthEndpoint, error) }
Interface .
Click to show internal directories.
Click to hide internal directories.