Versions in this module Expand all Collapse all v0 v0.1.0 Feb 26, 2021 Changes in this version + const Accounting + const NewConfigurationAndOrPlatformUpdateType + const NewPlatformUpdateType + const NewProgramOrRedactionUpdateType + const ZUP + func UnzipFile(src, dest string) error + type Client struct + BaseURL string + Password string + Username string + func NewClient(username, password string) *Client + func (c *Client) GetConfigurationUpdateData(data ConfigurationUpdateData) (*ConfigurationUpdateFile, error) + func (c *Client) GetPatchDistributionData(data PatchDistributionData) (*PatchDistributionFile, error) + func (c *Client) GetPatchesFilesInfo(patchUinList ...string) (PatchesGetFilesResponse, error) + func (c *Client) GetPatchesInfo(programName, programVersion string, InstalledPatchesList ...string) (PatchesInfoResponse, error) + func (c *Client) GetPatchesInfoRequest(programVersionList []ProgramVersion, installedPatchesList []string) (PatchesInfoResponse, error) + func (c *Client) GetUpdate(programVersionUin string, UpgradeSequence []string) (UpdateResponse, error) + func (c *Client) GetUpdateInfo(programName, version string, updateTypeAndPlatformVersion ...string) (UpdateInfoResponse, error) + type ConfigurationUpdateData struct + ExecuteUpdateProcess bool + HashSum string + Size int + TemplatePath string + UpdateFileFormat string + UpdateFileName string + UpdateFileUrl string + type ConfigurationUpdateFile struct + type ConfigurationUpdateInfo struct + ConfigurationVersion string + HowToUpdateInfoUrl string + PlatformVersion string + ProgramVersionUin string + Size int + UpdateInfoUrl string + UpgradeSequence []string + type ErrorResponse struct + ErrorMessage string + ErrorName string + func (c ErrorResponse) Error() string + type PatchDistributionData struct + HashSum string + PatchFileName string + PatchFileUrl string + PatchUeid string + Size int + type PatchDistributionFile struct + type PatchUpdate struct + ApplyToVersion []ProgramVersion + BuildDate int64 + Description string + ModificatedMetadata string + Name string + Size int + Status string + Ueid string + type PatchesGetFilesRequest struct + Login string + Password string + PatchUinList []string + type PatchesGetFilesResponse struct + PatchDistributionDataList []PatchDistributionData + func (c PatchesGetFilesResponse) Error() error + type PatchesInfoRequest struct + InstalledPatchesList []string + ProgramVersionList []ProgramVersion + type PatchesInfoResponse struct + PatchUpdateList []PatchUpdate + func (c PatchesInfoResponse) Error() error + type PlatformUpdateInfo struct + DistributionUin string + PlatformVersion string + Recommended bool + ReleaseUrl string + Size int + TransitionInfoUrl string + type ProgramVersion struct + ProgramName string + VersionNumber string + type RequestError struct + Err string + Errors []struct{ ... } + Exception string + Message string + Path string + Status int + Timestamp int64 + func (e RequestError) Error() string + type UpdateInfoRequest struct + PlatformVersion string + UpdateType string + type UpdateInfoResponse struct + AdditionalParameters map[string]string + ConfigurationUpdate ConfigurationUpdateInfo + PlatformUpdate PlatformUpdateInfo + func (c UpdateInfoResponse) Error() error + type UpdateRequest struct + Login string + Password string + ProgramVersionUin string + UpgradeSequence []string + type UpdateResponse struct + AdditionalParameters map[string]string + ConfigurationUpdateDataList []ConfigurationUpdateData + PlatformDistributionUrl string + func (c UpdateResponse) Error() error