Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(optionsApplier pkg.RegistryOptionApplier)
func WithAuth ¶
WithAuth use docker config base64 as authConfig if dockerCfg is empty - will use client without auth
func WithInsecureSchema ¶
WithInsecureSchema use http schema instead of https
func WithTimeout ¶
WithTimeout limit and request to a registry with a timeout default timeout is 30 seconds
func WithUserAgent ¶
WithUserAgent adds ua string to the User-Agent header
func (Option) Apply ¶
func (opt Option) Apply(o pkg.RegistryOptionApplier)
type PatchOption ¶
type PatchOption func(o pkg.PatchCollectorOptionApplier)
func WithIgnoreHookError ¶
func WithIgnoreHookError(ignore bool) PatchOption
func WithIgnoreMissingObject ¶
func WithIgnoreMissingObject(ignore bool) PatchOption
func WithSubresource ¶
func WithSubresource(subresource string) PatchOption
func (PatchOption) Apply ¶
func (opt PatchOption) Apply(o pkg.PatchCollectorOptionApplier)
Click to show internal directories.
Click to hide internal directories.