options

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	// AllowPlainHttp allows the fallback to http if the oci registry does not support https
	AllowPlainHttp bool
	// SkipTLSVerify specifies if the server's certificate should be checked for validity.
	SkipTLSVerify bool
	// CacheDir defines the oci cache directory
	CacheDir string
	// RegistryConfigPath defines a path to the dockerconfig.json with the oci registry authentication.
	RegistryConfigPath string
	// ConcourseConfigPath is the path to the local concourse config file.
	ConcourseConfigPath string
}

Options defines a set of options to create a oci client

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) Build

Build builds a new oci client based on the given options

Jump to

Keyboard shortcuts

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