Skip to content

Instantly share code, notes, and snippets.

@isutton
Created July 1, 2020 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isutton/271e0f55b0341218ab9a2af9b064b82d to your computer and use it in GitHub Desktop.
Save isutton/271e0f55b0341218ab9a2af9b064b82d to your computer and use it in GitHub Desktop.
Service Binding Operator launch settings for VS Code
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"compounds": [
{
"name": "Operator/E2e",
"configurations": [
"Operator",
"E2e"
]
}
],
"configurations": [
{
"name": "Operator",
"type": "go",
"request": "launch",
"mode": "debug",
"program": "${workspaceFolder}/cmd/manager/main.go",
"env": {
"WATCH_NAMESPACE": "isutton"
},
"args": [
"--zap-level",
"debug",
"--zap-encoder",
"console",
]
},
{
"name": "E2e",
"type": "go",
"request": "launch",
"mode": "test",
"program": "${workspaceFolder}/test/e2e/main_test.go",
"env": {
"TEST_NAMESPACE": "isutton"
},
"args": [
"-singleNamespace",
"-namespacedMan",
"/tmp/empty.yaml",
"-globalMan",
"/tmp/empty.yaml",
"-root",
"${workspaceFolder}",
"-test.timeout",
"15m",
"-test.parallel",
"1",
"-test.v",
"4",
]
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment