Documentation
¶
Index ¶
- func NewRunner(out output.Output) (*Runner, CleanupFunc)
- type CleanupFunc
- type Runner
- func (r *Runner) AttemptToLoginToRegistry(ctx context.Context, registryName string) error
- func (r *Runner) Copy(ctx context.Context, src, dest string, opts ...SkopeoOption) ([]byte, error)
- func (r *Runner) CopyManifest(ctx context.Context, manifest manifestlist.ManifestList, dest string, ...) ([]byte, error)
- func (r *Runner) InspectManifest(ctx context.Context, imageName string, opts ...SkopeoOption) (manifestlist.ManifestList, []byte, 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(os string) SkopeoOption
- func SrcCredentials(username, password string) SkopeoOption
- func Variant(variant string) SkopeoOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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, ) ([]byte, error)
func (*Runner) InspectManifest ¶
func (r *Runner) InspectManifest( ctx context.Context, imageName string, opts ...SkopeoOption, ) (manifestlist.ManifestList, []byte, 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(os 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.