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

Commit

Permalink
feat: Add SSH publicKey auth support (#392)
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT authored Feb 14, 2022
1 parent 376fb7b commit be3425c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
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

0 comments on commit be3425c

Please sign in to comment.