An open API service indexing awesome lists of open source software.

https://github.com/yylt/sandbox


https://github.com/yylt/sandbox

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

          

# Agent Sandbox

[![GoTemplate](https://img.shields.io/badge/go/template-black?logo=go)](https://github.com/SchwarzIT/go-template)

管理 Agent Sandbox Pod,提供控制面 API,操作 K8s 资源

## Setup

To get your setup up and running the only thing you have to do is

```bash
make all
```

This will initialize a git repo, download the dependencies in the latest versions and install all needed tools.
If needed code generation will be triggered in this target as well.

## Test & lint

Run linting

```bash
make lint
```

Run tests

```bash
make test
```

## Run

Controller:

```bash
go run ./cmd/controller/main.go --configmap=agent-sandbox-runtime
```

Agent:

```bash
go run ./cmd/agent/main.go
```

The agent serves a minimal REST API on `:8080` by default and exposes its OpenAPI file at `/swagger/openapi.yaml`.