Giter VIP home page Giter VIP logo

webd97 / rpc-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from open-amt-cloud-toolkit/rpc-go

0.0 0.0 0.0 1.18 MB

The Remote Provisioning Client (RPC) communicates with the Manageability Engine Interface (MEI) and Remote Provisioning Service (RPS) interfaces.

Home Page: https://open-amt-cloud-toolkit.github.io/docs/

License: Apache License 2.0

Shell 0.26% Go 99.60% Makefile 0.01% Dockerfile 0.14%

rpc-go's Introduction

Remote Provisioning Client (RPC)

CodeQL Build Codecov OSSF-Scorecard Score Discord Docker Pulls

Disclaimer: Production viable releases are tagged and listed under 'Releases'. All other check-ins should be considered 'in-development' and should not be used in production

RPC is used for activation, deactivation, maintenance, and status of an AMT device The Remote Provisioning Client (RPC) is an application that assists with activation, configuration, and maintenance of for Intel® AMT devices. RPC provides source code that must be compiled into a binary to run or library for integration with other client applications.



For detailed documentation about Getting Started or other features of the Open AMT Cloud Toolkit, see the docs.


Prerequisites

Build

Windows

As executable:

go build -o rpc.exe ./cmd/main.go

As Library:

go build -buildmode=c-shared -o rpc.dll ./cmd

Linux

As executable:

go build -o rpc ./cmd/main.go

As Library:

go build -buildmode=c-shared -o librpc.so ./cmd   

Docker image

docker build -t rpc-go:latest .

Run

Install the executable on a target device and then run from a terminal/shell command line with adminstrator privileges.

For usage, call the executable with no additional parameters.

Windows

.\rpc

Linux

sudo ./rpc

Docker

$ docker run --rm -it --device /dev/mei0 rpc-go:latest

Dev tips for passing CI Checks

  • Ensure code is formatted correctly with gofmt -s -w ./
  • Ensure all unit tests pass with go test ./...
  • Ensure code has been linted with docker run --rm -v ${pwd}:/app -w /app golangci/golangci-lint:v1.52.2 golangci-lint run -v

Additional Resources

rpc-go's People

Contributors

bwendlandt-intel avatar craig-spencer-12 avatar dependabot[bot] avatar emeeker2002 avatar ernestojeda avatar graikhel-intel avatar intelkrishi avatar jaolanlo avatar madhavilosetty-intel avatar matt-primrose avatar rjbrache avatar rsdmike avatar semantic-release-bot avatar step-security-bot avatar svendowideit avatar tim-shockley avatar tongsean9807 avatar vinayg-intel avatar walt-intel avatar zaidusmani26 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.