Skip to content

Commit

Permalink
Run go generate
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Engelbert <[email protected]>
  • Loading branch information
pmengelbert committed Feb 3, 2025
1 parent 58ec093 commit b3ebbe5
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions docs/spec.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
},
"auth": {
"additionalProperties": {
"$ref": "#/$defs/GitAuthWithUsername"
"$ref": "#/$defs/GomodGitAuth"
},
"type": "object",
"description": "Auth is the git authorization to use for gomods. The keys are the hosts, and the values are the auth to use for that host."
Expand All @@ -455,13 +455,13 @@
},
"ssh": {
"type": "string",
"description": "SSH is the name of the secret which contains the ssh auth into when using\nssh based auth.\nNote: This should not have the *actual* secret value, just the name of\nthe secret which was specified as a build secret."
"description": "SSH is the name of the secret which contains the ssh auth info when using\nssh based auth.\nNote: This should not have the *actual* secret value, just the name of\nthe secret which was specified as a build secret."
}
},
"additionalProperties": false,
"type": "object"
},
"GitAuthWithUsername": {
"GomodGitAuth": {
"properties": {
"header": {
"type": "string",
Expand All @@ -472,12 +472,22 @@
"description": "Token is the name of the secret which contains a git auth token when using\ntoken based authentication.\nNote: This should not have the *actual* secret value, just the name of\nthe secret which was specified as a build secret."
},
"ssh": {
"$ref": "#/$defs/GomodGitAuthSSH",
"description": "SSH is a struct container the name of the ssh ID which contains the\naddress of the ssh auth socket, plus the username to use for the git\nremote.\nNote: This should not have the *actual* socket address, just the name of\nthe ssh ID which was specified as a build secret."
}
},
"additionalProperties": false,
"type": "object"
},
"GomodGitAuthSSH": {
"properties": {
"id": {
"type": "string",
"description": "SSH is the name of the secret which contains the ssh auth into when using\nssh based auth.\nNote: This should not have the *actual* secret value, just the name of\nthe secret which was specified as a build secret."
"description": "ID is the name of the ssh socket to mount, as provided via the `--ssh`\nflag to `docker build`."
},
"ssh_username": {
"username": {
"type": "string",
"description": "SSHUsername is the SSHUsername to use when connecting to a git repo"
"description": "Username is the username to use with this particular git remote. If none\nis provided, `git` will be inserted."
}
},
"additionalProperties": false,
Expand Down

0 comments on commit b3ebbe5

Please sign in to comment.