Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
93462a9e
Commit
93462a9e
authored
Oct 16, 2020
by
Tiger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GraphQL docs for Terraform state mutations
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/43955
parent
2bb9267f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
480 additions
and
0 deletions
+480
-0
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+98
-0
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+355
-0
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+27
-0
No files found.
doc/api/graphql/reference/gitlab_schema.graphql
View file @
93462a9e
...
...
@@ -12516,6 +12516,9 @@ type Mutation {
removeProjectFromSecurityDashboard
(
input
:
RemoveProjectFromSecurityDashboardInput
!):
RemoveProjectFromSecurityDashboardPayload
revertVulnerabilityToDetected
(
input
:
RevertVulnerabilityToDetectedInput
!):
RevertVulnerabilityToDetectedPayload
@
deprecated
(
reason
:
"
Use
vulnerabilityRevertToDetected
.
Deprecated
in
13.5"
)
runDastScan
(
input
:
RunDASTScanInput
!):
RunDASTScanPayload
@
deprecated
(
reason
:
"
Use
DastOnDemandScanCreate
.
Deprecated
in
13.4"
)
terraformStateDelete
(
input
:
TerraformStateDeleteInput
!):
TerraformStateDeletePayload
terraformStateLock
(
input
:
TerraformStateLockInput
!):
TerraformStateLockPayload
terraformStateUnlock
(
input
:
TerraformStateUnlockInput
!):
TerraformStateUnlockPayload
todoMarkDone
(
input
:
TodoMarkDoneInput
!):
TodoMarkDonePayload
todoRestore
(
input
:
TodoRestoreInput
!):
TodoRestorePayload
todoRestoreMany
(
input
:
TodoRestoreManyInput
!):
TodoRestoreManyPayload
...
...
@@ -18985,6 +18988,36 @@ type TerraformStateConnection {
pageInfo
:
PageInfo
!
}
"""
Autogenerated input type of TerraformStateDelete
"""
input
TerraformStateDeleteInput
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
Global
ID
of
the
Terraform
state
"""
id
:
TerraformStateID
!
}
"""
Autogenerated return type of TerraformStateDelete
"""
type
TerraformStateDeletePayload
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
Errors
encountered
during
execution
of
the
mutation
.
"""
errors
:
[
String
!]!
}
"""
An edge in a connection.
"""
...
...
@@ -19000,6 +19033,71 @@ type TerraformStateEdge {
node
:
TerraformState
}
"""
Identifier of Terraform::State
"""
scalar
TerraformStateID
"""
Autogenerated input type of TerraformStateLock
"""
input
TerraformStateLockInput
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
Global
ID
of
the
Terraform
state
"""
id
:
TerraformStateID
!
}
"""
Autogenerated return type of TerraformStateLock
"""
type
TerraformStateLockPayload
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
Errors
encountered
during
execution
of
the
mutation
.
"""
errors
:
[
String
!]!
}
"""
Autogenerated input type of TerraformStateUnlock
"""
input
TerraformStateUnlockInput
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
Global
ID
of
the
Terraform
state
"""
id
:
TerraformStateID
!
}
"""
Autogenerated return type of TerraformStateUnlock
"""
type
TerraformStateUnlockPayload
{
"""
A
unique
identifier
for
the
client
performing
the
mutation
.
"""
clientMutationId
:
String
"""
Errors
encountered
during
execution
of
the
mutation
.
"""
errors
:
[
String
!]!
}
"""
Represents the Geo sync and verification state of a terraform state version
"""
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
93462a9e
...
...
@@ -36303,6 +36303,87 @@
"isDeprecated": true,
"deprecationReason": "Use DastOnDemandScanCreate. Deprecated in 13.4"
},
{
"name": "terraformStateDelete",
"description": null,
"args": [
{
"name": "input",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TerraformStateDeleteInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "TerraformStateDeletePayload",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "terraformStateLock",
"description": null,
"args": [
{
"name": "input",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TerraformStateLockInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "TerraformStateLockPayload",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "terraformStateUnlock",
"description": null,
"args": [
{
"name": "input",
"description": null,
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "INPUT_OBJECT",
"name": "TerraformStateUnlockInput",
"ofType": null
}
},
"defaultValue": null
}
],
"type": {
"kind": "OBJECT",
"name": "TerraformStateUnlockPayload",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "todoMarkDone",
"description": null,
...
...
@@ -55027,6 +55108,94 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "TerraformStateDeleteInput",
"description": "Autogenerated input type of TerraformStateDelete",
"fields": null,
"inputFields": [
{
"name": "id",
"description": "Global ID of the Terraform state",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "TerraformStateID",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "TerraformStateDeletePayload",
"description": "Autogenerated return type of TerraformStateDelete",
"fields": [
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
"args": [
],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "errors",
"description": "Errors encountered during execution of the mutation.",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "TerraformStateEdge",
...
...
@@ -55072,6 +55241,192 @@
"enumValues": null,
"possibleTypes": null
},
{
"kind": "SCALAR",
"name": "TerraformStateID",
"description": "Identifier of Terraform::State",
"fields": null,
"inputFields": null,
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "TerraformStateLockInput",
"description": "Autogenerated input type of TerraformStateLock",
"fields": null,
"inputFields": [
{
"name": "id",
"description": "Global ID of the Terraform state",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "TerraformStateID",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "TerraformStateLockPayload",
"description": "Autogenerated return type of TerraformStateLock",
"fields": [
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
"args": [
],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "errors",
"description": "Errors encountered during execution of the mutation.",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "INPUT_OBJECT",
"name": "TerraformStateUnlockInput",
"description": "Autogenerated input type of TerraformStateUnlock",
"fields": null,
"inputFields": [
{
"name": "id",
"description": "Global ID of the Terraform state",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "TerraformStateID",
"ofType": null
}
},
"defaultValue": null
},
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"defaultValue": null
}
],
"interfaces": null,
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "TerraformStateUnlockPayload",
"description": "Autogenerated return type of TerraformStateUnlock",
"fields": [
{
"name": "clientMutationId",
"description": "A unique identifier for the client performing the mutation.",
"args": [
],
"type": {
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "errors",
"description": "Errors encountered during execution of the mutation.",
"args": [
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
}
}
},
"isDeprecated": false,
"deprecationReason": null
}
],
"inputFields": null,
"interfaces": [
],
"enumValues": null,
"possibleTypes": null
},
{
"kind": "OBJECT",
"name": "TerraformStateVersionRegistry",
doc/api/graphql/reference/index.md
View file @
93462a9e
...
...
@@ -2619,6 +2619,33 @@ Completion status of tasks.
|
`name`
| String! | Name of the Terraform state |
|
`updatedAt`
| Time! | Timestamp the Terraform state was updated |
### TerraformStateDeletePayload
Autogenerated return type of TerraformStateDelete.
| Field | Type | Description |
| ----- | ---- | ----------- |
|
`clientMutationId`
| String | A unique identifier for the client performing the mutation. |
|
`errors`
| String! => Array | Errors encountered during execution of the mutation. |
### TerraformStateLockPayload
Autogenerated return type of TerraformStateLock.
| Field | Type | Description |
| ----- | ---- | ----------- |
|
`clientMutationId`
| String | A unique identifier for the client performing the mutation. |
|
`errors`
| String! => Array | Errors encountered during execution of the mutation. |
### TerraformStateUnlockPayload
Autogenerated return type of TerraformStateUnlock.
| Field | Type | Description |
| ----- | ---- | ----------- |
|
`clientMutationId`
| String | A unique identifier for the client performing the mutation. |
|
`errors`
| String! => Array | Errors encountered during execution of the mutation. |
### TerraformStateVersionRegistry
Represents the Geo sync and verification state of a terraform state version.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment