registry

package
v0.0.0-...-c7e0299 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(image string, opts ...Option) (*Client, error)

func (*Client) Get

func (c *Client) Get(ctx context.Context) (io.ReadSeekCloser, error)

func (*Client) Put

func (c *Client) Put(ctx context.Context, r io.Reader) error

type Option

type Option func(*Client)

func WithInsecure

func WithInsecure(insecure bool) Option

func WithInsecureTransport

func WithInsecureTransport(t http.RoundTripper) Option

func WithTransport

func WithTransport(t http.RoundTripper) Option

func WithUserPass

func WithUserPass(username string, password string) Option

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL