Skip to content

Commit 58e2459

Browse files
committed
run update codegen
1 parent c210059 commit 58e2459

File tree

115 files changed

+10156
-12892
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+10156
-12892
lines changed

docs/pipeline-api.md

Lines changed: 175 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,63 @@ weight: 1000
2929
</div>
3030
Resource Types:
3131
<ul></ul>
32+
<h3 id="resolution.tekton.dev/v1alpha1.ConfigSource">ConfigSource
33+
</h3>
34+
<p>
35+
(<em>Appears on:</em><a href="#resolution.tekton.dev/v1alpha1.ResolutionRequestStatusFields">ResolutionRequestStatusFields</a>)
36+
</p>
37+
<div>
38+
<p>ConfigSource records where the task/pipeline file came from.</p>
39+
</div>
40+
<table>
41+
<thead>
42+
<tr>
43+
<th>Field</th>
44+
<th>Description</th>
45+
</tr>
46+
</thead>
47+
<tbody>
48+
<tr>
49+
<td>
50+
<code>uri</code><br/>
51+
<em>
52+
string
53+
</em>
54+
</td>
55+
<td>
56+
<p>URI indicating the identity of the source of the config.
57+
<a href="https://github.com/in-toto/attestation/blob/main/spec/field_types.md#ResourceURI">https://github.com/in-toto/attestation/blob/main/spec/field_types.md#ResourceURI</a>
58+
Example: <a href="https://github.com/tektoncd/catalog">https://github.com/tektoncd/catalog</a></p>
59+
</td>
60+
</tr>
61+
<tr>
62+
<td>
63+
<code>digest</code><br/>
64+
<em>
65+
map[string]string
66+
</em>
67+
</td>
68+
<td>
69+
<p>Digest is a collection of cryptographic digests for the contents of the artifact specified by URI.
70+
<a href="https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet">https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet</a>
71+
Example: {&ldquo;sha1&rdquo;: &ldquo;f99d13e554ffcb696dee719fa85b695cb5b0f428&rdquo;}</p>
72+
</td>
73+
</tr>
74+
<tr>
75+
<td>
76+
<code>entryPoint</code><br/>
77+
<em>
78+
string
79+
</em>
80+
</td>
81+
<td>
82+
<p>EntryPoint identifying the entry point into the build. This is often a path to a
83+
configuration file and/or a target label within that file.
84+
Example: &ldquo;task/git-clone/0.8/git-clone.yaml&rdquo;</p>
85+
</td>
86+
</tr>
87+
</tbody>
88+
</table>
3289
<h3 id="resolution.tekton.dev/v1alpha1.ResolutionRequest">ResolutionRequest
3390
</h3>
3491
<div>
@@ -221,6 +278,20 @@ of the requested resource in-lined into the ResolutionRequest
221278
object.</p>
222279
</td>
223280
</tr>
281+
<tr>
282+
<td>
283+
<code>source</code><br/>
284+
<em>
285+
<a href="#resolution.tekton.dev/v1alpha1.ConfigSource">
286+
ConfigSource
287+
</a>
288+
</em>
289+
</td>
290+
<td>
291+
<p>Source is the source reference of the remote data that records where the remote
292+
file came from including the url, digest and the entrypoint.</p>
293+
</td>
294+
</tr>
224295
</tbody>
225296
</table>
226297
<hr/>
@@ -229,6 +300,63 @@ object.</p>
229300
</div>
230301
Resource Types:
231302
<ul></ul>
303+
<h3 id="resolution.tekton.dev/v1beta1.ConfigSource">ConfigSource
304+
</h3>
305+
<p>
306+
(<em>Appears on:</em><a href="#resolution.tekton.dev/v1beta1.ResolutionRequestStatusFields">ResolutionRequestStatusFields</a>)
307+
</p>
308+
<div>
309+
<p>ConfigSource records where the task/pipeline file came from.</p>
310+
</div>
311+
<table>
312+
<thead>
313+
<tr>
314+
<th>Field</th>
315+
<th>Description</th>
316+
</tr>
317+
</thead>
318+
<tbody>
319+
<tr>
320+
<td>
321+
<code>uri</code><br/>
322+
<em>
323+
string
324+
</em>
325+
</td>
326+
<td>
327+
<p>URI indicating the identity of the source of the config.
328+
<a href="https://github.com/in-toto/attestation/blob/main/spec/field_types.md#ResourceURI">https://github.com/in-toto/attestation/blob/main/spec/field_types.md#ResourceURI</a>
329+
Example: <a href="https://github.com/tektoncd/catalog">https://github.com/tektoncd/catalog</a></p>
330+
</td>
331+
</tr>
332+
<tr>
333+
<td>
334+
<code>digest</code><br/>
335+
<em>
336+
map[string]string
337+
</em>
338+
</td>
339+
<td>
340+
<p>Digest is a collection of cryptographic digests for the contents of the artifact specified by URI.
341+
<a href="https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet">https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet</a>
342+
Example: {&ldquo;sha1&rdquo;: &ldquo;f99d13e554ffcb696dee719fa85b695cb5b0f428&rdquo;}</p>
343+
</td>
344+
</tr>
345+
<tr>
346+
<td>
347+
<code>entryPoint</code><br/>
348+
<em>
349+
string
350+
</em>
351+
</td>
352+
<td>
353+
<p>EntryPoint identifying the entry point into the build. This is often a path to a
354+
configuration file and/or a target label within that file.
355+
Example: &ldquo;task/git-clone/0.8/git-clone.yaml&rdquo;</p>
356+
</td>
357+
</tr>
358+
</tbody>
359+
</table>
232360
<h3 id="resolution.tekton.dev/v1beta1.ResolutionRequest">ResolutionRequest
233361
</h3>
234362
<div>
@@ -425,6 +553,20 @@ of the requested resource in-lined into the ResolutionRequest
425553
object.</p>
426554
</td>
427555
</tr>
556+
<tr>
557+
<td>
558+
<code>source</code><br/>
559+
<em>
560+
<a href="#resolution.tekton.dev/v1beta1.ConfigSource">
561+
ConfigSource
562+
</a>
563+
</em>
564+
</td>
565+
<td>
566+
<p>Source is the source reference of the remote data that records the url, digest
567+
and the entrypoint.</p>
568+
</td>
569+
</tr>
428570
</tbody>
429571
</table>
430572
<hr/>
@@ -1581,7 +1723,7 @@ Used to distinguish between a single string and an array of strings.</p>
15811723
<h3 id="tekton.dev/v1.ParamValue">ParamValue
15821724
</h3>
15831725
<p>
1584-
(<em>Appears on:</em><a href="#tekton.dev/v1.Param">Param</a>, <a href="#tekton.dev/v1.ParamSpec">ParamSpec</a>, <a href="#tekton.dev/v1.PipelineResult">PipelineResult</a>, <a href="#tekton.dev/v1.PipelineRunResult">PipelineRunResult</a>, <a href="#tekton.dev/v1.TaskRunResult">TaskRunResult</a>)
1726+
(<em>Appears on:</em><a href="#tekton.dev/v1.Param">Param</a>, <a href="#tekton.dev/v1.ParamSpec">ParamSpec</a>, <a href="#tekton.dev/v1.PipelineResult">PipelineResult</a>, <a href="#tekton.dev/v1.PipelineRunResult">PipelineRunResult</a>, <a href="#tekton.dev/v1.TaskResult">TaskResult</a>, <a href="#tekton.dev/v1.TaskRunResult">TaskRunResult</a>)
15851727
</p>
15861728
<div>
15871729
<p>ResultValue is a type alias of ParamValue</p>
@@ -4339,6 +4481,20 @@ string
43394481
<p>Description is a human-readable description of the result</p>
43404482
</td>
43414483
</tr>
4484+
<tr>
4485+
<td>
4486+
<code>default</code><br/>
4487+
<em>
4488+
<a href="#tekton.dev/v1.ParamValue">
4489+
ParamValue
4490+
</a>
4491+
</em>
4492+
</td>
4493+
<td>
4494+
<em>(Optional)</em>
4495+
<p>Default is the value a result produces if no result is produced by Task.</p>
4496+
</td>
4497+
</tr>
43424498
</tbody>
43434499
</table>
43444500
<h3 id="tekton.dev/v1.TaskRunDebug">TaskRunDebug
@@ -4761,6 +4917,9 @@ Kubernetes core/v1.ResourceRequirements
47614917
<td><p>TaskRunCancelledByPipelineMsg indicates that the PipelineRun of which this
47624918
TaskRun was a part of has been cancelled.</p>
47634919
</td>
4920+
</tr><tr><td><p>&#34;TaskRun cancelled as the PipelineRun it belongs to has timed out.&#34;</p></td>
4921+
<td><p>TaskRunCancelledByPipelineTimeoutMsg indicates that the TaskRun was cancelled because the PipelineRun running it timed out.</p>
4922+
</td>
47644923
</tr></tbody>
47654924
</table>
47664925
<h3 id="tekton.dev/v1.TaskRunStatus">TaskRunStatus
@@ -8572,7 +8731,7 @@ Used to distinguish between a single string and an array of strings.</p>
85728731
<h3 id="tekton.dev/v1beta1.ParamValue">ParamValue
85738732
</h3>
85748733
<p>
8575-
(<em>Appears on:</em><a href="#tekton.dev/v1beta1.Param">Param</a>, <a href="#tekton.dev/v1beta1.ParamSpec">ParamSpec</a>, <a href="#tekton.dev/v1beta1.PipelineResult">PipelineResult</a>, <a href="#tekton.dev/v1beta1.PipelineRunResult">PipelineRunResult</a>, <a href="#tekton.dev/v1beta1.TaskRunResult">TaskRunResult</a>)
8734+
(<em>Appears on:</em><a href="#tekton.dev/v1beta1.Param">Param</a>, <a href="#tekton.dev/v1beta1.ParamSpec">ParamSpec</a>, <a href="#tekton.dev/v1beta1.PipelineResult">PipelineResult</a>, <a href="#tekton.dev/v1beta1.PipelineRunResult">PipelineRunResult</a>, <a href="#tekton.dev/v1beta1.TaskResult">TaskResult</a>, <a href="#tekton.dev/v1beta1.TaskRunResult">TaskRunResult</a>)
85768735
</p>
85778736
<div>
85788737
<p>ResultValue is a type alias of ParamValue</p>
@@ -12178,6 +12337,20 @@ string
1217812337
<p>Description is a human-readable description of the result</p>
1217912338
</td>
1218012339
</tr>
12340+
<tr>
12341+
<td>
12342+
<code>default</code><br/>
12343+
<em>
12344+
<a href="#tekton.dev/v1beta1.ParamValue">
12345+
ParamValue
12346+
</a>
12347+
</em>
12348+
</td>
12349+
<td>
12350+
<em>(Optional)</em>
12351+
<p>Default is the value a result produces if no result is produced by Task.</p>
12352+
</td>
12353+
</tr>
1218112354
</tbody>
1218212355
</table>
1218312356
<h3 id="tekton.dev/v1beta1.TaskRunDebug">TaskRunDebug

go.mod

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ require github.com/benbjohnson/clock v1.1.0 // indirect
4343
require (
4444
code.gitea.io/sdk/gitea v0.15.1
4545
github.com/goccy/kpoward v0.1.0
46-
github.com/hashicorp/hcl v1.0.0
46+
github.com/letsencrypt/boulder v0.0.0-20220723181115-27de4befb95e
47+
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399
4748
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9
4849
)
4950

@@ -64,11 +65,9 @@ require (
6465
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.13.5 // indirect
6566
github.com/fsnotify/fsnotify v1.5.4 // indirect
6667
github.com/kr/pretty v0.3.0 // indirect
67-
github.com/letsencrypt/boulder v0.0.0-20220723181115-27de4befb95e // indirect
6868
github.com/onsi/gomega v1.19.0 // indirect
6969
github.com/rogpeppe/go-internal v1.8.0 // indirect
7070
github.com/theupdateframework/go-tuf v0.5.1-0.20220920170306-f237d7ca5b42 // indirect
71-
github.com/titanous/rocacheck v0.0.0-20171023193734-afe73141d399 // indirect
7271
github.com/zeebo/errs v1.2.2 // indirect
7372
go.opentelemetry.io/otel/trace v1.7.0 // indirect
7473
go.uber.org/goleak v1.2.0 // indirect
@@ -165,7 +164,7 @@ require (
165164
go.uber.org/atomic v1.10.0 // indirect
166165
go.uber.org/automaxprocs v1.4.0 // indirect
167166
go.uber.org/multierr v1.8.0 // indirect
168-
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0 // indirect
167+
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0
169168
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
170169
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
171170
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4 // indirect
@@ -181,7 +180,7 @@ require (
181180
google.golang.org/protobuf v1.28.1
182181
gopkg.in/inf.v0 v0.9.1 // indirect
183182
gopkg.in/yaml.v2 v2.4.0 // indirect
184-
gopkg.in/yaml.v3 v3.0.1 // indirect
183+
gopkg.in/yaml.v3 v3.0.1
185184
k8s.io/apiextensions-apiserver v0.23.9 // indirect
186185
k8s.io/gengo v0.0.0-20220613173612-397b4ae3bce7 // indirect
187186
k8s.io/klog/v2 v2.70.2-0.20220707122935-0990e81f1a8f // indirect

go.sum

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/pipeline/v1/openapi_generated.go

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/pipeline/v1/swagger.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,10 @@
15751575
"name"
15761576
],
15771577
"properties": {
1578+
"default": {
1579+
"description": "Default is the value a result produces if no result is produced by Task.",
1580+
"$ref": "#/definitions/v1.ParamValue"
1581+
},
15781582
"description": {
15791583
"description": "Description is a human-readable description of the result",
15801584
"type": "string"

pkg/apis/pipeline/v1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/pipeline/v1beta1/openapi_generated.go

Lines changed: 7 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/pipeline/v1beta1/swagger.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2553,6 +2553,10 @@
25532553
"name"
25542554
],
25552555
"properties": {
2556+
"default": {
2557+
"description": "Default is the value a result produces if no result is produced by Task.",
2558+
"$ref": "#/definitions/v1beta1.ParamValue"
2559+
},
25562560
"description": {
25572561
"description": "Description is a human-readable description of the result",
25582562
"type": "string"

pkg/apis/pipeline/v1beta1/zz_generated.deepcopy.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

third_party/github.com/PuerkitoBio/purell/LICENSE

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)