extension

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2016 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	MakeRequest(method string, url string, expectedResponseCode int, body io.Reader, data interface{}) (*http.Response, []byte, error)
	CreateRequest(method string, url string, body io.Reader) (*http.Request, error)
}

type ExtendedClient

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

func NewExtendedClient

func NewExtendedClient(client Client, logger logger.Logger) ExtendedClient

func (ExtendedClient) DownloadFile

func (c ExtendedClient) DownloadFile(writer io.Writer, downloadLink string) (err error, retryable bool)

func (ExtendedClient) ReleaseFingerprint added in v0.0.31

func (c ExtendedClient) ReleaseFingerprint(productSlug string, releaseID int) (string, error)

Directories

Path Synopsis
This file was generated by counterfeiter
This file was generated by counterfeiter

Jump to

Keyboard shortcuts

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