Documentation
¶
Index ¶
- func NewRunner() (*Runner, CleanupFunc)
- type CleanupFunc
- type Runner
- func (r *Runner) AttemptToLoginToRegistry(ctx context.Context, registryName string) (stdout, stderr []byte, err error)
- func (r *Runner) Copy(ctx context.Context, src, dest string, opts ...SkopeoOption) (stdout, stderr []byte, err error)
- func (r *Runner) CopyManifest(ctx context.Context, manifest manifestlist.ManifestList, dest string, ...) (stdout, stderr []byte, err error)
- func (r *Runner) InspectManifest(ctx context.Context, imageName string, opts ...SkopeoOption) (manifests manifestlist.ManifestList, stdout, stderr []byte, err error)
- type SkopeoOption
- func All() SkopeoOption
- func AllImages() SkopeoOption
- func Arch(arch string) SkopeoOption
- func CertDir(dir string) SkopeoOption
- func Debug() SkopeoOption
- func DestCertDir(dir string) SkopeoOption
- func DestCredentials(username, password string) SkopeoOption
- func DisableDestTLSVerify() SkopeoOption
- func DisableSrcTLSVerify() SkopeoOption
- func DisableTLSVerify() SkopeoOption
- func IndexOnly() SkopeoOption
- func NoTags() SkopeoOption
- func OS(opsys string) SkopeoOption
- func PreserveDigests() SkopeoOption
- func SrcCredentials(username, password string) SkopeoOption
- func Variant(variant string) SkopeoOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRunner ¶
func NewRunner() (*Runner, CleanupFunc)
Types ¶
type CleanupFunc ¶
type CleanupFunc func() error
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) AttemptToLoginToRegistry ¶
func (*Runner) CopyManifest ¶
func (r *Runner) CopyManifest( ctx context.Context, manifest manifestlist.ManifestList, dest string, opts ...SkopeoOption, ) (stdout, stderr []byte, err error)
func (*Runner) InspectManifest ¶
func (r *Runner) InspectManifest( ctx context.Context, imageName string, opts ...SkopeoOption, ) (manifests manifestlist.ManifestList, stdout, stderr []byte, err error)
type SkopeoOption ¶
type SkopeoOption func() string
func All ¶
func All() SkopeoOption
func AllImages ¶
func AllImages() SkopeoOption
func Arch ¶
func Arch(arch string) SkopeoOption
func CertDir ¶ added in v1.0.0
func CertDir(dir string) SkopeoOption
func Debug ¶
func Debug() SkopeoOption
func DestCertDir ¶ added in v1.0.0
func DestCertDir(dir string) SkopeoOption
func DestCredentials ¶
func DestCredentials(username, password string) SkopeoOption
func DisableDestTLSVerify ¶
func DisableDestTLSVerify() SkopeoOption
func DisableSrcTLSVerify ¶
func DisableSrcTLSVerify() SkopeoOption
func DisableTLSVerify ¶ added in v1.0.0
func DisableTLSVerify() SkopeoOption
func IndexOnly ¶ added in v0.6.9
func IndexOnly() SkopeoOption
func NoTags ¶ added in v0.6.11
func NoTags() SkopeoOption
func OS ¶
func OS(opsys string) SkopeoOption
func PreserveDigests ¶ added in v0.6.9
func PreserveDigests() SkopeoOption
func SrcCredentials ¶
func SrcCredentials(username, password string) SkopeoOption
func Variant ¶
func Variant(variant string) SkopeoOption
Click to show internal directories.
Click to hide internal directories.