Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-proto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
perxis
perxis-proto
Commits
5dd60fce
Commit
5dd60fce
authored
2 years ago
by
Anton Sattarov
Browse files
Options
Downloads
Patches
Plain Diff
Обновлены proto файлы после релиза v0.10
parent
7e63bb9e
No related branches found
No related tags found
1 merge request
!3
Обновлены proto файлы после релиза v0.10
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
proto/environments/environments.proto
+20
-4
20 additions, 4 deletions
proto/environments/environments.proto
proto/extensions/extension.proto
+2
-0
2 additions, 0 deletions
proto/extensions/extension.proto
with
22 additions
and
4 deletions
proto/environments/environments.proto
+
20
−
4
View file @
5dd60fce
syntax
=
"proto3"
;
syntax
=
"proto3"
;
import
"google/protobuf/empty.proto"
;
import
"google/protobuf/empty.proto"
;
import
"google/protobuf/timestamp.proto"
;
option
go_package
=
"git.perx.ru/perxis/perxis-go/environments;environments"
;
option
go_package
=
"git.perx.ru/perxis/perxis-go/environments;environments"
;
...
@@ -10,6 +11,13 @@ message Environment {
...
@@ -10,6 +11,13 @@ message Environment {
string
id
=
1
;
string
id
=
1
;
string
space_id
=
2
;
string
space_id
=
2
;
string
description
=
3
;
string
description
=
3
;
StateInfo
state_info
=
4
;
repeated
string
aliases
=
6
;
Config
config
=
10
;
}
message
StateInfo
{
enum
State
{
enum
State
{
UNKNOWN
=
0
;
UNKNOWN
=
0
;
NEW
=
1
;
NEW
=
1
;
...
@@ -17,14 +25,15 @@ message Environment {
...
@@ -17,14 +25,15 @@ message Environment {
READY
=
3
;
READY
=
3
;
ERROR
=
4
;
ERROR
=
4
;
}
}
State
state
=
4
;
State
state
=
1
;
string
state_info
=
5
;
string
info
=
2
;
repeated
string
aliases
=
6
;
google.protobuf.Timestamp
started_at
=
3
;
Config
config
=
10
;
}
}
message
Config
{
message
Config
{
string
source_id
=
1
;
string
source_id
=
1
;
// Deprecated
repeated
string
features
=
2
;
repeated
string
features
=
2
;
}
}
...
@@ -77,6 +86,13 @@ message DeleteRequest {
...
@@ -77,6 +86,13 @@ message DeleteRequest {
message
MigrateRequest
{
message
MigrateRequest
{
string
space_id
=
1
;
string
space_id
=
1
;
string
env_id
=
2
;
string
env_id
=
2
;
MigrateOptions
options
=
10
;
}
message
MigrateOptions
{
// Ожидать завершения миграции в синхронном режиме. Если в запрос передан контекст с таймаутом,
// то после истечения таймаута миграция продолжится в асинхронном режиме
bool
wait
=
1
;
}
}
service
Environments
{
service
Environments
{
...
...
This diff is collapsed.
Click to expand it.
proto/extensions/extension.proto
+
2
−
0
View file @
5dd60fce
...
@@ -70,6 +70,7 @@ message ExtensionRequestResult {
...
@@ -70,6 +70,7 @@ message ExtensionRequestResult {
ERROR
=
1
;
// Возникла ошибка
ERROR
=
1
;
// Возникла ошибка
PENDING
=
2
;
// Запрос ожидает выполнения
PENDING
=
2
;
// Запрос ожидает выполнения
IN_PROGRESS
=
3
;
// Запрос выполняется
IN_PROGRESS
=
3
;
// Запрос выполняется
PARAMETERS_REQUIRED
=
4
;
// Требуются дополнительные данные для выполнения запроса
}
}
State
state
=
10000
;
// Состояние расширение
State
state
=
10000
;
// Состояние расширение
...
@@ -146,6 +147,7 @@ message ActionResponse {
...
@@ -146,6 +147,7 @@ message ActionResponse {
ERROR
=
1
;
// Возникла ошибка
ERROR
=
1
;
// Возникла ошибка
PENDING
=
2
;
// Запрос ожидает выполнения
PENDING
=
2
;
// Запрос ожидает выполнения
IN_PROGRESS
=
3
;
// Запрос выполняется
IN_PROGRESS
=
3
;
// Запрос выполняется
PARAMETERS_REQUIRED
=
4
;
// Требуются дополнительные данные для выполнения запроса
}
}
State
state
=
10000
;
// Состояние расширение
State
state
=
10000
;
// Состояние расширение
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment