Documentation
¶
Index ¶
- func NewRunner() (*Runner, CleanupFunc)
- type CleanupFunc
- type Manifest
- 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 Debug() SkopeoOption
- func DestCredentials(username, password string) SkopeoOption
- func DisableDestTLSVerify() SkopeoOption
- func DisableSrcTLSVerify() SkopeoOption
- func OS(opsys string) 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 Manifest ¶ added in v0.6.5
type Manifest struct {
schema2.Manifest
// Annotations holds image manifest annotations.
Annotations map[string]string `json:"annotations"`
}
Manifest defines a schema2 manifest.
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 Debug ¶
func Debug() SkopeoOption
func DestCredentials ¶
func DestCredentials(username, password string) SkopeoOption
func DisableDestTLSVerify ¶
func DisableDestTLSVerify() SkopeoOption
func DisableSrcTLSVerify ¶
func DisableSrcTLSVerify() SkopeoOption
func OS ¶
func OS(opsys string) 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.