diff --git a/pkg/api/models/create_project.go b/pkg/api/models/create_project.go index 50edf1f8..5efc3966 100644 --- a/pkg/api/models/create_project.go +++ b/pkg/api/models/create_project.go @@ -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"` diff --git a/pkg/api/models/project.go b/pkg/api/models/project.go index 0adb0b17..1b3e3d3b 100644 --- a/pkg/api/models/project.go +++ b/pkg/api/models/project.go @@ -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"`