os-agent

command module
v0.0.0-...-f95bbe0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

README

Агент для SmartAutomatic OS

Это агент ОС для SmartAutomatic. Позволяет SmartAutomatic Supervisor взаимодействовать с операционной системой.

Установка и обновление

Использование SmartAutomatic OS

Агент ОС предустановлен вместе с SmartAutomatic OS.

Обновления являются частью обновлений SmartAutomatic OS.

Разработка

Admin PowerShell
go tool dist install -v pkg/runtime
go install -v -a std
PowerShell
$Env:GOOS = "linux"; $Env:GOARCH = "amd64"
go build -ldflags="-s -w" -o "sa_amd64"
$Env:GOOS = "linux"; $Env:GOARCH = "386"
go build -ldflags="-s -w" -o "sa_i386"
$Env:GOOS = "linux"; $Env:GOARCH = "arm64"
go build -ldflags="-s -w" -o "sa_aarch64"
$Env:GOOS = "linux"; $Env:GOARM = "6"; $Env:GOARCH = "arm"
go build -ldflags="-s -w" -o "sa_armhf"
$Env:GOOS = "linux"; $Env:GOARM = "7"; $Env:GOARCH = "arm"
go build -ldflags="-s -w" -o "sa_armv7"
Компиляция
go build -ldflags "-X main.version="
Тесты
gdbus introspect --system --dest org.sas.os --object-path /org/sas/os

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Code generated by dbus-codegen-go DO NOT EDIT.
Code generated by dbus-codegen-go DO NOT EDIT.
utils
log

Jump to

Keyboard shortcuts

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