Files
devstar/services/devstar_devcontainer/options/CreateDevcontainerOptions.go
戴明辰 6bb8bba3aa !8 Added SSH Public Key Login For DevContainer
* [Feature] Added DevContainer Public Key Login, and deprecated SSH Password login
* [Improvement] Anti-spam
* GET /api/devstar_ssh/key_pair/new_temp: SSH Keypair Gen
* fix HTTP 500 error while deleting Repo
* updated DevContainer WorkDIR
* updated warn msg
2024-10-13 12:07:28 +00:00

11 lines
333 B
Go

package options
import user_model "code.gitea.io/gitea/models/user"
// CreateDevcontainerOptions 封装 API 创建 DevContainer 数据,即 router 层 POST /api/devcontainer 向下传递的数据结构
type CreateDevcontainerOptions struct {
Actor *user_model.User
RepoId int64
SSHPublicKeyList []string
}