Resources Setting Set Job Executors
Set Job Executors
Http Method
POST
End Point
/api/settings/job-executors
Request Body
Content Type
application/json
Example
[ {
"@type" : "KubernetesExecutor" ,
"nodeSelector" : [ {
"labelName" : "string" ,
"labelValue" : "string"
}
]
,
"clusterRole" : "string" ,
"registryLogins" : [ {
"registryUrl" : "string" ,
"userName" : "string" ,
"password" : "string"
}
]
,
"serviceLocators" : [ {
"serviceNames" : "string" ,
"serviceImages" : "string" ,
"nodeSelector" : [ {
"labelName" : "string" ,
"labelValue" : "string"
}
]
}
]
,
"configFile" : "string" ,
"kubeCtlPath" : "string" ,
"mountContainerSock" : true ,
"enabled" : true ,
"name" : "string" ,
"jobAuthorization" : "string" ,
"cacheTTL" : 1
}
]
Response
Operation Successful
Status Code
200
Response Body
No response body if successful; error
Operation Failed
Status code
Status code other than 200 indicating the error type
Response Body
Error detail of content type "text/plain"
cURL Example
$ curl -u <login name>:<password or access token> [email protected] -H "Content-Type: application/json" https://git.crazyhackgut.ru/api/settings/job-executors
Please wait...
Page is in error, reload to recover