ccupdater

package
v0.0.0-...-cc4ef14 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CCUpdater

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

func NewCCUpdater

func NewCCUpdater(endpoint string, method string, clientCertFile string, clientKeyFile string, caCertFile string) *CCUpdater

func NewCCUpdaterWithHttpClient

func NewCCUpdaterWithHttpClient(endpoint string, method string, httpClient HttpClient) *CCUpdater

func (*CCUpdater) NotifyProcessingUpload

func (updater *CCUpdater) NotifyProcessingUpload(guid string) error

func (*CCUpdater) NotifyUploadFailed

func (updater *CCUpdater) NotifyUploadFailed(guid string, e error) error

func (*CCUpdater) NotifyUploadSucceeded

func (updater *CCUpdater) NotifyUploadSucceeded(guid string, sha1 string, sha256 string) error

type HttpClient

type HttpClient interface {
	Do(*http.Request) (*http.Response, error)
}

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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