Go gRPC client for Aurae
go get github.com/aurae-runtime/client-go
tlsConfig := &tls.Config{} // Provide your TLS configuration
client, err := aurae.NewClient("localhost:8080", credentials.NewTLS(tlsConfig))
if err != nil {
panic(err)
}
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)