Documentation ¶
Index ¶
- func GetLocalBlob(ctx context.Context, path string) (*types.BlobInfo, error)
- func GetRemoteDescriptor(ctx context.Context, dest string) (*specV1.Descriptor, error)
- func GetRemoteManifest(ctx context.Context, dest string) (*specV1.Manifest, error)
- func Pull(ctx context.Context, imageInput string, sourcePath string, options PullOptions) error
- func ReadImageManifestFromOCIPath(ctx context.Context, ociImagePath string) (*specV1.Manifest, error)
- func StripOCIReference(input string) string
- type Disker
- type LocalBlobDir
- type OCIKind
- type OCIOpts
- type OSVersion
- type PullOptions
- type Versioned
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRemoteDescriptor ¶
func GetRemoteManifest ¶
func StripOCIReference ¶
Types ¶
type LocalBlobDir ¶
type LocalBlobDir struct {
// contains filtered or unexported fields
}
func NewOCIDir ¶
func NewOCIDir(ctx context.Context, inputDir, machineImageDir, vmName string) *LocalBlobDir
func (*LocalBlobDir) Decompress ¶
func (*LocalBlobDir) DiskEndpoint ¶
func (l *LocalBlobDir) DiskEndpoint() string
func (*LocalBlobDir) LocalBlob ¶
func (l *LocalBlobDir) LocalBlob() *types.BlobInfo
func (*LocalBlobDir) Pull ¶
func (l *LocalBlobDir) Pull() error
type PullOptions ¶
type PullOptions struct { // Require HTTPS and verify certificates when accessing the registry. TLSVerify bool // [username[:password] to use when connecting to the registry. Credentials string // Quiet the progress bars when pushing. Quiet bool }
PullOptions includes data to alter certain knobs when pulling a source image.
type Versioned ¶
type Versioned struct {
// contains filtered or unexported fields
}
func NewVersioned ¶
func (*Versioned) Decompress ¶
func (*Versioned) DiskEndpoint ¶
Click to show internal directories.
Click to hide internal directories.