raw

package
v1.0.0-...-746469e Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RawObject

type RawObject struct {
	metadata.ObjectMetadata
	metadata.CompressedObject
	LibArchiveBackend libarchive.API `json:"-"`
	FileSystemBackend afero.Fs
	CopyBackend       copy.Interface `json:"-"`
	installifdifferent.TargetProvider

	Target     string `json:"target"`
	TargetType string `json:"target-type"`
	ChunkSize  int    `json:"chunk-size,omitempty"`
	Skip       int    `json:"skip,omitempty"`
	Seek       int    `json:"seek,omitempty"`
	Count      int    `json:"count,omitempty"`
	Truncate   bool   `json:"truncate,omitempty"`
}

RawObject encapsulates the "raw" handler data and functions

func (*RawObject) Cleanup

func (r *RawObject) Cleanup() error

Cleanup implementation for the "raw" handler

func (*RawObject) GetTarget

func (r *RawObject) GetTarget() string

GetTarget implementation for the "raw" handler

func (*RawObject) Install

func (r *RawObject) Install(downloadDir string) error

Install implementation for the "raw" handler

func (*RawObject) Setup

func (r *RawObject) Setup() error

Setup implementation for the "raw" handler

func (*RawObject) SetupTarget

func (r *RawObject) SetupTarget(target afero.File)

SetupTarget implementation for the "raw" handler

Jump to

Keyboard shortcuts

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