Documentation ¶
Overview ¶
Package client GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Index ¶
- func NewAuthorizer(ctx context.Context, c AuthChallenger, name reference.Named, actions []string) transport.RequestModifier
- type AuthChallenger
- type Client
- func (c *Client) AuthChallenger() AuthChallenger
- func (c *Client) FixedNamed(named reference.Named) reference.Named
- func (c *Client) Host() string
- func (c *Client) Repository(ctx context.Context, name reference.Named) (distribution.Repository, error)
- func (v Client) RuntimeDoc(names ...string) ([]string, bool)
- func (c *Client) URL() *url.URL
- func (c *Client) UpdateImages(kubepkgs []*v1alpha1.KubePkg) []*v1alpha1.KubePkg
- type RemoteRegistry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthorizer ¶
func NewAuthorizer(ctx context.Context, c AuthChallenger, name reference.Named, actions []string) transport.RequestModifier
Types ¶
type AuthChallenger ¶
type AuthChallenger interface { TryEstablishChallenges(context.Context) error ChallengeManager() challenge.Manager CredentialStore() auth.CredentialStore }
func NewAuthChallenger ¶
func NewAuthChallenger(remoteURL *url.URL, username, password string) (AuthChallenger, error)
type Client ¶
type Client struct { Registry RemoteRegistry KeepOriginHost bool // contains filtered or unexported fields }
func (*Client) AuthChallenger ¶
func (c *Client) AuthChallenger() AuthChallenger
func (*Client) Repository ¶
type RemoteRegistry ¶
type RemoteRegistry struct { // Remote container registry endpoint Endpoint string `flag:",omitempty"` // Remote container registry username Username string `flag:",omitempty"` // Remote container registry password Password string `flag:",omitempty,secret"` }
func (RemoteRegistry) RuntimeDoc ¶
func (v RemoteRegistry) RuntimeDoc(names ...string) ([]string, bool)
Click to show internal directories.
Click to hide internal directories.