Documentation ¶
Index ¶
- type UpdateClient
- func (uc *UpdateClient) AddBinary(keyParams params.KeyParams, binaryParams params.BinaryParams, ...) error
- func (uc *UpdateClient) GenerateKeys(keyParams params.KeyParams) error
- func (uc *UpdateClient) GetBinary(serverParams params.ServerParams, keyParams params.KeyParams, ...) (model.Build, error)
- func (uc *UpdateClient) GetLastBinary(serverParams params.ServerParams, keyParams params.KeyParams, ...) (model.Build, error)
- func (uc *UpdateClient) GetVersionList(serverParams params.ServerParams, binaryParams params.BinaryParams) ([]model.Build, error)
- func (uc *UpdateClient) RemoveBinary(serverParams params.ServerParams, binaryParams params.BinaryParams) error
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)
Click to show internal directories.
Click to hide internal directories.