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

Commit

Permalink
feat: Support authentication via proxy (#404)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The project model now contains parameters for new authentication methods.

Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT authored Feb 28, 2022
1 parent efe19c5 commit d80b7a4
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pkg/api/models/create_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@ type CreateProject struct {
// git private key passphrase
GitPrivateKeyPass string `json:"gitPrivateKeyPass,omitempty"`

// git proxy URL
GitProxyURL string `json:"gitProxyUrl,omitempty"`

// git proxy scheme
GitProxyScheme string `json:"gitProxyScheme,omitempty"`

// git proxy user
GitProxyUser string `json:"gitProxyUser,omitempty"`

// git proxy secure
GitProxySecure bool `json:"gitProxySecure,omitempty"`

// git proxy password
GitProxyPassword string `json:"gitProxyPassword,omitempty"`

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

Expand Down
15 changes: 15 additions & 0 deletions pkg/api/models/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ type Project struct {
// git private key passphrase
GitPrivateKeyPass string `json:"gitPrivateKeyPass,omitempty"`

// git proxy URL
GitProxyURL string `json:"gitProxyUrl,omitempty"`

// git proxy scheme
GitProxyScheme string `json:"gitProxyScheme,omitempty"`

// git proxy user
GitProxyUser string `json:"gitProxyUser,omitempty"`

// git proxy secure
GitProxySecure bool `json:"gitProxySecure,omitempty"`

// git proxy password
GitProxyPassword string `json:"gitProxyPassword,omitempty"`

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

Expand Down

0 comments on commit d80b7a4

Please sign in to comment.