modulepackage
0.0.0-20221230194834-33221474ef04
Repository: https://github.com/aurae-runtime/client-go.git
Documentation: pkg.go.dev
# README
client-go
Go gRPC client for Aurae
Installation
go get github.com/aurae-runtime/client-go
Usage
Connecting with TLS
tlsConfig := &tls.Config{} // Provide your TLS configuration
client, err := aurae.NewClient("localhost:8080", credentials.NewTLS(tlsConfig))
if err != nil {
panic(err)
}
Interacting with auraed
exec := &runtime.Executable{
Command: "tail -f /dev/null",
Comment: "my-executable",
}
status, err := client.Runtime().RunExecutable(context.TODO(), exec)
if err != nil {
panic(err)
}
fmt.Printf("Executable running with pid %d\n", status.Proc.Pid)
# Packages
No description provided by the author
# Functions
No description provided by the author