method

package
v0.0.0-...-768a36a Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package method interacts with apt via stdin and stdout

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

type Method struct {
	Downloader *downloader.Downloader
}

func New

func New() *Method

func (*Method) Start

func (m *Method) Start()

Start watches os.Stdin for a "600 URI Acquire" message from apt which triggers UriStart

func (*Method) UriStart

func (m *Method) UriStart(lines []string) error

UriStart downloads a file from S3 and tells apt about when the download starts and is finished

Jump to

Keyboard shortcuts

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