package
0.0.0-20230210204844-14b87723d21e
Repository: https://github.com/mudler/containerbay.git
Documentation: pkg.go.dev

# Functions

New returns a new API instance with the given options.
Standalone sets the standalone image to serve requests from.
WithAuth specify an authentication which is used to perform image pulls.
WithCacheStore sets the cache store where all container images will be stored.
WithCleanupInterval sets the cleanup interval that triggers a cache cleanup The cache gets periodically cleaned up at the interval provided from the images contained in it The interval is a string and specifies a duration, e.g.
WithDefaultImage sets the DefaultImage which will be used as fallback.
WithDNSField sets the DNS TXT fields which containerbay will use to resolve the container image to host the website.
WithListeningAddress sets the API listening address port in the ip:port form.
WithMagicDNS sets the magic dns domain used to query the images from e.g.
WithMaxSize specifies a max size of the images to be served.
WithPoolSize specify a size for the queue of the worker pool.
WithWhitelist adds a list of regexes to be whiteliste of the images that can be served.
WithWorkers specifies the number of running workers that will download images in parallel.

# Structs

API returns a new containerbay instance.

# Type aliases

EchoOption is a generic handler which mutates the underlying Echo instance.
Options is a generic handler which mutates an API object.