File tree 9 files changed +82
-22
lines changed
pkg/apis/pipeline/v1alpha1
9 files changed +82
-22
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright 2018 The Knative Authors
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
1
14
apiVersion : apiextensions.k8s.io/v1beta1
2
15
kind : CustomResourceDefinition
3
16
metadata :
4
- creationTimestamp : null
5
- labels :
6
- controller-tools.k8s.io : " 1.0"
7
17
name : clustertasks.pipeline.knative.dev
8
18
spec :
9
19
group : pipeline.knative.dev
Original file line number Diff line number Diff line change
1
+ # Copyright 2018 The Knative Authors
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
1
14
apiVersion : apiextensions.k8s.io/v1beta1
2
15
kind : CustomResourceDefinition
3
16
metadata :
4
- creationTimestamp : null
5
- labels :
6
- controller-tools.k8s.io : " 1.0"
7
17
name : pipelines.pipeline.knative.dev
8
18
spec :
9
19
group : pipeline.knative.dev
Original file line number Diff line number Diff line change
1
+ # Copyright 2018 The Knative Authors
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
1
14
apiVersion : apiextensions.k8s.io/v1beta1
2
15
kind : CustomResourceDefinition
3
16
metadata :
4
- creationTimestamp : null
5
- labels :
6
- controller-tools.k8s.io : " 1.0"
7
17
name : pipelineruns.pipeline.knative.dev
8
18
spec :
9
19
group : pipeline.knative.dev
Original file line number Diff line number Diff line change
1
+ # Copyright 2018 The Knative Authors
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
1
14
apiVersion : apiextensions.k8s.io/v1beta1
2
15
kind : CustomResourceDefinition
3
16
metadata :
4
- creationTimestamp : null
5
- labels :
6
- controller-tools.k8s.io : " 1.0"
7
17
name : pipelineresources.pipeline.knative.dev
8
18
spec :
9
19
group : pipeline.knative.dev
Original file line number Diff line number Diff line change
1
+ # Copyright 2018 The Knative Authors
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
1
14
apiVersion : apiextensions.k8s.io/v1beta1
2
15
kind : CustomResourceDefinition
3
16
metadata :
4
- creationTimestamp : null
5
- labels :
6
- controller-tools.k8s.io : " 1.0"
7
17
name : tasks.pipeline.knative.dev
8
18
spec :
9
19
group : pipeline.knative.dev
Original file line number Diff line number Diff line change
1
+ # Copyright 2018 The Knative Authors
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # https://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
1
14
apiVersion : apiextensions.k8s.io/v1beta1
2
15
kind : CustomResourceDefinition
3
16
metadata :
4
- creationTimestamp : null
5
- labels :
6
- controller-tools.k8s.io : " 1.0"
7
17
name : taskruns.pipeline.knative.dev
8
18
spec :
9
19
group : pipeline.knative.dev
Original file line number Diff line number Diff line change @@ -68,5 +68,5 @@ type ClusterTaskList struct {
68
68
metav1.TypeMeta `json:",inline"`
69
69
// +optional
70
70
metav1.ListMeta `json:"metadata,omitempty"`
71
- Items []Task `json:"items"`
71
+ Items []ClusterTask `json:"items"`
72
72
}
Original file line number Diff line number Diff line change @@ -48,9 +48,9 @@ type TaskRunSpec struct {
48
48
ServiceAccount string `json:"serviceAccount,omitempty"`
49
49
// no more than one of the TaskRef and TaskSpec may be specified.
50
50
// +optional
51
- TaskRef * TaskRef `json:"taskRef"`
51
+ TaskRef * TaskRef `json:"taskRef,omitempty "`
52
52
//+optional
53
- TaskSpec * TaskSpec `json:"taskSpec"`
53
+ TaskSpec * TaskSpec `json:"taskSpec,omitempty "`
54
54
}
55
55
56
56
// TaskRunInputs holds the input values that this task was invoked with.
You can’t perform that action at this time.
0 commit comments