Skip to content
This repository was archived by the owner on Dec 21, 2023. It is now read-only.

feat: Add SSH publicKey auth support #392

Merged
merged 1 commit into from
Feb 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkg/api/models/create_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ type CreateProject struct {
// git token
GitToken string `json:"gitToken,omitempty"`

// git private key
GitPrivateKey string `json:"gitPrivateKey,omitempty"`

// git private key passphrase
GitPrivateKeyPass string `json:"gitPrivateKeyPass,omitempty"`

// git user
GitUser string `json:"gitUser,omitempty"`

Expand Down
6 changes: 6 additions & 0 deletions pkg/api/models/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ type Project struct {
// Git token
GitToken string `json:"gitToken,omitempty"`

// git private key
GitPrivateKey string `json:"gitPrivateKey,omitempty"`

// git private key passphrase
GitPrivateKeyPass string `json:"gitPrivateKeyPass,omitempty"`

// Git User
GitUser string `json:"gitUser,omitempty"`

Expand Down