rebase

package
v0.0.0-...-0228211 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package rebase provides methods to rebase images in a Docker registry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rebaser

type Rebaser struct {
	// contains filtered or unexported fields
}

Rebaser provides a method for rebasing Docker images.

func New

New returns a new Rebaser, using the specified keychain and HTTP transport.

func (Rebaser) Rebase

func (r Rebaser) Rebase(origStr, oldBaseStr, newBaseStr, rebasedStr string) error

Rebase constructs and pushes a new image based on orig, with layers from oldBase removed and replaced with those in newBase. The new image is pushed to the reference described by rebased.

Jump to

Keyboard shortcuts

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