client

package
v0.0.0-...-14a8109 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateClient

type UpdateClient struct {
}

func (*UpdateClient) AddBinary

func (uc *UpdateClient) AddBinary(keyParams params.KeyParams, binaryParams params.BinaryParams, serverParams params.ServerParams) error

AddBinary is adding build to update server (require auth credentials)

func (*UpdateClient) GenerateKeys

func (uc *UpdateClient) GenerateKeys(keyParams params.KeyParams) error

GenerateKeys creates public/private key pair

func (*UpdateClient) GetBinary

func (uc *UpdateClient) GetBinary(serverParams params.ServerParams, keyParams params.KeyParams, binaryParams params.BinaryParams) (model.Build, error)

GetBinary is retrieving full build model from update server

func (*UpdateClient) GetLastBinary

func (uc *UpdateClient) GetLastBinary(serverParams params.ServerParams,
	keyParams params.KeyParams,
	binaryParams params.BinaryParams) (model.Build, error)

func (*UpdateClient) GetVersionList

func (uc *UpdateClient) GetVersionList(serverParams params.ServerParams, binaryParams params.BinaryParams) ([]model.Build, error)

GetVersionList is retrieving list of versions by os+arch parameters

func (*UpdateClient) RemoveBinary

func (uc *UpdateClient) RemoveBinary(serverParams params.ServerParams, binaryParams params.BinaryParams) error

RemoveBinary is removing build from update server (require auth credentials)

Jump to

Keyboard shortcuts

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