Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
perxis-go
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor 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-go
Commits
6e1b1731
Commit
6e1b1731
authored
1 year ago
by
Anton Sattarov
Browse files
Options
Downloads
Patches
Plain Diff
add ResponseFormat map
parent
bf0d1152
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/extension/action.go
+20
-14
20 additions, 14 deletions
pkg/extension/action.go
with
20 additions
and
14 deletions
pkg/extension/action.go
+
20
−
14
View file @
6e1b1731
...
@@ -41,12 +41,6 @@ type (
...
@@ -41,12 +41,6 @@ type (
)
)
const
(
const
(
ResponseDone
=
pb
.
ActionResponse_DONE
ResponseError
=
pb
.
ActionResponse_ERROR
ResponsePending
=
pb
.
ActionResponse_PENDING
ResponseInProgress
=
pb
.
ActionResponse_IN_PROGRESS
ResponseParametersRequired
=
pb
.
ActionResponse_PARAMETERS_REQUIRED
ActionKindDefault
=
pb
.
Action_DEFAULT
ActionKindDefault
=
pb
.
Action_DEFAULT
ActionKindSpace
=
pb
.
Action_SPACE
ActionKindSpace
=
pb
.
Action_SPACE
ActionKindEnvironment
=
pb
.
Action_ENVIRONMENT
ActionKindEnvironment
=
pb
.
Action_ENVIRONMENT
...
@@ -64,6 +58,16 @@ const (
...
@@ -64,6 +58,16 @@ const (
TargetNotification
=
pb
.
Target_NOTIFICATION
TargetNotification
=
pb
.
Target_NOTIFICATION
TargetBlank
=
pb
.
Target_BLANK
TargetBlank
=
pb
.
Target_BLANK
TargetNone
=
pb
.
Target_NONE
TargetNone
=
pb
.
Target_NONE
ResponseDone
=
pb
.
ActionResponse_DONE
ResponseError
=
pb
.
ActionResponse_ERROR
ResponsePending
=
pb
.
ActionResponse_PENDING
ResponseInProgress
=
pb
.
ActionResponse_IN_PROGRESS
ResponseParametersRequired
=
pb
.
ActionResponse_PARAMETERS_REQUIRED
ResponseFormatPlain
=
pb
.
ActionResponse_PLAIN
ResponseFormatHtml
=
pb
.
ActionResponse_HTML
ResponseFormatMarkdown
=
pb
.
ActionResponse_MARKDOWN
)
)
var
(
var
(
...
@@ -75,6 +79,8 @@ var (
...
@@ -75,6 +79,8 @@ var (
ActionViewValue
=
pb
.
Action_View_value
ActionViewValue
=
pb
.
Action_View_value
ResponseStateName
=
pb
.
ActionResponse_State_name
ResponseStateName
=
pb
.
ActionResponse_State_name
ResponseStateValue
=
pb
.
ActionResponse_State_value
ResponseStateValue
=
pb
.
ActionResponse_State_value
ResponseFormatName
=
pb
.
ActionResponse_Format_name
ResponseFormatValue
=
pb
.
ActionResponse_Format_value
)
)
type
Action
struct
{
type
Action
struct
{
...
...
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