logiciel

package
v0.0.0-...-151ce6e Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Expose les utilitaires de déploiement du client ACVE, utilisés pour:

  • le téléchargement initial
  • les mises à jour automatiques

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogiciel

func GetLogiciel(platform string) (path string, err error)

func GetUpdate

func GetUpdate(platform string) (string, error)

Renvoie le chemin de la mise à jour compressée correspondant à la platforme demandée

Types

type OutLogiciel

type OutLogiciel struct {
	Versions      Versions `json:"versions"`
	WrongPassword bool     `json:"wrong_password"`
}

func NewOutLogiciel

func NewOutLogiciel(wrongPassword bool) OutLogiciel

type PatchedVersionInfo

type PatchedVersionInfo struct {
	apiserver.VersionInfos
	Version string
	Hash    []byte
	NbFiles int
}

func GetUpdateInfos

func GetUpdateInfos(platform string) (PatchedVersionInfo, error)

GetUpdateInfos renvoie les informations de mise à jour

type Versions

type Versions struct {
	Windows apiserver.VersionInfos `json:"windows"`
	Darwin  apiserver.VersionInfos `json:"darwin"`
	Linux   apiserver.VersionInfos `json:"linux"`
}

Jump to

Keyboard shortcuts

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