diff --git a/Makefile b/Makefile index 6f0e7ca73d3..b4d7933c0a4 100644 --- a/Makefile +++ b/Makefile @@ -45,6 +45,8 @@ openapi-generate-java-classes: cd extensions && mvn $(MAVEN_ARGS) -N clean install cd extensions/knative && mvn $(MAVEN_ARGS) -N clean install cd extensions/knative/model && mvn $(MAVEN_ARGS) -Pgenerate clean install + cd extensions/tekton && mvn $(MAVEN_ARGS) -N clean install + cd extensions/tekton/model && mvn $(MAVEN_ARGS) -Pgenerate clean install cd extensions/volcano && mvn $(MAVEN_ARGS) -N clean install cd extensions/volcano/model && mvn $(MAVEN_ARGS) -Pgenerate clean install cd extensions/volumesnapshot && mvn $(MAVEN_ARGS) -N clean install diff --git a/doc/MIGRATION-v7.md b/doc/MIGRATION-v7.md index f626885635a..9781cfdee18 100644 --- a/doc/MIGRATION-v7.md +++ b/doc/MIGRATION-v7.md @@ -11,6 +11,7 @@ - [Removed deprecated types for network.openshift.io (OpenShift-SDN-only)](#openshift-network-removed) - [Renamed clusterautoscaling to autoscaling](#openshift-clusterautoscaling-to-autoscaling) - [Renamed machineconfig to machineconfiguration](#openshift-machineconfig-to-machineconfiguration) + - [Tekton Extension](#tekton-extension) - [Deprecations and Removals](#deprecations-and-removals) - [Service Catalog API (extension) removed](#service-catalog-extension) @@ -103,6 +104,27 @@ The package has also been renamed from `io.fabric8.openshift.api.model.machineco The OpenShiftClient DSL entry-point remains the same: `OpenShiftClient.machineConfigurations()`. +### Tekton Extension + +All the model modules for the Tekton extension have been merged into a single module `io.fabric8:tekton-model`. + +The following packages have been moved: + +| Old Package | New Package | +|--------------------------------------------------------------------------|----------------------------------------------| +| `io.fabric8.tekton.pipeline.v1` | `io.fabric8.tekton.v1` | +| `io.fabric8.tekton.pipeline.v1alpha1` | `io.fabric8.tekton.v1alpha1` | +| `io.fabric8.tekton.pipeline.v1beta1` | `io.fabric8.tekton.v1beta1` | +| `io.fabric8.tekton.v1.internal.pipeline.pkg.apis.config` | `io.fabric8.tekton.pipeline.pkg.apis.config` | +| `io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod` | `io.fabric8.tekton.pod` | +| `io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.pod` | `io.fabric8.tekton.pod` | +| `io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1` | `io.fabric8.tekton.v1beta1` | +| `io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.config` | `io.fabric8.tekton.pipeline.pkg.apis.config` | +| `io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod` | `io.fabric8.tekton.pod` | +| `io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1` | `io.fabric8.tekton.v1alpha1` | +| `io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1` | `io.fabric8.tekton.v1beta1` | +| `io.fabric8.tekton.v1beta1.internal.pipeline.pkg.result` | `io.fabric8.tekton.pipeline.pkg.result` | + ## Deprecations and Removals ### Service Catalog API (extension) removed diff --git a/extensions/knative/model/pom.xml b/extensions/knative/model/pom.xml index 5b50b60fad5..635eb790d6c 100644 --- a/extensions/knative/model/pom.xml +++ b/extensions/knative/model/pom.xml @@ -42,19 +42,6 @@ - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.sundr - sundr-codegen-velocity-nodeps - io.fabric8 kubernetes-model-core @@ -63,20 +50,11 @@ io.fabric8 kubernetes-model-batch - - org.junit.jupiter - junit-jupiter-engine - test - org.assertj assertj-core test - - org.projectlombok - lombok - diff --git a/extensions/tekton/client/pom.xml b/extensions/tekton/client/pom.xml index 3119a4b349d..6cde6af8ee5 100644 --- a/extensions/tekton/client/pom.xml +++ b/extensions/tekton/client/pom.xml @@ -52,34 +52,9 @@ - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.fabric8 - tekton-model-v1 - - - io.fabric8 - tekton-model-v1alpha1 - - - io.fabric8 - tekton-model-v1beta1 - - - io.fabric8 - tekton-model-triggers-v1alpha1 - io.fabric8 - tekton-model-triggers-v1beta1 + tekton-model io.fabric8 diff --git a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/V1APIGroupClient.java b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/V1APIGroupClient.java index f0d25a10b5d..1b221473daf 100644 --- a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/V1APIGroupClient.java +++ b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/V1APIGroupClient.java @@ -19,14 +19,14 @@ import io.fabric8.kubernetes.client.dsl.Resource; import io.fabric8.kubernetes.client.extension.ClientAdapter; import io.fabric8.tekton.client.dsl.V1APIGroupDSL; -import io.fabric8.tekton.pipeline.v1.Pipeline; -import io.fabric8.tekton.pipeline.v1.PipelineList; -import io.fabric8.tekton.pipeline.v1.PipelineRun; -import io.fabric8.tekton.pipeline.v1.PipelineRunList; -import io.fabric8.tekton.pipeline.v1.Task; -import io.fabric8.tekton.pipeline.v1.TaskList; -import io.fabric8.tekton.pipeline.v1.TaskRun; -import io.fabric8.tekton.pipeline.v1.TaskRunList; +import io.fabric8.tekton.v1.Pipeline; +import io.fabric8.tekton.v1.PipelineList; +import io.fabric8.tekton.v1.PipelineRun; +import io.fabric8.tekton.v1.PipelineRunList; +import io.fabric8.tekton.v1.Task; +import io.fabric8.tekton.v1.TaskList; +import io.fabric8.tekton.v1.TaskRun; +import io.fabric8.tekton.v1.TaskRunList; public class V1APIGroupClient extends ClientAdapter implements V1APIGroupDSL { diff --git a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/V1beta1APIGroupClient.java b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/V1beta1APIGroupClient.java index a15e1761735..82f6c6e6dc1 100644 --- a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/V1beta1APIGroupClient.java +++ b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/V1beta1APIGroupClient.java @@ -20,18 +20,6 @@ import io.fabric8.kubernetes.client.dsl.Resource; import io.fabric8.kubernetes.client.extension.ClientAdapter; import io.fabric8.tekton.client.dsl.V1beta1APIGroupDSL; -import io.fabric8.tekton.pipeline.v1beta1.ClusterTask; -import io.fabric8.tekton.pipeline.v1beta1.ClusterTaskList; -import io.fabric8.tekton.pipeline.v1beta1.CustomRun; -import io.fabric8.tekton.pipeline.v1beta1.CustomRunList; -import io.fabric8.tekton.pipeline.v1beta1.Pipeline; -import io.fabric8.tekton.pipeline.v1beta1.PipelineList; -import io.fabric8.tekton.pipeline.v1beta1.PipelineRun; -import io.fabric8.tekton.pipeline.v1beta1.PipelineRunList; -import io.fabric8.tekton.pipeline.v1beta1.Task; -import io.fabric8.tekton.pipeline.v1beta1.TaskList; -import io.fabric8.tekton.pipeline.v1beta1.TaskRun; -import io.fabric8.tekton.pipeline.v1beta1.TaskRunList; import io.fabric8.tekton.resolution.v1beta1.ResolutionRequest; import io.fabric8.tekton.resolution.v1beta1.ResolutionRequestList; import io.fabric8.tekton.triggers.v1beta1.ClusterTriggerBinding; @@ -44,6 +32,18 @@ import io.fabric8.tekton.triggers.v1beta1.TriggerList; import io.fabric8.tekton.triggers.v1beta1.TriggerTemplate; import io.fabric8.tekton.triggers.v1beta1.TriggerTemplateList; +import io.fabric8.tekton.v1beta1.ClusterTask; +import io.fabric8.tekton.v1beta1.ClusterTaskList; +import io.fabric8.tekton.v1beta1.CustomRun; +import io.fabric8.tekton.v1beta1.CustomRunList; +import io.fabric8.tekton.v1beta1.Pipeline; +import io.fabric8.tekton.v1beta1.PipelineList; +import io.fabric8.tekton.v1beta1.PipelineRun; +import io.fabric8.tekton.v1beta1.PipelineRunList; +import io.fabric8.tekton.v1beta1.Task; +import io.fabric8.tekton.v1beta1.TaskList; +import io.fabric8.tekton.v1beta1.TaskRun; +import io.fabric8.tekton.v1beta1.TaskRunList; public class V1beta1APIGroupClient extends ClientAdapter implements V1beta1APIGroupDSL { diff --git a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/dsl/V1APIGroupDSL.java b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/dsl/V1APIGroupDSL.java index c10bfc3f1ee..9ed09cca020 100644 --- a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/dsl/V1APIGroupDSL.java +++ b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/dsl/V1APIGroupDSL.java @@ -18,14 +18,14 @@ import io.fabric8.kubernetes.client.Client; import io.fabric8.kubernetes.client.dsl.MixedOperation; import io.fabric8.kubernetes.client.dsl.Resource; -import io.fabric8.tekton.pipeline.v1.Pipeline; -import io.fabric8.tekton.pipeline.v1.PipelineList; -import io.fabric8.tekton.pipeline.v1.PipelineRun; -import io.fabric8.tekton.pipeline.v1.PipelineRunList; -import io.fabric8.tekton.pipeline.v1.Task; -import io.fabric8.tekton.pipeline.v1.TaskList; -import io.fabric8.tekton.pipeline.v1.TaskRun; -import io.fabric8.tekton.pipeline.v1.TaskRunList; +import io.fabric8.tekton.v1.Pipeline; +import io.fabric8.tekton.v1.PipelineList; +import io.fabric8.tekton.v1.PipelineRun; +import io.fabric8.tekton.v1.PipelineRunList; +import io.fabric8.tekton.v1.Task; +import io.fabric8.tekton.v1.TaskList; +import io.fabric8.tekton.v1.TaskRun; +import io.fabric8.tekton.v1.TaskRunList; public interface V1APIGroupDSL extends Client { /** diff --git a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/dsl/V1beta1APIGroupDSL.java b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/dsl/V1beta1APIGroupDSL.java index 3334be2a678..f7134190e7d 100644 --- a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/dsl/V1beta1APIGroupDSL.java +++ b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/dsl/V1beta1APIGroupDSL.java @@ -19,18 +19,6 @@ import io.fabric8.kubernetes.client.dsl.MixedOperation; import io.fabric8.kubernetes.client.dsl.NonNamespaceOperation; import io.fabric8.kubernetes.client.dsl.Resource; -import io.fabric8.tekton.pipeline.v1beta1.ClusterTask; -import io.fabric8.tekton.pipeline.v1beta1.ClusterTaskList; -import io.fabric8.tekton.pipeline.v1beta1.CustomRun; -import io.fabric8.tekton.pipeline.v1beta1.CustomRunList; -import io.fabric8.tekton.pipeline.v1beta1.Pipeline; -import io.fabric8.tekton.pipeline.v1beta1.PipelineList; -import io.fabric8.tekton.pipeline.v1beta1.PipelineRun; -import io.fabric8.tekton.pipeline.v1beta1.PipelineRunList; -import io.fabric8.tekton.pipeline.v1beta1.Task; -import io.fabric8.tekton.pipeline.v1beta1.TaskList; -import io.fabric8.tekton.pipeline.v1beta1.TaskRun; -import io.fabric8.tekton.pipeline.v1beta1.TaskRunList; import io.fabric8.tekton.resolution.v1beta1.ResolutionRequest; import io.fabric8.tekton.resolution.v1beta1.ResolutionRequestList; import io.fabric8.tekton.triggers.v1beta1.ClusterTriggerBinding; @@ -43,6 +31,18 @@ import io.fabric8.tekton.triggers.v1beta1.TriggerList; import io.fabric8.tekton.triggers.v1beta1.TriggerTemplate; import io.fabric8.tekton.triggers.v1beta1.TriggerTemplateList; +import io.fabric8.tekton.v1beta1.ClusterTask; +import io.fabric8.tekton.v1beta1.ClusterTaskList; +import io.fabric8.tekton.v1beta1.CustomRun; +import io.fabric8.tekton.v1beta1.CustomRunList; +import io.fabric8.tekton.v1beta1.Pipeline; +import io.fabric8.tekton.v1beta1.PipelineList; +import io.fabric8.tekton.v1beta1.PipelineRun; +import io.fabric8.tekton.v1beta1.PipelineRunList; +import io.fabric8.tekton.v1beta1.Task; +import io.fabric8.tekton.v1beta1.TaskList; +import io.fabric8.tekton.v1beta1.TaskRun; +import io.fabric8.tekton.v1beta1.TaskRunList; public interface V1beta1APIGroupDSL extends Client { /** diff --git a/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskCreate.java b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskCreate.java index 73f2c0225c1..f487e43b097 100644 --- a/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskCreate.java +++ b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskCreate.java @@ -17,9 +17,9 @@ import io.fabric8.tekton.client.DefaultTektonClient; import io.fabric8.tekton.client.TektonClient; -import io.fabric8.tekton.pipeline.v1beta1.Task; -import io.fabric8.tekton.pipeline.v1beta1.TaskBuilder; -import io.fabric8.tekton.pipeline.v1beta1.TaskList; +import io.fabric8.tekton.v1beta1.Task; +import io.fabric8.tekton.v1beta1.TaskBuilder; +import io.fabric8.tekton.v1beta1.TaskList; public class TaskCreate { public static void main(String[] args) { diff --git a/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskRunCancel.java b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskRunCancel.java index 11cfca0a86b..5fca364ef6c 100644 --- a/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskRunCancel.java +++ b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskRunCancel.java @@ -18,7 +18,7 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.tekton.client.DefaultTektonClient; import io.fabric8.tekton.client.TektonClient; -import io.fabric8.tekton.pipeline.v1.TaskRun; +import io.fabric8.tekton.v1.TaskRun; import java.util.ArrayList; import java.util.List; diff --git a/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskRunCreate.java b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskRunCreate.java index 8f47dd03f49..58ee3ad8b7d 100644 --- a/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskRunCreate.java +++ b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskRunCreate.java @@ -17,12 +17,12 @@ import io.fabric8.tekton.client.DefaultTektonClient; import io.fabric8.tekton.client.TektonClient; -import io.fabric8.tekton.pipeline.v1.StepBuilder; -import io.fabric8.tekton.pipeline.v1.Task; -import io.fabric8.tekton.pipeline.v1.TaskBuilder; -import io.fabric8.tekton.pipeline.v1.TaskRun; -import io.fabric8.tekton.pipeline.v1.TaskRunBuilder; -import io.fabric8.tekton.pipeline.v1.TaskRunList; +import io.fabric8.tekton.v1.StepBuilder; +import io.fabric8.tekton.v1.Task; +import io.fabric8.tekton.v1.TaskBuilder; +import io.fabric8.tekton.v1.TaskRun; +import io.fabric8.tekton.v1.TaskRunBuilder; +import io.fabric8.tekton.v1.TaskRunList; import static io.fabric8.kubernetes.client.utils.Utils.generateId; diff --git a/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/v1beta1/TaskRunCreate.java b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/v1beta1/TaskRunCreate.java index 77a6d25e5b8..b7d6e29f8b0 100644 --- a/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/v1beta1/TaskRunCreate.java +++ b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/v1beta1/TaskRunCreate.java @@ -17,9 +17,9 @@ import io.fabric8.tekton.client.DefaultTektonClient; import io.fabric8.tekton.client.TektonClient; -import io.fabric8.tekton.pipeline.v1beta1.TaskRun; -import io.fabric8.tekton.pipeline.v1beta1.TaskRunBuilder; -import io.fabric8.tekton.pipeline.v1beta1.TaskRunList; +import io.fabric8.tekton.v1beta1.TaskRun; +import io.fabric8.tekton.v1beta1.TaskRunBuilder; +import io.fabric8.tekton.v1beta1.TaskRunList; public class TaskRunCreate { public static void main(String[] args) { diff --git a/extensions/tekton/generator-triggers/Makefile b/extensions/tekton/generator-triggers/Makefile deleted file mode 100755 index 81d4641d2ac..00000000000 --- a/extensions/tekton/generator-triggers/Makefile +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright (C) 2015 Red Hat, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -SHELL := /bin/bash - -all: build - -build: gobuild - mvn -f ../model-triggers-v1alpha1/pom.xml -Pgenerate clean install -DskipTests -o - mvn -f ../model-triggers-v1beta1/pom.xml -Pgenerate clean install -DskipTests -o - -gobuild: - go run ./cmd/generate/generate-v1alpha1.go > ../model-triggers-v1alpha1/src/main/resources/schema/tekton-schema-triggers.json - go run ./cmd/generate/generate-v1beta1.go > ../model-triggers-v1beta1/src/main/resources/schema/tekton-schema-triggers.json diff --git a/extensions/tekton/generator-triggers/cmd/generate/generate-v1alpha1.go b/extensions/tekton/generator-triggers/cmd/generate/generate-v1alpha1.go deleted file mode 100644 index 3e5dbcceab7..00000000000 --- a/extensions/tekton/generator-triggers/cmd/generate/generate-v1alpha1.go +++ /dev/null @@ -1,85 +0,0 @@ -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package main - -import ( - "fmt" - "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" - triggers "github.com/tektoncd/triggers/pkg/apis/triggers/v1alpha1" - v1apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" - machinery "k8s.io/apimachinery/pkg/apis/meta/v1" - "knative.dev/pkg/apis" - "reflect" -) - -func main() { - - // the CRD List types for which the model should be generated - // no other types need to be defined as they are auto discovered - crdLists := map[reflect.Type]schemagen.CrdScope{ - reflect.TypeOf(triggers.TriggerList{}): schemagen.Namespaced, - reflect.TypeOf(triggers.TriggerTemplateList{}): schemagen.Namespaced, - reflect.TypeOf(triggers.TriggerBindingList{}): schemagen.Namespaced, - reflect.TypeOf(triggers.EventListenerList{}): schemagen.Namespaced, - reflect.TypeOf(triggers.InterceptorList{}): schemagen.Namespaced, - reflect.TypeOf(triggers.ClusterTriggerBindingList{}): schemagen.Cluster, - reflect.TypeOf(triggers.ClusterInterceptorList{}): schemagen.Cluster, - } - - // constraints and patterns for fields - constraints := map[reflect.Type]map[string]*schemagen.Constraint{} - - // types that are manually defined in the model - providedTypes := []schemagen.ProvidedType{} - - // go packages that are provided and where no generation is required and their corresponding java package - providedPackages := map[string]string{ - // external - "k8s.io/api/core/v1": "io.fabric8.kubernetes.api.model", - "k8s.io/apimachinery/pkg/apis/meta/v1": "io.fabric8.kubernetes.api.model", - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1": "io.fabric8.tekton.pipeline.v1beta1", - "knative.dev/pkg/apis/duck/v1": "io.fabric8.knative.duck.v1", - "knative.dev/pkg/apis/duck/v1alpha1": "io.fabric8.knative.duck.v1alpha1", - "knative.dev/pkg/apis/duck/v1beta1": "io.fabric8.knative.duck.v1beta1", - "knative.dev/pkg/apis": "io.fabric8.knative.pkg.apis", - } - - // mapping of go packages of this module to the resulting java package - // optional ApiGroup and ApiVersion for the go package (which is added to the generated java class) - packageMapping := map[string]schemagen.PackageInformation{ - "github.com/tektoncd/triggers/pkg/apis/triggers/v1alpha1": {JavaPackage: "io.fabric8.tekton.triggers.v1alpha1", ApiGroup: "triggers.tekton.dev", ApiVersion: "v1alpha1"}, - } - - // converts all packages starting with to a java package using an automated scheme: - // - replace with aka "package prefix" - // - replace '/' with '.' for a valid java package name - // e.g. github.com/tektoncd/pipeline/pkg/apis/pipeline/pod/Template is mapped to "io.fabric8.tekton.internal.pipeline.pkg.apis.pipeline.pod.Template" - mappingSchema := map[string]string{} - - // overwriting some types - manualTypeMap := map[reflect.Type]string{ - reflect.TypeOf(machinery.Time{}): "java.lang.String", - reflect.TypeOf(apis.VolatileTime{}): "java.lang.String", - reflect.TypeOf(apis.URL{}): "java.lang.String", - reflect.TypeOf(triggers.TriggerResourceTemplate{}): "io.fabric8.kubernetes.api.model.HasMetadata", - reflect.TypeOf(triggers.CustomResource{}): "io.fabric8.kubernetes.api.model.HasMetadata", - reflect.TypeOf(v1apiextensions.JSON{}): "java.lang.Object", - } - - json := schemagen.GenerateSchema("http://fabric8.io/tekton/triggers/TektonSchema#", crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints, "io.fabric8") - - fmt.Println(json) -} diff --git a/extensions/tekton/generator-triggers/cmd/generate/generate-v1beta1.go b/extensions/tekton/generator-triggers/cmd/generate/generate-v1beta1.go deleted file mode 100644 index 139f391a920..00000000000 --- a/extensions/tekton/generator-triggers/cmd/generate/generate-v1beta1.go +++ /dev/null @@ -1,83 +0,0 @@ -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package main - -import ( - "fmt" - "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" - triggers "github.com/tektoncd/triggers/pkg/apis/triggers/v1beta1" - v1apiextensions "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1" - machinery "k8s.io/apimachinery/pkg/apis/meta/v1" - "knative.dev/pkg/apis" - "reflect" -) - -func main() { - - // the CRD List types for which the model should be generated - // no other types need to be defined as they are auto discovered - crdLists := map[reflect.Type]schemagen.CrdScope{ - reflect.TypeOf(triggers.TriggerList{}): schemagen.Namespaced, - reflect.TypeOf(triggers.TriggerTemplateList{}): schemagen.Namespaced, - reflect.TypeOf(triggers.TriggerBindingList{}): schemagen.Namespaced, - reflect.TypeOf(triggers.EventListenerList{}): schemagen.Namespaced, - reflect.TypeOf(triggers.ClusterTriggerBindingList{}): schemagen.Cluster, - } - - // constraints and patterns for fields - constraints := map[reflect.Type]map[string]*schemagen.Constraint{} - - // types that are manually defined in the model - providedTypes := []schemagen.ProvidedType{} - - // go packages that are provided and where no generation is required and their corresponding java package - providedPackages := map[string]string{ - // external - "k8s.io/api/core/v1": "io.fabric8.kubernetes.api.model", - "k8s.io/apimachinery/pkg/apis/meta/v1": "io.fabric8.kubernetes.api.model", - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1": "io.fabric8.tekton.pipeline.v1beta1", - "knative.dev/pkg/apis/duck/v1": "io.fabric8.knative.duck.v1", - "knative.dev/pkg/apis/duck/v1alpha1": "io.fabric8.knative.duck.v1alpha1", - "knative.dev/pkg/apis/duck/v1beta1": "io.fabric8.knative.duck.v1beta1", - "knative.dev/pkg/apis": "io.fabric8.knative.pkg.apis", - } - - // mapping of go packages of this module to the resulting java package - // optional ApiGroup and ApiVersion for the go package (which is added to the generated java class) - packageMapping := map[string]schemagen.PackageInformation{ - "github.com/tektoncd/triggers/pkg/apis/triggers/v1beta1": {JavaPackage: "io.fabric8.tekton.triggers.v1beta1", ApiGroup: "triggers.tekton.dev", ApiVersion: "v1beta1"}, - } - - // converts all packages starting with to a java package using an automated scheme: - // - replace with aka "package prefix" - // - replace '/' with '.' for a valid java package name - // e.g. github.com/tektoncd/pipeline/pkg/apis/pipeline/pod/Template is mapped to "io.fabric8.tekton.internal.pipeline.pkg.apis.pipeline.pod.Template" - mappingSchema := map[string]string{} - - // overwriting some types - manualTypeMap := map[reflect.Type]string{ - reflect.TypeOf(machinery.Time{}): "java.lang.String", - reflect.TypeOf(apis.VolatileTime{}): "java.lang.String", - reflect.TypeOf(apis.URL{}): "java.lang.String", - reflect.TypeOf(triggers.TriggerResourceTemplate{}): "io.fabric8.kubernetes.api.model.HasMetadata", - reflect.TypeOf(triggers.CustomResource{}): "io.fabric8.kubernetes.api.model.HasMetadata", - reflect.TypeOf(v1apiextensions.JSON{}): "java.lang.Object", - } - - json := schemagen.GenerateSchema("http://fabric8.io/tekton/triggers/TektonSchema#", crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints, "io.fabric8") - - fmt.Println(json) -} diff --git a/extensions/tekton/generator-triggers/go.mod b/extensions/tekton/generator-triggers/go.mod deleted file mode 100644 index 0a8751d6c0c..00000000000 --- a/extensions/tekton/generator-triggers/go.mod +++ /dev/null @@ -1,87 +0,0 @@ -module github.com/fabric8io/kubernetes-client/extensions/tekton/generator-triggers-v1alpha1 - -go 1.20 - -require ( - github.com/fabric8io/kubernetes-client/generator v0.0.0 - github.com/tektoncd/triggers v0.24.0 - k8s.io/apiextensions-apiserver v0.25.4 - k8s.io/apimachinery v0.26.4 - knative.dev/pkg v0.0.0-20230224205330-75da922ef055 -) - -require ( - contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect - contrib.go.opencensus.io/exporter/prometheus v0.4.0 // indirect - github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 // indirect - github.com/beorn7/perks v1.0.1 // indirect - github.com/blendle/zapdriver v1.3.1 // indirect - github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect - github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/emicklei/go-restful/v3 v3.9.0 // indirect - github.com/evanphx/json-patch/v5 v5.6.0 // indirect - github.com/go-kit/log v0.2.0 // indirect - github.com/go-logfmt/logfmt v0.5.1 // indirect - github.com/go-logr/logr v1.2.3 // indirect - github.com/go-openapi/jsonpointer v0.19.6 // indirect - github.com/go-openapi/jsonreference v0.20.1 // indirect - github.com/go-openapi/swag v0.22.3 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/google/cel-go v0.13.0 // indirect - github.com/google/gnostic v0.6.9 // indirect - github.com/google/go-cmp v0.5.9 // indirect - github.com/google/go-containerregistry v0.14.0 // indirect - github.com/google/gofuzz v1.2.0 // indirect - github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect - github.com/hashicorp/errwrap v1.1.0 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/josharian/intern v1.0.0 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/mailru/easyjson v0.7.7 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/opencontainers/go-digest v1.0.0 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/prometheus/client_golang v1.13.0 // indirect - github.com/prometheus/client_model v0.3.0 // indirect - github.com/prometheus/common v0.37.0 // indirect - github.com/prometheus/procfs v0.8.0 // indirect - github.com/prometheus/statsd_exporter v0.21.0 // indirect - github.com/stoewer/go-strcase v1.2.0 // indirect - github.com/tektoncd/pipeline v0.47.0 // indirect - go.opencensus.io v0.24.0 // indirect - go.uber.org/atomic v1.10.0 // indirect - go.uber.org/multierr v1.8.0 // indirect - go.uber.org/zap v1.24.0 // indirect - golang.org/x/exp v0.0.0-20230307190834-24139beb5833 // indirect - golang.org/x/net v0.23.0 // indirect - golang.org/x/oauth2 v0.7.0 // indirect - golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.18.0 // indirect - golang.org/x/term v0.18.0 // indirect - golang.org/x/text v0.14.0 // indirect - golang.org/x/time v0.3.0 // indirect - gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect - google.golang.org/api v0.116.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect - google.golang.org/grpc v1.56.3 // indirect - google.golang.org/protobuf v1.33.0 // indirect - gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/api v0.25.9 // indirect - k8s.io/client-go v0.25.9 // indirect - k8s.io/klog/v2 v2.90.1 // indirect - k8s.io/kube-openapi v0.0.0-20230308215209-15aac26d736a // indirect - k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect - sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect - sigs.k8s.io/yaml v1.3.0 // indirect -) - -replace github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator diff --git a/extensions/tekton/generator-triggers/go.sum b/extensions/tekton/generator-triggers/go.sum deleted file mode 100644 index 0bb64532263..00000000000 --- a/extensions/tekton/generator-triggers/go.sum +++ /dev/null @@ -1,698 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d h1:LblfooH1lKOpp1hIhukktmSAxFkqMPFk9KR6iZ0MJNI= -contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d/go.mod h1:IshRmMJBhDfFj5Y67nVhMYTTIze91RUeT73ipWKs/GY= -contrib.go.opencensus.io/exporter/prometheus v0.4.0 h1:0QfIkj9z/iVZgK31D9H9ohjjIDApI2GOPScCKwxedbs= -contrib.go.opencensus.io/exporter/prometheus v0.4.0/go.mod h1:o7cosnyfuPVK0tB8q0QmaQNhGnptITnPQB+z1+qeFB0= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/antlr/antlr4/runtime/Go/antlr v1.4.10 h1:yL7+Jz0jTC6yykIK/Wh74gnTJnrGr5AyrNMXuA0gves= -github.com/antlr/antlr4/runtime/Go/antlr v1.4.10/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/blendle/zapdriver v1.3.1 h1:C3dydBOWYRiOk+B8X9IVZ5IOe+7cl+tGOexN4QqHfpE= -github.com/blendle/zapdriver v1.3.1/go.mod h1:mdXfREi6u5MArG4j9fewC+FGnXaBR+T4Ox4J2u4eHCc= -github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.4.1 h1:iKLQ0xPNFxR/2hzXZMrBo8f1j86j5WHzznCCQxV/b8g= -github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudevents/sdk-go/v2 v2.14.0 h1:Nrob4FwVgi5L4tV9lhjzZcjYqFVyJzsA56CwPaPfv6s= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE= -github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= -github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= -github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= -github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM0rVwpMwimd3F3N0= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-kit/log v0.2.0 h1:7i2K3eKTos3Vc0enKCfnVcgHh2olr/MyfboYq7cAcFw= -github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= -github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= -github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= -github.com/go-openapi/jsonreference v0.20.1 h1:FBLnyygC4/IZZr893oiomc9XaghoveYTrLC1F86HID8= -github.com/go-openapi/jsonreference v0.20.1/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= -github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= -github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/cel-go v0.13.0 h1:z+8OBOcmh7IeKyqwT/6IlnMvy621fYUqnTVPEdegGlU= -github.com/google/cel-go v0.13.0/go.mod h1:K2hpQgEjDp18J76a2DKFRlPBPpgRZgi6EbnpDgIhJ8s= -github.com/google/gnostic v0.6.9 h1:ZK/5VhkoX835RikCHpSUJV9a+S3e1zLh59YnyWeBW+0= -github.com/google/gnostic v0.6.9/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-containerregistry v0.14.0 h1:z58vMqHxuwvAsVwvKEkmVBz2TlgBgH5k6koEXBtlYkw= -github.com/google/go-containerregistry v0.14.0/go.mod h1:aiJ2fp/SXvkWgmYHioXnbMdlgB8eXiiYOY55gfN91Wk= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= -github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/grpc-ecosystem/grpc-gateway v1.14.6/go.mod h1:zdiPV4Yse/1gnckTHtghG4GkDEdKCRJduHpTxT3/jcw= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 h1:lLT7ZLSzGLI08vc9cpd+tYmNWjdKDqyr/2L+f6U12Fk= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= -github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= -github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dvMUtDTo2cv8= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= -github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/onsi/ginkgo/v2 v2.4.0 h1:+Ig9nvqgS5OBSACXNk15PLdp0U9XPYROt9CFzVdFGIs= -github.com/onsi/gomega v1.23.0 h1:/oxKu9c2HVap+F3PfKort2Hw5DEU+HGlW8n+tguWsys= -github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= -github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/openzipkin/zipkin-go v0.3.0 h1:XtuXmOLIXLjiU2XduuWREDT0LOKtSgos/g7i7RYyoZQ= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= -github.com/prometheus/client_golang v1.13.0 h1:b71QUfeo5M8gq2+evJdTPfZhYMAU0uKPkyPJ7TPsloU= -github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= -github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.37.0 h1:ccBbHCgIiT9uSoFY0vX8H3zsNR5eLt17/RQLUvn8pXE= -github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo= -github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= -github.com/prometheus/statsd_exporter v0.21.0 h1:hA05Q5RFeIjgwKIYEdFd59xu5Wwaznf33yKI+pyX6T8= -github.com/prometheus/statsd_exporter v0.21.0/go.mod h1:rbT83sZq2V+p73lHhPZfMc3MLCHmSHelCh9hSGYNLTQ= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/stoewer/go-strcase v1.2.0 h1:Z2iHWqGXH00XYgqDmNgQbIBxf3wrNq0F3feEy0ainaU= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= -github.com/tektoncd/pipeline v0.47.0 h1:zZxmp6im8/p9RaH32LgeCP6dwH/4hcsfvEQUrwGsUPA= -github.com/tektoncd/pipeline v0.47.0/go.mod h1:7H1DeNuEJFGoExGwQTlRul2IziCPxkjXRdDdirWmoQs= -github.com/tektoncd/triggers v0.24.0 h1:+yJpOjn88TcX0GSwYVle8Rm0Cq6W4nc1urZ9rD5lmwY= -github.com/tektoncd/triggers v0.24.0/go.mod h1:yQcliUXLfIp0YijT30R0t/4hItCsznTpOxOlSIrKF78= -github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= -github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= -github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= -go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= -go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= -go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= -go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= -go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20230307190834-24139beb5833 h1:SChBja7BCQewoTAU7IgvucQKMIXrEpFxNMs0spT3/5s= -golang.org/x/exp v0.0.0-20230307190834-24139beb5833/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.9.0 h1:KENHtAZL2y3NLMYZeHY9DW8HW8V+kQyJsY/V9JlKvCs= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g= -golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= -golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= -golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.7.0 h1:W4OVu8VVOaIO0yzWMNdepAulS7YfoS3Zabrm8DOXXU4= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gomodules.xyz/jsonpatch/v2 v2.2.0 h1:4pT439QV83L+G9FkcCriY6EkpcK6r6bK+A5FBUMI7qY= -gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.25.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.116.0 h1:09tOPVufPwfm5W4aA8EizGHJ7BcoRDsIareM2a15gO4= -google.golang.org/api v0.116.0/go.mod h1:9cD4/t6uvd9naoEJFA+M96d0IuB6BqFuyhpw68+mRGg= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.56.3 h1:8I4C0Yq1EjstUzUJzpcRVbuYA2mODtEmpWiQoN/b2nc= -google.golang.org/grpc v1.56.3/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.25.9 h1:XuJ2bz2F52jZmp3YjUcp/pozH8kY1BlBHdXnoOXBP3U= -k8s.io/api v0.25.9/go.mod h1:9YRWzD0cRHzfsnf9e5OQsQ4Un6cbZ//Xv3jo44YKm2Y= -k8s.io/apiextensions-apiserver v0.25.4 h1:7hu9pF+xikxQuQZ7/30z/qxIPZc2J1lFElPtr7f+B6U= -k8s.io/apiextensions-apiserver v0.25.4/go.mod h1:bkSGki5YBoZWdn5pWtNIdGvDrrsRWlmnvl9a+tAw5vQ= -k8s.io/apimachinery v0.26.4 h1:rZccKdBLg9vP6J09JD+z8Yr99Ce8gk3Lbi9TCx05Jzs= -k8s.io/apimachinery v0.26.4/go.mod h1:ats7nN1LExKHvJ9TmwootT00Yz05MuYqPXEXaVeOy5I= -k8s.io/client-go v0.25.9 h1:U0S3nc71NRfHXiA0utyCkPt3Mv1SWpQw0g5VfBCv5xg= -k8s.io/client-go v0.25.9/go.mod h1:tmPyOtpbbkneXj65EYZ4sXun1BE/2F2XlRABVj9CBgc= -k8s.io/klog/v2 v2.90.1 h1:m4bYOKall2MmOiRaR1J+We67Do7vm9KiQVlT96lnHUw= -k8s.io/klog/v2 v2.90.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20230308215209-15aac26d736a h1:gmovKNur38vgoWfGtP5QOGNOA7ki4n6qNYoFAgMlNvg= -k8s.io/kube-openapi v0.0.0-20230308215209-15aac26d736a/go.mod h1:y5VtZWM9sHHc2ZodIH/6SHzXj+TPU5USoA8lcIeKEKY= -k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPBjNSSOMowRZxxsY= -k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/eventing v0.30.1-0.20220407170245-58865afba92c h1:5QvWwe3uB7BefHGMg6hC05YVi+zr1kGK7DVMFquqJMI= -knative.dev/networking v0.0.0-20220404212543-dde40b019aff h1:pqzWi29qb44TY+5xtc9vty4mSyUYvojXZGCp0y/91eo= -knative.dev/pkg v0.0.0-20230224205330-75da922ef055 h1:VfKOAnbgJXJMz7n66yW7Rj6Sl2bQZng6RzvX4MMB2Jg= -knative.dev/pkg v0.0.0-20230224205330-75da922ef055/go.mod h1:QkgVAUCziNOZmoqL/E25ig2cbVQ2teZyGNCNqaApO44= -knative.dev/serving v0.30.1-0.20220402124840-21c05dc9d9a4 h1:iRFWsFKsA5ddhi+eKZVJdf8gPBomTfjIyRAKk9Uh7Ko= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= -sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= -sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/extensions/tekton/generator/Makefile b/extensions/tekton/generator/Makefile deleted file mode 100755 index f4e0f49ff68..00000000000 --- a/extensions/tekton/generator/Makefile +++ /dev/null @@ -1,29 +0,0 @@ -# -# Copyright (C) 2015 Red Hat, Inc. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -SHELL := /bin/bash - -all: build - -build: gobuild - mvn -f ../model-v1alpha1/pom.xml -Pgenerate clean install -DskipTests -o - mvn -f ../model-v1beta1/pom.xml -Pgenerate clean install -DskipTests -o - mvn -f ../model-v1/pom.xml -Pgenerate clean install -DskipTests -o - -gobuild: - go run ./cmd/generate/generate-v1.go > ../model-v1/src/main/resources/schema/tekton-schema-v1.json - go run ./cmd/generate/generate-v1alpha1.go > ../model-v1alpha1/src/main/resources/schema/tekton-schema-v1alpha1.json - go run ./cmd/generate/generate-v1beta1.go > ../model-v1beta1/src/main/resources/schema/tekton-schema-v1beta1.json diff --git a/extensions/tekton/generator/cmd/generate/generate-v1.go b/extensions/tekton/generator/cmd/generate/generate-v1.go deleted file mode 100644 index 35424e9712c..00000000000 --- a/extensions/tekton/generator/cmd/generate/generate-v1.go +++ /dev/null @@ -1,81 +0,0 @@ -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package main - -import ( - "fmt" - "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1" - machinery "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "reflect" -) - -func main() { - - // the CRD List types for which the model should be generated - // no other types need to be defined as they are auto discovered - crdLists := map[reflect.Type]schemagen.CrdScope{ - // v1 - reflect.TypeOf(v1.PipelineList{}): schemagen.Namespaced, - reflect.TypeOf(v1.PipelineRunList{}): schemagen.Namespaced, - reflect.TypeOf(v1.TaskList{}): schemagen.Namespaced, - reflect.TypeOf(v1.TaskRunList{}): schemagen.Namespaced, - } - - // constraints and patterns for fields - constraints := map[reflect.Type]map[string]*schemagen.Constraint{ - reflect.TypeOf(v1.Step{}): {"Name": &schemagen.Constraint{MaxLength: 63, Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}}, - } - - // types that are manually defined in the model - providedTypes := []schemagen.ProvidedType{ - {GoType: reflect.TypeOf(v1.ParamValue{}), JavaClass: "io.fabric8.tekton.pipeline.v1.ParamValue"}, - } - - // go packages that are provided and where no generation is required and their corresponding java package - providedPackages := map[string]string{ - // external - "k8s.io/api/core/v1": "io.fabric8.kubernetes.api.model", - "knative.dev/pkg/apis": "io.fabric8.knative.pkg.apis", - "k8s.io/apimachinery/pkg/apis/meta/v1": "io.fabric8.kubernetes.api.model", - } - - // mapping of go packages of this module to the resulting java package - // optional ApiGroup and ApiVersion for the go package (which is added to the generated java class) - packageMapping := map[string]schemagen.PackageInformation{ - // v1 - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1": {JavaPackage: "io.fabric8.tekton.pipeline.v1", ApiGroup: "tekton.dev", ApiVersion: "v1"}, - } - - // converts all packages starting with to a java package using an automated scheme: - // - replace with aka "package prefix" - // - replace '/' with '.' for a valid java package name - // e.g. github.com/tektoncd/pipeline/pkg/apis/pipeline/pod/Template is mapped to "io.fabric8.tekton.internal.pipeline.pkg.apis.pipeline.pod.Template" - mappingSchema := map[string]string{ - "github.com/tektoncd": "io.fabric8.tekton.v1.internal", - } - - // overwriting some times - manualTypeMap := map[reflect.Type]string{ - reflect.TypeOf(runtime.RawExtension{}): "java.util.Map", - reflect.TypeOf(machinery.Time{}): "java.lang.String", - } - - json := schemagen.GenerateSchema("http://fabric8.io/tekton/v1/TektonSchema#", crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints, "io.fabric8") - - fmt.Println(json) -} diff --git a/extensions/tekton/generator/cmd/generate/generate-v1alpha1.go b/extensions/tekton/generator/cmd/generate/generate-v1alpha1.go deleted file mode 100644 index fda7a86c648..00000000000 --- a/extensions/tekton/generator/cmd/generate/generate-v1alpha1.go +++ /dev/null @@ -1,82 +0,0 @@ -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package main - -import ( - "fmt" - "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1alpha1" - resolutionV1Alpha1 "github.com/tektoncd/pipeline/pkg/apis/resolution/v1alpha1" - machinery "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "reflect" -) - -func main() { - - // the CRD List types for which the model should be generated - // no other types need to be defined as they are auto discovered - crdLists := map[reflect.Type]schemagen.CrdScope{ - // v1alpha1 - reflect.TypeOf(v1alpha1.VerificationPolicyList{}): schemagen.Namespaced, - reflect.TypeOf(v1alpha1.RunList{}): schemagen.Namespaced, - - // resolution v1alpha1 - reflect.TypeOf(resolutionV1Alpha1.ResolutionRequestList{}): schemagen.Namespaced, - } - - // constraints and patterns for fields - constraints := map[reflect.Type]map[string]*schemagen.Constraint{} - - // types that are manually defined in the model - providedTypes := []schemagen.ProvidedType{} - - // go packages that are provided and where no generation is required and their corresponding java package - providedPackages := map[string]string{ - // external - "k8s.io/api/core/v1": "io.fabric8.kubernetes.api.model", - "knative.dev/pkg/apis": "io.fabric8.knative.pkg.apis", - "k8s.io/apimachinery/pkg/apis/meta/v1": "io.fabric8.kubernetes.api.model", - } - - // mapping of go packages of this module to the resulting java package - // optional ApiGroup and ApiVersion for the go package (which is added to the generated java class) - packageMapping := map[string]schemagen.PackageInformation{ - // v1alpha1 - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1alpha1": {JavaPackage: "io.fabric8.tekton.pipeline.v1alpha1", ApiGroup: "tekton.dev", ApiVersion: "v1alpha1"}, - - // resolution v1alpha1 - "github.com/tektoncd/pipeline/pkg/apis/resolution/v1alpha1": {JavaPackage: "io.fabric8.tekton.resolution.v1alpha1", ApiGroup: "resolution.tekton.dev", ApiVersion: "v1alpha1"}, - } - - // converts all packages starting with to a java package using an automated scheme: - // - replace with aka "package prefix" - // - replace '/' with '.' for a valid java package name - // e.g. github.com/tektoncd/pipeline/pkg/apis/pipeline/pod/Template is mapped to "io.fabric8.tekton.internal.pipeline.pkg.apis.pipeline.pod.Template" - mappingSchema := map[string]string{ - "github.com/tektoncd": "io.fabric8.tekton.v1alpha1.internal", - } - - // overwriting some times - manualTypeMap := map[reflect.Type]string{ - reflect.TypeOf(runtime.RawExtension{}): "java.util.Map", - reflect.TypeOf(machinery.Time{}): "java.lang.String", - } - - json := schemagen.GenerateSchema("http://fabric8.io/tekton/v1alpha1/TektonSchema#", crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints, "io.fabric8") - - fmt.Println(json) -} diff --git a/extensions/tekton/generator/cmd/generate/generate-v1beta1.go b/extensions/tekton/generator/cmd/generate/generate-v1beta1.go deleted file mode 100644 index 25674723a83..00000000000 --- a/extensions/tekton/generator/cmd/generate/generate-v1beta1.go +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package main - -import ( - "fmt" - "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1" - resolutionV1Beta1 "github.com/tektoncd/pipeline/pkg/apis/resolution/v1beta1" - machinery "k8s.io/apimachinery/pkg/apis/meta/v1" - "k8s.io/apimachinery/pkg/runtime" - "reflect" -) - -func main() { - - // the CRD List types for which the model should be generated - // no other types need to be defined as they are auto discovered - crdLists := map[reflect.Type]schemagen.CrdScope{ - // v1beta1 - reflect.TypeOf(v1beta1.CustomRunList{}): schemagen.Namespaced, - reflect.TypeOf(v1beta1.PipelineList{}): schemagen.Namespaced, - reflect.TypeOf(v1beta1.PipelineRunList{}): schemagen.Namespaced, - reflect.TypeOf(v1beta1.TaskList{}): schemagen.Namespaced, - reflect.TypeOf(v1beta1.TaskRunList{}): schemagen.Namespaced, - reflect.TypeOf(v1beta1.ClusterTaskList{}): schemagen.Cluster, - - // resolution v1beta1 - reflect.TypeOf(resolutionV1Beta1.ResolutionRequestList{}): schemagen.Namespaced, - } - - // constraints and patterns for fields - constraints := map[reflect.Type]map[string]*schemagen.Constraint{ - reflect.TypeOf(v1beta1.Step{}): {"Name": &schemagen.Constraint{MaxLength: 63, Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}}, - } - - // types that are manually defined in the model - providedTypes := []schemagen.ProvidedType{ - {GoType: reflect.TypeOf(v1beta1.ParamValue{}), JavaClass: "io.fabric8.tekton.pipeline.v1beta1.ParamValue"}, - } - - // go packages that are provided and where no generation is required and their corresponding java package - providedPackages := map[string]string{ - // external - "k8s.io/api/core/v1": "io.fabric8.kubernetes.api.model", - "knative.dev/pkg/apis": "io.fabric8.knative.pkg.apis", - "k8s.io/apimachinery/pkg/apis/meta/v1": "io.fabric8.kubernetes.api.model", - } - - // mapping of go packages of this module to the resulting java package - // optional ApiGroup and ApiVersion for the go package (which is added to the generated java class) - packageMapping := map[string]schemagen.PackageInformation{ - // v1beta1 - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1": {JavaPackage: "io.fabric8.tekton.pipeline.v1beta1", ApiGroup: "tekton.dev", ApiVersion: "v1beta1"}, - // resolution v1beta1 - "github.com/tektoncd/pipeline/pkg/apis/resolution/v1beta1": {JavaPackage: "io.fabric8.tekton.resolution.v1beta1", ApiGroup: "resolution.tekton.dev", ApiVersion: "v1beta1"}, - } - - // converts all packages starting with to a java package using an automated scheme: - // - replace with aka "package prefix" - // - replace '/' with '.' for a valid java package name - // e.g. github.com/tektoncd/pipeline/pkg/apis/pipeline/pod/Template is mapped to "io.fabric8.tekton.internal.pipeline.pkg.apis.pipeline.pod.Template" - mappingSchema := map[string]string{ - "github.com/tektoncd": "io.fabric8.tekton.v1beta1.internal", - } - - // overwriting some times - manualTypeMap := map[reflect.Type]string{ - reflect.TypeOf(runtime.RawExtension{}): "java.util.Map", - reflect.TypeOf(machinery.Time{}): "java.lang.String", - } - - json := schemagen.GenerateSchema("http://fabric8.io/tekton/v1beta1/TektonSchema#", crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints, "io.fabric8") - - fmt.Println(json) -} diff --git a/extensions/tekton/generator/go.mod b/extensions/tekton/generator/go.mod deleted file mode 100644 index 3d9c2a8a7f9..00000000000 --- a/extensions/tekton/generator/go.mod +++ /dev/null @@ -1,82 +0,0 @@ -module github.com/fabric8io/kubernetes-client/extensions/tekton/generator - -require ( - github.com/fabric8io/kubernetes-client/generator v0.0.0 - github.com/tektoncd/pipeline v0.47.0 - k8s.io/apimachinery v0.26.4 -) - -require ( - contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d // indirect - contrib.go.opencensus.io/exporter/prometheus v0.4.0 // indirect - github.com/beorn7/perks v1.0.1 // indirect - github.com/blendle/zapdriver v1.3.1 // indirect - github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect - github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/davecgh/go-spew v1.1.1 // indirect - github.com/emicklei/go-restful/v3 v3.9.0 // indirect - github.com/evanphx/json-patch/v5 v5.6.0 // indirect - github.com/go-kit/log v0.2.0 // indirect - github.com/go-logfmt/logfmt v0.5.1 // indirect - github.com/go-logr/logr v1.2.3 // indirect - github.com/go-openapi/jsonpointer v0.19.6 // indirect - github.com/go-openapi/jsonreference v0.20.1 // indirect - github.com/go-openapi/swag v0.22.3 // indirect - github.com/gogo/protobuf v1.3.2 // indirect - github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/protobuf v1.5.3 // indirect - github.com/google/gnostic v0.6.9 // indirect - github.com/google/go-cmp v0.5.9 // indirect - github.com/google/go-containerregistry v0.14.0 // indirect - github.com/google/gofuzz v1.2.0 // indirect - github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect - github.com/hashicorp/errwrap v1.1.0 // indirect - github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/josharian/intern v1.0.0 // indirect - github.com/json-iterator/go v1.1.12 // indirect - github.com/mailru/easyjson v0.7.7 // indirect - github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect - github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect - github.com/modern-go/reflect2 v1.0.2 // indirect - github.com/opencontainers/go-digest v1.0.0 // indirect - github.com/pkg/errors v0.9.1 // indirect - github.com/prometheus/client_golang v1.13.0 // indirect - github.com/prometheus/client_model v0.3.0 // indirect - github.com/prometheus/common v0.37.0 // indirect - github.com/prometheus/procfs v0.8.0 // indirect - github.com/prometheus/statsd_exporter v0.21.0 // indirect - go.opencensus.io v0.24.0 // indirect - go.uber.org/atomic v1.10.0 // indirect - go.uber.org/multierr v1.8.0 // indirect - go.uber.org/zap v1.24.0 // indirect - golang.org/x/exp v0.0.0-20230307190834-24139beb5833 // indirect - golang.org/x/net v0.23.0 // indirect - golang.org/x/oauth2 v0.7.0 // indirect - golang.org/x/sync v0.1.0 // indirect - golang.org/x/sys v0.18.0 // indirect - golang.org/x/term v0.18.0 // indirect - golang.org/x/text v0.14.0 // indirect - golang.org/x/time v0.3.0 // indirect - gomodules.xyz/jsonpatch/v2 v2.2.0 // indirect - google.golang.org/api v0.116.0 // indirect - google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect - google.golang.org/grpc v1.56.3 // indirect - google.golang.org/protobuf v1.33.0 // indirect - gopkg.in/inf.v0 v0.9.1 // indirect - gopkg.in/yaml.v2 v2.4.0 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/api v0.25.9 // indirect - k8s.io/client-go v0.25.9 // indirect - k8s.io/klog/v2 v2.90.1 // indirect - k8s.io/kube-openapi v0.0.0-20230308215209-15aac26d736a // indirect - k8s.io/utils v0.0.0-20230209194617-a36077c30491 // indirect - knative.dev/pkg v0.0.0-20230221145627-8efb3485adcf // indirect - sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect - sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect - sigs.k8s.io/yaml v1.3.0 // indirect -) - -replace github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator - -go 1.18 diff --git a/extensions/tekton/generator/go.sum b/extensions/tekton/generator/go.sum deleted file mode 100644 index 01a37751ee5..00000000000 --- a/extensions/tekton/generator/go.sum +++ /dev/null @@ -1,684 +0,0 @@ -cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= -cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU= -cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU= -cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY= -cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc= -cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0= -cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To= -cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4= -cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M= -cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc= -cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk= -cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs= -cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc= -cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY= -cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= -cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE= -cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc= -cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg= -cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc= -cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ= -cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= -cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk= -cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= -cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw= -cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA= -cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU= -cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= -cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos= -cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk= -cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs= -cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0= -contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d h1:LblfooH1lKOpp1hIhukktmSAxFkqMPFk9KR6iZ0MJNI= -contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d/go.mod h1:IshRmMJBhDfFj5Y67nVhMYTTIze91RUeT73ipWKs/GY= -contrib.go.opencensus.io/exporter/prometheus v0.4.0 h1:0QfIkj9z/iVZgK31D9H9ohjjIDApI2GOPScCKwxedbs= -contrib.go.opencensus.io/exporter/prometheus v0.4.0/go.mod h1:o7cosnyfuPVK0tB8q0QmaQNhGnptITnPQB+z1+qeFB0= -dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= -github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= -github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc= -github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0= -github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho= -github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= -github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= -github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= -github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= -github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/blendle/zapdriver v1.3.1 h1:C3dydBOWYRiOk+B8X9IVZ5IOe+7cl+tGOexN4QqHfpE= -github.com/blendle/zapdriver v1.3.1/go.mod h1:mdXfREi6u5MArG4j9fewC+FGnXaBR+T4Ox4J2u4eHCc= -github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0= -github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/census-instrumentation/opencensus-proto v0.4.1 h1:iKLQ0xPNFxR/2hzXZMrBo8f1j86j5WHzznCCQxV/b8g= -github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= -github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= -github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= -github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= -github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= -github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudevents/sdk-go/v2 v2.14.0 h1:Nrob4FwVgi5L4tV9lhjzZcjYqFVyJzsA56CwPaPfv6s= -github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= -github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs= -github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= -github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= -github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE= -github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc= -github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= -github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= -github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk= -github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ= -github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= -github.com/evanphx/json-patch v0.5.2/go.mod h1:ZWS5hhDbVDyob71nXKNL0+PWn6ToqBHMikGIFbs31qQ= -github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= -github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJCLunww= -github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= -github.com/flowstack/go-jsonschema v0.1.1/go.mod h1:yL7fNggx1o8rm9RlgXv7hTBWxdBM0rVwpMwimd3F3N0= -github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= -github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= -github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= -github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= -github.com/go-kit/log v0.2.0 h1:7i2K3eKTos3Vc0enKCfnVcgHh2olr/MyfboYq7cAcFw= -github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0= -github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= -github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= -github.com/go-logfmt/logfmt v0.5.1 h1:otpy5pqBCBZ1ng9RQ0dPu4PN7ba75Y/aA+UpowDyNVA= -github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs= -github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0= -github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-openapi/jsonpointer v0.19.6 h1:eCs3fxoIi3Wh6vtgmLTOjdhSpiqphQ+DaPn38N2ZdrE= -github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs= -github.com/go-openapi/jsonreference v0.20.1 h1:FBLnyygC4/IZZr893oiomc9XaghoveYTrLC1F86HID8= -github.com/go-openapi/jsonreference v0.20.1/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k= -github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= -github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= -github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q= -github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= -github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE= -github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= -github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= -github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw= -github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4= -github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.4/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= -github.com/golang/protobuf v1.3.5/go.mod h1:6O5/vntMXwX2lRkT1hjjk0nAC1IDOTvTlVgjlRvqsdk= -github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= -github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= -github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= -github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= -github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= -github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= -github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= -github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk= -github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg= -github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY= -github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/gnostic v0.6.9 h1:ZK/5VhkoX835RikCHpSUJV9a+S3e1zLh59YnyWeBW+0= -github.com/google/gnostic v0.6.9/go.mod h1:Nm8234We1lq6iB9OmlgNv3nH91XLLVZHCDayfA3xq+E= -github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= -github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-containerregistry v0.14.0 h1:z58vMqHxuwvAsVwvKEkmVBz2TlgBgH5k6koEXBtlYkw= -github.com/google/go-containerregistry v0.14.0/go.mod h1:aiJ2fp/SXvkWgmYHioXnbMdlgB8eXiiYOY55gfN91Wk= -github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0= -github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= -github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= -github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0= -github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= -github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM= -github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg= -github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk= -github.com/grpc-ecosystem/grpc-gateway v1.14.6/go.mod h1:zdiPV4Yse/1gnckTHtghG4GkDEdKCRJduHpTxT3/jcw= -github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 h1:lLT7ZLSzGLI08vc9cpd+tYmNWjdKDqyr/2L+f6U12Fk= -github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w= -github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= -github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= -github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.4 h1:YDjusn29QI/Das2iO9M0BHnIbxPeyuCHsjMW+lJfyTc= -github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= -github.com/imdario/mergo v0.3.13 h1:lFzP57bqS/wsqKssCGmtLAb8A0wKjLGrve2q3PPVcBk= -github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= -github.com/josharian/intern v1.0.0 h1:vlS4z54oSdjm0bgjRigI+G1HpF+tI+9rE5LLzOg8HmY= -github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y= -github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4= -github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= -github.com/json-iterator/go v1.1.12 h1:PV8peI4a0ysnczrg+LtxykD8LfKY9ML6u2jnxaEnrnM= -github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo= -github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= -github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk= -github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= -github.com/kelseyhightower/envconfig v1.4.0 h1:Im6hONhd3pLkfDFsbRgu68RDNkGF1r3dvMUtDTo2cv8= -github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8= -github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= -github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= -github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= -github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pretty v0.2.1 h1:Fmg33tUaq4/8ym9TJN1x7sLJnHVwhP33CNkpYV/7rwI= -github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI= -github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= -github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= -github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= -github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= -github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= -github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= -github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= -github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= -github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M= -github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk= -github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA= -github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/onsi/ginkgo/v2 v2.4.0 h1:+Ig9nvqgS5OBSACXNk15PLdp0U9XPYROt9CFzVdFGIs= -github.com/onsi/gomega v1.23.0 h1:/oxKu9c2HVap+F3PfKort2Hw5DEU+HGlW8n+tguWsys= -github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= -github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= -github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= -github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M= -github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= -github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= -github.com/prometheus/client_golang v1.13.0 h1:b71QUfeo5M8gq2+evJdTPfZhYMAU0uKPkyPJ7TPsloU= -github.com/prometheus/client_golang v1.13.0/go.mod h1:vTeo+zgvILHsnnj/39Ou/1fPN5nJFOEMgftOUOmlvYQ= -github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4= -github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w= -github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= -github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo= -github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc= -github.com/prometheus/common v0.28.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls= -github.com/prometheus/common v0.37.0 h1:ccBbHCgIiT9uSoFY0vX8H3zsNR5eLt17/RQLUvn8pXE= -github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA= -github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU= -github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA= -github.com/prometheus/procfs v0.8.0 h1:ODq8ZFEaYeCaZOJlZZdJA2AbQR98dSHSM1KW/You5mo= -github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4= -github.com/prometheus/statsd_exporter v0.21.0 h1:hA05Q5RFeIjgwKIYEdFd59xu5Wwaznf33yKI+pyX6T8= -github.com/prometheus/statsd_exporter v0.21.0/go.mod h1:rbT83sZq2V+p73lHhPZfMc3MLCHmSHelCh9hSGYNLTQ= -github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= -github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= -github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= -github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= -github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= -github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= -github.com/tektoncd/pipeline v0.47.0 h1:zZxmp6im8/p9RaH32LgeCP6dwH/4hcsfvEQUrwGsUPA= -github.com/tektoncd/pipeline v0.47.0/go.mod h1:7H1DeNuEJFGoExGwQTlRul2IziCPxkjXRdDdirWmoQs= -github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= -github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ= -github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= -github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= -go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= -go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= -go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= -go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E= -go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= -go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= -go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= -go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/atomic v1.10.0 h1:9qC72Qh0+3MqyJbAn8YU5xVq1frD8bn3JtD2oXtafVQ= -go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= -go.uber.org/goleak v1.2.0 h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk= -go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= -go.uber.org/multierr v1.8.0 h1:dg6GjLku4EH+249NNmoIciG9N/jURbDG+pFlTkhzIC8= -go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak= -go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= -go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= -golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= -golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= -golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= -golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= -golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY= -golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= -golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= -golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= -golang.org/x/exp v0.0.0-20230307190834-24139beb5833 h1:SChBja7BCQewoTAU7IgvucQKMIXrEpFxNMs0spT3/5s= -golang.org/x/exp v0.0.0-20230307190834-24139beb5833/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc= -golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= -golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= -golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= -golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= -golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRuDixDT3tpyyb+LUpUlRWLxfhWrs= -golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= -golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE= -golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o= -golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= -golang.org/x/mod v0.1.0/go.mod h1:0QHyrYULN0/3qlju5TqG8bIK38QM8yzMo5ekMj3DlcY= -golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA= -golang.org/x/mod v0.9.0 h1:KENHtAZL2y3NLMYZeHY9DW8HW8V+kQyJsY/V9JlKvCs= -golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= -golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks= -golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= -golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA= -golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= -golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= -golang.org/x/net v0.23.0 h1:7EYJ93RZ9vYSZAIb2x3lnuvqO5zneoD6IvWjuhfxjTs= -golang.org/x/net v0.23.0/go.mod h1:JKghWKKOSdJwpW2GEx0Ja7fmaKnMsbu+MWVZTokSYmg= -golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= -golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc= -golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g= -golang.org/x/oauth2 v0.7.0/go.mod h1:hPLQkd9LyjfXTiRohC/41GhcFqxisoUQ99sCUOHO9x4= -golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4= -golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8= -golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= -golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= -golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= -golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= -golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= -golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw= -golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8= -golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE= -golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA= -golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA= -golang.org/x/tools v0.7.0 h1:W4OVu8VVOaIO0yzWMNdepAulS7YfoS3Zabrm8DOXXU4= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gomodules.xyz/jsonpatch/v2 v2.2.0 h1:4pT439QV83L+G9FkcCriY6EkpcK6r6bK+A5FBUMI7qY= -gomodules.xyz/jsonpatch/v2 v2.2.0/go.mod h1:WXp+iVDkoLQqPudfQ9GBlwB2eZ5DKOnjQZCYdOS8GPY= -google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= -google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= -google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= -google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI= -google.golang.org/api v0.17.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.18.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE= -google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.25.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE= -google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM= -google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc= -google.golang.org/api v0.116.0 h1:09tOPVufPwfm5W4aA8EizGHJ7BcoRDsIareM2a15gO4= -google.golang.org/api v0.116.0/go.mod h1:9cD4/t6uvd9naoEJFA+M96d0IuB6BqFuyhpw68+mRGg= -google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= -google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= -google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= -google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= -google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE= -google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= -google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= -google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= -google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= -google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c= -google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U= -google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA= -google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= -google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= -google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= -google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= -google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= -google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= -google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60= -google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= -google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak= -google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0= -google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34= -google.golang.org/grpc v1.56.3 h1:8I4C0Yq1EjstUzUJzpcRVbuYA2mODtEmpWiQoN/b2nc= -google.golang.org/grpc v1.56.3/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= -google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= -google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= -google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= -google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= -google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= -google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= -google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGjtUeSXeh4= -google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw= -google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc= -google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI= -google.golang.org/protobuf v1.33.0/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= -gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= -gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q= -gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= -gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= -gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= -gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY= -gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= -gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -k8s.io/api v0.25.9 h1:XuJ2bz2F52jZmp3YjUcp/pozH8kY1BlBHdXnoOXBP3U= -k8s.io/api v0.25.9/go.mod h1:9YRWzD0cRHzfsnf9e5OQsQ4Un6cbZ//Xv3jo44YKm2Y= -k8s.io/apimachinery v0.26.4 h1:rZccKdBLg9vP6J09JD+z8Yr99Ce8gk3Lbi9TCx05Jzs= -k8s.io/apimachinery v0.26.4/go.mod h1:ats7nN1LExKHvJ9TmwootT00Yz05MuYqPXEXaVeOy5I= -k8s.io/client-go v0.25.9 h1:U0S3nc71NRfHXiA0utyCkPt3Mv1SWpQw0g5VfBCv5xg= -k8s.io/client-go v0.25.9/go.mod h1:tmPyOtpbbkneXj65EYZ4sXun1BE/2F2XlRABVj9CBgc= -k8s.io/klog/v2 v2.90.1 h1:m4bYOKall2MmOiRaR1J+We67Do7vm9KiQVlT96lnHUw= -k8s.io/klog/v2 v2.90.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= -k8s.io/kube-openapi v0.0.0-20230308215209-15aac26d736a h1:gmovKNur38vgoWfGtP5QOGNOA7ki4n6qNYoFAgMlNvg= -k8s.io/kube-openapi v0.0.0-20230308215209-15aac26d736a/go.mod h1:y5VtZWM9sHHc2ZodIH/6SHzXj+TPU5USoA8lcIeKEKY= -k8s.io/utils v0.0.0-20230209194617-a36077c30491 h1:r0BAOLElQnnFhE/ApUsg3iHdVYYPBjNSSOMowRZxxsY= -k8s.io/utils v0.0.0-20230209194617-a36077c30491/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0= -knative.dev/pkg v0.0.0-20230221145627-8efb3485adcf h1:TwvZFDpkyqpK2OCAwvNGV2Zjk14FzIh8X8Ci/du3jYI= -knative.dev/pkg v0.0.0-20230221145627-8efb3485adcf/go.mod h1:VO/fcEsq43seuONRQxZyftWHjpMabYzRHDtpSEQ/eoQ= -rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= -sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= -sigs.k8s.io/structured-merge-diff/v4 v4.2.3/go.mod h1:qjx8mGObPmV2aSZepjQjbmb2ihdVs8cGKBraizNC69E= -sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= -sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8= diff --git a/extensions/tekton/model-triggers-v1alpha1/pom.xml b/extensions/tekton/model-triggers-v1alpha1/pom.xml deleted file mode 100644 index b26ce530b6d..00000000000 --- a/extensions/tekton/model-triggers-v1alpha1/pom.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - 4.0.0 - - io.fabric8 - tekton-extension-pom - 7.0-SNAPSHOT - - - tekton-model-triggers-v1alpha1 - bundle - Fabric8 :: Tekton :: Model triggers :: v1alpha1 - - - - io.fabric8.kubernetes.api.builder, - !io.fabric8.tekton.*, - * - - - io.fabric8.tekton.*, - io.fabric8.knative.internal.pkg.apis.* - - - - - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.sundr - sundr-codegen-velocity-nodeps - - - io.fabric8 - kubernetes-model-core - - - io.fabric8 - tekton-model-v1beta1 - - - org.junit.jupiter - junit-jupiter-engine - test - - - org.projectlombok - lombok - provided - - - - - - generate - - - - org.jsonschema2pojo - jsonschema2pojo-maven-plugin - - - maven-antrun-plugin - - - generate-sources - - - - - - - - run - - - - - - - - - diff --git a/extensions/tekton/model-triggers-v1alpha1/src/main/resources/schema/tekton-schema-triggers.json b/extensions/tekton/model-triggers-v1alpha1/src/main/resources/schema/tekton-schema-triggers.json deleted file mode 100644 index d5c07440505..00000000000 --- a/extensions/tekton/model-triggers-v1alpha1/src/main/resources/schema/tekton-schema-triggers.json +++ /dev/null @@ -1,1277 +0,0 @@ -{ - "id": "http://fabric8.io/tekton/triggers/TektonSchema#", - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_BitbucketInterceptor": { - "type": "object", - "properties": { - "eventTypes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "secretRef": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_SecretRef", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.SecretRef" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.BitbucketInterceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_CELInterceptor": { - "type": "object", - "properties": { - "filter": { - "type": "string" - }, - "overlays": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_CELOverlay", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.CELOverlay" - } - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.CELInterceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_CELOverlay": { - "type": "object", - "properties": { - "expression": { - "type": "string" - }, - "key": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.CELOverlay", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClientConfig": { - "type": "object", - "properties": { - "caBundle": { - "type": "string", - "javaOmitEmpty": true - }, - "service": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ServiceReference", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ServiceReference" - }, - "url": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.ClientConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptor": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "ClusterInterceptor", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptorSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptorStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptor" - } - }, - "kind": { - "type": "string", - "default": "ClusterInterceptorList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptorList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1alpha1.ClusterInterceptor\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorSpec": { - "type": "object", - "properties": { - "clientConfig": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClientConfig", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClientConfig" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptorSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorStatus": { - "type": "object", - "properties": { - "address": { - "existingJavaType": "io.fabric8.knative.duck.v1.Addressable" - }, - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptorStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterTriggerBinding": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "ClusterTriggerBinding", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterTriggerBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterTriggerBindingList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterTriggerBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterTriggerBinding" - } - }, - "kind": { - "type": "string", - "default": "ClusterTriggerBindingList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterTriggerBindingList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1alpha1.ClusterTriggerBinding\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListener": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "EventListener", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.EventListener", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerConfig": { - "type": "object", - "properties": { - "generatedName": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListener", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListener" - } - }, - "kind": { - "type": "string", - "default": "EventListenerList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1alpha1.EventListener\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerSpec": { - "type": "object", - "properties": { - "labelSelector": { - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "namespaceSelector": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_NamespaceSelector", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.NamespaceSelector" - }, - "resources": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Resources", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.Resources" - }, - "serviceAccountName": { - "type": "string" - }, - "triggers": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerTrigger", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerTrigger" - } - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerStatus": { - "type": "object", - "properties": { - "address": { - "existingJavaType": "io.fabric8.knative.duck.v1alpha1.Addressable" - }, - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "configuration": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerConfig", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerConfig" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerTrigger": { - "type": "object", - "properties": { - "bindings": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpecBinding" - } - }, - "interceptors": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerInterceptor" - } - }, - "name": { - "type": "string" - }, - "serviceAccountName": { - "type": "string" - }, - "template": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpecTemplate" - }, - "triggerRef": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerTrigger", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_GitHubInterceptor": { - "type": "object", - "properties": { - "eventTypes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "secretRef": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_SecretRef", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.SecretRef" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.GitHubInterceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_GitLabInterceptor": { - "type": "object", - "properties": { - "eventTypes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "secretRef": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_SecretRef", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.SecretRef" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.GitLabInterceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Interceptor": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "Interceptor", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.Interceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Interceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.Interceptor" - } - }, - "kind": { - "type": "string", - "default": "InterceptorList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1alpha1.Interceptor\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorParams": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "existingJavaType": "java.lang.Object" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorParams", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorSpec": { - "type": "object", - "properties": { - "clientConfig": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClientConfig", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClientConfig" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorStatus": { - "type": "object", - "properties": { - "address": { - "existingJavaType": "io.fabric8.knative.duck.v1.Addressable" - }, - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_KubernetesResource": { - "type": "object", - "properties": { - "replicas": { - "type": "integer", - "existingJavaType": "Integer" - }, - "serviceType": { - "type": "string" - }, - "spec": { - "existingJavaType": "io.fabric8.knative.duck.v1.WithPodSpec" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.KubernetesResource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_NamespaceSelector": { - "type": "object", - "properties": { - "matchNames": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.NamespaceSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Param": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.Param", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ParamSpec": { - "type": "object", - "properties": { - "default": { - "type": "string", - "existingJavaType": "String" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.ParamSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Resources": { - "type": "object", - "properties": { - "customResource": { - "existingJavaType": "io.fabric8.kubernetes.api.model.HasMetadata" - }, - "kubernetesResource": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_KubernetesResource", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.KubernetesResource" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.Resources", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_SecretRef": { - "type": "object", - "properties": { - "secretKey": { - "type": "string" - }, - "secretName": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.SecretRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ServiceReference": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "namespace": { - "type": "string" - }, - "path": { - "type": "string" - }, - "port": { - "type": "integer", - "existingJavaType": "Integer" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.ServiceReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Trigger": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "Trigger", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpec" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.Trigger", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBinding": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "TriggerBinding", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBinding" - } - }, - "kind": { - "type": "string", - "default": "TriggerBindingList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1alpha1.TriggerBinding\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingSpec": { - "type": "object", - "properties": { - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Param", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.Param" - } - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingStatus": { - "type": "object", - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerInterceptor": { - "type": "object", - "properties": { - "bitbucket": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_BitbucketInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.BitbucketInterceptor" - }, - "cel": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_CELInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.CELInterceptor" - }, - "github": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_GitHubInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.GitHubInterceptor" - }, - "gitlab": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_GitLabInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.GitLabInterceptor" - }, - "name": { - "type": "string", - "existingJavaType": "String" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorParams", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorParams" - } - }, - "ref": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorRef", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorRef" - }, - "webhook": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_WebhookInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.WebhookInterceptor" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerInterceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Trigger", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.Trigger" - } - }, - "kind": { - "type": "string", - "default": "TriggerList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1alpha1.Trigger\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpec": { - "type": "object", - "properties": { - "bindings": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpecBinding" - } - }, - "interceptors": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerInterceptor" - } - }, - "name": { - "type": "string" - }, - "serviceAccountName": { - "type": "string" - }, - "template": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpecTemplate" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecBinding": { - "type": "object", - "properties": { - "apiversion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "ref": { - "type": "string" - }, - "value": { - "type": "string", - "existingJavaType": "String" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpecBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecTemplate": { - "type": "object", - "properties": { - "apiversion": { - "type": "string" - }, - "ref": { - "type": "string", - "existingJavaType": "String" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateSpec" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpecTemplate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplate": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "TriggerTemplate", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplate" - } - }, - "kind": { - "type": "string", - "default": "TriggerTemplateList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1alpha1.TriggerTemplate\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateSpec": { - "type": "object", - "properties": { - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ParamSpec" - } - }, - "resourcetemplates": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.HasMetadata" - } - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateStatus": { - "type": "object", - "javaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_WebhookInterceptor": { - "type": "object", - "properties": { - "header": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "objectRef": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectReference" - }, - "url": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1alpha1.WebhookInterceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - } - }, - "type": "object", - "properties": { - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_BitbucketInterceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_BitbucketInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.BitbucketInterceptor" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_CELInterceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_CELInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.CELInterceptor" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_CELOverlay": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_CELOverlay", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.CELOverlay" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClientConfig": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClientConfig", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClientConfig" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptor" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorList", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptorList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptorSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorStatus": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterInterceptorStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterInterceptorStatus" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterTriggerBinding": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterTriggerBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterTriggerBinding" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterTriggerBindingList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ClusterTriggerBindingList", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ClusterTriggerBindingList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListener": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListener", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListener" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerConfig": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerConfig", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerConfig" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerList", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerStatus": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerStatus" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerTrigger": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_EventListenerTrigger", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.EventListenerTrigger" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_GitHubInterceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_GitHubInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.GitHubInterceptor" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_GitLabInterceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_GitLabInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.GitLabInterceptor" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Interceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Interceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.Interceptor" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorList", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorParams": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorParams", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorParams" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorRef": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorRef", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorRef" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorStatus": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_InterceptorStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.InterceptorStatus" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_KubernetesResource": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_KubernetesResource", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.KubernetesResource" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_NamespaceSelector": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_NamespaceSelector", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.NamespaceSelector" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Param": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Param", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.Param" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ParamSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ParamSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Resources": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Resources", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.Resources" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_SecretRef": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_SecretRef", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.SecretRef" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ServiceReference": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_ServiceReference", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.ServiceReference" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Trigger": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_Trigger", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.Trigger" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBinding": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBinding" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingList", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingStatus": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerBindingStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerBindingStatus" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerInterceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerInterceptor" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerList", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecBinding": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpecBinding" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecTemplate": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerSpecTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerSpecTemplate" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplate": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplate" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateList", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateStatus": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_TriggerTemplateStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.TriggerTemplateStatus" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_WebhookInterceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1alpha1_WebhookInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1alpha1.WebhookInterceptor" - } - }, - "additionalProperties": false -} diff --git a/extensions/tekton/model-triggers-v1beta1/pom.xml b/extensions/tekton/model-triggers-v1beta1/pom.xml deleted file mode 100644 index 2700753d35f..00000000000 --- a/extensions/tekton/model-triggers-v1beta1/pom.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - 4.0.0 - - io.fabric8 - tekton-extension-pom - 7.0-SNAPSHOT - - - tekton-model-triggers-v1beta1 - bundle - Fabric8 :: Tekton :: Model triggers :: v1beta1 - - - - io.fabric8.kubernetes.api.builder, - !io.fabric8.tekton.*, - * - - - io.fabric8.tekton.triggers.v1beta1.*, - io.fabric8.knative.internal.pkg.apis.* - - - - - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.sundr - sundr-codegen-velocity-nodeps - - - io.fabric8 - kubernetes-model-core - - - io.fabric8 - tekton-model-v1beta1 - - - org.junit.jupiter - junit-jupiter-engine - test - - - org.projectlombok - lombok - provided - - - - - - generate - - - - org.jsonschema2pojo - jsonschema2pojo-maven-plugin - - - maven-antrun-plugin - - - generate-sources - - - - - - - - run - - - - - - - - - diff --git a/extensions/tekton/model-triggers-v1beta1/src/main/resources/schema/tekton-schema-triggers.json b/extensions/tekton/model-triggers-v1beta1/src/main/resources/schema/tekton-schema-triggers.json deleted file mode 100644 index 14cc36a9bd9..00000000000 --- a/extensions/tekton/model-triggers-v1beta1/src/main/resources/schema/tekton-schema-triggers.json +++ /dev/null @@ -1,907 +0,0 @@ -{ - "id": "http://fabric8.io/tekton/triggers/TektonSchema#", - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ClusterTriggerBinding": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "ClusterTriggerBinding", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.ClusterTriggerBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ClusterTriggerBindingList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ClusterTriggerBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.ClusterTriggerBinding" - } - }, - "kind": { - "type": "string", - "default": "ClusterTriggerBindingList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.ClusterTriggerBindingList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1beta1.ClusterTriggerBinding\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListener": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "EventListener", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.EventListener", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerConfig": { - "type": "object", - "properties": { - "generatedName": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListener", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListener" - } - }, - "kind": { - "type": "string", - "default": "EventListenerList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1beta1.EventListener\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerSpec": { - "type": "object", - "properties": { - "cloudEventURI": { - "type": "string" - }, - "labelSelector": { - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "namespaceSelector": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_NamespaceSelector", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.NamespaceSelector" - }, - "resources": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Resources", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.Resources" - }, - "serviceAccountName": { - "type": "string" - }, - "triggerGroups": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTriggerGroup", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerTriggerGroup" - } - }, - "triggers": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTrigger", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerTrigger" - } - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerStatus": { - "type": "object", - "properties": { - "address": { - "existingJavaType": "io.fabric8.knative.duck.v1beta1.Addressable" - }, - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "configuration": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerConfig", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerConfig" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTrigger": { - "type": "object", - "properties": { - "bindings": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpecBinding" - } - }, - "interceptors": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerInterceptor" - } - }, - "name": { - "type": "string" - }, - "serviceAccountName": { - "type": "string" - }, - "template": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpecTemplate" - }, - "triggerRef": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerTrigger", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTriggerGroup": { - "type": "object", - "properties": { - "interceptors": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerInterceptor" - } - }, - "name": { - "type": "string" - }, - "triggerSelector": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTriggerSelector", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerTriggerSelector" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerTriggerGroup", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTriggerSelector": { - "type": "object", - "properties": { - "labelSelector": { - "existingJavaType": "io.fabric8.kubernetes.api.model.LabelSelector" - }, - "namespaceSelector": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_NamespaceSelector", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.NamespaceSelector" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerTriggerSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_InterceptorParams": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "existingJavaType": "java.lang.Object" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.InterceptorParams", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_InterceptorRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.InterceptorRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_KubernetesResource": { - "type": "object", - "properties": { - "replicas": { - "type": "integer", - "existingJavaType": "Integer" - }, - "servicePort": { - "type": "integer", - "existingJavaType": "Integer" - }, - "serviceType": { - "type": "string" - }, - "spec": { - "existingJavaType": "io.fabric8.knative.duck.v1.WithPodSpec" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.KubernetesResource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_NamespaceSelector": { - "type": "object", - "properties": { - "matchNames": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.NamespaceSelector", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Param": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.Param", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ParamSpec": { - "type": "object", - "properties": { - "default": { - "type": "string", - "existingJavaType": "String" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.ParamSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Resources": { - "type": "object", - "properties": { - "customResource": { - "existingJavaType": "io.fabric8.kubernetes.api.model.HasMetadata" - }, - "kubernetesResource": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_KubernetesResource", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.KubernetesResource" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.Resources", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Trigger": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "Trigger", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpec" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.Trigger", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBinding": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "TriggerBinding", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBinding" - } - }, - "kind": { - "type": "string", - "default": "TriggerBindingList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1beta1.TriggerBinding\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingSpec": { - "type": "object", - "properties": { - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.Param" - } - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingStatus": { - "type": "object", - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerInterceptor": { - "type": "object", - "properties": { - "name": { - "type": "string", - "existingJavaType": "String" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_InterceptorParams", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.InterceptorParams" - } - }, - "ref": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_InterceptorRef", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.InterceptorRef" - }, - "webhook": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_WebhookInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.WebhookInterceptor" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerInterceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Trigger", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.Trigger" - } - }, - "kind": { - "type": "string", - "default": "TriggerList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1beta1.Trigger\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpec": { - "type": "object", - "properties": { - "bindings": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpecBinding" - } - }, - "interceptors": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerInterceptor" - } - }, - "name": { - "type": "string" - }, - "serviceAccountName": { - "type": "string" - }, - "template": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpecTemplate" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecBinding": { - "type": "object", - "properties": { - "apiversion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "ref": { - "type": "string" - }, - "value": { - "type": "string", - "existingJavaType": "String" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpecBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecTemplate": { - "type": "object", - "properties": { - "apiversion": { - "type": "string" - }, - "ref": { - "type": "string", - "existingJavaType": "String" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplateSpec" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpecTemplate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplate": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "TriggerTemplate", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplateSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplateStatus" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "triggers.tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplate" - } - }, - "kind": { - "type": "string", - "default": "TriggerTemplateList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplateList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.triggers.v1beta1.TriggerTemplate\u003e" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateSpec": { - "type": "object", - "properties": { - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.ParamSpec" - } - }, - "resourcetemplates": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.HasMetadata" - } - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplateSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateStatus": { - "type": "object", - "javaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplateStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_WebhookInterceptor": { - "type": "object", - "properties": { - "header": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "objectRef": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectReference" - }, - "url": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.tekton.triggers.v1beta1.WebhookInterceptor", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - } - }, - "type": "object", - "properties": { - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ClusterTriggerBinding": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ClusterTriggerBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.ClusterTriggerBinding" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ClusterTriggerBindingList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ClusterTriggerBindingList", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.ClusterTriggerBindingList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListener": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListener", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListener" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerConfig": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerConfig", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerConfig" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerList", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerStatus": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerStatus" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTrigger": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTrigger", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerTrigger" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTriggerGroup": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTriggerGroup", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerTriggerGroup" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTriggerSelector": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_EventListenerTriggerSelector", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.EventListenerTriggerSelector" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_InterceptorParams": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_InterceptorParams", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.InterceptorParams" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_InterceptorRef": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_InterceptorRef", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.InterceptorRef" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_KubernetesResource": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_KubernetesResource", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.KubernetesResource" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_NamespaceSelector": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_NamespaceSelector", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.NamespaceSelector" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Param": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.Param" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ParamSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.ParamSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Resources": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Resources", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.Resources" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Trigger": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_Trigger", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.Trigger" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBinding": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBinding" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingList", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingStatus": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerBindingStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerBindingStatus" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerInterceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerInterceptor" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerList", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecBinding": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecBinding", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpecBinding" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecTemplate": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerSpecTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerSpecTemplate" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplate": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplate", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplate" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateList": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateList", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplateList" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateSpec": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateSpec", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplateSpec" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateStatus": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_TriggerTemplateStatus", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.TriggerTemplateStatus" - }, - "github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_WebhookInterceptor": { - "$ref": "#/definitions/github_com_tektoncd_triggers_pkg_apis_triggers_v1beta1_WebhookInterceptor", - "existingJavaType": "io.fabric8.tekton.triggers.v1beta1.WebhookInterceptor" - } - }, - "additionalProperties": false -} diff --git a/extensions/tekton/model-v1/pom.xml b/extensions/tekton/model-v1/pom.xml deleted file mode 100644 index 84440474f8c..00000000000 --- a/extensions/tekton/model-v1/pom.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - 4.0.0 - - io.fabric8 - tekton-extension-pom - 7.0-SNAPSHOT - - - tekton-model-v1 - bundle - Fabric8 :: Tekton :: Model v1 - - - - io.fabric8.kubernetes.api.builder, - !io.fabric8.tekton.*, - * - - - io.fabric8.tekton.* - - - - - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.sundr - sundr-codegen-velocity-nodeps - - - io.fabric8 - kubernetes-model-core - - - io.fabric8 - knative-model - - - org.junit.jupiter - junit-jupiter-engine - test - - - org.projectlombok - lombok - provided - - - - - - generate - - - - org.jsonschema2pojo - jsonschema2pojo-maven-plugin - - - maven-antrun-plugin - - - generate-sources - - - - - - - - run - - - - - - - - - diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRef.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRef.java deleted file mode 100644 index 4f6d0aa6a7f..00000000000 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRef.java +++ /dev/null @@ -1,162 +0,0 @@ - -package io.fabric8.tekton.pipeline.v1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "apiVersion", - "name", - "params", - "resolver" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class PipelineRef implements Editable , KubernetesResource -{ - - @JsonProperty("apiVersion") - private String apiVersion; - @JsonProperty("name") - private String name; - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List params = new ArrayList<>(); - @JsonProperty("resolver") - private String resolver; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public PipelineRef() { - } - - public PipelineRef(String apiVersion, String name, List params, String resolver) { - super(); - this.apiVersion = apiVersion; - this.name = name; - this.params = params; - this.resolver = resolver; - } - - @JsonProperty("apiVersion") - public String getApiVersion() { - return apiVersion; - } - - @JsonProperty("apiVersion") - public void setApiVersion(String apiVersion) { - this.apiVersion = apiVersion; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getParams() { - return params; - } - - @JsonProperty("params") - public void setParams(List params) { - this.params = params; - } - - @JsonProperty("resolver") - public String getResolver() { - return resolver; - } - - @JsonProperty("resolver") - public void setResolver(String resolver) { - this.resolver = resolver; - } - - @JsonIgnore - public PipelineRefBuilder edit() { - return new PipelineRefBuilder(this); - } - - @JsonIgnore - public PipelineRefBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRef.java b/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRef.java deleted file mode 100644 index 09fb034d85e..00000000000 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRef.java +++ /dev/null @@ -1,176 +0,0 @@ - -package io.fabric8.tekton.pipeline.v1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "apiVersion", - "kind", - "name", - "params", - "resolver" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class TaskRef implements Editable , KubernetesResource -{ - - @JsonProperty("apiVersion") - private String apiVersion; - @JsonProperty("kind") - private String kind; - @JsonProperty("name") - private String name; - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List params = new ArrayList<>(); - @JsonProperty("resolver") - private String resolver; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TaskRef() { - } - - public TaskRef(String apiVersion, String kind, String name, List params, String resolver) { - super(); - this.apiVersion = apiVersion; - this.kind = kind; - this.name = name; - this.params = params; - this.resolver = resolver; - } - - @JsonProperty("apiVersion") - public String getApiVersion() { - return apiVersion; - } - - @JsonProperty("apiVersion") - public void setApiVersion(String apiVersion) { - this.apiVersion = apiVersion; - } - - @JsonProperty("kind") - public String getKind() { - return kind; - } - - @JsonProperty("kind") - public void setKind(String kind) { - this.kind = kind; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getParams() { - return params; - } - - @JsonProperty("params") - public void setParams(List params) { - this.params = params; - } - - @JsonProperty("resolver") - public String getResolver() { - return resolver; - } - - @JsonProperty("resolver") - public void setResolver(String resolver) { - this.resolver = resolver; - } - - @JsonIgnore - public TaskRefBuilder edit() { - return new TaskRefBuilder(this); - } - - @JsonIgnore - public TaskRefBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1/src/main/resources/schema/tekton-schema-v1.json b/extensions/tekton/model-v1/src/main/resources/schema/tekton-schema-v1.json deleted file mode 100644 index 69b99db3fc5..00000000000 --- a/extensions/tekton/model-v1/src/main/resources/schema/tekton-schema-v1.json +++ /dev/null @@ -1,2065 +0,0 @@ -{ - "id": "http://fabric8.io/tekton/v1/TektonSchema#", - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags": { - "type": "object", - "properties": { - "AwaitSidecarReadiness": { - "type": "boolean" - }, - "DisableAffinityAssistant": { - "type": "boolean" - }, - "DisableCredsInit": { - "type": "boolean" - }, - "EnableAPIFields": { - "type": "string" - }, - "EnableProvenanceInStatus": { - "type": "boolean" - }, - "EnableTektonOCIBundles": { - "type": "boolean" - }, - "EnforceNonfalsifiability": { - "type": "string" - }, - "MaxResultSize": { - "type": "integer" - }, - "RequireGitSSHSecretKnownHosts": { - "type": "boolean" - }, - "ResultExtractionMethod": { - "type": "string" - }, - "RunningInEnvWithInjectedSidecars": { - "type": "boolean" - }, - "ScopeWhenExpressionsToTask": { - "type": "boolean" - }, - "SendCloudEventsForRuns": { - "type": "boolean" - }, - "VerificationNoMatchPolicy": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1.internal.pipeline.pkg.apis.config.FeatureFlags", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { - "type": "object", - "properties": { - "affinity": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Affinity" - }, - "automountServiceAccountToken": { - "type": "boolean", - "existingJavaType": "Boolean" - }, - "dnsConfig": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PodDNSConfig" - }, - "dnsPolicy": { - "type": "string", - "existingJavaType": "String" - }, - "enableServiceLinks": { - "type": "boolean", - "existingJavaType": "Boolean" - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "hostAliases": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.HostAlias" - } - }, - "hostNetwork": { - "type": "boolean" - }, - "imagePullSecrets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.LocalObjectReference" - } - }, - "nodeSelector": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "priorityClassName": { - "type": "string", - "existingJavaType": "String" - }, - "runtimeClassName": { - "type": "string", - "existingJavaType": "String" - }, - "schedulerName": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PodSecurityContext" - }, - "tolerations": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Toleration" - } - }, - "topologySpreadConstraints": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.TopologySpreadConstraint" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - } - }, - "javaType": "io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod.Template", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ChildStatusReference": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "pipelineTaskName": { - "type": "string" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.ChildStatusReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_EmbeddedTask": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "description": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskMetadata" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ParamSpec" - } - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskResult" - } - }, - "sidecars": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Sidecar", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Sidecar" - } - }, - "spec": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - }, - "stepTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.StepTemplate" - }, - "steps": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Step", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Step" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.EmbeddedTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_IncludeParams": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Param" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.IncludeParams", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Matrix": { - "type": "object", - "properties": { - "include": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_IncludeParams", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.IncludeParams" - } - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Param" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.Matrix", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.Param", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ParamSpec": { - "type": "object", - "properties": { - "default": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ParamValue" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "properties": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1.PropertySpec\u003e" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.ParamSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Pipeline": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "Pipeline", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.Pipeline", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Pipeline", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Pipeline" - } - }, - "kind": { - "type": "string", - "default": "PipelineList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1.Pipeline\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Param" - } - }, - "resolver": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineResult": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "value": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRun": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "PipelineRun", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1", - "required": true - }, - "items": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRun" - } - }, - "kind": { - "type": "string", - "default": "PipelineRunList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1.PipelineRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunResult": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineRunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunSpec": { - "type": "object", - "properties": { - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Param" - } - }, - "pipelineRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRef" - }, - "pipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineSpec" - }, - "status": { - "type": "string" - }, - "taskRunSpecs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskRunSpec" - } - }, - "taskRunTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskRunTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskRunTemplate" - }, - "timeouts": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TimeoutFields", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TimeoutFields" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "childReferences": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ChildStatusReference", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ChildStatusReference" - } - }, - "completionTime": { - "existingJavaType": "java.lang.String" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "finallyStartTime": { - "existingJavaType": "java.lang.String" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "pipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineSpec" - }, - "provenance": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Provenance", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Provenance" - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRunResult" - } - }, - "skippedTasks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_SkippedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.SkippedTask" - } - }, - "spanContext": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "startTime": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineSpec": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "finally": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTask" - } - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ParamSpec" - } - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineResult" - } - }, - "tasks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTask" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineWorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineWorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTask": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "matrix": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Matrix", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Matrix" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Param" - } - }, - "retries": { - "type": "integer" - }, - "runAfter": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "taskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRef" - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_EmbeddedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.EmbeddedTask" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "when": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WhenExpression" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspacePipelineTaskBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspacePipelineTaskBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskMetadata": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskMetadata", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskRunSpec": { - "type": "object", - "properties": { - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "metadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskMetadata" - }, - "pipelineTaskName": { - "type": "string" - }, - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "serviceAccountName": { - "type": "string" - }, - "sidecarSpecs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunSidecarSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunSidecarSpec" - } - }, - "stepSpecs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStepSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunStepSpec" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskRunTemplate": { - "type": "object", - "properties": { - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "serviceAccountName": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskRunTemplate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineWorkspaceDeclaration": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PipelineWorkspaceDeclaration", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PropertySpec": { - "type": "object", - "properties": { - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.PropertySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Provenance": { - "type": "object", - "properties": { - "featureFlags": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags", - "existingJavaType": "io.fabric8.tekton.v1.internal.pipeline.pkg.apis.config.FeatureFlags" - }, - "refSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_RefSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.RefSource" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.Provenance", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_RefSource": { - "type": "object", - "properties": { - "digest": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "entryPoint": { - "type": "string" - }, - "uri": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.RefSource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Sidecar": { - "type": "object", - "properties": { - "args": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "envFrom": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvFromSource" - } - }, - "image": { - "type": "string" - }, - "imagePullPolicy": { - "type": "string" - }, - "lifecycle": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Lifecycle" - }, - "livenessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "name": { - "type": "string" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerPort" - } - }, - "readinessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "script": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" - }, - "startupProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "stdin": { - "type": "boolean" - }, - "stdinOnce": { - "type": "boolean" - }, - "terminationMessagePath": { - "type": "string" - }, - "terminationMessagePolicy": { - "type": "string" - }, - "tty": { - "type": "boolean" - }, - "volumeDevices": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeDevice" - } - }, - "volumeMounts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeMount" - } - }, - "workingDir": { - "type": "string" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceUsage", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspaceUsage" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.Sidecar", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_SidecarState": { - "type": "object", - "properties": { - "container": { - "type": "string" - }, - "imageID": { - "type": "string" - }, - "name": { - "type": "string" - }, - "running": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateRunning" - }, - "terminated": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateTerminated" - }, - "waiting": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateWaiting" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.SidecarState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_SkippedTask": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "reason": { - "type": "string" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.SkippedTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Step": { - "type": "object", - "properties": { - "args": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "envFrom": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvFromSource" - } - }, - "image": { - "type": "string" - }, - "imagePullPolicy": { - "type": "string" - }, - "name": { - "type": "string", - "maxLength": 63, - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" - }, - "onError": { - "type": "string" - }, - "script": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" - }, - "stderrConfig": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepOutputConfig", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.StepOutputConfig" - }, - "stdoutConfig": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepOutputConfig", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.StepOutputConfig" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "volumeDevices": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeDevice" - } - }, - "volumeMounts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeMount" - } - }, - "workingDir": { - "type": "string" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceUsage", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspaceUsage" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.Step", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepOutputConfig": { - "type": "object", - "properties": { - "path": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.StepOutputConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepState": { - "type": "object", - "properties": { - "container": { - "type": "string" - }, - "imageID": { - "type": "string" - }, - "name": { - "type": "string" - }, - "running": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateRunning" - }, - "terminated": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateTerminated" - }, - "waiting": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateWaiting" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.StepState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepTemplate": { - "type": "object", - "properties": { - "args": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "envFrom": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvFromSource" - } - }, - "image": { - "type": "string" - }, - "imagePullPolicy": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" - }, - "volumeDevices": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeDevice" - } - }, - "volumeMounts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeMount" - } - }, - "workingDir": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.StepTemplate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Task": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "Task", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.Task", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Task", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Task" - } - }, - "kind": { - "type": "string", - "default": "TaskList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1.Task\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Param" - } - }, - "resolver": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskResult": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "properties": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1.PropertySpec\u003e" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRun": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1", - "required": true - }, - "kind": { - "type": "string", - "default": "TaskRun", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunDebug": { - "type": "object", - "properties": { - "breakpoint": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskRunDebug", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRun" - } - }, - "kind": { - "type": "string", - "default": "TaskRunList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1.TaskRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunResult": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "value": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskRunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunSidecarSpec": { - "type": "object", - "properties": { - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskRunSidecarSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunSpec": { - "type": "object", - "properties": { - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "debug": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunDebug", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunDebug" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Param" - } - }, - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "retries": { - "type": "integer" - }, - "serviceAccountName": { - "type": "string" - }, - "sidecarSpecs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunSidecarSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunSidecarSpec" - } - }, - "status": { - "type": "string" - }, - "statusMessage": { - "type": "string" - }, - "stepSpecs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStepSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunStepSpec" - } - }, - "taskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRef" - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskSpec" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "completionTime": { - "existingJavaType": "java.lang.String" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "podName": { - "type": "string" - }, - "provenance": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Provenance", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Provenance" - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunResult" - } - }, - "retriesStatus": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunStatus" - } - }, - "sidecars": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_SidecarState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.SidecarState" - } - }, - "spanContext": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "startTime": { - "existingJavaType": "java.lang.String" - }, - "steps": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.StepState" - } - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStepSpec": { - "type": "object", - "properties": { - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskRunStepSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskSpec": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ParamSpec" - } - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskResult" - } - }, - "sidecars": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Sidecar", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Sidecar" - } - }, - "stepTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.StepTemplate" - }, - "steps": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Step", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Step" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TaskSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TimeoutFields": { - "type": "object", - "properties": { - "finally": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "pipeline": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "tasks": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.TimeoutFields", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WhenExpression": { - "type": "object", - "properties": { - "input": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.WhenExpression", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceBinding": { - "type": "object", - "properties": { - "configMap": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ConfigMapVolumeSource" - }, - "csi": { - "existingJavaType": "io.fabric8.kubernetes.api.model.CSIVolumeSource" - }, - "emptyDir": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EmptyDirVolumeSource" - }, - "name": { - "type": "string" - }, - "persistentVolumeClaim": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSource" - }, - "projected": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ProjectedVolumeSource" - }, - "secret": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecretVolumeSource" - }, - "subPath": { - "type": "string" - }, - "volumeClaimTemplate": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PersistentVolumeClaim" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.WorkspaceBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceDeclaration": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "mountPath": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - }, - "readOnly": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.WorkspaceDeclaration", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspacePipelineTaskBinding": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "subPath": { - "type": "string" - }, - "workspace": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.WorkspacePipelineTaskBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceUsage": { - "type": "object", - "properties": { - "mountPath": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1.WorkspaceUsage", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - } - }, - "type": "object", - "properties": { - "github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags", - "existingJavaType": "io.fabric8.tekton.v1.internal.pipeline.pkg.apis.config.FeatureFlags" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ChildStatusReference": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ChildStatusReference", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ChildStatusReference" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_EmbeddedTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_EmbeddedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.EmbeddedTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_IncludeParams": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_IncludeParams", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.IncludeParams" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Matrix": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Matrix", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Matrix" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Param" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ParamSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.ParamSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Pipeline": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Pipeline", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Pipeline" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRef" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRunResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskMetadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskMetadata" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskRunTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineTaskRunTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineTaskRunTemplate" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineWorkspaceDeclaration": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PipelineWorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PipelineWorkspaceDeclaration" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PropertySpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_PropertySpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.PropertySpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Provenance": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Provenance", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Provenance" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_RefSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_RefSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.RefSource" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Sidecar": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Sidecar", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Sidecar" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_SidecarState": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_SidecarState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.SidecarState" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_SkippedTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_SkippedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.SkippedTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Step": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Step", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Step" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepOutputConfig": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepOutputConfig", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.StepOutputConfig" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepState": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.StepState" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_StepTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.StepTemplate" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Task": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_Task", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.Task" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRef" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunDebug": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunDebug", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunDebug" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunSidecarSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunSidecarSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunSidecarSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStepSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskRunStepSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskRunStepSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TaskSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TimeoutFields": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_TimeoutFields", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.TimeoutFields" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WhenExpression": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WhenExpression" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceBinding": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspaceBinding" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceDeclaration": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspaceDeclaration" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspacePipelineTaskBinding": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspacePipelineTaskBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspacePipelineTaskBinding" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceUsage": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1_WorkspaceUsage", - "existingJavaType": "io.fabric8.tekton.pipeline.v1.WorkspaceUsage" - } - }, - "additionalProperties": false -} diff --git a/extensions/tekton/model-v1/src/resources/schema/tekton-schema-v1beta1.json b/extensions/tekton/model-v1/src/resources/schema/tekton-schema-v1beta1.json deleted file mode 100644 index 495cecfca79..00000000000 --- a/extensions/tekton/model-v1/src/resources/schema/tekton-schema-v1beta1.json +++ /dev/null @@ -1,2583 +0,0 @@ -{ - "id": "http://fabric8.io/tekton/v1beta1/TektonSchema#", - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags": { - "type": "object", - "properties": { - "AwaitSidecarReadiness": { - "type": "boolean" - }, - "CustomTaskVersion": { - "type": "string" - }, - "DisableAffinityAssistant": { - "type": "boolean" - }, - "DisableCredsInit": { - "type": "boolean" - }, - "EnableAPIFields": { - "type": "string" - }, - "EnableProvenanceInStatus": { - "type": "boolean" - }, - "EnableTektonOCIBundles": { - "type": "boolean" - }, - "EnforceNonfalsifiability": { - "type": "string" - }, - "MaxResultSize": { - "type": "integer" - }, - "RequireGitSSHSecretKnownHosts": { - "type": "boolean" - }, - "ResourceVerificationMode": { - "type": "string" - }, - "ResultExtractionMethod": { - "type": "string" - }, - "RunningInEnvWithInjectedSidecars": { - "type": "boolean" - }, - "ScopeWhenExpressionsToTask": { - "type": "boolean" - }, - "SendCloudEventsForRuns": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.config.FeatureFlags", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { - "type": "object", - "properties": { - "affinity": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Affinity" - }, - "automountServiceAccountToken": { - "type": "boolean", - "existingJavaType": "Boolean" - }, - "dnsConfig": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PodDNSConfig" - }, - "dnsPolicy": { - "type": "string", - "existingJavaType": "String" - }, - "enableServiceLinks": { - "type": "boolean", - "existingJavaType": "Boolean" - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "hostAliases": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.HostAlias" - } - }, - "hostNetwork": { - "type": "boolean" - }, - "imagePullSecrets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.LocalObjectReference" - } - }, - "nodeSelector": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "priorityClassName": { - "type": "string", - "existingJavaType": "String" - }, - "runtimeClassName": { - "type": "string", - "existingJavaType": "String" - }, - "schedulerName": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PodSecurityContext" - }, - "tolerations": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Toleration" - } - }, - "topologySpreadConstraints": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.TopologySpreadConstraint" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ChildStatusReference": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "pipelineTaskName": { - "type": "string" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ChildStatusReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery": { - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDeliveryState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDeliveryState" - }, - "target": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDelivery", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDeliveryState": { - "type": "object", - "properties": { - "condition": { - "type": "string" - }, - "message": { - "type": "string" - }, - "retryCount": { - "type": "integer" - }, - "sentAt": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDeliveryState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTask": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "ClusterTask", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTaskList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTask" - } - }, - "kind": { - "type": "string", - "default": "ClusterTaskList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTaskList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.ClusterTask\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ConfigSource": { - "type": "object", - "properties": { - "digest": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "entryPoint": { - "type": "string" - }, - "uri": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ConfigSource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRun": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "CustomRun", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRun" - } - }, - "kind": { - "type": "string", - "default": "CustomRunList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.CustomRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunSpec": { - "type": "object", - "properties": { - "customRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "customSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedCustomRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedCustomRunSpec" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "retries": { - "type": "integer" - }, - "serviceAccountName": { - "type": "string" - }, - "status": { - "type": "string" - }, - "statusMessage": { - "type": "string" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedCustomRunSpec": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata" - }, - "spec": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedCustomRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedTask": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "description": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult" - } - }, - "sidecars": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Sidecar" - } - }, - "spec": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - }, - "stepTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepTemplate" - }, - "steps": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Step" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Matrix": { - "type": "object", - "properties": { - "include": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_MatrixInclude", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.MatrixInclude" - } - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Matrix", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_MatrixInclude": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.MatrixInclude", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec": { - "type": "object", - "properties": { - "default": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "properties": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1beta1.PropertySpec\u003e" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue": { - "type": "object", - "properties": { - "arrayVal": { - "type": "array", - "items": { - "type": "string" - } - }, - "objectVal": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "stringVal": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Pipeline": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "Pipeline", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Pipeline", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Pipeline", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Pipeline" - } - }, - "kind": { - "type": "string", - "default": "PipelineList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.Pipeline\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "bundle": { - "type": "string" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "resolver": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceResult": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "resourceName": { - "type": "string" - }, - "type": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResult": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "value": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRun": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "PipelineRun", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRun" - } - }, - "kind": { - "type": "string", - "default": "PipelineRunList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.PipelineRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunResult": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunRunStatus": { - "type": "object", - "properties": { - "pipelineTaskName": { - "type": "string" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpec": { - "type": "object", - "properties": { - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "pipelineRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRef" - }, - "pipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec" - }, - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "serviceAccountName": { - "type": "string" - }, - "status": { - "type": "string" - }, - "taskRunSpecs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskRunSpec" - } - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "timeouts": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TimeoutFields", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TimeoutFields" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "childReferences": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ChildStatusReference", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ChildStatusReference" - } - }, - "completionTime": { - "existingJavaType": "java.lang.String" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.internal.pkg.apis.Condition" - } - }, - "finallyStartTime": { - "existingJavaType": "java.lang.String" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "pipelineResults": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunResult" - } - }, - "pipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec" - }, - "provenance": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Provenance" - }, - "runs": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1beta1.PipelineRunRunStatus\u003e" - }, - "skippedTasks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SkippedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.SkippedTask" - } - }, - "spanContext": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "startTime": { - "existingJavaType": "java.lang.String" - }, - "taskRuns": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1beta1.PipelineRunTaskRunStatus\u003e" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunTaskRunStatus": { - "type": "object", - "properties": { - "pipelineTaskName": { - "type": "string" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunTaskRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "finally": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTask" - } - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResult" - } - }, - "tasks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTask" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineWorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineWorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask": { - "type": "object", - "properties": { - "matrix": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Matrix", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Matrix" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "retries": { - "type": "integer" - }, - "runAfter": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "taskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedTask" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "when": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineTaskBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskRunSpec": { - "type": "object", - "properties": { - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "metadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata" - }, - "pipelineTaskName": { - "type": "string" - }, - "sidecarOverrides": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSidecarOverride" - } - }, - "stepOverrides": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStepOverride" - } - }, - "taskPodTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "taskServiceAccountName": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineWorkspaceDeclaration": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineWorkspaceDeclaration", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PropertySpec": { - "type": "object", - "properties": { - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PropertySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance": { - "type": "object", - "properties": { - "configSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ConfigSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ConfigSource" - }, - "featureFlags": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.config.FeatureFlags" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Provenance", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar": { - "type": "object", - "properties": { - "args": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "envFrom": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvFromSource" - } - }, - "image": { - "type": "string" - }, - "imagePullPolicy": { - "type": "string" - }, - "lifecycle": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Lifecycle" - }, - "livenessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "name": { - "type": "string" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerPort" - } - }, - "readinessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "script": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" - }, - "startupProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "stdin": { - "type": "boolean" - }, - "stdinOnce": { - "type": "boolean" - }, - "terminationMessagePath": { - "type": "string" - }, - "terminationMessagePolicy": { - "type": "string" - }, - "tty": { - "type": "boolean" - }, - "volumeDevices": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeDevice" - } - }, - "volumeMounts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeMount" - } - }, - "workingDir": { - "type": "string" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceUsage" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Sidecar", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SidecarState": { - "type": "object", - "properties": { - "container": { - "type": "string" - }, - "imageID": { - "type": "string" - }, - "name": { - "type": "string" - }, - "running": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateRunning" - }, - "terminated": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateTerminated" - }, - "waiting": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateWaiting" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.SidecarState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SkippedTask": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "reason": { - "type": "string" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.SkippedTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step": { - "type": "object", - "properties": { - "args": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "envFrom": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvFromSource" - } - }, - "image": { - "type": "string" - }, - "imagePullPolicy": { - "type": "string" - }, - "lifecycle": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Lifecycle" - }, - "livenessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "name": { - "type": "string", - "maxLength": 63, - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" - }, - "onError": { - "type": "string" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerPort" - } - }, - "readinessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "script": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" - }, - "startupProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "stderrConfig": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepOutputConfig" - }, - "stdin": { - "type": "boolean" - }, - "stdinOnce": { - "type": "boolean" - }, - "stdoutConfig": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepOutputConfig" - }, - "terminationMessagePath": { - "type": "string" - }, - "terminationMessagePolicy": { - "type": "string" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "tty": { - "type": "boolean" - }, - "volumeDevices": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeDevice" - } - }, - "volumeMounts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeMount" - } - }, - "workingDir": { - "type": "string" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceUsage" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Step", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig": { - "type": "object", - "properties": { - "path": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.StepOutputConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepState": { - "type": "object", - "properties": { - "container": { - "type": "string" - }, - "imageID": { - "type": "string" - }, - "name": { - "type": "string" - }, - "running": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateRunning" - }, - "terminated": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateTerminated" - }, - "waiting": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateWaiting" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.StepState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate": { - "type": "object", - "properties": { - "args": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "envFrom": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvFromSource" - } - }, - "image": { - "type": "string" - }, - "imagePullPolicy": { - "type": "string" - }, - "lifecycle": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Lifecycle" - }, - "livenessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "name": { - "type": "string" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerPort" - } - }, - "readinessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" - }, - "startupProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "stdin": { - "type": "boolean" - }, - "stdinOnce": { - "type": "boolean" - }, - "terminationMessagePath": { - "type": "string" - }, - "terminationMessagePolicy": { - "type": "string" - }, - "tty": { - "type": "boolean" - }, - "volumeDevices": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeDevice" - } - }, - "volumeMounts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeMount" - } - }, - "workingDir": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.StepTemplate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Task": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "Task", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Task", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Task", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Task" - } - }, - "kind": { - "type": "string", - "default": "TaskList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.Task\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "bundle": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "resolver": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "properties": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1beta1.PropertySpec\u003e" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRun": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "TaskRun", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunDebug": { - "type": "object", - "properties": { - "breakpoint": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunDebug", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRun" - } - }, - "kind": { - "type": "string", - "default": "TaskRunList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.TaskRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResult": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "value": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSidecarOverride", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSpec": { - "type": "object", - "properties": { - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "debug": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunDebug", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunDebug" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "retries": { - "type": "integer" - }, - "serviceAccountName": { - "type": "string" - }, - "sidecarOverrides": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSidecarOverride" - } - }, - "status": { - "type": "string" - }, - "statusMessage": { - "type": "string" - }, - "stepOverrides": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStepOverride" - } - }, - "taskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "cloudEvents": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDelivery" - } - }, - "completionTime": { - "existingJavaType": "java.lang.String" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.internal.pkg.apis.Condition" - } - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "podName": { - "type": "string" - }, - "provenance": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Provenance" - }, - "resourcesResult": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceResult" - } - }, - "retriesStatus": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" - } - }, - "sidecars": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SidecarState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.SidecarState" - } - }, - "spanContext": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "startTime": { - "existingJavaType": "java.lang.String" - }, - "steps": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepState" - } - }, - "taskResults": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResult" - } - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStepOverride", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult" - } - }, - "sidecars": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Sidecar" - } - }, - "stepTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepTemplate" - }, - "steps": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Step" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TimeoutFields": { - "type": "object", - "properties": { - "finally": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "pipeline": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "tasks": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TimeoutFields", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression": { - "type": "object", - "properties": { - "input": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding": { - "type": "object", - "properties": { - "configMap": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ConfigMapVolumeSource" - }, - "csi": { - "existingJavaType": "io.fabric8.kubernetes.api.model.CSIVolumeSource" - }, - "emptyDir": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EmptyDirVolumeSource" - }, - "name": { - "type": "string" - }, - "persistentVolumeClaim": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSource" - }, - "projected": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ProjectedVolumeSource" - }, - "secret": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecretVolumeSource" - }, - "subPath": { - "type": "string" - }, - "volumeClaimTemplate": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PersistentVolumeClaim" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "mountPath": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - }, - "readOnly": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "subPath": { - "type": "string" - }, - "workspace": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineTaskBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage": { - "type": "object", - "properties": { - "mountPath": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceUsage", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunResult": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "completionTime": { - "existingJavaType": "java.lang.String" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.internal.pkg.apis.Condition" - } - }, - "extraFields": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunResult", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunResult" - } - }, - "retriesStatus": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" - } - }, - "startTime": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - } - }, - "type": "object", - "properties": { - "github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.config.FeatureFlags" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ChildStatusReference": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ChildStatusReference", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ChildStatusReference" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDelivery" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDeliveryState": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDeliveryState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDeliveryState" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTaskList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTaskList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTaskList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ConfigSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ConfigSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ConfigSource" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedCustomRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedCustomRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedCustomRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Matrix": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Matrix", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Matrix" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_MatrixInclude": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_MatrixInclude", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.MatrixInclude" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Pipeline": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Pipeline", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Pipeline" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRef" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunTaskRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunTaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunTaskRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineWorkspaceDeclaration": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineWorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineWorkspaceDeclaration" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PropertySpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PropertySpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PropertySpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Provenance" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Sidecar" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SidecarState": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SidecarState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.SidecarState" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SkippedTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SkippedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.SkippedTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Step" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepOutputConfig" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepState": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepState" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepTemplate" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Task": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Task", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Task" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunDebug": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunDebug", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunDebug" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSidecarOverride" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStepOverride" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TimeoutFields": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TimeoutFields", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TimeoutFields" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineTaskBinding" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceUsage" - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunResult", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" - } - }, - "additionalProperties": false -} diff --git a/extensions/tekton/model-v1alpha1/pom.xml b/extensions/tekton/model-v1alpha1/pom.xml deleted file mode 100644 index 1529cb867cc..00000000000 --- a/extensions/tekton/model-v1alpha1/pom.xml +++ /dev/null @@ -1,108 +0,0 @@ - - - - 4.0.0 - - io.fabric8 - tekton-extension-pom - 7.0-SNAPSHOT - - - tekton-model-v1alpha1 - bundle - Fabric8 :: Tekton :: Model v1alpha1 - - - - io.fabric8.kubernetes.api.builder, - !io.fabric8.tekton.*, - * - - - io.fabric8.tekton.* - - - - - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.sundr - sundr-codegen-velocity-nodeps - - - io.fabric8 - kubernetes-model-core - - - io.fabric8 - knative-model - - - org.junit.jupiter - junit-jupiter-engine - test - - - org.projectlombok - lombok - provided - - - - - - generate - - - - org.jsonschema2pojo - jsonschema2pojo-maven-plugin - - - maven-antrun-plugin - - - generate-sources - - - - - - - - run - - - - - - - - - diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/pod/Template.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/pod/Template.java deleted file mode 100644 index e6fe53180a2..00000000000 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/pod/Template.java +++ /dev/null @@ -1,359 +0,0 @@ - -package io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.pod; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Affinity; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.HostAlias; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodDNSConfig; -import io.fabric8.kubernetes.api.model.PodSecurityContext; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Toleration; -import io.fabric8.kubernetes.api.model.TopologySpreadConstraint; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "affinity", - "automountServiceAccountToken", - "dnsConfig", - "dnsPolicy", - "enableServiceLinks", - "env", - "hostAliases", - "hostNetwork", - "imagePullSecrets", - "nodeSelector", - "priorityClassName", - "runtimeClassName", - "schedulerName", - "securityContext", - "tolerations", - "topologySpreadConstraints", - "volumes" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class Template implements Editable , KubernetesResource -{ - - @JsonProperty("affinity") - private Affinity affinity; - @JsonProperty("automountServiceAccountToken") - private Boolean automountServiceAccountToken; - @JsonProperty("dnsConfig") - private PodDNSConfig dnsConfig; - @JsonProperty("dnsPolicy") - private String dnsPolicy; - @JsonProperty("enableServiceLinks") - private Boolean enableServiceLinks; - @JsonProperty("env") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); - @JsonProperty("hostAliases") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List hostAliases = new ArrayList<>(); - @JsonProperty("hostNetwork") - private java.lang.Boolean hostNetwork; - @JsonProperty("imagePullSecrets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List imagePullSecrets = new ArrayList<>(); - @JsonProperty("nodeSelector") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map nodeSelector = new LinkedHashMap<>(); - @JsonProperty("priorityClassName") - private String priorityClassName; - @JsonProperty("runtimeClassName") - private String runtimeClassName; - @JsonProperty("schedulerName") - private java.lang.String schedulerName; - @JsonProperty("securityContext") - private PodSecurityContext securityContext; - @JsonProperty("tolerations") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List tolerations = new ArrayList<>(); - @JsonProperty("topologySpreadConstraints") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List topologySpreadConstraints = new ArrayList<>(); - @JsonProperty("volumes") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Template() { - } - - public Template(Affinity affinity, Boolean automountServiceAccountToken, PodDNSConfig dnsConfig, String dnsPolicy, Boolean enableServiceLinks, List env, List hostAliases, java.lang.Boolean hostNetwork, List imagePullSecrets, Map nodeSelector, String priorityClassName, String runtimeClassName, java.lang.String schedulerName, PodSecurityContext securityContext, List tolerations, List topologySpreadConstraints, List volumes) { - super(); - this.affinity = affinity; - this.automountServiceAccountToken = automountServiceAccountToken; - this.dnsConfig = dnsConfig; - this.dnsPolicy = dnsPolicy; - this.enableServiceLinks = enableServiceLinks; - this.env = env; - this.hostAliases = hostAliases; - this.hostNetwork = hostNetwork; - this.imagePullSecrets = imagePullSecrets; - this.nodeSelector = nodeSelector; - this.priorityClassName = priorityClassName; - this.runtimeClassName = runtimeClassName; - this.schedulerName = schedulerName; - this.securityContext = securityContext; - this.tolerations = tolerations; - this.topologySpreadConstraints = topologySpreadConstraints; - this.volumes = volumes; - } - - @JsonProperty("affinity") - public Affinity getAffinity() { - return affinity; - } - - @JsonProperty("affinity") - public void setAffinity(Affinity affinity) { - this.affinity = affinity; - } - - @JsonProperty("automountServiceAccountToken") - public Boolean getAutomountServiceAccountToken() { - return automountServiceAccountToken; - } - - @JsonProperty("automountServiceAccountToken") - public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken) { - this.automountServiceAccountToken = automountServiceAccountToken; - } - - @JsonProperty("dnsConfig") - public PodDNSConfig getDnsConfig() { - return dnsConfig; - } - - @JsonProperty("dnsConfig") - public void setDnsConfig(PodDNSConfig dnsConfig) { - this.dnsConfig = dnsConfig; - } - - @JsonProperty("dnsPolicy") - public String getDnsPolicy() { - return dnsPolicy; - } - - @JsonProperty("dnsPolicy") - public void setDnsPolicy(String dnsPolicy) { - this.dnsPolicy = dnsPolicy; - } - - @JsonProperty("enableServiceLinks") - public Boolean getEnableServiceLinks() { - return enableServiceLinks; - } - - @JsonProperty("enableServiceLinks") - public void setEnableServiceLinks(Boolean enableServiceLinks) { - this.enableServiceLinks = enableServiceLinks; - } - - @JsonProperty("env") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { - return env; - } - - @JsonProperty("env") - public void setEnv(List env) { - this.env = env; - } - - @JsonProperty("hostAliases") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHostAliases() { - return hostAliases; - } - - @JsonProperty("hostAliases") - public void setHostAliases(List hostAliases) { - this.hostAliases = hostAliases; - } - - @JsonProperty("hostNetwork") - public java.lang.Boolean getHostNetwork() { - return hostNetwork; - } - - @JsonProperty("hostNetwork") - public void setHostNetwork(java.lang.Boolean hostNetwork) { - this.hostNetwork = hostNetwork; - } - - @JsonProperty("imagePullSecrets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getImagePullSecrets() { - return imagePullSecrets; - } - - @JsonProperty("imagePullSecrets") - public void setImagePullSecrets(List imagePullSecrets) { - this.imagePullSecrets = imagePullSecrets; - } - - @JsonProperty("nodeSelector") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getNodeSelector() { - return nodeSelector; - } - - @JsonProperty("nodeSelector") - public void setNodeSelector(Map nodeSelector) { - this.nodeSelector = nodeSelector; - } - - @JsonProperty("priorityClassName") - public String getPriorityClassName() { - return priorityClassName; - } - - @JsonProperty("priorityClassName") - public void setPriorityClassName(String priorityClassName) { - this.priorityClassName = priorityClassName; - } - - @JsonProperty("runtimeClassName") - public String getRuntimeClassName() { - return runtimeClassName; - } - - @JsonProperty("runtimeClassName") - public void setRuntimeClassName(String runtimeClassName) { - this.runtimeClassName = runtimeClassName; - } - - @JsonProperty("schedulerName") - public java.lang.String getSchedulerName() { - return schedulerName; - } - - @JsonProperty("schedulerName") - public void setSchedulerName(java.lang.String schedulerName) { - this.schedulerName = schedulerName; - } - - @JsonProperty("securityContext") - public PodSecurityContext getSecurityContext() { - return securityContext; - } - - @JsonProperty("securityContext") - public void setSecurityContext(PodSecurityContext securityContext) { - this.securityContext = securityContext; - } - - @JsonProperty("tolerations") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTolerations() { - return tolerations; - } - - @JsonProperty("tolerations") - public void setTolerations(List tolerations) { - this.tolerations = tolerations; - } - - @JsonProperty("topologySpreadConstraints") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTopologySpreadConstraints() { - return topologySpreadConstraints; - } - - @JsonProperty("topologySpreadConstraints") - public void setTopologySpreadConstraints(List topologySpreadConstraints) { - this.topologySpreadConstraints = topologySpreadConstraints; - } - - @JsonProperty("volumes") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { - return volumes; - } - - @JsonProperty("volumes") - public void setVolumes(List volumes) { - this.volumes = volumes; - } - - @JsonIgnore - public TemplateBuilder edit() { - return new TemplateBuilder(this); - } - - @JsonIgnore - public TemplateBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/Param.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/Param.java deleted file mode 100644 index ddcc2a1f3ba..00000000000 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/Param.java +++ /dev/null @@ -1,130 +0,0 @@ - -package io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1; - -import java.util.LinkedHashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "name", - "value" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class Param implements Editable , KubernetesResource -{ - - @JsonProperty("name") - private String name; - @JsonProperty("value") - private ParamValue value; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Param() { - } - - public Param(String name, ParamValue value) { - super(); - this.name = name; - this.value = value; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("value") - public ParamValue getValue() { - return value; - } - - @JsonProperty("value") - public void setValue(ParamValue value) { - this.value = value; - } - - @JsonIgnore - public ParamBuilder edit() { - return new ParamBuilder(this); - } - - @JsonIgnore - public ParamBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java deleted file mode 100644 index 514dbf43ce6..00000000000 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/ParamValue.java +++ /dev/null @@ -1,164 +0,0 @@ - -package io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "ArrayVal", - "ObjectVal", - "StringVal", - "Type" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class ParamValue implements Editable , KubernetesResource -{ - - @JsonProperty("ArrayVal") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List arrayVal = new ArrayList<>(); - @JsonProperty("ObjectVal") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map objectVal = new LinkedHashMap<>(); - @JsonProperty("StringVal") - private java.lang.String stringVal; - @JsonProperty("Type") - private java.lang.String type; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public ParamValue() { - } - - public ParamValue(List arrayVal, Map objectVal, java.lang.String stringVal, java.lang.String type) { - super(); - this.arrayVal = arrayVal; - this.objectVal = objectVal; - this.stringVal = stringVal; - this.type = type; - } - - @JsonProperty("ArrayVal") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getArrayVal() { - return arrayVal; - } - - @JsonProperty("ArrayVal") - public void setArrayVal(List arrayVal) { - this.arrayVal = arrayVal; - } - - @JsonProperty("ObjectVal") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getObjectVal() { - return objectVal; - } - - @JsonProperty("ObjectVal") - public void setObjectVal(Map objectVal) { - this.objectVal = objectVal; - } - - @JsonProperty("StringVal") - public java.lang.String getStringVal() { - return stringVal; - } - - @JsonProperty("StringVal") - public void setStringVal(java.lang.String stringVal) { - this.stringVal = stringVal; - } - - @JsonProperty("Type") - public java.lang.String getType() { - return type; - } - - @JsonProperty("Type") - public void setType(java.lang.String type) { - this.type = type; - } - - @JsonIgnore - public ParamValueBuilder edit() { - return new ParamValueBuilder(this); - } - - @JsonIgnore - public ParamValueBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/PipelineTaskMetadata.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/PipelineTaskMetadata.java deleted file mode 100644 index 498008f3322..00000000000 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/PipelineTaskMetadata.java +++ /dev/null @@ -1,134 +0,0 @@ - -package io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1; - -import java.util.LinkedHashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "annotations", - "labels" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class PipelineTaskMetadata implements Editable , KubernetesResource -{ - - @JsonProperty("annotations") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map annotations = new LinkedHashMap<>(); - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map labels = new LinkedHashMap<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public PipelineTaskMetadata() { - } - - public PipelineTaskMetadata(Map annotations, Map labels) { - super(); - this.annotations = annotations; - this.labels = labels; - } - - @JsonProperty("annotations") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getAnnotations() { - return annotations; - } - - @JsonProperty("annotations") - public void setAnnotations(Map annotations) { - this.annotations = annotations; - } - - @JsonProperty("labels") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getLabels() { - return labels; - } - - @JsonProperty("labels") - public void setLabels(Map labels) { - this.labels = labels; - } - - @JsonIgnore - public PipelineTaskMetadataBuilder edit() { - return new PipelineTaskMetadataBuilder(this); - } - - @JsonIgnore - public PipelineTaskMetadataBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/RefSource.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/RefSource.java deleted file mode 100644 index 8873785f558..00000000000 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/RefSource.java +++ /dev/null @@ -1,146 +0,0 @@ - -package io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1; - -import java.util.LinkedHashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "digest", - "entryPoint", - "uri" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class RefSource implements Editable , KubernetesResource -{ - - @JsonProperty("digest") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map digest = new LinkedHashMap<>(); - @JsonProperty("entryPoint") - private java.lang.String entryPoint; - @JsonProperty("uri") - private java.lang.String uri; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public RefSource() { - } - - public RefSource(Map digest, java.lang.String entryPoint, java.lang.String uri) { - super(); - this.digest = digest; - this.entryPoint = entryPoint; - this.uri = uri; - } - - @JsonProperty("digest") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getDigest() { - return digest; - } - - @JsonProperty("digest") - public void setDigest(Map digest) { - this.digest = digest; - } - - @JsonProperty("entryPoint") - public java.lang.String getEntryPoint() { - return entryPoint; - } - - @JsonProperty("entryPoint") - public void setEntryPoint(java.lang.String entryPoint) { - this.entryPoint = entryPoint; - } - - @JsonProperty("uri") - public java.lang.String getUri() { - return uri; - } - - @JsonProperty("uri") - public void setUri(java.lang.String uri) { - this.uri = uri; - } - - @JsonIgnore - public RefSourceBuilder edit() { - return new RefSourceBuilder(this); - } - - @JsonIgnore - public RefSourceBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/TaskRef.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/TaskRef.java deleted file mode 100644 index d94a322ba8b..00000000000 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/TaskRef.java +++ /dev/null @@ -1,190 +0,0 @@ - -package io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "apiVersion", - "kind", - "bundle", - "name", - "params", - "resolver" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class TaskRef implements Editable , KubernetesResource -{ - - @JsonProperty("apiVersion") - private String apiVersion; - @JsonProperty("bundle") - private String bundle; - @JsonProperty("kind") - private String kind; - @JsonProperty("name") - private String name; - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List params = new ArrayList<>(); - @JsonProperty("resolver") - private String resolver; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public TaskRef() { - } - - public TaskRef(String apiVersion, String bundle, String kind, String name, List params, String resolver) { - super(); - this.apiVersion = apiVersion; - this.bundle = bundle; - this.kind = kind; - this.name = name; - this.params = params; - this.resolver = resolver; - } - - @JsonProperty("apiVersion") - public String getApiVersion() { - return apiVersion; - } - - @JsonProperty("apiVersion") - public void setApiVersion(String apiVersion) { - this.apiVersion = apiVersion; - } - - @JsonProperty("bundle") - public String getBundle() { - return bundle; - } - - @JsonProperty("bundle") - public void setBundle(String bundle) { - this.bundle = bundle; - } - - @JsonProperty("kind") - public String getKind() { - return kind; - } - - @JsonProperty("kind") - public void setKind(String kind) { - this.kind = kind; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getParams() { - return params; - } - - @JsonProperty("params") - public void setParams(List params) { - this.params = params; - } - - @JsonProperty("resolver") - public String getResolver() { - return resolver; - } - - @JsonProperty("resolver") - public void setResolver(String resolver) { - this.resolver = resolver; - } - - @JsonIgnore - public TaskRefBuilder edit() { - return new TaskRefBuilder(this); - } - - @JsonIgnore - public TaskRefBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/WorkspaceBinding.java b/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/WorkspaceBinding.java deleted file mode 100644 index 83ac8ba9ad7..00000000000 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/pipeline/v1beta1/WorkspaceBinding.java +++ /dev/null @@ -1,233 +0,0 @@ - -package io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1; - -import java.util.LinkedHashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.CSIVolumeSource; -import io.fabric8.kubernetes.api.model.ConfigMapVolumeSource; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EmptyDirVolumeSource; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSource; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ProjectedVolumeSource; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.SecretVolumeSource; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "configMap", - "csi", - "emptyDir", - "name", - "persistentVolumeClaim", - "projected", - "secret", - "subPath", - "volumeClaimTemplate" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(io.fabric8.kubernetes.api.model.PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class WorkspaceBinding implements Editable , KubernetesResource -{ - - @JsonProperty("configMap") - private ConfigMapVolumeSource configMap; - @JsonProperty("csi") - private CSIVolumeSource csi; - @JsonProperty("emptyDir") - private EmptyDirVolumeSource emptyDir; - @JsonProperty("name") - private String name; - @JsonProperty("persistentVolumeClaim") - private PersistentVolumeClaimVolumeSource persistentVolumeClaim; - @JsonProperty("projected") - private ProjectedVolumeSource projected; - @JsonProperty("secret") - private SecretVolumeSource secret; - @JsonProperty("subPath") - private String subPath; - @JsonProperty("volumeClaimTemplate") - private io.fabric8.kubernetes.api.model.PersistentVolumeClaim volumeClaimTemplate; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public WorkspaceBinding() { - } - - public WorkspaceBinding(ConfigMapVolumeSource configMap, CSIVolumeSource csi, EmptyDirVolumeSource emptyDir, String name, PersistentVolumeClaimVolumeSource persistentVolumeClaim, ProjectedVolumeSource projected, SecretVolumeSource secret, String subPath, io.fabric8.kubernetes.api.model.PersistentVolumeClaim volumeClaimTemplate) { - super(); - this.configMap = configMap; - this.csi = csi; - this.emptyDir = emptyDir; - this.name = name; - this.persistentVolumeClaim = persistentVolumeClaim; - this.projected = projected; - this.secret = secret; - this.subPath = subPath; - this.volumeClaimTemplate = volumeClaimTemplate; - } - - @JsonProperty("configMap") - public ConfigMapVolumeSource getConfigMap() { - return configMap; - } - - @JsonProperty("configMap") - public void setConfigMap(ConfigMapVolumeSource configMap) { - this.configMap = configMap; - } - - @JsonProperty("csi") - public CSIVolumeSource getCsi() { - return csi; - } - - @JsonProperty("csi") - public void setCsi(CSIVolumeSource csi) { - this.csi = csi; - } - - @JsonProperty("emptyDir") - public EmptyDirVolumeSource getEmptyDir() { - return emptyDir; - } - - @JsonProperty("emptyDir") - public void setEmptyDir(EmptyDirVolumeSource emptyDir) { - this.emptyDir = emptyDir; - } - - @JsonProperty("name") - public String getName() { - return name; - } - - @JsonProperty("name") - public void setName(String name) { - this.name = name; - } - - @JsonProperty("persistentVolumeClaim") - public PersistentVolumeClaimVolumeSource getPersistentVolumeClaim() { - return persistentVolumeClaim; - } - - @JsonProperty("persistentVolumeClaim") - public void setPersistentVolumeClaim(PersistentVolumeClaimVolumeSource persistentVolumeClaim) { - this.persistentVolumeClaim = persistentVolumeClaim; - } - - @JsonProperty("projected") - public ProjectedVolumeSource getProjected() { - return projected; - } - - @JsonProperty("projected") - public void setProjected(ProjectedVolumeSource projected) { - this.projected = projected; - } - - @JsonProperty("secret") - public SecretVolumeSource getSecret() { - return secret; - } - - @JsonProperty("secret") - public void setSecret(SecretVolumeSource secret) { - this.secret = secret; - } - - @JsonProperty("subPath") - public String getSubPath() { - return subPath; - } - - @JsonProperty("subPath") - public void setSubPath(String subPath) { - this.subPath = subPath; - } - - @JsonProperty("volumeClaimTemplate") - public io.fabric8.kubernetes.api.model.PersistentVolumeClaim getVolumeClaimTemplate() { - return volumeClaimTemplate; - } - - @JsonProperty("volumeClaimTemplate") - public void setVolumeClaimTemplate(io.fabric8.kubernetes.api.model.PersistentVolumeClaim volumeClaimTemplate) { - this.volumeClaimTemplate = volumeClaimTemplate; - } - - @JsonIgnore - public WorkspaceBindingBuilder edit() { - return new WorkspaceBindingBuilder(this); - } - - @JsonIgnore - public WorkspaceBindingBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1alpha1/src/main/java/io/fabric8/tekton/pipeline/v1alpha1/ArrayOrString.java b/extensions/tekton/model-v1alpha1/src/main/java/io/fabric8/tekton/pipeline/v1alpha1/ArrayOrString.java deleted file mode 100644 index bac31d35008..00000000000 --- a/extensions/tekton/model-v1alpha1/src/main/java/io/fabric8/tekton/pipeline/v1alpha1/ArrayOrString.java +++ /dev/null @@ -1,201 +0,0 @@ -/* - * Copyright (C) 2015 Red Hat, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package io.fabric8.tekton.pipeline.v1alpha1; - -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.core.JsonGenerator; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.ObjectCodec; -import com.fasterxml.jackson.databind.DeserializationContext; -import com.fasterxml.jackson.databind.JsonDeserializer; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.JsonSerializer; -import com.fasterxml.jackson.databind.SerializerProvider; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.annotation.JsonSerialize; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.sundr.builder.annotations.Buildable; -import lombok.EqualsAndHashCode; -import lombok.Setter; -import lombok.ToString; -import lombok.experimental.Accessors; - -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "arrayVal", - "stringVal", - "type" -}) -@JsonDeserialize(using = ArrayOrString.Deserializer.class) -@JsonSerialize(using = ArrayOrString.Serializer.class) -@ToString -@EqualsAndHashCode -@Setter -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder") -public class ArrayOrString implements KubernetesResource { - - private static final String TYPE_STRING = "string"; - private static final String TYPE_ARRAY = "array"; - - @JsonProperty("arrayVal") - private List arrayVal = new ArrayList<>(); - - @JsonProperty("stringVal") - private String stringVal; - - @JsonProperty("type") - private String type; - - @JsonIgnore - private Map additionalProperties = new HashMap<>(); - - /** - * No args constructor for use in serialization - */ - public ArrayOrString() { - } - - //Builders are generated for the first non-empty constructor found. - public ArrayOrString(List arrayVal, String stringVal, String type, Map additionalProperties) { - this.arrayVal = arrayVal; - this.stringVal = stringVal; - this.type = type; - this.additionalProperties = additionalProperties; - } - - public ArrayOrString(String stringVal) { - this(null, stringVal, TYPE_STRING, new HashMap<>()); - } - - public ArrayOrString(List arrayVal) { - this(arrayVal, null, TYPE_ARRAY, new HashMap<>()); - } - - @JsonProperty("arrayVal") - public List getArrayVal() { - return arrayVal; - } - - @JsonProperty("arrayVal") - public void setArrayVal(List arrayVal) { - this.arrayVal = arrayVal; - } - - @JsonProperty("stringVal") - public String getStringVal() { - return stringVal; - } - - @JsonProperty("stringVal") - public void setStringVal(String stringVal) { - this.stringVal = stringVal; - } - - @JsonProperty("type") - public String getType() { - return type; - } - - @JsonProperty("type") - public void setType(String type) { - this.type = type; - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public static class Serializer extends JsonSerializer { - - @Override - public void serialize(ArrayOrString value, JsonGenerator jgen, SerializerProvider provider) throws IOException { - if (value != null) { - if (value.getType() == null) { - String stringVal = value.getStringVal(); - if (stringVal != null) { - jgen.writeString(stringVal); - } else { - List arrayVal = value.getArrayVal(); - if (arrayVal != null) { - writeArray(value, jgen); - } else { - jgen.writeNull(); - } - } - } else if (Objects.equals(value.getType(), TYPE_STRING)) { - jgen.writeString(value.stringVal); - } else if (Objects.equals(value.getType(), TYPE_ARRAY)) { - writeArray(value, jgen); - } else { - jgen.writeNull(); - } - } else { - jgen.writeNull(); - } - } - - private void writeArray(ArrayOrString value, JsonGenerator jgen) throws IOException { - jgen.writeStartArray(value.getArrayVal().size()); - for (String n : value.getArrayVal()) { - jgen.writeString(n); - } - jgen.writeEndArray(); - } - - } - - public static class Deserializer extends JsonDeserializer { - - @Override - public ArrayOrString deserialize(JsonParser jsonParser, DeserializationContext ctxt) throws IOException { - ObjectCodec oc = jsonParser.getCodec(); - JsonNode node = oc.readTree(jsonParser); - ArrayOrString arrayOrString; - if (node.isArray()) { - List elements = new ArrayList<>(); - node.elements().forEachRemaining(n -> elements.add(n.asText())); - arrayOrString = new ArrayOrString(elements); - } else { - arrayOrString = new ArrayOrString(node.asText()); - } - return arrayOrString; - } - - } - -} diff --git a/extensions/tekton/model-v1alpha1/src/main/resources/schema/tekton-schema-v1alpha1.json b/extensions/tekton/model-v1alpha1/src/main/resources/schema/tekton-schema-v1alpha1.json deleted file mode 100644 index 6627e1a25a1..00000000000 --- a/extensions/tekton/model-v1alpha1/src/main/resources/schema/tekton-schema-v1alpha1.json +++ /dev/null @@ -1,773 +0,0 @@ -{ - "id": "http://fabric8.io/tekton/v1alpha1/TektonSchema#", - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { - "type": "object", - "properties": { - "affinity": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Affinity" - }, - "automountServiceAccountToken": { - "type": "boolean", - "existingJavaType": "Boolean" - }, - "dnsConfig": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PodDNSConfig" - }, - "dnsPolicy": { - "type": "string", - "existingJavaType": "String" - }, - "enableServiceLinks": { - "type": "boolean", - "existingJavaType": "Boolean" - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "hostAliases": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.HostAlias" - } - }, - "hostNetwork": { - "type": "boolean" - }, - "imagePullSecrets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.LocalObjectReference" - } - }, - "nodeSelector": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "priorityClassName": { - "type": "string", - "existingJavaType": "String" - }, - "runtimeClassName": { - "type": "string", - "existingJavaType": "String" - }, - "schedulerName": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PodSecurityContext" - }, - "tolerations": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Toleration" - } - }, - "topologySpreadConstraints": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.TopologySpreadConstraint" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - } - }, - "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.pod.Template", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Authority": { - "type": "object", - "properties": { - "key": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_KeyRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.KeyRef" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Authority", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_EmbeddedRunSpec": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.PipelineTaskMetadata" - }, - "spec": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.EmbeddedRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_KeyRef": { - "type": "object", - "properties": { - "data": { - "type": "string" - }, - "hashAlgorithm": { - "type": "string" - }, - "kms": { - "type": "string" - }, - "secretRef": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecretReference" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.KeyRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ResourcePattern": { - "type": "object", - "properties": { - "pattern": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ResourcePattern", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Run": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "Run", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_RunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.RunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1alpha1_RunStatus", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1.RunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Run", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_RunList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Run", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.Run" - } - }, - "kind": { - "type": "string", - "default": "RunList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.RunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.Run\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_RunSpec": { - "type": "object", - "properties": { - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.Param" - } - }, - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "ref": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.TaskRef" - }, - "retries": { - "type": "integer" - }, - "serviceAccountName": { - "type": "string" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_EmbeddedRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.EmbeddedRunSpec" - }, - "status": { - "type": "string" - }, - "statusMessage": { - "type": "string" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.RunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicy": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "VerificationPolicy", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicySpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.VerificationPolicySpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.VerificationPolicy", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicyList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicy", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.VerificationPolicy" - } - }, - "kind": { - "type": "string", - "default": "VerificationPolicyList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.VerificationPolicyList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.VerificationPolicy\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicySpec": { - "type": "object", - "properties": { - "authorities": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Authority", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.Authority" - } - }, - "mode": { - "type": "string" - }, - "resources": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ResourcePattern", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.ResourcePattern" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.VerificationPolicySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.Param", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue": { - "type": "object", - "properties": { - "ArrayVal": { - "type": "array", - "items": { - "type": "string" - } - }, - "ObjectVal": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "StringVal": { - "type": "string" - }, - "Type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.ParamValue", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.PipelineTaskMetadata", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_RefSource": { - "type": "object", - "properties": { - "digest": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "entryPoint": { - "type": "string" - }, - "uri": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.RefSource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "bundle": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.Param" - } - }, - "resolver": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.TaskRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding": { - "type": "object", - "properties": { - "configMap": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ConfigMapVolumeSource" - }, - "csi": { - "existingJavaType": "io.fabric8.kubernetes.api.model.CSIVolumeSource" - }, - "emptyDir": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EmptyDirVolumeSource" - }, - "name": { - "type": "string" - }, - "persistentVolumeClaim": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSource" - }, - "projected": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ProjectedVolumeSource" - }, - "secret": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecretVolumeSource" - }, - "subPath": { - "type": "string" - }, - "volumeClaimTemplate": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PersistentVolumeClaim" - } - }, - "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.WorkspaceBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequest": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "resolution.tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "default": "ResolutionRequest", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestSpec", - "existingJavaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequestSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestStatus", - "existingJavaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequestStatus" - } - }, - "javaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequest", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "resolution.tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequest", - "existingJavaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequest" - } - }, - "kind": { - "type": "string", - "default": "ResolutionRequestList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequestList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.resolution.v1alpha1.ResolutionRequest\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestSpec": { - "type": "object", - "properties": { - "params": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequestSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "data": { - "type": "string" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "refSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_RefSource", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.RefSource" - } - }, - "javaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequestStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1alpha1_RunResult": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1.RunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1alpha1_RunStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "completionTime": { - "existingJavaType": "java.lang.String" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "extraFields": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1alpha1_RunResult", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1.RunResult" - } - }, - "retriesStatus": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1alpha1_RunStatus", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1.RunStatus" - } - }, - "startTime": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1.RunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - } - }, - "type": "object", - "properties": { - "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Authority": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Authority", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.Authority" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_EmbeddedRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_EmbeddedRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.EmbeddedRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_KeyRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_KeyRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.KeyRef" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ResourcePattern": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ResourcePattern", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.ResourcePattern" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Run": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Run", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.Run" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_RunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_RunList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.RunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_RunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_RunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.RunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicy": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicy", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.VerificationPolicy" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicyList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicyList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.VerificationPolicyList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicySpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_VerificationPolicySpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1alpha1.VerificationPolicySpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.Param" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamValue", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.ParamValue" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.PipelineTaskMetadata" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_RefSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_RefSource", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.RefSource" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.TaskRef" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.WorkspaceBinding" - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequest": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequest", - "existingJavaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequest" - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestList", - "existingJavaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequestList" - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestSpec", - "existingJavaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequestSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1alpha1_ResolutionRequestStatus", - "existingJavaType": "io.fabric8.tekton.resolution.v1alpha1.ResolutionRequestStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1alpha1_RunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1alpha1_RunResult", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1.RunResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1alpha1_RunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1alpha1_RunStatus", - "existingJavaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1.RunStatus" - } - }, - "additionalProperties": false -} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/config/FeatureFlags.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/config/FeatureFlags.java deleted file mode 100644 index 2a9a27f9b39..00000000000 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/config/FeatureFlags.java +++ /dev/null @@ -1,298 +0,0 @@ - -package io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.config; - -import java.util.LinkedHashMap; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.LocalObjectReference; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "AwaitSidecarReadiness", - "DisableAffinityAssistant", - "DisableCredsInit", - "EnableAPIFields", - "EnableProvenanceInStatus", - "EnableTektonOCIBundles", - "EnforceNonfalsifiability", - "MaxResultSize", - "RequireGitSSHSecretKnownHosts", - "ResultExtractionMethod", - "RunningInEnvWithInjectedSidecars", - "ScopeWhenExpressionsToTask", - "SendCloudEventsForRuns", - "VerificationNoMatchPolicy" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class FeatureFlags implements Editable , KubernetesResource -{ - - @JsonProperty("AwaitSidecarReadiness") - private Boolean awaitSidecarReadiness; - @JsonProperty("DisableAffinityAssistant") - private Boolean disableAffinityAssistant; - @JsonProperty("DisableCredsInit") - private Boolean disableCredsInit; - @JsonProperty("EnableAPIFields") - private String enableAPIFields; - @JsonProperty("EnableProvenanceInStatus") - private Boolean enableProvenanceInStatus; - @JsonProperty("EnableTektonOCIBundles") - private Boolean enableTektonOCIBundles; - @JsonProperty("EnforceNonfalsifiability") - private String enforceNonfalsifiability; - @JsonProperty("MaxResultSize") - private Integer maxResultSize; - @JsonProperty("RequireGitSSHSecretKnownHosts") - private Boolean requireGitSSHSecretKnownHosts; - @JsonProperty("ResultExtractionMethod") - private String resultExtractionMethod; - @JsonProperty("RunningInEnvWithInjectedSidecars") - private Boolean runningInEnvWithInjectedSidecars; - @JsonProperty("ScopeWhenExpressionsToTask") - private Boolean scopeWhenExpressionsToTask; - @JsonProperty("SendCloudEventsForRuns") - private Boolean sendCloudEventsForRuns; - @JsonProperty("VerificationNoMatchPolicy") - private String verificationNoMatchPolicy; - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public FeatureFlags() { - } - - public FeatureFlags(Boolean awaitSidecarReadiness, Boolean disableAffinityAssistant, Boolean disableCredsInit, String enableAPIFields, Boolean enableProvenanceInStatus, Boolean enableTektonOCIBundles, String enforceNonfalsifiability, Integer maxResultSize, Boolean requireGitSSHSecretKnownHosts, String resultExtractionMethod, Boolean runningInEnvWithInjectedSidecars, Boolean scopeWhenExpressionsToTask, Boolean sendCloudEventsForRuns, String verificationNoMatchPolicy) { - super(); - this.awaitSidecarReadiness = awaitSidecarReadiness; - this.disableAffinityAssistant = disableAffinityAssistant; - this.disableCredsInit = disableCredsInit; - this.enableAPIFields = enableAPIFields; - this.enableProvenanceInStatus = enableProvenanceInStatus; - this.enableTektonOCIBundles = enableTektonOCIBundles; - this.enforceNonfalsifiability = enforceNonfalsifiability; - this.maxResultSize = maxResultSize; - this.requireGitSSHSecretKnownHosts = requireGitSSHSecretKnownHosts; - this.resultExtractionMethod = resultExtractionMethod; - this.runningInEnvWithInjectedSidecars = runningInEnvWithInjectedSidecars; - this.scopeWhenExpressionsToTask = scopeWhenExpressionsToTask; - this.sendCloudEventsForRuns = sendCloudEventsForRuns; - this.verificationNoMatchPolicy = verificationNoMatchPolicy; - } - - @JsonProperty("AwaitSidecarReadiness") - public Boolean getAwaitSidecarReadiness() { - return awaitSidecarReadiness; - } - - @JsonProperty("AwaitSidecarReadiness") - public void setAwaitSidecarReadiness(Boolean awaitSidecarReadiness) { - this.awaitSidecarReadiness = awaitSidecarReadiness; - } - - @JsonProperty("DisableAffinityAssistant") - public Boolean getDisableAffinityAssistant() { - return disableAffinityAssistant; - } - - @JsonProperty("DisableAffinityAssistant") - public void setDisableAffinityAssistant(Boolean disableAffinityAssistant) { - this.disableAffinityAssistant = disableAffinityAssistant; - } - - @JsonProperty("DisableCredsInit") - public Boolean getDisableCredsInit() { - return disableCredsInit; - } - - @JsonProperty("DisableCredsInit") - public void setDisableCredsInit(Boolean disableCredsInit) { - this.disableCredsInit = disableCredsInit; - } - - @JsonProperty("EnableAPIFields") - public String getEnableAPIFields() { - return enableAPIFields; - } - - @JsonProperty("EnableAPIFields") - public void setEnableAPIFields(String enableAPIFields) { - this.enableAPIFields = enableAPIFields; - } - - @JsonProperty("EnableProvenanceInStatus") - public Boolean getEnableProvenanceInStatus() { - return enableProvenanceInStatus; - } - - @JsonProperty("EnableProvenanceInStatus") - public void setEnableProvenanceInStatus(Boolean enableProvenanceInStatus) { - this.enableProvenanceInStatus = enableProvenanceInStatus; - } - - @JsonProperty("EnableTektonOCIBundles") - public Boolean getEnableTektonOCIBundles() { - return enableTektonOCIBundles; - } - - @JsonProperty("EnableTektonOCIBundles") - public void setEnableTektonOCIBundles(Boolean enableTektonOCIBundles) { - this.enableTektonOCIBundles = enableTektonOCIBundles; - } - - @JsonProperty("EnforceNonfalsifiability") - public String getEnforceNonfalsifiability() { - return enforceNonfalsifiability; - } - - @JsonProperty("EnforceNonfalsifiability") - public void setEnforceNonfalsifiability(String enforceNonfalsifiability) { - this.enforceNonfalsifiability = enforceNonfalsifiability; - } - - @JsonProperty("MaxResultSize") - public Integer getMaxResultSize() { - return maxResultSize; - } - - @JsonProperty("MaxResultSize") - public void setMaxResultSize(Integer maxResultSize) { - this.maxResultSize = maxResultSize; - } - - @JsonProperty("RequireGitSSHSecretKnownHosts") - public Boolean getRequireGitSSHSecretKnownHosts() { - return requireGitSSHSecretKnownHosts; - } - - @JsonProperty("RequireGitSSHSecretKnownHosts") - public void setRequireGitSSHSecretKnownHosts(Boolean requireGitSSHSecretKnownHosts) { - this.requireGitSSHSecretKnownHosts = requireGitSSHSecretKnownHosts; - } - - @JsonProperty("ResultExtractionMethod") - public String getResultExtractionMethod() { - return resultExtractionMethod; - } - - @JsonProperty("ResultExtractionMethod") - public void setResultExtractionMethod(String resultExtractionMethod) { - this.resultExtractionMethod = resultExtractionMethod; - } - - @JsonProperty("RunningInEnvWithInjectedSidecars") - public Boolean getRunningInEnvWithInjectedSidecars() { - return runningInEnvWithInjectedSidecars; - } - - @JsonProperty("RunningInEnvWithInjectedSidecars") - public void setRunningInEnvWithInjectedSidecars(Boolean runningInEnvWithInjectedSidecars) { - this.runningInEnvWithInjectedSidecars = runningInEnvWithInjectedSidecars; - } - - @JsonProperty("ScopeWhenExpressionsToTask") - public Boolean getScopeWhenExpressionsToTask() { - return scopeWhenExpressionsToTask; - } - - @JsonProperty("ScopeWhenExpressionsToTask") - public void setScopeWhenExpressionsToTask(Boolean scopeWhenExpressionsToTask) { - this.scopeWhenExpressionsToTask = scopeWhenExpressionsToTask; - } - - @JsonProperty("SendCloudEventsForRuns") - public Boolean getSendCloudEventsForRuns() { - return sendCloudEventsForRuns; - } - - @JsonProperty("SendCloudEventsForRuns") - public void setSendCloudEventsForRuns(Boolean sendCloudEventsForRuns) { - this.sendCloudEventsForRuns = sendCloudEventsForRuns; - } - - @JsonProperty("VerificationNoMatchPolicy") - public String getVerificationNoMatchPolicy() { - return verificationNoMatchPolicy; - } - - @JsonProperty("VerificationNoMatchPolicy") - public void setVerificationNoMatchPolicy(String verificationNoMatchPolicy) { - this.verificationNoMatchPolicy = verificationNoMatchPolicy; - } - - @JsonIgnore - public FeatureFlagsBuilder edit() { - return new FeatureFlagsBuilder(this); - } - - @JsonIgnore - public FeatureFlagsBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/pipeline/pod/Template.java b/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/pipeline/pod/Template.java deleted file mode 100644 index 1ece0fcf6a8..00000000000 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/pipeline/pod/Template.java +++ /dev/null @@ -1,359 +0,0 @@ - -package io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod; - -import java.util.ArrayList; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.Map; -import javax.annotation.Generated; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import io.fabric8.kubernetes.api.builder.Editable; -import io.fabric8.kubernetes.api.model.Affinity; -import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.HostAlias; -import io.fabric8.kubernetes.api.model.IntOrString; -import io.fabric8.kubernetes.api.model.KubernetesResource; -import io.fabric8.kubernetes.api.model.LabelSelector; -import io.fabric8.kubernetes.api.model.ObjectMeta; -import io.fabric8.kubernetes.api.model.ObjectReference; -import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; -import io.fabric8.kubernetes.api.model.PodDNSConfig; -import io.fabric8.kubernetes.api.model.PodSecurityContext; -import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Toleration; -import io.fabric8.kubernetes.api.model.TopologySpreadConstraint; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import lombok.experimental.Accessors; - -@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "affinity", - "automountServiceAccountToken", - "dnsConfig", - "dnsPolicy", - "enableServiceLinks", - "env", - "hostAliases", - "hostNetwork", - "imagePullSecrets", - "nodeSelector", - "priorityClassName", - "runtimeClassName", - "schedulerName", - "securityContext", - "tolerations", - "topologySpreadConstraints", - "volumes" -}) -@ToString -@EqualsAndHashCode -@Accessors(prefix = { - "_", - "" -}) -@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(ObjectMeta.class), - @BuildableReference(LabelSelector.class), - @BuildableReference(Container.class), - @BuildableReference(PodTemplateSpec.class), - @BuildableReference(ResourceRequirements.class), - @BuildableReference(IntOrString.class), - @BuildableReference(ObjectReference.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Volume.class), - @BuildableReference(VolumeMount.class) -}) -@Generated("jsonschema2pojo") -public class Template implements Editable , KubernetesResource -{ - - @JsonProperty("affinity") - private Affinity affinity; - @JsonProperty("automountServiceAccountToken") - private Boolean automountServiceAccountToken; - @JsonProperty("dnsConfig") - private PodDNSConfig dnsConfig; - @JsonProperty("dnsPolicy") - private String dnsPolicy; - @JsonProperty("enableServiceLinks") - private Boolean enableServiceLinks; - @JsonProperty("env") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); - @JsonProperty("hostAliases") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List hostAliases = new ArrayList<>(); - @JsonProperty("hostNetwork") - private java.lang.Boolean hostNetwork; - @JsonProperty("imagePullSecrets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List imagePullSecrets = new ArrayList<>(); - @JsonProperty("nodeSelector") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map nodeSelector = new LinkedHashMap<>(); - @JsonProperty("priorityClassName") - private String priorityClassName; - @JsonProperty("runtimeClassName") - private String runtimeClassName; - @JsonProperty("schedulerName") - private java.lang.String schedulerName; - @JsonProperty("securityContext") - private PodSecurityContext securityContext; - @JsonProperty("tolerations") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List tolerations = new ArrayList<>(); - @JsonProperty("topologySpreadConstraints") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List topologySpreadConstraints = new ArrayList<>(); - @JsonProperty("volumes") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); - @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); - - /** - * No args constructor for use in serialization - * - */ - public Template() { - } - - public Template(Affinity affinity, Boolean automountServiceAccountToken, PodDNSConfig dnsConfig, String dnsPolicy, Boolean enableServiceLinks, List env, List hostAliases, java.lang.Boolean hostNetwork, List imagePullSecrets, Map nodeSelector, String priorityClassName, String runtimeClassName, java.lang.String schedulerName, PodSecurityContext securityContext, List tolerations, List topologySpreadConstraints, List volumes) { - super(); - this.affinity = affinity; - this.automountServiceAccountToken = automountServiceAccountToken; - this.dnsConfig = dnsConfig; - this.dnsPolicy = dnsPolicy; - this.enableServiceLinks = enableServiceLinks; - this.env = env; - this.hostAliases = hostAliases; - this.hostNetwork = hostNetwork; - this.imagePullSecrets = imagePullSecrets; - this.nodeSelector = nodeSelector; - this.priorityClassName = priorityClassName; - this.runtimeClassName = runtimeClassName; - this.schedulerName = schedulerName; - this.securityContext = securityContext; - this.tolerations = tolerations; - this.topologySpreadConstraints = topologySpreadConstraints; - this.volumes = volumes; - } - - @JsonProperty("affinity") - public Affinity getAffinity() { - return affinity; - } - - @JsonProperty("affinity") - public void setAffinity(Affinity affinity) { - this.affinity = affinity; - } - - @JsonProperty("automountServiceAccountToken") - public Boolean getAutomountServiceAccountToken() { - return automountServiceAccountToken; - } - - @JsonProperty("automountServiceAccountToken") - public void setAutomountServiceAccountToken(Boolean automountServiceAccountToken) { - this.automountServiceAccountToken = automountServiceAccountToken; - } - - @JsonProperty("dnsConfig") - public PodDNSConfig getDnsConfig() { - return dnsConfig; - } - - @JsonProperty("dnsConfig") - public void setDnsConfig(PodDNSConfig dnsConfig) { - this.dnsConfig = dnsConfig; - } - - @JsonProperty("dnsPolicy") - public String getDnsPolicy() { - return dnsPolicy; - } - - @JsonProperty("dnsPolicy") - public void setDnsPolicy(String dnsPolicy) { - this.dnsPolicy = dnsPolicy; - } - - @JsonProperty("enableServiceLinks") - public Boolean getEnableServiceLinks() { - return enableServiceLinks; - } - - @JsonProperty("enableServiceLinks") - public void setEnableServiceLinks(Boolean enableServiceLinks) { - this.enableServiceLinks = enableServiceLinks; - } - - @JsonProperty("env") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { - return env; - } - - @JsonProperty("env") - public void setEnv(List env) { - this.env = env; - } - - @JsonProperty("hostAliases") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getHostAliases() { - return hostAliases; - } - - @JsonProperty("hostAliases") - public void setHostAliases(List hostAliases) { - this.hostAliases = hostAliases; - } - - @JsonProperty("hostNetwork") - public java.lang.Boolean getHostNetwork() { - return hostNetwork; - } - - @JsonProperty("hostNetwork") - public void setHostNetwork(java.lang.Boolean hostNetwork) { - this.hostNetwork = hostNetwork; - } - - @JsonProperty("imagePullSecrets") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getImagePullSecrets() { - return imagePullSecrets; - } - - @JsonProperty("imagePullSecrets") - public void setImagePullSecrets(List imagePullSecrets) { - this.imagePullSecrets = imagePullSecrets; - } - - @JsonProperty("nodeSelector") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getNodeSelector() { - return nodeSelector; - } - - @JsonProperty("nodeSelector") - public void setNodeSelector(Map nodeSelector) { - this.nodeSelector = nodeSelector; - } - - @JsonProperty("priorityClassName") - public String getPriorityClassName() { - return priorityClassName; - } - - @JsonProperty("priorityClassName") - public void setPriorityClassName(String priorityClassName) { - this.priorityClassName = priorityClassName; - } - - @JsonProperty("runtimeClassName") - public String getRuntimeClassName() { - return runtimeClassName; - } - - @JsonProperty("runtimeClassName") - public void setRuntimeClassName(String runtimeClassName) { - this.runtimeClassName = runtimeClassName; - } - - @JsonProperty("schedulerName") - public java.lang.String getSchedulerName() { - return schedulerName; - } - - @JsonProperty("schedulerName") - public void setSchedulerName(java.lang.String schedulerName) { - this.schedulerName = schedulerName; - } - - @JsonProperty("securityContext") - public PodSecurityContext getSecurityContext() { - return securityContext; - } - - @JsonProperty("securityContext") - public void setSecurityContext(PodSecurityContext securityContext) { - this.securityContext = securityContext; - } - - @JsonProperty("tolerations") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTolerations() { - return tolerations; - } - - @JsonProperty("tolerations") - public void setTolerations(List tolerations) { - this.tolerations = tolerations; - } - - @JsonProperty("topologySpreadConstraints") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getTopologySpreadConstraints() { - return topologySpreadConstraints; - } - - @JsonProperty("topologySpreadConstraints") - public void setTopologySpreadConstraints(List topologySpreadConstraints) { - this.topologySpreadConstraints = topologySpreadConstraints; - } - - @JsonProperty("volumes") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { - return volumes; - } - - @JsonProperty("volumes") - public void setVolumes(List volumes) { - this.volumes = volumes; - } - - @JsonIgnore - public TemplateBuilder edit() { - return new TemplateBuilder(this); - } - - @JsonIgnore - public TemplateBuilder toBuilder() { - return edit(); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { - this.additionalProperties.put(name, value); - } - - public void setAdditionalProperties(Map additionalProperties) { - this.additionalProperties = additionalProperties; - } - -} diff --git a/extensions/tekton/model-v1beta1/src/main/resources/schema/tekton-schema-v1beta1.json b/extensions/tekton/model-v1beta1/src/main/resources/schema/tekton-schema-v1beta1.json deleted file mode 100644 index fd666f5461a..00000000000 --- a/extensions/tekton/model-v1beta1/src/main/resources/schema/tekton-schema-v1beta1.json +++ /dev/null @@ -1,3080 +0,0 @@ -{ - "id": "http://fabric8.io/tekton/v1beta1/TektonSchema#", - "$schema": "http://json-schema.org/draft-07/schema#", - "definitions": { - "github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags": { - "type": "object", - "properties": { - "AwaitSidecarReadiness": { - "type": "boolean" - }, - "DisableAffinityAssistant": { - "type": "boolean" - }, - "DisableCredsInit": { - "type": "boolean" - }, - "EnableAPIFields": { - "type": "string" - }, - "EnableProvenanceInStatus": { - "type": "boolean" - }, - "EnableTektonOCIBundles": { - "type": "boolean" - }, - "EnforceNonfalsifiability": { - "type": "string" - }, - "MaxResultSize": { - "type": "integer" - }, - "RequireGitSSHSecretKnownHosts": { - "type": "boolean" - }, - "ResultExtractionMethod": { - "type": "string" - }, - "RunningInEnvWithInjectedSidecars": { - "type": "boolean" - }, - "ScopeWhenExpressionsToTask": { - "type": "boolean" - }, - "SendCloudEventsForRuns": { - "type": "boolean" - }, - "VerificationNoMatchPolicy": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.config.FeatureFlags", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { - "type": "object", - "properties": { - "affinity": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Affinity" - }, - "automountServiceAccountToken": { - "type": "boolean", - "existingJavaType": "Boolean" - }, - "dnsConfig": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PodDNSConfig" - }, - "dnsPolicy": { - "type": "string", - "existingJavaType": "String" - }, - "enableServiceLinks": { - "type": "boolean", - "existingJavaType": "Boolean" - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "hostAliases": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.HostAlias" - } - }, - "hostNetwork": { - "type": "boolean" - }, - "imagePullSecrets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.LocalObjectReference" - } - }, - "nodeSelector": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "priorityClassName": { - "type": "string", - "existingJavaType": "String" - }, - "runtimeClassName": { - "type": "string", - "existingJavaType": "String" - }, - "schedulerName": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PodSecurityContext" - }, - "tolerations": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Toleration" - } - }, - "topologySpreadConstraints": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.TopologySpreadConstraint" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ChildStatusReference": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "pipelineTaskName": { - "type": "string" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ChildStatusReference", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery": { - "type": "object", - "properties": { - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDeliveryState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDeliveryState" - }, - "target": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDelivery", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDeliveryState": { - "type": "object", - "properties": { - "condition": { - "type": "string" - }, - "message": { - "type": "string" - }, - "retryCount": { - "type": "integer" - }, - "sentAt": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDeliveryState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTask": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "ClusterTask", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTaskList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTask" - } - }, - "kind": { - "type": "string", - "default": "ClusterTaskList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTaskList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.ClusterTask\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ConfigSource": { - "type": "object", - "properties": { - "digest": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "entryPoint": { - "type": "string" - }, - "uri": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ConfigSource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRun": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "CustomRun", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRun" - } - }, - "kind": { - "type": "string", - "default": "CustomRunList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.CustomRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunSpec": { - "type": "object", - "properties": { - "customRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "customSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedCustomRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedCustomRunSpec" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "retries": { - "type": "integer" - }, - "serviceAccountName": { - "type": "string" - }, - "status": { - "type": "string" - }, - "statusMessage": { - "type": "string" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedCustomRunSpec": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata" - }, - "spec": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedCustomRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedTask": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "description": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "metadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "resources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResources", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResources" - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult" - } - }, - "sidecars": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Sidecar" - } - }, - "spec": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - }, - "stepTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepTemplate" - }, - "steps": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Step" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_IncludeParams": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.IncludeParams", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Matrix": { - "type": "object", - "properties": { - "include": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_IncludeParams", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.IncludeParams" - } - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Matrix", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec": { - "type": "object", - "properties": { - "default": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - }, - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "properties": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1beta1.PropertySpec\u003e" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Pipeline": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "Pipeline", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Pipeline", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineDeclaredResource": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineDeclaredResource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Pipeline", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Pipeline" - } - }, - "kind": { - "type": "string", - "default": "PipelineList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.Pipeline\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "bundle": { - "type": "string" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "resolver": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceBinding": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "resourceRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceRef" - }, - "resourceSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.PipelineResourceSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResult": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "value": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRun": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "PipelineRun", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRun" - } - }, - "kind": { - "type": "string", - "default": "PipelineRunList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.PipelineRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunResult": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunRunStatus": { - "type": "object", - "properties": { - "pipelineTaskName": { - "type": "string" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpec": { - "type": "object", - "properties": { - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "pipelineRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRef" - }, - "pipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec" - }, - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "resources": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceBinding" - } - }, - "serviceAccountName": { - "type": "string" - }, - "status": { - "type": "string" - }, - "taskRunSpecs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskRunSpec" - } - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "timeouts": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TimeoutFields", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TimeoutFields" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "childReferences": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ChildStatusReference", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ChildStatusReference" - } - }, - "completionTime": { - "existingJavaType": "java.lang.String" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "finallyStartTime": { - "existingJavaType": "java.lang.String" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "pipelineResults": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunResult" - } - }, - "pipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec" - }, - "provenance": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Provenance" - }, - "runs": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1beta1.PipelineRunRunStatus\u003e" - }, - "skippedTasks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SkippedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.SkippedTask" - } - }, - "spanContext": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "startTime": { - "existingJavaType": "java.lang.String" - }, - "taskRuns": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1beta1.PipelineRunTaskRunStatus\u003e" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunTaskRunStatus": { - "type": "object", - "properties": { - "pipelineTaskName": { - "type": "string" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunTaskRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "finally": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTask" - } - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "resources": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineDeclaredResource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineDeclaredResource" - } - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResult" - } - }, - "tasks": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTask" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineWorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineWorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "matrix": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Matrix", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Matrix" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "resources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskResources", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskResources" - }, - "retries": { - "type": "integer" - }, - "runAfter": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "taskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedTask" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "when": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineTaskBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskInputResource": { - "type": "object", - "properties": { - "from": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "name": { - "type": "string" - }, - "resource": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskInputResource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "labels": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskOutputResource": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "resource": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskOutputResource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskResources": { - "type": "object", - "properties": { - "inputs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskInputResource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskInputResource" - } - }, - "outputs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskOutputResource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskOutputResource" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskResources", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskRunSpec": { - "type": "object", - "properties": { - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "metadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata" - }, - "pipelineTaskName": { - "type": "string" - }, - "sidecarOverrides": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSidecarOverride" - } - }, - "stepOverrides": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStepOverride" - } - }, - "taskPodTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "taskServiceAccountName": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineWorkspaceDeclaration": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineWorkspaceDeclaration", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PropertySpec": { - "type": "object", - "properties": { - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PropertySpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance": { - "type": "object", - "properties": { - "configSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ConfigSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ConfigSource" - }, - "featureFlags": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.config.FeatureFlags" - }, - "refSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_RefSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.RefSource" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Provenance", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_RefSource": { - "type": "object", - "properties": { - "digest": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "entryPoint": { - "type": "string" - }, - "uri": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.RefSource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar": { - "type": "object", - "properties": { - "args": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "envFrom": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvFromSource" - } - }, - "image": { - "type": "string" - }, - "imagePullPolicy": { - "type": "string" - }, - "lifecycle": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Lifecycle" - }, - "livenessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "name": { - "type": "string" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerPort" - } - }, - "readinessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "script": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" - }, - "startupProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "stdin": { - "type": "boolean" - }, - "stdinOnce": { - "type": "boolean" - }, - "terminationMessagePath": { - "type": "string" - }, - "terminationMessagePolicy": { - "type": "string" - }, - "tty": { - "type": "boolean" - }, - "volumeDevices": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeDevice" - } - }, - "volumeMounts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeMount" - } - }, - "workingDir": { - "type": "string" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceUsage" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Sidecar", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SidecarState": { - "type": "object", - "properties": { - "container": { - "type": "string" - }, - "imageID": { - "type": "string" - }, - "name": { - "type": "string" - }, - "running": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateRunning" - }, - "terminated": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateTerminated" - }, - "waiting": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateWaiting" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.SidecarState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SkippedTask": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "reason": { - "type": "string" - }, - "whenExpressions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.SkippedTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step": { - "type": "object", - "properties": { - "args": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "envFrom": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvFromSource" - } - }, - "image": { - "type": "string" - }, - "imagePullPolicy": { - "type": "string" - }, - "lifecycle": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Lifecycle" - }, - "livenessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "name": { - "type": "string", - "maxLength": 63, - "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" - }, - "onError": { - "type": "string" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerPort" - } - }, - "readinessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "script": { - "type": "string" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" - }, - "startupProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "stderrConfig": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepOutputConfig" - }, - "stdin": { - "type": "boolean" - }, - "stdinOnce": { - "type": "boolean" - }, - "stdoutConfig": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepOutputConfig" - }, - "terminationMessagePath": { - "type": "string" - }, - "terminationMessagePolicy": { - "type": "string" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "tty": { - "type": "boolean" - }, - "volumeDevices": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeDevice" - } - }, - "volumeMounts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeMount" - } - }, - "workingDir": { - "type": "string" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceUsage" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Step", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig": { - "type": "object", - "properties": { - "path": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.StepOutputConfig", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepState": { - "type": "object", - "properties": { - "container": { - "type": "string" - }, - "imageID": { - "type": "string" - }, - "name": { - "type": "string" - }, - "running": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateRunning" - }, - "terminated": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateTerminated" - }, - "waiting": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerStateWaiting" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.StepState", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate": { - "type": "object", - "properties": { - "args": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "command": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "env": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvVar" - } - }, - "envFrom": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EnvFromSource" - } - }, - "image": { - "type": "string" - }, - "imagePullPolicy": { - "type": "string" - }, - "lifecycle": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Lifecycle" - }, - "livenessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "name": { - "type": "string" - }, - "ports": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ContainerPort" - } - }, - "readinessProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "securityContext": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecurityContext" - }, - "startupProbe": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Probe" - }, - "stdin": { - "type": "boolean" - }, - "stdinOnce": { - "type": "boolean" - }, - "terminationMessagePath": { - "type": "string" - }, - "terminationMessagePolicy": { - "type": "string" - }, - "tty": { - "type": "boolean" - }, - "volumeDevices": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeDevice" - } - }, - "volumeMounts": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.VolumeMount" - } - }, - "workingDir": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.StepTemplate", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Task": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "Task", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Task", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Task", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Task" - } - }, - "kind": { - "type": "string", - "default": "TaskList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.Task\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string" - }, - "bundle": { - "type": "string" - }, - "kind": { - "type": "string" - }, - "name": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "resolver": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResource": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - }, - "targetPath": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResourceBinding": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "paths": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - }, - "resourceRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceRef" - }, - "resourceSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.PipelineResourceSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResourceBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResources": { - "type": "object", - "properties": { - "inputs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResource" - } - }, - "outputs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResource" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResources", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "name": { - "type": "string" - }, - "properties": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1beta1.PropertySpec\u003e" - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRun": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "TaskRun", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunDebug": { - "type": "object", - "properties": { - "breakpoint": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunDebug", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRun" - } - }, - "kind": { - "type": "string", - "default": "TaskRunList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1beta1.TaskRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResources": { - "type": "object", - "properties": { - "inputs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResourceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResourceBinding" - } - }, - "outputs": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResourceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResourceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResources", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResult": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "type": { - "type": "string" - }, - "value": { - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamValue" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSidecarOverride", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSpec": { - "type": "object", - "properties": { - "computeResources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - }, - "debug": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunDebug", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunDebug" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "resources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResources", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResources" - }, - "retries": { - "type": "integer" - }, - "serviceAccountName": { - "type": "string" - }, - "sidecarOverrides": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSidecarOverride" - } - }, - "status": { - "type": "string" - }, - "statusMessage": { - "type": "string" - }, - "stepOverrides": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStepOverride" - } - }, - "taskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - }, - "timeout": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "cloudEvents": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDelivery" - } - }, - "completionTime": { - "existingJavaType": "java.lang.String" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "podName": { - "type": "string" - }, - "provenance": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Provenance" - }, - "resourcesResult": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_result_RunResult", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.result.RunResult" - } - }, - "retriesStatus": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" - } - }, - "sidecars": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SidecarState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.SidecarState" - } - }, - "spanContext": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "startTime": { - "existingJavaType": "java.lang.String" - }, - "steps": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepState" - } - }, - "taskResults": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResult" - } - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "resources": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStepOverride", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "resources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResources", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResources" - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult" - } - }, - "sidecars": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Sidecar" - } - }, - "stepTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepTemplate" - }, - "steps": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Step" - } - }, - "volumes": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Volume" - } - }, - "workspaces": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TimeoutFields": { - "type": "object", - "properties": { - "finally": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "pipeline": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "tasks": { - "existingJavaType": "io.fabric8.kubernetes.api.model.Duration" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TimeoutFields", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression": { - "type": "object", - "properties": { - "input": { - "type": "string" - }, - "operator": { - "type": "string" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding": { - "type": "object", - "properties": { - "configMap": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ConfigMapVolumeSource" - }, - "csi": { - "existingJavaType": "io.fabric8.kubernetes.api.model.CSIVolumeSource" - }, - "emptyDir": { - "existingJavaType": "io.fabric8.kubernetes.api.model.EmptyDirVolumeSource" - }, - "name": { - "type": "string" - }, - "persistentVolumeClaim": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSource" - }, - "projected": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ProjectedVolumeSource" - }, - "secret": { - "existingJavaType": "io.fabric8.kubernetes.api.model.SecretVolumeSource" - }, - "subPath": { - "type": "string" - }, - "volumeClaimTemplate": { - "existingJavaType": "io.fabric8.kubernetes.api.model.PersistentVolumeClaim" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "mountPath": { - "type": "string" - }, - "name": { - "type": "string" - }, - "optional": { - "type": "boolean" - }, - "readOnly": { - "type": "boolean" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "subPath": { - "type": "string" - }, - "workspace": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineTaskBinding", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage": { - "type": "object", - "properties": { - "mountPath": { - "type": "string" - }, - "name": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceUsage", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequest": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "resolution.tekton.dev/v1beta1", - "required": true - }, - "kind": { - "type": "string", - "default": "ResolutionRequest", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestSpec", - "existingJavaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequestSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestStatus", - "existingJavaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequestStatus" - } - }, - "javaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequest", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata", - "io.fabric8.kubernetes.api.model.Namespaced" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestList": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "default": "resolution.tekton.dev/v1beta1", - "required": true - }, - "items": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequest", - "existingJavaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequest" - } - }, - "kind": { - "type": "string", - "default": "ResolutionRequestList", - "required": true - }, - "metadata": { - "existingJavaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequestList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.resolution.v1beta1.ResolutionRequest\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestSpec": { - "type": "object", - "properties": { - "params": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - } - }, - "javaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequestSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "data": { - "type": "string" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "refSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_RefSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.RefSource" - }, - "source": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ConfigSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ConfigSource" - } - }, - "javaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequestStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec": { - "type": "object", - "properties": { - "description": { - "type": "string" - }, - "params": { - "type": "array", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceParam", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.ResourceParam" - } - }, - "secrets": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_SecretParam", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.SecretParam" - } - }, - "type": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.PipelineResourceSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceParam": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.ResourceParam", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_SecretParam": { - "type": "object", - "properties": { - "fieldName": { - "type": "string" - }, - "secretKey": { - "type": "string" - }, - "secretName": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.SecretParam", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunResult": { - "type": "object", - "properties": { - "name": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus": { - "type": "object", - "properties": { - "annotations": { - "type": "object", - "existingJavaType": "java.util.Map\u003cString,String\u003e" - }, - "completionTime": { - "existingJavaType": "java.lang.String" - }, - "conditions": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "existingJavaType": "io.fabric8.knative.pkg.apis.Condition" - } - }, - "extraFields": { - "existingJavaType": "java.util.Map\u003cString, Object\u003e" - }, - "observedGeneration": { - "type": "integer", - "existingJavaType": "Long" - }, - "results": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunResult", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunResult" - } - }, - "retriesStatus": { - "type": "array", - "javaOmitEmpty": true, - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" - } - }, - "startTime": { - "existingJavaType": "java.lang.String" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_result_RunResult": { - "type": "object", - "properties": { - "key": { - "type": "string" - }, - "resourceName": { - "type": "string" - }, - "type": { - "type": "integer" - }, - "value": { - "type": "string" - } - }, - "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.result.RunResult", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - } - }, - "type": "object", - "properties": { - "github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_config_FeatureFlags", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.config.FeatureFlags" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ChildStatusReference": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ChildStatusReference", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ChildStatusReference" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDelivery" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDeliveryState": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDeliveryState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDeliveryState" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTaskList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ClusterTaskList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ClusterTaskList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ConfigSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ConfigSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ConfigSource" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CustomRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.CustomRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedCustomRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedCustomRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedCustomRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_EmbeddedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.EmbeddedTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_IncludeParams": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_IncludeParams", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.IncludeParams" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Matrix": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Matrix", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Matrix" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Pipeline": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Pipeline", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Pipeline" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineDeclaredResource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineDeclaredResource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineDeclaredResource" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRef" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceBinding": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceBinding" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceRef" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunTaskRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunTaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunTaskRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskInputResource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskInputResource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskInputResource" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskMetadata", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskMetadata" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskOutputResource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskOutputResource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskOutputResource" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskResources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskResources", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskResources" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineWorkspaceDeclaration": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineWorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineWorkspaceDeclaration" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PropertySpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PropertySpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.PropertySpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Provenance", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Provenance" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_RefSource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_RefSource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.RefSource" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Sidecar", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Sidecar" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SidecarState": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SidecarState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.SidecarState" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SkippedTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SkippedTask", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.SkippedTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Step" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepOutputConfig", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepOutputConfig" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepState": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepState", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepState" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepTemplate", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.StepTemplate" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Task": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Task", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.Task" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResource", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResource" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResourceBinding": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResourceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResourceBinding" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResources", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResources" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRun", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunDebug": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunDebug", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunDebug" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunList", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResources", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResources" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResult", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSidecarOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSidecarOverride" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStepOverride", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStepOverride" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskSpec", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TaskSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TimeoutFields": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TimeoutFields", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.TimeoutFields" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WhenExpression", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WhenExpression" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineTaskBinding" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceUsage", - "existingJavaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceUsage" - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequest": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequest", - "existingJavaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequest" - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestList", - "existingJavaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequestList" - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestSpec", - "existingJavaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequestSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resolution_v1beta1_ResolutionRequestStatus", - "existingJavaType": "io.fabric8.tekton.resolution.v1beta1.ResolutionRequestStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.PipelineResourceSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceParam": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceParam", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.ResourceParam" - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_SecretParam": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_SecretParam", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.SecretParam" - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunResult", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunResult" - }, - "github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_run_v1beta1_CustomRunStatus", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus" - }, - "github_com_tektoncd_pipeline_pkg_result_RunResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_result_RunResult", - "existingJavaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.result.RunResult" - } - }, - "additionalProperties": false -} diff --git a/extensions/tekton/model-v1beta1/pom.xml b/extensions/tekton/model/pom.xml similarity index 51% rename from extensions/tekton/model-v1beta1/pom.xml rename to extensions/tekton/model/pom.xml index 222a73db160..2e319e002bf 100644 --- a/extensions/tekton/model-v1beta1/pom.xml +++ b/extensions/tekton/model/pom.xml @@ -26,9 +26,9 @@ 7.0-SNAPSHOT - tekton-model-v1beta1 + tekton-model bundle - Fabric8 :: Tekton :: Model v1beta1 + Fabric8 :: Tekton :: Model @@ -37,24 +37,11 @@ * - io.fabric8.tekton.* + io.fabric8.tekton.*, - - io.sundr - builder-annotations - provided - - - io.sundr - transform-annotations - - - io.sundr - sundr-codegen-velocity-nodeps - io.fabric8 kubernetes-model-core @@ -63,45 +50,34 @@ io.fabric8 knative-model - - org.junit.jupiter - junit-jupiter-engine - test - - - org.projectlombok - lombok - provided - - + generate - org.jsonschema2pojo - jsonschema2pojo-maven-plugin - - - maven-antrun-plugin - - - generate-sources - - - - - - - - run - - - + io.fabric8 + openapi-model-generator-maven-plugin + + + + ${openapi.schema.dev.tekton} + + + ^dev\.tekton\..*$ + ^com\.github\.tektoncd\.pipeline\.pkg\.apis\.config\.FeatureFlags$ + ^com\.github\.tektoncd\.pipeline\.pkg\.result\.RunResult$ + + + + + + + + + diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/config/FeatureFlags.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/pipeline/pkg/apis/config/FeatureFlags.java similarity index 62% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/config/FeatureFlags.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/pipeline/pkg/apis/config/FeatureFlags.java index a4b838f84c0..2b004509d1a 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/config/FeatureFlags.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/pipeline/pkg/apis/config/FeatureFlags.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1.internal.pipeline.pkg.apis.config; +package io.fabric8.tekton.pipeline.pkg.apis.config; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -36,18 +32,26 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "AwaitSidecarReadiness", + "Coschedule", "DisableAffinityAssistant", "DisableCredsInit", + "DisableInlineSpec", "EnableAPIFields", + "EnableArtifacts", + "EnableCELInWhenExpression", + "EnableConciseResolverSyntax", + "EnableKeepPodOnCancel", + "EnableKubernetesSidecar", + "EnableParamEnum", "EnableProvenanceInStatus", - "EnableTektonOCIBundles", + "EnableStepActions", "EnforceNonfalsifiability", "MaxResultSize", "RequireGitSSHSecretKnownHosts", "ResultExtractionMethod", "RunningInEnvWithInjectedSidecars", - "ScopeWhenExpressionsToTask", "SendCloudEventsForRuns", + "SetSecurityContext", "VerificationNoMatchPolicy" }) @ToString @@ -65,11 +69,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class FeatureFlags implements Editable , KubernetesResource @@ -77,16 +77,32 @@ public class FeatureFlags implements Editable , KubernetesR @JsonProperty("AwaitSidecarReadiness") private Boolean awaitSidecarReadiness; + @JsonProperty("Coschedule") + private String coschedule; @JsonProperty("DisableAffinityAssistant") private Boolean disableAffinityAssistant; @JsonProperty("DisableCredsInit") private Boolean disableCredsInit; + @JsonProperty("DisableInlineSpec") + private String disableInlineSpec; @JsonProperty("EnableAPIFields") private String enableAPIFields; + @JsonProperty("EnableArtifacts") + private Boolean enableArtifacts; + @JsonProperty("EnableCELInWhenExpression") + private Boolean enableCELInWhenExpression; + @JsonProperty("EnableConciseResolverSyntax") + private Boolean enableConciseResolverSyntax; + @JsonProperty("EnableKeepPodOnCancel") + private Boolean enableKeepPodOnCancel; + @JsonProperty("EnableKubernetesSidecar") + private Boolean enableKubernetesSidecar; + @JsonProperty("EnableParamEnum") + private Boolean enableParamEnum; @JsonProperty("EnableProvenanceInStatus") private Boolean enableProvenanceInStatus; - @JsonProperty("EnableTektonOCIBundles") - private Boolean enableTektonOCIBundles; + @JsonProperty("EnableStepActions") + private Boolean enableStepActions; @JsonProperty("EnforceNonfalsifiability") private String enforceNonfalsifiability; @JsonProperty("MaxResultSize") @@ -97,10 +113,10 @@ public class FeatureFlags implements Editable , KubernetesR private String resultExtractionMethod; @JsonProperty("RunningInEnvWithInjectedSidecars") private Boolean runningInEnvWithInjectedSidecars; - @JsonProperty("ScopeWhenExpressionsToTask") - private Boolean scopeWhenExpressionsToTask; @JsonProperty("SendCloudEventsForRuns") private Boolean sendCloudEventsForRuns; + @JsonProperty("SetSecurityContext") + private Boolean setSecurityContext; @JsonProperty("VerificationNoMatchPolicy") private String verificationNoMatchPolicy; @JsonIgnore @@ -113,21 +129,29 @@ public class FeatureFlags implements Editable , KubernetesR public FeatureFlags() { } - public FeatureFlags(Boolean awaitSidecarReadiness, Boolean disableAffinityAssistant, Boolean disableCredsInit, String enableAPIFields, Boolean enableProvenanceInStatus, Boolean enableTektonOCIBundles, String enforceNonfalsifiability, Integer maxResultSize, Boolean requireGitSSHSecretKnownHosts, String resultExtractionMethod, Boolean runningInEnvWithInjectedSidecars, Boolean scopeWhenExpressionsToTask, Boolean sendCloudEventsForRuns, String verificationNoMatchPolicy) { + public FeatureFlags(Boolean awaitSidecarReadiness, String coschedule, Boolean disableAffinityAssistant, Boolean disableCredsInit, String disableInlineSpec, String enableAPIFields, Boolean enableArtifacts, Boolean enableCELInWhenExpression, Boolean enableConciseResolverSyntax, Boolean enableKeepPodOnCancel, Boolean enableKubernetesSidecar, Boolean enableParamEnum, Boolean enableProvenanceInStatus, Boolean enableStepActions, String enforceNonfalsifiability, Integer maxResultSize, Boolean requireGitSSHSecretKnownHosts, String resultExtractionMethod, Boolean runningInEnvWithInjectedSidecars, Boolean sendCloudEventsForRuns, Boolean setSecurityContext, String verificationNoMatchPolicy) { super(); this.awaitSidecarReadiness = awaitSidecarReadiness; + this.coschedule = coschedule; this.disableAffinityAssistant = disableAffinityAssistant; this.disableCredsInit = disableCredsInit; + this.disableInlineSpec = disableInlineSpec; this.enableAPIFields = enableAPIFields; + this.enableArtifacts = enableArtifacts; + this.enableCELInWhenExpression = enableCELInWhenExpression; + this.enableConciseResolverSyntax = enableConciseResolverSyntax; + this.enableKeepPodOnCancel = enableKeepPodOnCancel; + this.enableKubernetesSidecar = enableKubernetesSidecar; + this.enableParamEnum = enableParamEnum; this.enableProvenanceInStatus = enableProvenanceInStatus; - this.enableTektonOCIBundles = enableTektonOCIBundles; + this.enableStepActions = enableStepActions; this.enforceNonfalsifiability = enforceNonfalsifiability; this.maxResultSize = maxResultSize; this.requireGitSSHSecretKnownHosts = requireGitSSHSecretKnownHosts; this.resultExtractionMethod = resultExtractionMethod; this.runningInEnvWithInjectedSidecars = runningInEnvWithInjectedSidecars; - this.scopeWhenExpressionsToTask = scopeWhenExpressionsToTask; this.sendCloudEventsForRuns = sendCloudEventsForRuns; + this.setSecurityContext = setSecurityContext; this.verificationNoMatchPolicy = verificationNoMatchPolicy; } @@ -141,6 +165,16 @@ public void setAwaitSidecarReadiness(Boolean awaitSidecarReadiness) { this.awaitSidecarReadiness = awaitSidecarReadiness; } + @JsonProperty("Coschedule") + public String getCoschedule() { + return coschedule; + } + + @JsonProperty("Coschedule") + public void setCoschedule(String coschedule) { + this.coschedule = coschedule; + } + @JsonProperty("DisableAffinityAssistant") public Boolean getDisableAffinityAssistant() { return disableAffinityAssistant; @@ -161,6 +195,16 @@ public void setDisableCredsInit(Boolean disableCredsInit) { this.disableCredsInit = disableCredsInit; } + @JsonProperty("DisableInlineSpec") + public String getDisableInlineSpec() { + return disableInlineSpec; + } + + @JsonProperty("DisableInlineSpec") + public void setDisableInlineSpec(String disableInlineSpec) { + this.disableInlineSpec = disableInlineSpec; + } + @JsonProperty("EnableAPIFields") public String getEnableAPIFields() { return enableAPIFields; @@ -171,6 +215,66 @@ public void setEnableAPIFields(String enableAPIFields) { this.enableAPIFields = enableAPIFields; } + @JsonProperty("EnableArtifacts") + public Boolean getEnableArtifacts() { + return enableArtifacts; + } + + @JsonProperty("EnableArtifacts") + public void setEnableArtifacts(Boolean enableArtifacts) { + this.enableArtifacts = enableArtifacts; + } + + @JsonProperty("EnableCELInWhenExpression") + public Boolean getEnableCELInWhenExpression() { + return enableCELInWhenExpression; + } + + @JsonProperty("EnableCELInWhenExpression") + public void setEnableCELInWhenExpression(Boolean enableCELInWhenExpression) { + this.enableCELInWhenExpression = enableCELInWhenExpression; + } + + @JsonProperty("EnableConciseResolverSyntax") + public Boolean getEnableConciseResolverSyntax() { + return enableConciseResolverSyntax; + } + + @JsonProperty("EnableConciseResolverSyntax") + public void setEnableConciseResolverSyntax(Boolean enableConciseResolverSyntax) { + this.enableConciseResolverSyntax = enableConciseResolverSyntax; + } + + @JsonProperty("EnableKeepPodOnCancel") + public Boolean getEnableKeepPodOnCancel() { + return enableKeepPodOnCancel; + } + + @JsonProperty("EnableKeepPodOnCancel") + public void setEnableKeepPodOnCancel(Boolean enableKeepPodOnCancel) { + this.enableKeepPodOnCancel = enableKeepPodOnCancel; + } + + @JsonProperty("EnableKubernetesSidecar") + public Boolean getEnableKubernetesSidecar() { + return enableKubernetesSidecar; + } + + @JsonProperty("EnableKubernetesSidecar") + public void setEnableKubernetesSidecar(Boolean enableKubernetesSidecar) { + this.enableKubernetesSidecar = enableKubernetesSidecar; + } + + @JsonProperty("EnableParamEnum") + public Boolean getEnableParamEnum() { + return enableParamEnum; + } + + @JsonProperty("EnableParamEnum") + public void setEnableParamEnum(Boolean enableParamEnum) { + this.enableParamEnum = enableParamEnum; + } + @JsonProperty("EnableProvenanceInStatus") public Boolean getEnableProvenanceInStatus() { return enableProvenanceInStatus; @@ -181,14 +285,14 @@ public void setEnableProvenanceInStatus(Boolean enableProvenanceInStatus) { this.enableProvenanceInStatus = enableProvenanceInStatus; } - @JsonProperty("EnableTektonOCIBundles") - public Boolean getEnableTektonOCIBundles() { - return enableTektonOCIBundles; + @JsonProperty("EnableStepActions") + public Boolean getEnableStepActions() { + return enableStepActions; } - @JsonProperty("EnableTektonOCIBundles") - public void setEnableTektonOCIBundles(Boolean enableTektonOCIBundles) { - this.enableTektonOCIBundles = enableTektonOCIBundles; + @JsonProperty("EnableStepActions") + public void setEnableStepActions(Boolean enableStepActions) { + this.enableStepActions = enableStepActions; } @JsonProperty("EnforceNonfalsifiability") @@ -241,16 +345,6 @@ public void setRunningInEnvWithInjectedSidecars(Boolean runningInEnvWithInjected this.runningInEnvWithInjectedSidecars = runningInEnvWithInjectedSidecars; } - @JsonProperty("ScopeWhenExpressionsToTask") - public Boolean getScopeWhenExpressionsToTask() { - return scopeWhenExpressionsToTask; - } - - @JsonProperty("ScopeWhenExpressionsToTask") - public void setScopeWhenExpressionsToTask(Boolean scopeWhenExpressionsToTask) { - this.scopeWhenExpressionsToTask = scopeWhenExpressionsToTask; - } - @JsonProperty("SendCloudEventsForRuns") public Boolean getSendCloudEventsForRuns() { return sendCloudEventsForRuns; @@ -261,6 +355,16 @@ public void setSendCloudEventsForRuns(Boolean sendCloudEventsForRuns) { this.sendCloudEventsForRuns = sendCloudEventsForRuns; } + @JsonProperty("SetSecurityContext") + public Boolean getSetSecurityContext() { + return setSecurityContext; + } + + @JsonProperty("SetSecurityContext") + public void setSetSecurityContext(Boolean setSecurityContext) { + this.setSecurityContext = setSecurityContext; + } + @JsonProperty("VerificationNoMatchPolicy") public String getVerificationNoMatchPolicy() { return verificationNoMatchPolicy; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/result/RunResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/pipeline/pkg/result/RunResult.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/result/RunResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/pipeline/pkg/result/RunResult.java index e4277c7069b..ac73f7f5067 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/result/RunResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/pipeline/pkg/result/RunResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1beta1.internal.pipeline.pkg.result; +package io.fabric8.tekton.pipeline.pkg.result; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class RunResult implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/pod/AffinityAssistantTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/pod/AffinityAssistantTemplate.java new file mode 100644 index 00000000000..795abe72440 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/pod/AffinityAssistantTemplate.java @@ -0,0 +1,160 @@ + +package io.fabric8.tekton.pod; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodSecurityContext; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Toleration; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "imagePullSecrets", + "nodeSelector", + "securityContext", + "tolerations" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class AffinityAssistantTemplate implements Editable , KubernetesResource +{ + + @JsonProperty("imagePullSecrets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List imagePullSecrets = new ArrayList<>(); + @JsonProperty("nodeSelector") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map nodeSelector = new LinkedHashMap<>(); + @JsonProperty("securityContext") + private PodSecurityContext securityContext; + @JsonProperty("tolerations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List tolerations = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public AffinityAssistantTemplate() { + } + + public AffinityAssistantTemplate(List imagePullSecrets, Map nodeSelector, PodSecurityContext securityContext, List tolerations) { + super(); + this.imagePullSecrets = imagePullSecrets; + this.nodeSelector = nodeSelector; + this.securityContext = securityContext; + this.tolerations = tolerations; + } + + @JsonProperty("imagePullSecrets") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getImagePullSecrets() { + return imagePullSecrets; + } + + @JsonProperty("imagePullSecrets") + public void setImagePullSecrets(List imagePullSecrets) { + this.imagePullSecrets = imagePullSecrets; + } + + @JsonProperty("nodeSelector") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getNodeSelector() { + return nodeSelector; + } + + @JsonProperty("nodeSelector") + public void setNodeSelector(Map nodeSelector) { + this.nodeSelector = nodeSelector; + } + + @JsonProperty("securityContext") + public PodSecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(PodSecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("tolerations") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTolerations() { + return tolerations; + } + + @JsonProperty("tolerations") + public void setTolerations(List tolerations) { + this.tolerations = tolerations; + } + + @JsonIgnore + public AffinityAssistantTemplateBuilder edit() { + return new AffinityAssistantTemplateBuilder(this); + } + + @JsonIgnore + public AffinityAssistantTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/pipeline/pod/Template.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/pod/Template.java similarity index 80% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/pipeline/pod/Template.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/pod/Template.java index 692112ddc50..6de0f3995e8 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/v1/internal/pipeline/pkg/apis/pipeline/pod/Template.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/pod/Template.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod; +package io.fabric8.tekton.pod; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -16,11 +16,12 @@ import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Affinity; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HostAlias; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; @@ -30,7 +31,7 @@ import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.Toleration; import io.fabric8.kubernetes.api.model.TopologySpreadConstraint; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.Volume; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -72,12 +73,8 @@ @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Template implements Editable , KubernetesResource @@ -95,15 +92,15 @@ public class Template implements Editable , KubernetesResource private Boolean enableServiceLinks; @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); + private List env = new ArrayList<>(); @JsonProperty("hostAliases") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List hostAliases = new ArrayList<>(); @JsonProperty("hostNetwork") - private java.lang.Boolean hostNetwork; + private Boolean hostNetwork; @JsonProperty("imagePullSecrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List imagePullSecrets = new ArrayList<>(); + private List imagePullSecrets = new ArrayList<>(); @JsonProperty("nodeSelector") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map nodeSelector = new LinkedHashMap<>(); @@ -112,7 +109,7 @@ public class Template implements Editable , KubernetesResource @JsonProperty("runtimeClassName") private String runtimeClassName; @JsonProperty("schedulerName") - private java.lang.String schedulerName; + private String schedulerName; @JsonProperty("securityContext") private PodSecurityContext securityContext; @JsonProperty("tolerations") @@ -123,9 +120,9 @@ public class Template implements Editable , KubernetesResource private List topologySpreadConstraints = new ArrayList<>(); @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); + private List volumes = new ArrayList<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -134,7 +131,7 @@ public class Template implements Editable , KubernetesResource public Template() { } - public Template(Affinity affinity, Boolean automountServiceAccountToken, PodDNSConfig dnsConfig, String dnsPolicy, Boolean enableServiceLinks, List env, List hostAliases, java.lang.Boolean hostNetwork, List imagePullSecrets, Map nodeSelector, String priorityClassName, String runtimeClassName, java.lang.String schedulerName, PodSecurityContext securityContext, List tolerations, List topologySpreadConstraints, List volumes) { + public Template(Affinity affinity, Boolean automountServiceAccountToken, PodDNSConfig dnsConfig, String dnsPolicy, Boolean enableServiceLinks, List env, List hostAliases, Boolean hostNetwork, List imagePullSecrets, Map nodeSelector, String priorityClassName, String runtimeClassName, String schedulerName, PodSecurityContext securityContext, List tolerations, List topologySpreadConstraints, List volumes) { super(); this.affinity = affinity; this.automountServiceAccountToken = automountServiceAccountToken; @@ -207,12 +204,12 @@ public void setEnableServiceLinks(Boolean enableServiceLinks) { @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { + public List getEnv() { return env; } @JsonProperty("env") - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } @@ -228,23 +225,23 @@ public void setHostAliases(List hostAliases) { } @JsonProperty("hostNetwork") - public java.lang.Boolean getHostNetwork() { + public Boolean getHostNetwork() { return hostNetwork; } @JsonProperty("hostNetwork") - public void setHostNetwork(java.lang.Boolean hostNetwork) { + public void setHostNetwork(Boolean hostNetwork) { this.hostNetwork = hostNetwork; } @JsonProperty("imagePullSecrets") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getImagePullSecrets() { + public List getImagePullSecrets() { return imagePullSecrets; } @JsonProperty("imagePullSecrets") - public void setImagePullSecrets(List imagePullSecrets) { + public void setImagePullSecrets(List imagePullSecrets) { this.imagePullSecrets = imagePullSecrets; } @@ -280,12 +277,12 @@ public void setRuntimeClassName(String runtimeClassName) { } @JsonProperty("schedulerName") - public java.lang.String getSchedulerName() { + public String getSchedulerName() { return schedulerName; } @JsonProperty("schedulerName") - public void setSchedulerName(java.lang.String schedulerName) { + public void setSchedulerName(String schedulerName) { this.schedulerName = schedulerName; } @@ -323,12 +320,12 @@ public void setTopologySpreadConstraints(List topology @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { + public List getVolumes() { return volumes; } @JsonProperty("volumes") - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } @@ -343,16 +340,16 @@ public TemplateBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java similarity index 85% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java index 3a8db2d8375..103ad9572a7 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequest.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class ResolutionRequest implements Editable , H @JsonProperty("kind") private String kind = "ResolutionRequest"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private ResolutionRequestSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class ResolutionRequest implements Editable , H public ResolutionRequest() { } - public ResolutionRequest(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ResolutionRequestSpec spec, ResolutionRequestStatus status) { + public ResolutionRequest(String apiVersion, String kind, ObjectMeta metadata, ResolutionRequestSpec spec, ResolutionRequestStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java similarity index 93% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java index 89174c7312f..e544ec8aa14 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java similarity index 81% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java index 32fd101e1a2..2f8776f8a26 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestSpec.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ResolutionRequestSpec implements Editable , KubernetesResource @@ -66,7 +58,7 @@ public class ResolutionRequestSpec implements Editable params = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -102,16 +94,16 @@ public ResolutionRequestSpecBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java similarity index 82% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java index 771c34e4946..d7b8030b77f 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatus.java @@ -16,8 +16,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,9 +25,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.RefSource; +import io.fabric8.tekton.v1.RefSource; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -60,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ResolutionRequestStatus implements Editable , KubernetesResource @@ -77,13 +69,13 @@ public class ResolutionRequestStatus implements Editable conditions = new ArrayList<>(); @JsonProperty("data") - private java.lang.String data; + private String data; @JsonProperty("observedGeneration") private Long observedGeneration; @JsonProperty("refSource") private RefSource refSource; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -92,7 +84,7 @@ public class ResolutionRequestStatus implements Editable annotations, List conditions, java.lang.String data, Long observedGeneration, RefSource refSource) { + public ResolutionRequestStatus(Map annotations, List conditions, String data, Long observedGeneration, RefSource refSource) { super(); this.annotations = annotations; this.conditions = conditions; @@ -124,12 +116,12 @@ public void setConditions(List conditions) { } @JsonProperty("data") - public java.lang.String getData() { + public String getData() { return data; } @JsonProperty("data") - public void setData(java.lang.String data) { + public void setData(String data) { this.data = data; } @@ -164,16 +156,16 @@ public ResolutionRequestStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatusFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatusFields.java new file mode 100644 index 00000000000..3872233b72e --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1alpha1/ResolutionRequestStatusFields.java @@ -0,0 +1,123 @@ + +package io.fabric8.tekton.resolution.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.tekton.v1.RefSource; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "data", + "refSource" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ResolutionRequestStatusFields implements Editable , KubernetesResource +{ + + @JsonProperty("data") + private String data; + @JsonProperty("refSource") + private RefSource refSource; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ResolutionRequestStatusFields() { + } + + public ResolutionRequestStatusFields(String data, RefSource refSource) { + super(); + this.data = data; + this.refSource = refSource; + } + + @JsonProperty("data") + public String getData() { + return data; + } + + @JsonProperty("data") + public void setData(String data) { + this.data = data; + } + + @JsonProperty("refSource") + public RefSource getRefSource() { + return refSource; + } + + @JsonProperty("refSource") + public void setRefSource(RefSource refSource) { + this.refSource = refSource; + } + + @JsonIgnore + public ResolutionRequestStatusFieldsBuilder edit() { + return new ResolutionRequestStatusFieldsBuilder(this); + } + + @JsonIgnore + public ResolutionRequestStatusFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java similarity index 85% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java index c53a499776d..7b8630f8115 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequest.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class ResolutionRequest implements Editable , H @JsonProperty("kind") private String kind = "ResolutionRequest"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private ResolutionRequestSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class ResolutionRequest implements Editable , H public ResolutionRequest() { } - public ResolutionRequest(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ResolutionRequestSpec spec, ResolutionRequestStatus status) { + public ResolutionRequest(String apiVersion, String kind, ObjectMeta metadata, ResolutionRequestSpec spec, ResolutionRequestStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java similarity index 93% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java index 2a6bb9c8af3..e9012cf7a16 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java similarity index 87% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java index 425e42e570f..81b5843f705 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestSpec.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,9 +24,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.pipeline.v1beta1.Param; +import io.fabric8.tekton.v1.Param; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -38,7 +34,8 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "params" + "params", + "url" }) @ToString @EqualsAndHashCode @@ -55,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ResolutionRequestSpec implements Editable , KubernetesResource @@ -68,6 +61,8 @@ public class ResolutionRequestSpec implements Editable params = new ArrayList<>(); + @JsonProperty("url") + private String url; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -78,9 +73,10 @@ public class ResolutionRequestSpec implements Editable params) { + public ResolutionRequestSpec(List params, String url) { super(); this.params = params; + this.url = url; } @JsonProperty("params") @@ -94,6 +90,16 @@ public void setParams(List params) { this.params = params; } + @JsonProperty("url") + public String getUrl() { + return url; + } + + @JsonProperty("url") + public void setUrl(String url) { + this.url = url; + } + @JsonIgnore public ResolutionRequestSpecBuilder edit() { return new ResolutionRequestSpecBuilder(this); diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java similarity index 80% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java index 4c2545f492d..f845667aacb 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatus.java @@ -16,8 +16,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,10 +25,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.pipeline.v1beta1.ConfigSource; -import io.fabric8.tekton.pipeline.v1beta1.RefSource; +import io.fabric8.tekton.v1.RefSource; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -62,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ResolutionRequestStatus implements Editable , KubernetesResource @@ -79,15 +70,15 @@ public class ResolutionRequestStatus implements Editable conditions = new ArrayList<>(); @JsonProperty("data") - private java.lang.String data; + private String data; @JsonProperty("observedGeneration") private Long observedGeneration; @JsonProperty("refSource") private RefSource refSource; @JsonProperty("source") - private ConfigSource source; + private RefSource source; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -96,7 +87,7 @@ public class ResolutionRequestStatus implements Editable annotations, List conditions, java.lang.String data, Long observedGeneration, RefSource refSource, ConfigSource source) { + public ResolutionRequestStatus(Map annotations, List conditions, String data, Long observedGeneration, RefSource refSource, RefSource source) { super(); this.annotations = annotations; this.conditions = conditions; @@ -129,12 +120,12 @@ public void setConditions(List conditions) { } @JsonProperty("data") - public java.lang.String getData() { + public String getData() { return data; } @JsonProperty("data") - public void setData(java.lang.String data) { + public void setData(String data) { this.data = data; } @@ -159,12 +150,12 @@ public void setRefSource(RefSource refSource) { } @JsonProperty("source") - public ConfigSource getSource() { + public RefSource getSource() { return source; } @JsonProperty("source") - public void setSource(ConfigSource source) { + public void setSource(RefSource source) { this.source = source; } @@ -179,16 +170,16 @@ public ResolutionRequestStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatusFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatusFields.java new file mode 100644 index 00000000000..d48a2704310 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/resolution/v1beta1/ResolutionRequestStatusFields.java @@ -0,0 +1,137 @@ + +package io.fabric8.tekton.resolution.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.tekton.v1.RefSource; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "data", + "refSource", + "source" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ResolutionRequestStatusFields implements Editable , KubernetesResource +{ + + @JsonProperty("data") + private String data; + @JsonProperty("refSource") + private RefSource refSource; + @JsonProperty("source") + private RefSource source; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ResolutionRequestStatusFields() { + } + + public ResolutionRequestStatusFields(String data, RefSource refSource, RefSource source) { + super(); + this.data = data; + this.refSource = refSource; + this.source = source; + } + + @JsonProperty("data") + public String getData() { + return data; + } + + @JsonProperty("data") + public void setData(String data) { + this.data = data; + } + + @JsonProperty("refSource") + public RefSource getRefSource() { + return refSource; + } + + @JsonProperty("refSource") + public void setRefSource(RefSource refSource) { + this.refSource = refSource; + } + + @JsonProperty("source") + public RefSource getSource() { + return source; + } + + @JsonProperty("source") + public void setSource(RefSource source) { + this.source = source; + } + + @JsonIgnore + public ResolutionRequestStatusFieldsBuilder edit() { + return new ResolutionRequestStatusFieldsBuilder(this); + } + + @JsonIgnore + public ResolutionRequestStatusFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java similarity index 90% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java index 6c00b7e9b8b..3a74afac063 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/BitbucketInterceptor.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class BitbucketInterceptor implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java similarity index 90% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java index 44bc9e9f50b..d89e57e1fdd 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELInterceptor.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class CELInterceptor implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java similarity index 89% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java index a0dd21f92b4..4bfe83a5801 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/CELOverlay.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class CELOverlay implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java similarity index 88% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java index f0eb8689dfa..d275ee492d0 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClientConfig.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,18 +50,13 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ClientConfig implements Editable , KubernetesResource { @JsonProperty("caBundle") - @JsonInclude(JsonInclude.Include.NON_EMPTY) private String caBundle; @JsonProperty("service") private ServiceReference service; @@ -89,7 +80,6 @@ public ClientConfig(String caBundle, ServiceReference service, String url) { } @JsonProperty("caBundle") - @JsonInclude(JsonInclude.Include.NON_EMPTY) public String getCaBundle() { return caBundle; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java similarity index 85% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java index 07644aa0563..89fa6922da5 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptor.java @@ -13,18 +13,15 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class ClusterInterceptor implements Editable , @JsonProperty("kind") private String kind = "ClusterInterceptor"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private ClusterInterceptorSpec spec; @JsonProperty("status") @@ -104,7 +97,7 @@ public class ClusterInterceptor implements Editable , public ClusterInterceptor() { } - public ClusterInterceptor(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, ClusterInterceptorSpec spec, ClusterInterceptorStatus status) { + public ClusterInterceptor(String apiVersion, String kind, ObjectMeta metadata, ClusterInterceptorSpec spec, ClusterInterceptorStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -154,12 +147,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java similarity index 93% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java index 3e43b4aa3a1..6adba0a159d 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java similarity index 89% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java index 51e9dbc4e5d..b8da184fc32 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorSpec.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ClusterInterceptorSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java similarity index 82% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java index 5334ccf040c..36de6bdf70f 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterInterceptorStatus.java @@ -17,8 +17,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -40,6 +36,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "address", + "addresses", "annotations", "conditions", "observedGeneration" @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ClusterInterceptorStatus implements Editable , KubernetesResource @@ -71,6 +64,9 @@ public class ClusterInterceptorStatus implements Editable addresses = new ArrayList<>(); @JsonProperty("annotations") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotations = new LinkedHashMap<>(); @@ -80,7 +76,7 @@ public class ClusterInterceptorStatus implements Editable additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -89,9 +85,10 @@ public class ClusterInterceptorStatus implements Editable annotations, List conditions, Long observedGeneration) { + public ClusterInterceptorStatus(Addressable address, List addresses, Map annotations, List conditions, Long observedGeneration) { super(); this.address = address; + this.addresses = addresses; this.annotations = annotations; this.conditions = conditions; this.observedGeneration = observedGeneration; @@ -107,6 +104,17 @@ public void setAddress(Addressable address) { this.address = address; } + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAddresses() { + return addresses; + } + + @JsonProperty("addresses") + public void setAddresses(List addresses) { + this.addresses = addresses; + } + @JsonProperty("annotations") @JsonInclude(JsonInclude.Include.NON_EMPTY) public Map getAnnotations() { @@ -150,16 +158,16 @@ public ClusterInterceptorStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java similarity index 86% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java index 39dc89cbfe2..6b3c7f93292 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ClusterTriggerBinding.java @@ -13,18 +13,15 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class ClusterTriggerBinding implements Editable , KubernetesResource +{ + + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + @JsonIgnore + public CustomResourceBuilder edit() { + return new CustomResourceBuilder(this); + } + + @JsonIgnore + public CustomResourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java similarity index 85% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java index acd855fe4e0..5ddac330900 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListener.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class EventListener implements Editable , HasMetada @JsonProperty("kind") private String kind = "EventListener"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private EventListenerSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class EventListener implements Editable , HasMetada public EventListener() { } - public EventListener(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, EventListenerSpec spec, EventListenerStatus status) { + public EventListener(String apiVersion, String kind, ObjectMeta metadata, EventListenerSpec spec, EventListenerStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java similarity index 89% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java index c540d93e05d..e1b414ac80f 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerConfig.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerConfig implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java similarity index 93% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java index 1f58ca1e2a8..32ec785a651 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java similarity index 84% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java index 3f3e0725440..9c134636208 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerSpec.java @@ -15,18 +15,15 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -50,25 +47,21 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), + @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerSpec implements Editable , KubernetesResource { @JsonProperty("labelSelector") - private io.fabric8.kubernetes.api.model.LabelSelector labelSelector; + private LabelSelector labelSelector; @JsonProperty("namespaceSelector") private NamespaceSelector namespaceSelector; @JsonProperty("resources") @@ -88,7 +81,7 @@ public class EventListenerSpec implements Editable , K public EventListenerSpec() { } - public EventListenerSpec(io.fabric8.kubernetes.api.model.LabelSelector labelSelector, NamespaceSelector namespaceSelector, Resources resources, String serviceAccountName, List triggers) { + public EventListenerSpec(LabelSelector labelSelector, NamespaceSelector namespaceSelector, Resources resources, String serviceAccountName, List triggers) { super(); this.labelSelector = labelSelector; this.namespaceSelector = namespaceSelector; @@ -98,12 +91,12 @@ public EventListenerSpec(io.fabric8.kubernetes.api.model.LabelSelector labelSele } @JsonProperty("labelSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getLabelSelector() { + public LabelSelector getLabelSelector() { return labelSelector; } @JsonProperty("labelSelector") - public void setLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector labelSelector) { + public void setLabelSelector(LabelSelector labelSelector) { this.labelSelector = labelSelector; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java similarity index 83% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java index 6be3e67e78f..e6440e016d3 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerStatus.java @@ -17,8 +17,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -40,6 +36,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "address", + "addresses", "annotations", "conditions", "configuration", @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerStatus implements Editable , KubernetesResource @@ -72,6 +65,9 @@ public class EventListenerStatus implements Editable @JsonProperty("address") private Addressable address; + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List addresses = new ArrayList<>(); @JsonProperty("annotations") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotations = new LinkedHashMap<>(); @@ -83,7 +79,7 @@ public class EventListenerStatus implements Editable @JsonProperty("observedGeneration") private Long observedGeneration; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -92,9 +88,10 @@ public class EventListenerStatus implements Editable public EventListenerStatus() { } - public EventListenerStatus(Addressable address, Map annotations, List conditions, EventListenerConfig configuration, Long observedGeneration) { + public EventListenerStatus(Addressable address, List addresses, Map annotations, List conditions, EventListenerConfig configuration, Long observedGeneration) { super(); this.address = address; + this.addresses = addresses; this.annotations = annotations; this.conditions = conditions; this.configuration = configuration; @@ -111,6 +108,17 @@ public void setAddress(Addressable address) { this.address = address; } + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAddresses() { + return addresses; + } + + @JsonProperty("addresses") + public void setAddresses(List addresses) { + this.addresses = addresses; + } + @JsonProperty("annotations") @JsonInclude(JsonInclude.Include.NON_EMPTY) public Map getAnnotations() { @@ -164,16 +172,16 @@ public EventListenerStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java similarity index 93% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java index 0a30724363c..4e8572d0a09 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/EventListenerTrigger.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -59,11 +55,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerTrigger implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java similarity index 90% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java index e7c4947091b..3ccd9073ab8 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitHubInterceptor.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class GitHubInterceptor implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java similarity index 90% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java index 34d4ff82f5d..ddc142ba8dd 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/GitLabInterceptor.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class GitLabInterceptor implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java similarity index 85% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java index 92358d2a60d..91eec5d1067 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Interceptor.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class Interceptor implements Editable , HasMetadata, @JsonProperty("kind") private String kind = "Interceptor"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private InterceptorSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class Interceptor implements Editable , HasMetadata, public Interceptor() { } - public Interceptor(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, InterceptorSpec spec, InterceptorStatus status) { + public Interceptor(String apiVersion, String kind, ObjectMeta metadata, InterceptorSpec spec, InterceptorStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java similarity index 93% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java index 658525ebd7d..e47b7515759 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java similarity index 86% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java index a35e040837b..f12247b8b99 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorParams.java @@ -10,11 +10,10 @@ import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +23,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class InterceptorParams implements Editable , KubernetesResource @@ -66,7 +59,7 @@ public class InterceptorParams implements Editable , K @JsonProperty("name") private String name; @JsonProperty("value") - private Object value; + private JsonNode value; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -77,7 +70,7 @@ public class InterceptorParams implements Editable , K public InterceptorParams() { } - public InterceptorParams(String name, Object value) { + public InterceptorParams(String name, JsonNode value) { super(); this.name = name; this.value = value; @@ -94,12 +87,12 @@ public void setName(String name) { } @JsonProperty("value") - public Object getValue() { + public JsonNode getValue() { return value; } @JsonProperty("value") - public void setValue(Object value) { + public void setValue(JsonNode value) { this.value = value; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java similarity index 90% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java index e2e56cdb47f..af281941867 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRef.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class InterceptorRef implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRequest.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRequest.java new file mode 100644 index 00000000000..066de2938fd --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorRequest.java @@ -0,0 +1,175 @@ + +package io.fabric8.tekton.triggers.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "body", + "context", + "extensions", + "header", + "interceptor_params" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class InterceptorRequest implements Editable , KubernetesResource +{ + + @JsonProperty("body") + private String body; + @JsonProperty("context") + private TriggerContext context; + @JsonProperty("extensions") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map extensions = new LinkedHashMap<>(); + @JsonProperty("header") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map> header = new LinkedHashMap<>(); + @JsonProperty("interceptor_params") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map interceptor_params = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public InterceptorRequest() { + } + + public InterceptorRequest(String body, TriggerContext context, Map extensions, Map> header, Map interceptor_params) { + super(); + this.body = body; + this.context = context; + this.extensions = extensions; + this.header = header; + this.interceptor_params = interceptor_params; + } + + @JsonProperty("body") + public String getBody() { + return body; + } + + @JsonProperty("body") + public void setBody(String body) { + this.body = body; + } + + @JsonProperty("context") + public TriggerContext getContext() { + return context; + } + + @JsonProperty("context") + public void setContext(TriggerContext context) { + this.context = context; + } + + @JsonProperty("extensions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getExtensions() { + return extensions; + } + + @JsonProperty("extensions") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setExtensions(Map extensions) { + this.extensions = extensions; + } + + @JsonProperty("header") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map> getHeader() { + return header; + } + + @JsonProperty("header") + public void setHeader(Map> header) { + this.header = header; + } + + @JsonProperty("interceptor_params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getInterceptor_params() { + return interceptor_params; + } + + @JsonProperty("interceptor_params") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setInterceptor_params(Map interceptor_params) { + this.interceptor_params = interceptor_params; + } + + @JsonIgnore + public InterceptorRequestBuilder edit() { + return new InterceptorRequestBuilder(this); + } + + @JsonIgnore + public InterceptorRequestBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorResponse.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorResponse.java new file mode 100644 index 00000000000..1b5bdaababe --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorResponse.java @@ -0,0 +1,140 @@ + +package io.fabric8.tekton.triggers.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "continue", + "extensions", + "status" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class InterceptorResponse implements Editable , KubernetesResource +{ + + @JsonProperty("continue") + private Boolean _continue; + @JsonProperty("extensions") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map extensions = new LinkedHashMap<>(); + @JsonProperty("status") + private Status status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public InterceptorResponse() { + } + + public InterceptorResponse(Boolean _continue, Map extensions, Status status) { + super(); + this._continue = _continue; + this.extensions = extensions; + this.status = status; + } + + @JsonProperty("continue") + public Boolean getContinue() { + return _continue; + } + + @JsonProperty("continue") + public void setContinue(Boolean _continue) { + this._continue = _continue; + } + + @JsonProperty("extensions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getExtensions() { + return extensions; + } + + @JsonProperty("extensions") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setExtensions(Map extensions) { + this.extensions = extensions; + } + + @JsonProperty("status") + public Status getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(Status status) { + this.status = status; + } + + @JsonIgnore + public InterceptorResponseBuilder edit() { + return new InterceptorResponseBuilder(this); + } + + @JsonIgnore + public InterceptorResponseBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java similarity index 89% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java index ef1d4b05f9b..ae7d0e66020 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorSpec.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class InterceptorSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java similarity index 82% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java index feb509ddc6e..71b154281d5 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/InterceptorStatus.java @@ -17,8 +17,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -40,6 +36,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "address", + "addresses", "annotations", "conditions", "observedGeneration" @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class InterceptorStatus implements Editable , KubernetesResource @@ -71,6 +64,9 @@ public class InterceptorStatus implements Editable , K @JsonProperty("address") private Addressable address; + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List addresses = new ArrayList<>(); @JsonProperty("annotations") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotations = new LinkedHashMap<>(); @@ -80,7 +76,7 @@ public class InterceptorStatus implements Editable , K @JsonProperty("observedGeneration") private Long observedGeneration; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -89,9 +85,10 @@ public class InterceptorStatus implements Editable , K public InterceptorStatus() { } - public InterceptorStatus(Addressable address, Map annotations, List conditions, Long observedGeneration) { + public InterceptorStatus(Addressable address, List addresses, Map annotations, List conditions, Long observedGeneration) { super(); this.address = address; + this.addresses = addresses; this.annotations = annotations; this.conditions = conditions; this.observedGeneration = observedGeneration; @@ -107,6 +104,17 @@ public void setAddress(Addressable address) { this.address = address; } + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAddresses() { + return addresses; + } + + @JsonProperty("addresses") + public void setAddresses(List addresses) { + this.addresses = addresses; + } + @JsonProperty("annotations") @JsonInclude(JsonInclude.Include.NON_EMPTY) public Map getAnnotations() { @@ -150,16 +158,16 @@ public InterceptorStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java similarity index 90% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java index 61c1dfc3b5b..d1d86bb7960 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/KubernetesResource.java @@ -14,8 +14,6 @@ import io.fabric8.knative.duck.v1.WithPodSpec; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class KubernetesResource implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java similarity index 89% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java index 00eca435d8c..eebba01ddac 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/NamespaceSelector.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class NamespaceSelector implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java similarity index 89% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java index fbe0950fe33..f8720b3e0c2 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Param.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Param implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java similarity index 75% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java index 406a809d019..8e0219af796 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ParamSpec.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ParamSpec implements Editable , KubernetesResource @@ -67,11 +59,11 @@ public class ParamSpec implements Editable , KubernetesResourc @JsonProperty("default") private String _default; @JsonProperty("description") - private java.lang.String description; + private String description; @JsonProperty("name") - private java.lang.String name; + private String name; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -80,7 +72,7 @@ public class ParamSpec implements Editable , KubernetesResourc public ParamSpec() { } - public ParamSpec(String _default, java.lang.String description, java.lang.String name) { + public ParamSpec(String _default, String description, String name) { super(); this._default = _default; this.description = description; @@ -98,22 +90,22 @@ public void setDefault(String _default) { } @JsonProperty("description") - public java.lang.String getDescription() { + public String getDescription() { return description; } @JsonProperty("description") - public void setDescription(java.lang.String description) { + public void setDescription(String description) { this.description = description; } @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @@ -128,16 +120,16 @@ public ParamSpecBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java similarity index 82% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java index 170ab2b1fa0..570f696a815 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Resources.java @@ -13,11 +13,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; -import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -25,8 +23,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.api.model.runtime.RawExtension; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; @@ -57,18 +53,14 @@ @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class), @BuildableReference(GenericKubernetesResource.class), - @BuildableReference(RawExtension.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class Resources implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource +public class Resources implements Editable , KubernetesResource { @JsonProperty("customResource") - private HasMetadata customResource; + private CustomResource customResource; @JsonProperty("kubernetesResource") private io.fabric8.tekton.triggers.v1alpha1.KubernetesResource kubernetesResource; @JsonIgnore @@ -81,19 +73,19 @@ public class Resources implements Editable , io.fabric8.kubern public Resources() { } - public Resources(HasMetadata customResource, io.fabric8.tekton.triggers.v1alpha1.KubernetesResource kubernetesResource) { + public Resources(CustomResource customResource, io.fabric8.tekton.triggers.v1alpha1.KubernetesResource kubernetesResource) { super(); this.customResource = customResource; this.kubernetesResource = kubernetesResource; } @JsonProperty("customResource") - public HasMetadata getCustomResource() { + public CustomResource getCustomResource() { return customResource; } @JsonProperty("customResource") - public void setCustomResource(HasMetadata customResource) { + public void setCustomResource(CustomResource customResource) { this.customResource = customResource; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java similarity index 90% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java index 5f662a2c707..df648c44aff 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/SecretRef.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class SecretRef implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java similarity index 91% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java index 35283984b2c..efb360e01e1 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/ServiceReference.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ServiceReference implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Status.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Status.java new file mode 100644 index 00000000000..18672a4505b --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Status.java @@ -0,0 +1,122 @@ + +package io.fabric8.tekton.triggers.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "code", + "message" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Status implements Editable , KubernetesResource +{ + + @JsonProperty("code") + private Long code; + @JsonProperty("message") + private String message; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Status() { + } + + public Status(Long code, String message) { + super(); + this.code = code; + this.message = message; + } + + @JsonProperty("code") + public Long getCode() { + return code; + } + + @JsonProperty("code") + public void setCode(Long code) { + this.code = code; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonIgnore + public StatusBuilder edit() { + return new StatusBuilder(this); + } + + @JsonIgnore + public StatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/StatusError.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/StatusError.java new file mode 100644 index 00000000000..dbce0275713 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/StatusError.java @@ -0,0 +1,108 @@ + +package io.fabric8.tekton.triggers.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "s" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class StatusError implements Editable , KubernetesResource +{ + + @JsonProperty("s") + private Status s; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StatusError() { + } + + public StatusError(Status s) { + super(); + this.s = s; + } + + @JsonProperty("s") + public Status getS() { + return s; + } + + @JsonProperty("s") + public void setS(Status s) { + this.s = s; + } + + @JsonIgnore + public StatusErrorBuilder edit() { + return new StatusErrorBuilder(this); + } + + @JsonIgnore + public StatusErrorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java similarity index 85% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java index 5fc0f406c19..a6eba6891e9 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/Trigger.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class Trigger implements Editable , HasMetadata, Namespac @JsonProperty("kind") private String kind = "Trigger"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TriggerSpec spec; @JsonIgnore @@ -102,7 +95,7 @@ public class Trigger implements Editable , HasMetadata, Namespac public Trigger() { } - public Trigger(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TriggerSpec spec) { + public Trigger(String apiVersion, String kind, ObjectMeta metadata, TriggerSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -151,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java similarity index 85% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java index efb69d103bf..67832a85605 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBinding.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class TriggerBinding implements Editable , HasMeta @JsonProperty("kind") private String kind = "TriggerBinding"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TriggerBindingSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class TriggerBinding implements Editable , HasMeta public TriggerBinding() { } - public TriggerBinding(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TriggerBindingSpec spec, TriggerBindingStatus status) { + public TriggerBinding(String apiVersion, String kind, ObjectMeta metadata, TriggerBindingSpec spec, TriggerBindingStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java similarity index 93% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java index 503af322eaa..4a3f4db8ffa 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java similarity index 89% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java index 305d72a05a4..cb0ca49d615 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingSpec.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerBindingSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java similarity index 87% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java index 16df4521200..ac015fdf344 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerBindingStatus.java @@ -12,8 +12,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -23,8 +21,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -51,11 +47,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerBindingStatus implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerContext.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerContext.java new file mode 100644 index 00000000000..fab7bf50356 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerContext.java @@ -0,0 +1,136 @@ + +package io.fabric8.tekton.triggers.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "event_id", + "event_url", + "trigger_id" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TriggerContext implements Editable , KubernetesResource +{ + + @JsonProperty("event_id") + private String event_id; + @JsonProperty("event_url") + private String event_url; + @JsonProperty("trigger_id") + private String trigger_id; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TriggerContext() { + } + + public TriggerContext(String event_id, String event_url, String trigger_id) { + super(); + this.event_id = event_id; + this.event_url = event_url; + this.trigger_id = trigger_id; + } + + @JsonProperty("event_id") + public String getEvent_id() { + return event_id; + } + + @JsonProperty("event_id") + public void setEvent_id(String event_id) { + this.event_id = event_id; + } + + @JsonProperty("event_url") + public String getEvent_url() { + return event_url; + } + + @JsonProperty("event_url") + public void setEvent_url(String event_url) { + this.event_url = event_url; + } + + @JsonProperty("trigger_id") + public String getTrigger_id() { + return trigger_id; + } + + @JsonProperty("trigger_id") + public void setTrigger_id(String trigger_id) { + this.trigger_id = trigger_id; + } + + @JsonIgnore + public TriggerContextBuilder edit() { + return new TriggerContextBuilder(this); + } + + @JsonIgnore + public TriggerContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java similarity index 88% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java index 2f9877ab7e9..2403df93a07 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerInterceptor.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -61,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerInterceptor implements Editable , KubernetesResource @@ -89,7 +81,7 @@ public class TriggerInterceptor implements Editable , @JsonProperty("webhook") private WebhookInterceptor webhook; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -202,16 +194,16 @@ public TriggerInterceptorBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java similarity index 93% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java index 9d763a617af..56960a058e5 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerResourceTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerResourceTemplate.java new file mode 100644 index 00000000000..9f2c9947a82 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerResourceTemplate.java @@ -0,0 +1,83 @@ + +package io.fabric8.tekton.triggers.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TriggerResourceTemplate implements Editable , KubernetesResource +{ + + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + @JsonIgnore + public TriggerResourceTemplateBuilder edit() { + return new TriggerResourceTemplateBuilder(this); + } + + @JsonIgnore + public TriggerResourceTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java similarity index 92% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java index 5631644275c..4c44d648380 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpec.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -58,11 +54,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java similarity index 73% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java index 5771450ee4b..0014b82cf3a 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecBinding.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,28 +52,24 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerSpecBinding implements Editable , KubernetesResource { @JsonProperty("apiversion") - private java.lang.String apiversion; + private String apiversion; @JsonProperty("kind") - private java.lang.String kind; + private String kind; @JsonProperty("name") - private java.lang.String name; + private String name; @JsonProperty("ref") - private java.lang.String ref; + private String ref; @JsonProperty("value") private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -86,7 +78,7 @@ public class TriggerSpecBinding implements Editable , public TriggerSpecBinding() { } - public TriggerSpecBinding(java.lang.String apiversion, java.lang.String kind, java.lang.String name, java.lang.String ref, String value) { + public TriggerSpecBinding(String apiversion, String kind, String name, String ref, String value) { super(); this.apiversion = apiversion; this.kind = kind; @@ -96,42 +88,42 @@ public TriggerSpecBinding(java.lang.String apiversion, java.lang.String kind, ja } @JsonProperty("apiversion") - public java.lang.String getApiversion() { + public String getApiversion() { return apiversion; } @JsonProperty("apiversion") - public void setApiversion(java.lang.String apiversion) { + public void setApiversion(String apiversion) { this.apiversion = apiversion; } @JsonProperty("kind") - public java.lang.String getKind() { + public String getKind() { return kind; } @JsonProperty("kind") - public void setKind(java.lang.String kind) { + public void setKind(String kind) { this.kind = kind; } @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @JsonProperty("ref") - public java.lang.String getRef() { + public String getRef() { return ref; } @JsonProperty("ref") - public void setRef(java.lang.String ref) { + public void setRef(String ref) { this.ref = ref; } @@ -156,16 +148,16 @@ public TriggerSpecBindingBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java similarity index 78% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java index fd13ea5a68f..030b6dae0db 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerSpecTemplate.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,24 +50,20 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerSpecTemplate implements Editable , KubernetesResource { @JsonProperty("apiversion") - private java.lang.String apiversion; + private String apiversion; @JsonProperty("ref") private String ref; @JsonProperty("spec") private TriggerTemplateSpec spec; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -80,7 +72,7 @@ public class TriggerSpecTemplate implements Editable public TriggerSpecTemplate() { } - public TriggerSpecTemplate(java.lang.String apiversion, String ref, TriggerTemplateSpec spec) { + public TriggerSpecTemplate(String apiversion, String ref, TriggerTemplateSpec spec) { super(); this.apiversion = apiversion; this.ref = ref; @@ -88,12 +80,12 @@ public TriggerSpecTemplate(java.lang.String apiversion, String ref, TriggerTempl } @JsonProperty("apiversion") - public java.lang.String getApiversion() { + public String getApiversion() { return apiversion; } @JsonProperty("apiversion") - public void setApiversion(java.lang.String apiversion) { + public void setApiversion(String apiversion) { this.apiversion = apiversion; } @@ -128,16 +120,16 @@ public TriggerSpecTemplateBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java similarity index 85% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java index def4beef835..285a8e10a6e 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplate.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class TriggerTemplate implements Editable , HasMe @JsonProperty("kind") private String kind = "TriggerTemplate"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TriggerTemplateSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class TriggerTemplate implements Editable , HasMe public TriggerTemplate() { } - public TriggerTemplate(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TriggerTemplateSpec spec, TriggerTemplateStatus status) { + public TriggerTemplate(String apiVersion, String kind, ObjectMeta metadata, TriggerTemplateSpec spec, TriggerTemplateStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java similarity index 93% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java index c6553872beb..b38688f52ab 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java similarity index 80% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java index a36e00722d1..a77aa2c3813 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateSpec.java @@ -15,10 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.GenericKubernetesResource; -import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -28,9 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.kubernetes.api.model.runtime.RawExtension; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -58,13 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(GenericKubernetesResource.class), - @BuildableReference(RawExtension.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerTemplateSpec implements Editable , KubernetesResource @@ -75,7 +62,7 @@ public class TriggerTemplateSpec implements Editable private List params = new ArrayList<>(); @JsonProperty("resourcetemplates") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List resourcetemplates = new ArrayList<>(); + private List resourcetemplates = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -86,7 +73,7 @@ public class TriggerTemplateSpec implements Editable public TriggerTemplateSpec() { } - public TriggerTemplateSpec(List params, List resourcetemplates) { + public TriggerTemplateSpec(List params, List resourcetemplates) { super(); this.params = params; this.resourcetemplates = resourcetemplates; @@ -105,12 +92,12 @@ public void setParams(List params) { @JsonProperty("resourcetemplates") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getResourcetemplates() { + public List getResourcetemplates() { return resourcetemplates; } @JsonProperty("resourcetemplates") - public void setResourcetemplates(List resourcetemplates) { + public void setResourcetemplates(List resourcetemplates) { this.resourcetemplates = resourcetemplates; } diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java similarity index 87% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java index 1f429f92b12..c9e37f00874 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/TriggerTemplateStatus.java @@ -12,8 +12,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -23,8 +21,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -51,11 +47,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerTemplateStatus implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java similarity index 81% rename from extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java index 4772c66d373..1d798646d78 100644 --- a/extensions/tekton/model-triggers-v1alpha1/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1alpha1/WebhookInterceptor.java @@ -15,19 +15,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.pipeline.v1beta1.Param; +import io.fabric8.tekton.v1beta1.Param; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,13 +51,9 @@ @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectReference.class), + @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WebhookInterceptor implements Editable , KubernetesResource @@ -70,7 +63,7 @@ public class WebhookInterceptor implements Editable , @JsonInclude(JsonInclude.Include.NON_EMPTY) private List header = new ArrayList<>(); @JsonProperty("objectRef") - private io.fabric8.kubernetes.api.model.ObjectReference objectRef; + private ObjectReference objectRef; @JsonProperty("url") private String url; @JsonIgnore @@ -83,7 +76,7 @@ public class WebhookInterceptor implements Editable , public WebhookInterceptor() { } - public WebhookInterceptor(List header, io.fabric8.kubernetes.api.model.ObjectReference objectRef, String url) { + public WebhookInterceptor(List header, ObjectReference objectRef, String url) { super(); this.header = header; this.objectRef = objectRef; @@ -102,12 +95,12 @@ public void setHeader(List header) { } @JsonProperty("objectRef") - public io.fabric8.kubernetes.api.model.ObjectReference getObjectRef() { + public ObjectReference getObjectRef() { return objectRef; } @JsonProperty("objectRef") - public void setObjectRef(io.fabric8.kubernetes.api.model.ObjectReference objectRef) { + public void setObjectRef(ObjectReference objectRef) { this.objectRef = objectRef; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java similarity index 86% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java index 29d02b32f43..510fb3c9ad4 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ClusterTriggerBinding.java @@ -13,18 +13,15 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class ClusterTriggerBinding implements Editable , KubernetesResource +{ + + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + @JsonIgnore + public CustomResourceBuilder edit() { + return new CustomResourceBuilder(this); + } + + @JsonIgnore + public CustomResourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java similarity index 85% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java index 41dc37e6919..cc413372513 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListener.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class EventListener implements Editable , HasMetada @JsonProperty("kind") private String kind = "EventListener"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private EventListenerSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class EventListener implements Editable , HasMetada public EventListener() { } - public EventListener(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, EventListenerSpec spec, EventListenerStatus status) { + public EventListener(String apiVersion, String kind, ObjectMeta metadata, EventListenerSpec spec, EventListenerStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java similarity index 89% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java index 000642b0918..7f0c3ff2aa9 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerConfig.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerConfig implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java similarity index 93% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java index 945280ea00c..e6ecdb4f91e 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java similarity index 85% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java index 9e8332c2b88..560fe3da634 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerSpec.java @@ -15,18 +15,15 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,18 +49,14 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), + @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerSpec implements Editable , KubernetesResource @@ -72,7 +65,7 @@ public class EventListenerSpec implements Editable , K @JsonProperty("cloudEventURI") private String cloudEventURI; @JsonProperty("labelSelector") - private io.fabric8.kubernetes.api.model.LabelSelector labelSelector; + private LabelSelector labelSelector; @JsonProperty("namespaceSelector") private NamespaceSelector namespaceSelector; @JsonProperty("resources") @@ -95,7 +88,7 @@ public class EventListenerSpec implements Editable , K public EventListenerSpec() { } - public EventListenerSpec(String cloudEventURI, io.fabric8.kubernetes.api.model.LabelSelector labelSelector, NamespaceSelector namespaceSelector, Resources resources, String serviceAccountName, List triggerGroups, List triggers) { + public EventListenerSpec(String cloudEventURI, LabelSelector labelSelector, NamespaceSelector namespaceSelector, Resources resources, String serviceAccountName, List triggerGroups, List triggers) { super(); this.cloudEventURI = cloudEventURI; this.labelSelector = labelSelector; @@ -117,12 +110,12 @@ public void setCloudEventURI(String cloudEventURI) { } @JsonProperty("labelSelector") - public io.fabric8.kubernetes.api.model.LabelSelector getLabelSelector() { + public LabelSelector getLabelSelector() { return labelSelector; } @JsonProperty("labelSelector") - public void setLabelSelector(io.fabric8.kubernetes.api.model.LabelSelector labelSelector) { + public void setLabelSelector(LabelSelector labelSelector) { this.labelSelector = labelSelector; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java similarity index 83% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java index 30d67045d8d..525dfc27a20 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerStatus.java @@ -17,8 +17,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -40,6 +36,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "address", + "addresses", "annotations", "conditions", "configuration", @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerStatus implements Editable , KubernetesResource @@ -72,6 +65,9 @@ public class EventListenerStatus implements Editable @JsonProperty("address") private Addressable address; + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List addresses = new ArrayList<>(); @JsonProperty("annotations") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotations = new LinkedHashMap<>(); @@ -83,7 +79,7 @@ public class EventListenerStatus implements Editable @JsonProperty("observedGeneration") private Long observedGeneration; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -92,9 +88,10 @@ public class EventListenerStatus implements Editable public EventListenerStatus() { } - public EventListenerStatus(Addressable address, Map annotations, List conditions, EventListenerConfig configuration, Long observedGeneration) { + public EventListenerStatus(Addressable address, List addresses, Map annotations, List conditions, EventListenerConfig configuration, Long observedGeneration) { super(); this.address = address; + this.addresses = addresses; this.annotations = annotations; this.conditions = conditions; this.configuration = configuration; @@ -111,6 +108,17 @@ public void setAddress(Addressable address) { this.address = address; } + @JsonProperty("addresses") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getAddresses() { + return addresses; + } + + @JsonProperty("addresses") + public void setAddresses(List addresses) { + this.addresses = addresses; + } + @JsonProperty("annotations") @JsonInclude(JsonInclude.Include.NON_EMPTY) public Map getAnnotations() { @@ -164,16 +172,16 @@ public EventListenerStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java similarity index 93% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java index 5204b4be745..eabaebcc456 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTrigger.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -59,11 +55,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerTrigger implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java similarity index 91% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java index 4763ca63e37..d0905e886c6 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerGroup.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerTriggerGroup implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java similarity index 81% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java index 83f52fc0e52..1ccf3c3132b 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/EventListenerTriggerSelector.java @@ -13,18 +13,15 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -45,25 +42,21 @@ }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { @BuildableReference(ObjectMeta.class), - @BuildableReference(io.fabric8.kubernetes.api.model.LabelSelector.class), + @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EventListenerTriggerSelector implements Editable , KubernetesResource { @JsonProperty("labelSelector") - private io.fabric8.kubernetes.api.model.LabelSelector labelSelector; + private LabelSelector labelSelector; @JsonProperty("namespaceSelector") private NamespaceSelector namespaceSelector; @JsonIgnore @@ -76,19 +69,19 @@ public class EventListenerTriggerSelector implements Editable , KubernetesResource @@ -66,7 +59,7 @@ public class InterceptorParams implements Editable , K @JsonProperty("name") private String name; @JsonProperty("value") - private Object value; + private JsonNode value; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -77,7 +70,7 @@ public class InterceptorParams implements Editable , K public InterceptorParams() { } - public InterceptorParams(String name, Object value) { + public InterceptorParams(String name, JsonNode value) { super(); this.name = name; this.value = value; @@ -94,12 +87,12 @@ public void setName(String name) { } @JsonProperty("value") - public Object getValue() { + public JsonNode getValue() { return value; } @JsonProperty("value") - public void setValue(Object value) { + public void setValue(JsonNode value) { this.value = value; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java similarity index 90% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java index 7ad81fe3498..81eab14f5d0 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRef.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class InterceptorRef implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRequest.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRequest.java new file mode 100644 index 00000000000..3d5f222b11f --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorRequest.java @@ -0,0 +1,175 @@ + +package io.fabric8.tekton.triggers.v1beta1; + +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "body", + "context", + "extensions", + "header", + "interceptor_params" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class InterceptorRequest implements Editable , KubernetesResource +{ + + @JsonProperty("body") + private String body; + @JsonProperty("context") + private TriggerContext context; + @JsonProperty("extensions") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map extensions = new LinkedHashMap<>(); + @JsonProperty("header") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map> header = new LinkedHashMap<>(); + @JsonProperty("interceptor_params") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map interceptor_params = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public InterceptorRequest() { + } + + public InterceptorRequest(String body, TriggerContext context, Map extensions, Map> header, Map interceptor_params) { + super(); + this.body = body; + this.context = context; + this.extensions = extensions; + this.header = header; + this.interceptor_params = interceptor_params; + } + + @JsonProperty("body") + public String getBody() { + return body; + } + + @JsonProperty("body") + public void setBody(String body) { + this.body = body; + } + + @JsonProperty("context") + public TriggerContext getContext() { + return context; + } + + @JsonProperty("context") + public void setContext(TriggerContext context) { + this.context = context; + } + + @JsonProperty("extensions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getExtensions() { + return extensions; + } + + @JsonProperty("extensions") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setExtensions(Map extensions) { + this.extensions = extensions; + } + + @JsonProperty("header") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map> getHeader() { + return header; + } + + @JsonProperty("header") + public void setHeader(Map> header) { + this.header = header; + } + + @JsonProperty("interceptor_params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getInterceptor_params() { + return interceptor_params; + } + + @JsonProperty("interceptor_params") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setInterceptor_params(Map interceptor_params) { + this.interceptor_params = interceptor_params; + } + + @JsonIgnore + public InterceptorRequestBuilder edit() { + return new InterceptorRequestBuilder(this); + } + + @JsonIgnore + public InterceptorRequestBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorResponse.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorResponse.java new file mode 100644 index 00000000000..8751fb24e3e --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/InterceptorResponse.java @@ -0,0 +1,140 @@ + +package io.fabric8.tekton.triggers.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "continue", + "extensions", + "status" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class InterceptorResponse implements Editable , KubernetesResource +{ + + @JsonProperty("continue") + private Boolean _continue; + @JsonProperty("extensions") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map extensions = new LinkedHashMap<>(); + @JsonProperty("status") + private Status status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public InterceptorResponse() { + } + + public InterceptorResponse(Boolean _continue, Map extensions, Status status) { + super(); + this._continue = _continue; + this.extensions = extensions; + this.status = status; + } + + @JsonProperty("continue") + public Boolean getContinue() { + return _continue; + } + + @JsonProperty("continue") + public void setContinue(Boolean _continue) { + this._continue = _continue; + } + + @JsonProperty("extensions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getExtensions() { + return extensions; + } + + @JsonProperty("extensions") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializerForMap.class) + public void setExtensions(Map extensions) { + this.extensions = extensions; + } + + @JsonProperty("status") + public Status getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(Status status) { + this.status = status; + } + + @JsonIgnore + public InterceptorResponseBuilder edit() { + return new InterceptorResponseBuilder(this); + } + + @JsonIgnore + public InterceptorResponseBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java similarity index 86% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java index 42446f3d435..39a86301717 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/KubernetesResource.java @@ -14,8 +14,6 @@ import io.fabric8.knative.duck.v1.WithPodSpec; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -36,6 +32,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "replicas", + "serviceLoadBalancerClass", "servicePort", "serviceType", "spec" @@ -55,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class KubernetesResource implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource @@ -67,6 +60,8 @@ public class KubernetesResource implements Editable , @JsonProperty("replicas") private Integer replicas; + @JsonProperty("serviceLoadBalancerClass") + private String serviceLoadBalancerClass; @JsonProperty("servicePort") private Integer servicePort; @JsonProperty("serviceType") @@ -83,9 +78,10 @@ public class KubernetesResource implements Editable , public KubernetesResource() { } - public KubernetesResource(Integer replicas, Integer servicePort, String serviceType, WithPodSpec spec) { + public KubernetesResource(Integer replicas, String serviceLoadBalancerClass, Integer servicePort, String serviceType, WithPodSpec spec) { super(); this.replicas = replicas; + this.serviceLoadBalancerClass = serviceLoadBalancerClass; this.servicePort = servicePort; this.serviceType = serviceType; this.spec = spec; @@ -101,6 +97,16 @@ public void setReplicas(Integer replicas) { this.replicas = replicas; } + @JsonProperty("serviceLoadBalancerClass") + public String getServiceLoadBalancerClass() { + return serviceLoadBalancerClass; + } + + @JsonProperty("serviceLoadBalancerClass") + public void setServiceLoadBalancerClass(String serviceLoadBalancerClass) { + this.serviceLoadBalancerClass = serviceLoadBalancerClass; + } + @JsonProperty("servicePort") public Integer getServicePort() { return servicePort; diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java similarity index 89% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java index 12682142e36..a27503af0f3 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/NamespaceSelector.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class NamespaceSelector implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java similarity index 89% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java index 029484bed80..c26cf353f12 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Param.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Param implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java similarity index 75% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java index 875461c3105..2ca44e8d052 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/ParamSpec.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ParamSpec implements Editable , KubernetesResource @@ -67,11 +59,11 @@ public class ParamSpec implements Editable , KubernetesResourc @JsonProperty("default") private String _default; @JsonProperty("description") - private java.lang.String description; + private String description; @JsonProperty("name") - private java.lang.String name; + private String name; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -80,7 +72,7 @@ public class ParamSpec implements Editable , KubernetesResourc public ParamSpec() { } - public ParamSpec(String _default, java.lang.String description, java.lang.String name) { + public ParamSpec(String _default, String description, String name) { super(); this._default = _default; this.description = description; @@ -98,22 +90,22 @@ public void setDefault(String _default) { } @JsonProperty("description") - public java.lang.String getDescription() { + public String getDescription() { return description; } @JsonProperty("description") - public void setDescription(java.lang.String description) { + public void setDescription(String description) { this.description = description; } @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @@ -128,16 +120,16 @@ public ParamSpecBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java similarity index 82% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java index e165b79aa69..85766c9ac28 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Resources.java @@ -13,11 +13,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.GenericKubernetesResource; -import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; @@ -25,8 +23,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.api.model.runtime.RawExtension; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; @@ -57,18 +53,14 @@ @BuildableReference(LocalObjectReference.class), @BuildableReference(PersistentVolumeClaim.class), @BuildableReference(GenericKubernetesResource.class), - @BuildableReference(RawExtension.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(RawExtension.class) }) @Generated("jsonschema2pojo") -public class Resources implements Editable , io.fabric8.kubernetes.api.model.KubernetesResource +public class Resources implements Editable , KubernetesResource { @JsonProperty("customResource") - private HasMetadata customResource; + private CustomResource customResource; @JsonProperty("kubernetesResource") private io.fabric8.tekton.triggers.v1beta1.KubernetesResource kubernetesResource; @JsonIgnore @@ -81,19 +73,19 @@ public class Resources implements Editable , io.fabric8.kubern public Resources() { } - public Resources(HasMetadata customResource, io.fabric8.tekton.triggers.v1beta1.KubernetesResource kubernetesResource) { + public Resources(CustomResource customResource, io.fabric8.tekton.triggers.v1beta1.KubernetesResource kubernetesResource) { super(); this.customResource = customResource; this.kubernetesResource = kubernetesResource; } @JsonProperty("customResource") - public HasMetadata getCustomResource() { + public CustomResource getCustomResource() { return customResource; } @JsonProperty("customResource") - public void setCustomResource(HasMetadata customResource) { + public void setCustomResource(CustomResource customResource) { this.customResource = customResource; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/SecretRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/SecretRef.java new file mode 100644 index 00000000000..b425e11069d --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/SecretRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.tekton.triggers.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "secretKey", + "secretName" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class SecretRef implements Editable , KubernetesResource +{ + + @JsonProperty("secretKey") + private String secretKey; + @JsonProperty("secretName") + private String secretName; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public SecretRef() { + } + + public SecretRef(String secretKey, String secretName) { + super(); + this.secretKey = secretKey; + this.secretName = secretName; + } + + @JsonProperty("secretKey") + public String getSecretKey() { + return secretKey; + } + + @JsonProperty("secretKey") + public void setSecretKey(String secretKey) { + this.secretKey = secretKey; + } + + @JsonProperty("secretName") + public String getSecretName() { + return secretName; + } + + @JsonProperty("secretName") + public void setSecretName(String secretName) { + this.secretName = secretName; + } + + @JsonIgnore + public SecretRefBuilder edit() { + return new SecretRefBuilder(this); + } + + @JsonIgnore + public SecretRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Status.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Status.java new file mode 100644 index 00000000000..fc58b9186cf --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Status.java @@ -0,0 +1,122 @@ + +package io.fabric8.tekton.triggers.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "code", + "message" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Status implements Editable , KubernetesResource +{ + + @JsonProperty("code") + private Long code; + @JsonProperty("message") + private String message; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Status() { + } + + public Status(Long code, String message) { + super(); + this.code = code; + this.message = message; + } + + @JsonProperty("code") + public Long getCode() { + return code; + } + + @JsonProperty("code") + public void setCode(Long code) { + this.code = code; + } + + @JsonProperty("message") + public String getMessage() { + return message; + } + + @JsonProperty("message") + public void setMessage(String message) { + this.message = message; + } + + @JsonIgnore + public StatusBuilder edit() { + return new StatusBuilder(this); + } + + @JsonIgnore + public StatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/StatusError.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/StatusError.java new file mode 100644 index 00000000000..12dd751836b --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/StatusError.java @@ -0,0 +1,108 @@ + +package io.fabric8.tekton.triggers.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "s" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class StatusError implements Editable , KubernetesResource +{ + + @JsonProperty("s") + private Status s; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StatusError() { + } + + public StatusError(Status s) { + super(); + this.s = s; + } + + @JsonProperty("s") + public Status getS() { + return s; + } + + @JsonProperty("s") + public void setS(Status s) { + this.s = s; + } + + @JsonIgnore + public StatusErrorBuilder edit() { + return new StatusErrorBuilder(this); + } + + @JsonIgnore + public StatusErrorBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java similarity index 85% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java index a7b4d861792..e7233c58115 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/Trigger.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class Trigger implements Editable , HasMetadata, Namespac @JsonProperty("kind") private String kind = "Trigger"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TriggerSpec spec; @JsonIgnore @@ -102,7 +95,7 @@ public class Trigger implements Editable , HasMetadata, Namespac public Trigger() { } - public Trigger(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TriggerSpec spec) { + public Trigger(String apiVersion, String kind, ObjectMeta metadata, TriggerSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -151,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java similarity index 85% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java index f8d81c65033..265bc53fbce 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBinding.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class TriggerBinding implements Editable , HasMeta @JsonProperty("kind") private String kind = "TriggerBinding"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TriggerBindingSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class TriggerBinding implements Editable , HasMeta public TriggerBinding() { } - public TriggerBinding(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TriggerBindingSpec spec, TriggerBindingStatus status) { + public TriggerBinding(String apiVersion, String kind, ObjectMeta metadata, TriggerBindingSpec spec, TriggerBindingStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java similarity index 93% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java index 62909fbefdc..89c08eb2fd9 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java similarity index 89% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java index b2cdb4093ab..965f935fe53 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingSpec.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerBindingSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java similarity index 87% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java index 0e5536be3cf..fc30336ae0b 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerBindingStatus.java @@ -12,8 +12,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -23,8 +21,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -51,11 +47,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerBindingStatus implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerContext.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerContext.java new file mode 100644 index 00000000000..7715d612aec --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerContext.java @@ -0,0 +1,136 @@ + +package io.fabric8.tekton.triggers.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "event_id", + "event_url", + "trigger_id" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TriggerContext implements Editable , KubernetesResource +{ + + @JsonProperty("event_id") + private String event_id; + @JsonProperty("event_url") + private String event_url; + @JsonProperty("trigger_id") + private String trigger_id; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TriggerContext() { + } + + public TriggerContext(String event_id, String event_url, String trigger_id) { + super(); + this.event_id = event_id; + this.event_url = event_url; + this.trigger_id = trigger_id; + } + + @JsonProperty("event_id") + public String getEvent_id() { + return event_id; + } + + @JsonProperty("event_id") + public void setEvent_id(String event_id) { + this.event_id = event_id; + } + + @JsonProperty("event_url") + public String getEvent_url() { + return event_url; + } + + @JsonProperty("event_url") + public void setEvent_url(String event_url) { + this.event_url = event_url; + } + + @JsonProperty("trigger_id") + public String getTrigger_id() { + return trigger_id; + } + + @JsonProperty("trigger_id") + public void setTrigger_id(String trigger_id) { + this.trigger_id = trigger_id; + } + + @JsonIgnore + public TriggerContextBuilder edit() { + return new TriggerContextBuilder(this); + } + + @JsonIgnore + public TriggerContextBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java similarity index 85% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java index cb7b3afe8ac..fcb9a0b461c 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerInterceptor.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -57,11 +53,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerInterceptor implements Editable , KubernetesResource @@ -77,7 +69,7 @@ public class TriggerInterceptor implements Editable , @JsonProperty("webhook") private WebhookInterceptor webhook; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -146,16 +138,16 @@ public TriggerInterceptorBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java similarity index 93% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java index 029180d9401..c289bbe7063 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerResourceTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerResourceTemplate.java new file mode 100644 index 00000000000..492eb9419f0 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerResourceTemplate.java @@ -0,0 +1,83 @@ + +package io.fabric8.tekton.triggers.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TriggerResourceTemplate implements Editable , KubernetesResource +{ + + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + @JsonIgnore + public TriggerResourceTemplateBuilder edit() { + return new TriggerResourceTemplateBuilder(this); + } + + @JsonIgnore + public TriggerResourceTemplateBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java similarity index 92% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java index 1e05fb8d287..3d1fe45b76f 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpec.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -58,11 +54,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java similarity index 73% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java index 916476c38ca..c728b094b82 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecBinding.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,28 +52,24 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerSpecBinding implements Editable , KubernetesResource { @JsonProperty("apiversion") - private java.lang.String apiversion; + private String apiversion; @JsonProperty("kind") - private java.lang.String kind; + private String kind; @JsonProperty("name") - private java.lang.String name; + private String name; @JsonProperty("ref") - private java.lang.String ref; + private String ref; @JsonProperty("value") private String value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -86,7 +78,7 @@ public class TriggerSpecBinding implements Editable , public TriggerSpecBinding() { } - public TriggerSpecBinding(java.lang.String apiversion, java.lang.String kind, java.lang.String name, java.lang.String ref, String value) { + public TriggerSpecBinding(String apiversion, String kind, String name, String ref, String value) { super(); this.apiversion = apiversion; this.kind = kind; @@ -96,42 +88,42 @@ public TriggerSpecBinding(java.lang.String apiversion, java.lang.String kind, ja } @JsonProperty("apiversion") - public java.lang.String getApiversion() { + public String getApiversion() { return apiversion; } @JsonProperty("apiversion") - public void setApiversion(java.lang.String apiversion) { + public void setApiversion(String apiversion) { this.apiversion = apiversion; } @JsonProperty("kind") - public java.lang.String getKind() { + public String getKind() { return kind; } @JsonProperty("kind") - public void setKind(java.lang.String kind) { + public void setKind(String kind) { this.kind = kind; } @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @JsonProperty("ref") - public java.lang.String getRef() { + public String getRef() { return ref; } @JsonProperty("ref") - public void setRef(java.lang.String ref) { + public void setRef(String ref) { this.ref = ref; } @@ -156,16 +148,16 @@ public TriggerSpecBindingBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java similarity index 78% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java index 111bc92a957..237b744ed09 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerSpecTemplate.java @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,24 +50,20 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerSpecTemplate implements Editable , KubernetesResource { @JsonProperty("apiversion") - private java.lang.String apiversion; + private String apiversion; @JsonProperty("ref") private String ref; @JsonProperty("spec") private TriggerTemplateSpec spec; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -80,7 +72,7 @@ public class TriggerSpecTemplate implements Editable public TriggerSpecTemplate() { } - public TriggerSpecTemplate(java.lang.String apiversion, String ref, TriggerTemplateSpec spec) { + public TriggerSpecTemplate(String apiversion, String ref, TriggerTemplateSpec spec) { super(); this.apiversion = apiversion; this.ref = ref; @@ -88,12 +80,12 @@ public TriggerSpecTemplate(java.lang.String apiversion, String ref, TriggerTempl } @JsonProperty("apiversion") - public java.lang.String getApiversion() { + public String getApiversion() { return apiversion; } @JsonProperty("apiversion") - public void setApiversion(java.lang.String apiversion) { + public void setApiversion(String apiversion) { this.apiversion = apiversion; } @@ -128,16 +120,16 @@ public TriggerSpecTemplateBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java similarity index 85% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java index 73d228e6da3..4a1624a434d 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplate.java @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class TriggerTemplate implements Editable , HasMe @JsonProperty("kind") private String kind = "TriggerTemplate"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TriggerTemplateSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class TriggerTemplate implements Editable , HasMe public TriggerTemplate() { } - public TriggerTemplate(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TriggerTemplateSpec spec, TriggerTemplateStatus status) { + public TriggerTemplate(String apiVersion, String kind, ObjectMeta metadata, TriggerTemplateSpec spec, TriggerTemplateStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java similarity index 93% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java index 6c5a3c31c0a..9d51f491fd1 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateList.java @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java similarity index 80% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java index 781cdd6f35e..93b98b73bcf 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateSpec.java @@ -15,10 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; -import io.fabric8.kubernetes.api.model.GenericKubernetesResource; -import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -28,9 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.kubernetes.api.model.runtime.RawExtension; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -58,13 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(GenericKubernetesResource.class), - @BuildableReference(RawExtension.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerTemplateSpec implements Editable , KubernetesResource @@ -75,7 +62,7 @@ public class TriggerTemplateSpec implements Editable private List params = new ArrayList<>(); @JsonProperty("resourcetemplates") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List resourcetemplates = new ArrayList<>(); + private List resourcetemplates = new ArrayList<>(); @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -86,7 +73,7 @@ public class TriggerTemplateSpec implements Editable public TriggerTemplateSpec() { } - public TriggerTemplateSpec(List params, List resourcetemplates) { + public TriggerTemplateSpec(List params, List resourcetemplates) { super(); this.params = params; this.resourcetemplates = resourcetemplates; @@ -105,12 +92,12 @@ public void setParams(List params) { @JsonProperty("resourcetemplates") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getResourcetemplates() { + public List getResourcetemplates() { return resourcetemplates; } @JsonProperty("resourcetemplates") - public void setResourcetemplates(List resourcetemplates) { + public void setResourcetemplates(List resourcetemplates) { this.resourcetemplates = resourcetemplates; } diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java similarity index 87% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java index 51b72bb5a4a..1d2ff45c241 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/TriggerTemplateStatus.java @@ -12,8 +12,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -23,8 +21,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -51,11 +47,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TriggerTemplateStatus implements Editable , KubernetesResource diff --git a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java similarity index 81% rename from extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java index f561078a234..d32df32db1c 100644 --- a/extensions/tekton/model-triggers-v1beta1/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/triggers/v1beta1/WebhookInterceptor.java @@ -15,19 +15,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.pipeline.v1beta1.Param; +import io.fabric8.tekton.v1beta1.Param; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,13 +51,9 @@ @BuildableReference(PodTemplateSpec.class), @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectReference.class), + @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WebhookInterceptor implements Editable , KubernetesResource @@ -70,7 +63,7 @@ public class WebhookInterceptor implements Editable , @JsonInclude(JsonInclude.Include.NON_EMPTY) private List header = new ArrayList<>(); @JsonProperty("objectRef") - private io.fabric8.kubernetes.api.model.ObjectReference objectRef; + private ObjectReference objectRef; @JsonProperty("url") private String url; @JsonIgnore @@ -83,7 +76,7 @@ public class WebhookInterceptor implements Editable , public WebhookInterceptor() { } - public WebhookInterceptor(List header, io.fabric8.kubernetes.api.model.ObjectReference objectRef, String url) { + public WebhookInterceptor(List header, ObjectReference objectRef, String url) { super(); this.header = header; this.objectRef = objectRef; @@ -102,12 +95,12 @@ public void setHeader(List header) { } @JsonProperty("objectRef") - public io.fabric8.kubernetes.api.model.ObjectReference getObjectRef() { + public ObjectReference getObjectRef() { return objectRef; } @JsonProperty("objectRef") - public void setObjectRef(io.fabric8.kubernetes.api.model.ObjectReference objectRef) { + public void setObjectRef(ObjectReference objectRef) { this.objectRef = objectRef; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Artifact.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Artifact.java new file mode 100644 index 00000000000..a7b9403fe67 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Artifact.java @@ -0,0 +1,140 @@ + +package io.fabric8.tekton.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "buildOutput", + "name", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Artifact implements Editable , KubernetesResource +{ + + @JsonProperty("buildOutput") + private Boolean buildOutput; + @JsonProperty("name") + private String name; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Artifact() { + } + + public Artifact(Boolean buildOutput, String name, List values) { + super(); + this.buildOutput = buildOutput; + this.name = name; + this.values = values; + } + + @JsonProperty("buildOutput") + public Boolean getBuildOutput() { + return buildOutput; + } + + @JsonProperty("buildOutput") + public void setBuildOutput(Boolean buildOutput) { + this.buildOutput = buildOutput; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public ArtifactBuilder edit() { + return new ArtifactBuilder(this); + } + + @JsonIgnore + public ArtifactBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ArtifactValue.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ArtifactValue.java new file mode 100644 index 00000000000..04230e5df22 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ArtifactValue.java @@ -0,0 +1,124 @@ + +package io.fabric8.tekton.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "digest", + "uri" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ArtifactValue implements Editable , KubernetesResource +{ + + @JsonProperty("digest") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map digest = new LinkedHashMap<>(); + @JsonProperty("uri") + private String uri; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ArtifactValue() { + } + + public ArtifactValue(Map digest, String uri) { + super(); + this.digest = digest; + this.uri = uri; + } + + @JsonProperty("digest") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getDigest() { + return digest; + } + + @JsonProperty("digest") + public void setDigest(Map digest) { + this.digest = digest; + } + + @JsonProperty("uri") + public String getUri() { + return uri; + } + + @JsonProperty("uri") + public void setUri(String uri) { + this.uri = uri; + } + + @JsonIgnore + public ArtifactValueBuilder edit() { + return new ArtifactValueBuilder(this); + } + + @JsonIgnore + public ArtifactValueBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Artifacts.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Artifacts.java new file mode 100644 index 00000000000..4662e664265 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Artifacts.java @@ -0,0 +1,128 @@ + +package io.fabric8.tekton.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "inputs", + "outputs" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Artifacts implements Editable , KubernetesResource +{ + + @JsonProperty("inputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List inputs = new ArrayList<>(); + @JsonProperty("outputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List outputs = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Artifacts() { + } + + public Artifacts(List inputs, List outputs) { + super(); + this.inputs = inputs; + this.outputs = outputs; + } + + @JsonProperty("inputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getInputs() { + return inputs; + } + + @JsonProperty("inputs") + public void setInputs(List inputs) { + this.inputs = inputs; + } + + @JsonProperty("outputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOutputs() { + return outputs; + } + + @JsonProperty("outputs") + public void setOutputs(List outputs) { + this.outputs = outputs; + } + + @JsonIgnore + public ArtifactsBuilder edit() { + return new ArtifactsBuilder(this); + } + + @JsonIgnore + public ArtifactsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ChildStatusReference.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ChildStatusReference.java similarity index 89% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ChildStatusReference.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ChildStatusReference.java index 027369680b9..c5b8a020253 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ChildStatusReference.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ChildStatusReference.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -39,6 +35,7 @@ @JsonPropertyOrder({ "apiVersion", "kind", + "displayName", "name", "pipelineTaskName", "whenExpressions" @@ -58,11 +55,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ChildStatusReference implements Editable , KubernetesResource @@ -70,6 +63,8 @@ public class ChildStatusReference implements Editable whenExpressions) { + public ChildStatusReference(String apiVersion, String displayName, String kind, String name, String pipelineTaskName, List whenExpressions) { super(); this.apiVersion = apiVersion; + this.displayName = displayName; this.kind = kind; this.name = name; this.pipelineTaskName = pipelineTaskName; @@ -108,6 +104,16 @@ public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + @JsonProperty("kind") public String getKind() { return kind; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/EmbeddedTask.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/EmbeddedTask.java similarity index 75% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/EmbeddedTask.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/EmbeddedTask.java index 7ac2f6e03b9..6645fb96132 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/EmbeddedTask.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/EmbeddedTask.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,7 +24,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.Volume; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -65,24 +63,20 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EmbeddedTask implements Editable , KubernetesResource { @JsonProperty("apiVersion") - private java.lang.String apiVersion; + private String apiVersion; @JsonProperty("description") - private java.lang.String description; + private String description; @JsonProperty("displayName") - private java.lang.String displayName; + private String displayName; @JsonProperty("kind") - private java.lang.String kind; + private String kind; @JsonProperty("metadata") private PipelineTaskMetadata metadata; @JsonProperty("params") @@ -95,8 +89,8 @@ public class EmbeddedTask implements Editable , KubernetesR @JsonInclude(JsonInclude.Include.NON_EMPTY) private List sidecars = new ArrayList<>(); @JsonProperty("spec") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map spec = new LinkedHashMap<>(); + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object spec; @JsonProperty("stepTemplate") private StepTemplate stepTemplate; @JsonProperty("steps") @@ -104,12 +98,12 @@ public class EmbeddedTask implements Editable , KubernetesR private List steps = new ArrayList<>(); @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); + private List volumes = new ArrayList<>(); @JsonProperty("workspaces") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List workspaces = new ArrayList<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -118,7 +112,7 @@ public class EmbeddedTask implements Editable , KubernetesR public EmbeddedTask() { } - public EmbeddedTask(java.lang.String apiVersion, java.lang.String description, java.lang.String displayName, java.lang.String kind, PipelineTaskMetadata metadata, List params, List results, List sidecars, Map spec, StepTemplate stepTemplate, List steps, List volumes, List workspaces) { + public EmbeddedTask(String apiVersion, String description, String displayName, String kind, PipelineTaskMetadata metadata, List params, List results, List sidecars, Object spec, StepTemplate stepTemplate, List steps, List volumes, List workspaces) { super(); this.apiVersion = apiVersion; this.description = description; @@ -136,42 +130,42 @@ public EmbeddedTask(java.lang.String apiVersion, java.lang.String description, j } @JsonProperty("apiVersion") - public java.lang.String getApiVersion() { + public String getApiVersion() { return apiVersion; } @JsonProperty("apiVersion") - public void setApiVersion(java.lang.String apiVersion) { + public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } @JsonProperty("description") - public java.lang.String getDescription() { + public String getDescription() { return description; } @JsonProperty("description") - public void setDescription(java.lang.String description) { + public void setDescription(String description) { this.description = description; } @JsonProperty("displayName") - public java.lang.String getDisplayName() { + public String getDisplayName() { return displayName; } @JsonProperty("displayName") - public void setDisplayName(java.lang.String displayName) { + public void setDisplayName(String displayName) { this.displayName = displayName; } @JsonProperty("kind") - public java.lang.String getKind() { + public String getKind() { return kind; } @JsonProperty("kind") - public void setKind(java.lang.String kind) { + public void setKind(String kind) { this.kind = kind; } @@ -219,13 +213,13 @@ public void setSidecars(List sidecars) { } @JsonProperty("spec") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getSpec() { + public Object getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(Map spec) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSpec(Object spec) { this.spec = spec; } @@ -252,12 +246,12 @@ public void setSteps(List steps) { @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { + public List getVolumes() { return volumes; } @JsonProperty("volumes") - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } @@ -283,16 +277,16 @@ public EmbeddedTaskBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, java.lang.Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/IncludeParams.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/IncludeParams.java similarity index 89% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/IncludeParams.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/IncludeParams.java index c2c92b7ec89..627e99cd070 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/IncludeParams.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/IncludeParams.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class IncludeParams implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Matrix.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Matrix.java similarity index 89% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Matrix.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Matrix.java index 38af25ba367..a624befcc67 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Matrix.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Matrix.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Matrix implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Param.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Param.java similarity index 88% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Param.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Param.java index 4fe788664bd..99fc9543eff 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Param.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Param.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Param implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ParamSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ParamSpec.java similarity index 75% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ParamSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ParamSpec.java index 2a94fd3ee05..baac6450e58 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/ParamSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ParamSpec.java @@ -1,7 +1,9 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; +import java.util.ArrayList; import java.util.LinkedHashMap; +import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; @@ -13,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -37,6 +35,7 @@ @JsonPropertyOrder({ "default", "description", + "enum", "name", "properties", "type" @@ -56,11 +55,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ParamSpec implements Editable , KubernetesResource @@ -69,16 +64,19 @@ public class ParamSpec implements Editable , KubernetesResourc @JsonProperty("default") private ParamValue _default; @JsonProperty("description") - private java.lang.String description; + private String description; + @JsonProperty("enum") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List _enum = new ArrayList<>(); @JsonProperty("name") - private java.lang.String name; + private String name; @JsonProperty("properties") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map properties = new LinkedHashMap<>(); @JsonProperty("type") - private java.lang.String type; + private String type; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -87,10 +85,11 @@ public class ParamSpec implements Editable , KubernetesResourc public ParamSpec() { } - public ParamSpec(ParamValue _default, java.lang.String description, java.lang.String name, Map properties, java.lang.String type) { + public ParamSpec(ParamValue _default, String description, List _enum, String name, Map properties, String type) { super(); this._default = _default; this.description = description; + this._enum = _enum; this.name = name; this.properties = properties; this.type = type; @@ -107,22 +106,33 @@ public void setDefault(ParamValue _default) { } @JsonProperty("description") - public java.lang.String getDescription() { + public String getDescription() { return description; } @JsonProperty("description") - public void setDescription(java.lang.String description) { + public void setDescription(String description) { this.description = description; } + @JsonProperty("enum") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnum() { + return _enum; + } + + @JsonProperty("enum") + public void setEnum(List _enum) { + this._enum = _enum; + } + @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @@ -138,12 +148,12 @@ public void setProperties(Map properties) { } @JsonProperty("type") - public java.lang.String getType() { + public String getType() { return type; } @JsonProperty("type") - public void setType(java.lang.String type) { + public void setType(String type) { this.type = type; } @@ -158,16 +168,16 @@ public ParamSpecBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Pipeline.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Pipeline.java similarity index 84% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Pipeline.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Pipeline.java index 32eae3deebe..20499c01c9c 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Pipeline.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Pipeline.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class Pipeline implements Editable , HasMetadata, Namesp @JsonProperty("kind") private String kind = "Pipeline"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PipelineSpec spec; @JsonIgnore @@ -102,7 +95,7 @@ public class Pipeline implements Editable , HasMetadata, Namesp public Pipeline() { } - public Pipeline(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PipelineSpec spec) { + public Pipeline(String apiVersion, String kind, ObjectMeta metadata, PipelineSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -151,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineList.java similarity index 87% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineList.java index eb9e0cd0223..e1da2409c73 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineList implements Editable , KubernetesResource, KubernetesResourceList +public class PipelineList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class PipelineList implements Editable , KubernetesR private String apiVersion = "tekton.dev/v1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class PipelineList implements Editable , KubernetesR public PipelineList() { } - public PipelineList(String apiVersion, List items, String kind, ListMeta metadata) { + public PipelineList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRef.java new file mode 100644 index 00000000000..92ad003168c --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRef.java @@ -0,0 +1,122 @@ + +package io.fabric8.tekton.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineRef() { + } + + public PipelineRef(String apiVersion, String name) { + super(); + this.apiVersion = apiVersion; + this.name = name; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PipelineRefBuilder edit() { + return new PipelineRefBuilder(this); + } + + @JsonIgnore + public PipelineRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineResult.java similarity index 90% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineResult.java index 68bf1c89f56..66d65ca49fe 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineResult implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRun.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRun.java similarity index 85% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRun.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRun.java index 442114316cb..bc07627ced5 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRun.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRun.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class PipelineRun implements Editable , HasMetadata, @JsonProperty("kind") private String kind = "PipelineRun"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PipelineRunSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class PipelineRun implements Editable , HasMetadata, public PipelineRun() { } - public PipelineRun(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PipelineRunSpec spec, PipelineRunStatus status) { + public PipelineRun(String apiVersion, String kind, ObjectMeta metadata, PipelineRunSpec spec, PipelineRunStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunList.java similarity index 86% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunList.java index c9c5bfcaadd..0cec8bded7f 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineRunList implements Editable , KubernetesResource, KubernetesResourceList +public class PipelineRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class PipelineRunList implements Editable , Kuber private String apiVersion = "tekton.dev/v1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class PipelineRunList implements Editable , Kuber public PipelineRunList() { } - public PipelineRunList(String apiVersion, List items, String kind, ListMeta metadata) { + public PipelineRunList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunResult.java similarity index 89% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunResult.java index 29a7f0ffb77..dd8deef9196 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineRunResult implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunRunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunRunStatus.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunRunStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunRunStatus.java index 3f684bf38c5..c407353cec3 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunRunStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunRunStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,9 +24,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus; +import io.fabric8.tekton.v1beta1.CustomRunStatus; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -57,11 +53,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineRunRunStatus implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunSpec.java similarity index 93% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunSpec.java index 17f1034d3af..14a3d4a96f3 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -61,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineRunSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunStatus.java similarity index 83% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunStatus.java index 4ac8b86ec8d..48d2c8470b4 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineRunStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -16,8 +16,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -66,11 +62,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineRunStatus implements Editable , KubernetesResource @@ -83,12 +75,12 @@ public class PipelineRunStatus implements Editable , K @JsonInclude(JsonInclude.Include.NON_EMPTY) private List childReferences = new ArrayList<>(); @JsonProperty("completionTime") - private java.lang.String completionTime; + private String completionTime; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList<>(); @JsonProperty("finallyStartTime") - private java.lang.String finallyStartTime; + private String finallyStartTime; @JsonProperty("observedGeneration") private Long observedGeneration; @JsonProperty("pipelineSpec") @@ -105,9 +97,9 @@ public class PipelineRunStatus implements Editable , K @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map spanContext = new LinkedHashMap<>(); @JsonProperty("startTime") - private java.lang.String startTime; + private String startTime; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -116,7 +108,7 @@ public class PipelineRunStatus implements Editable , K public PipelineRunStatus() { } - public PipelineRunStatus(Map annotations, List childReferences, java.lang.String completionTime, List conditions, java.lang.String finallyStartTime, Long observedGeneration, PipelineSpec pipelineSpec, Provenance provenance, List results, List skippedTasks, Map spanContext, java.lang.String startTime) { + public PipelineRunStatus(Map annotations, List childReferences, String completionTime, List conditions, String finallyStartTime, Long observedGeneration, PipelineSpec pipelineSpec, Provenance provenance, List results, List skippedTasks, Map spanContext, String startTime) { super(); this.annotations = annotations; this.childReferences = childReferences; @@ -155,12 +147,12 @@ public void setChildReferences(List childReferences) { } @JsonProperty("completionTime") - public java.lang.String getCompletionTime() { + public String getCompletionTime() { return completionTime; } @JsonProperty("completionTime") - public void setCompletionTime(java.lang.String completionTime) { + public void setCompletionTime(String completionTime) { this.completionTime = completionTime; } @@ -176,12 +168,12 @@ public void setConditions(List conditions) { } @JsonProperty("finallyStartTime") - public java.lang.String getFinallyStartTime() { + public String getFinallyStartTime() { return finallyStartTime; } @JsonProperty("finallyStartTime") - public void setFinallyStartTime(java.lang.String finallyStartTime) { + public void setFinallyStartTime(String finallyStartTime) { this.finallyStartTime = finallyStartTime; } @@ -249,12 +241,12 @@ public void setSpanContext(Map spanContext) { } @JsonProperty("startTime") - public java.lang.String getStartTime() { + public String getStartTime() { return startTime; } @JsonProperty("startTime") - public void setStartTime(java.lang.String startTime) { + public void setStartTime(String startTime) { this.startTime = startTime; } @@ -269,16 +261,16 @@ public PipelineRunStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunStatusFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunStatusFields.java new file mode 100644 index 00000000000..489e241bb1c --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunStatusFields.java @@ -0,0 +1,230 @@ + +package io.fabric8.tekton.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "childReferences", + "completionTime", + "finallyStartTime", + "pipelineSpec", + "provenance", + "results", + "skippedTasks", + "spanContext", + "startTime" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineRunStatusFields implements Editable , KubernetesResource +{ + + @JsonProperty("childReferences") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List childReferences = new ArrayList<>(); + @JsonProperty("completionTime") + private String completionTime; + @JsonProperty("finallyStartTime") + private String finallyStartTime; + @JsonProperty("pipelineSpec") + private PipelineSpec pipelineSpec; + @JsonProperty("provenance") + private Provenance provenance; + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); + @JsonProperty("skippedTasks") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List skippedTasks = new ArrayList<>(); + @JsonProperty("spanContext") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map spanContext = new LinkedHashMap<>(); + @JsonProperty("startTime") + private String startTime; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineRunStatusFields() { + } + + public PipelineRunStatusFields(List childReferences, String completionTime, String finallyStartTime, PipelineSpec pipelineSpec, Provenance provenance, List results, List skippedTasks, Map spanContext, String startTime) { + super(); + this.childReferences = childReferences; + this.completionTime = completionTime; + this.finallyStartTime = finallyStartTime; + this.pipelineSpec = pipelineSpec; + this.provenance = provenance; + this.results = results; + this.skippedTasks = skippedTasks; + this.spanContext = spanContext; + this.startTime = startTime; + } + + @JsonProperty("childReferences") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getChildReferences() { + return childReferences; + } + + @JsonProperty("childReferences") + public void setChildReferences(List childReferences) { + this.childReferences = childReferences; + } + + @JsonProperty("completionTime") + public String getCompletionTime() { + return completionTime; + } + + @JsonProperty("completionTime") + public void setCompletionTime(String completionTime) { + this.completionTime = completionTime; + } + + @JsonProperty("finallyStartTime") + public String getFinallyStartTime() { + return finallyStartTime; + } + + @JsonProperty("finallyStartTime") + public void setFinallyStartTime(String finallyStartTime) { + this.finallyStartTime = finallyStartTime; + } + + @JsonProperty("pipelineSpec") + public PipelineSpec getPipelineSpec() { + return pipelineSpec; + } + + @JsonProperty("pipelineSpec") + public void setPipelineSpec(PipelineSpec pipelineSpec) { + this.pipelineSpec = pipelineSpec; + } + + @JsonProperty("provenance") + public Provenance getProvenance() { + return provenance; + } + + @JsonProperty("provenance") + public void setProvenance(Provenance provenance) { + this.provenance = provenance; + } + + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + + @JsonProperty("skippedTasks") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSkippedTasks() { + return skippedTasks; + } + + @JsonProperty("skippedTasks") + public void setSkippedTasks(List skippedTasks) { + this.skippedTasks = skippedTasks; + } + + @JsonProperty("spanContext") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getSpanContext() { + return spanContext; + } + + @JsonProperty("spanContext") + public void setSpanContext(Map spanContext) { + this.spanContext = spanContext; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonIgnore + public PipelineRunStatusFieldsBuilder edit() { + return new PipelineRunStatusFieldsBuilder(this); + } + + @JsonIgnore + public PipelineRunStatusFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunTaskRunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunTaskRunStatus.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunTaskRunStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunTaskRunStatus.java index 72467024017..a642d27b416 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunTaskRunStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineRunTaskRunStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineRunTaskRunStatus implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineSpec.java similarity index 93% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineSpec.java index 0af6f2aec86..859ab5253ff 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -60,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTask.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTask.java similarity index 84% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTask.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTask.java index 3909feb5ac7..1ab5eda3666 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTask.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTask.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,9 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -42,7 +38,10 @@ "displayName", "matrix", "name", + "onError", "params", + "pipelineRef", + "pipelineSpec", "retries", "runAfter", "taskRef", @@ -66,11 +65,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTask implements Editable , KubernetesResource @@ -84,9 +79,15 @@ public class PipelineTask implements Editable , KubernetesR private Matrix matrix; @JsonProperty("name") private String name; + @JsonProperty("onError") + private String onError; @JsonProperty("params") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List params = new ArrayList<>(); + @JsonProperty("pipelineRef") + private PipelineRef pipelineRef; + @JsonProperty("pipelineSpec") + private PipelineSpec pipelineSpec; @JsonProperty("retries") private Integer retries; @JsonProperty("runAfter") @@ -114,13 +115,16 @@ public class PipelineTask implements Editable , KubernetesR public PipelineTask() { } - public PipelineTask(String description, String displayName, Matrix matrix, String name, List params, Integer retries, List runAfter, TaskRef taskRef, EmbeddedTask taskSpec, Duration timeout, List when, List workspaces) { + public PipelineTask(String description, String displayName, Matrix matrix, String name, String onError, List params, PipelineRef pipelineRef, PipelineSpec pipelineSpec, Integer retries, List runAfter, TaskRef taskRef, EmbeddedTask taskSpec, Duration timeout, List when, List workspaces) { super(); this.description = description; this.displayName = displayName; this.matrix = matrix; this.name = name; + this.onError = onError; this.params = params; + this.pipelineRef = pipelineRef; + this.pipelineSpec = pipelineSpec; this.retries = retries; this.runAfter = runAfter; this.taskRef = taskRef; @@ -170,6 +174,16 @@ public void setName(String name) { this.name = name; } + @JsonProperty("onError") + public String getOnError() { + return onError; + } + + @JsonProperty("onError") + public void setOnError(String onError) { + this.onError = onError; + } + @JsonProperty("params") @JsonInclude(JsonInclude.Include.NON_EMPTY) public List getParams() { @@ -181,6 +195,26 @@ public void setParams(List params) { this.params = params; } + @JsonProperty("pipelineRef") + public PipelineRef getPipelineRef() { + return pipelineRef; + } + + @JsonProperty("pipelineRef") + public void setPipelineRef(PipelineRef pipelineRef) { + this.pipelineRef = pipelineRef; + } + + @JsonProperty("pipelineSpec") + public PipelineSpec getPipelineSpec() { + return pipelineSpec; + } + + @JsonProperty("pipelineSpec") + public void setPipelineSpec(PipelineSpec pipelineSpec) { + this.pipelineSpec = pipelineSpec; + } + @JsonProperty("retries") public Integer getRetries() { return retries; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskMetadata.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskMetadata.java similarity index 82% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskMetadata.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskMetadata.java index aa9c792fd72..414b10f1ad0 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskMetadata.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskMetadata.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTaskMetadata implements Editable , KubernetesResource @@ -70,7 +62,7 @@ public class PipelineTaskMetadata implements Editable labels = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -118,16 +110,16 @@ public PipelineTaskMetadataBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskParam.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskParam.java new file mode 100644 index 00000000000..a33a4b677c9 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskParam.java @@ -0,0 +1,122 @@ + +package io.fabric8.tekton.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineTaskParam implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineTaskParam() { + } + + public PipelineTaskParam(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public PipelineTaskParamBuilder edit() { + return new PipelineTaskParamBuilder(this); + } + + @JsonIgnore + public PipelineTaskParamBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskRun.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskRun.java new file mode 100644 index 00000000000..ae8fe612e20 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskRun.java @@ -0,0 +1,108 @@ + +package io.fabric8.tekton.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineTaskRun implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineTaskRun() { + } + + public PipelineTaskRun(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PipelineTaskRunBuilder edit() { + return new PipelineTaskRunBuilder(this); + } + + @JsonIgnore + public PipelineTaskRunBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskRunSpec.java similarity index 83% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskRunSpec.java index 3bcaf99d11b..ed96a5c4a0f 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskRunSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -25,9 +23,8 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod.Template; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.tekton.pod.Template; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,22 +53,18 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTaskRunSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") - private io.fabric8.kubernetes.api.model.ResourceRequirements computeResources; + private ResourceRequirements computeResources; @JsonProperty("metadata") private PipelineTaskMetadata metadata; @JsonProperty("pipelineTaskName") @@ -96,7 +89,7 @@ public class PipelineTaskRunSpec implements Editable public PipelineTaskRunSpec() { } - public PipelineTaskRunSpec(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources, PipelineTaskMetadata metadata, String pipelineTaskName, Template podTemplate, String serviceAccountName, List sidecarSpecs, List stepSpecs) { + public PipelineTaskRunSpec(ResourceRequirements computeResources, PipelineTaskMetadata metadata, String pipelineTaskName, Template podTemplate, String serviceAccountName, List sidecarSpecs, List stepSpecs) { super(); this.computeResources = computeResources; this.metadata = metadata; @@ -108,12 +101,12 @@ public PipelineTaskRunSpec(io.fabric8.kubernetes.api.model.ResourceRequirements } @JsonProperty("computeResources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getComputeResources() { + public ResourceRequirements getComputeResources() { return computeResources; } @JsonProperty("computeResources") - public void setComputeResources(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources) { + public void setComputeResources(ResourceRequirements computeResources) { this.computeResources = computeResources; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskRunTemplate.java similarity index 88% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunTemplate.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskRunTemplate.java index deb8f4f1335..dac06a5002f 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineTaskRunTemplate.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineTaskRunTemplate.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,9 +22,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod.Template; +import io.fabric8.tekton.pod.Template; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTaskRunTemplate implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineWorkspaceDeclaration.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineWorkspaceDeclaration.java similarity index 90% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineWorkspaceDeclaration.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineWorkspaceDeclaration.java index c8f104254d4..28369aa4b06 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PipelineWorkspaceDeclaration.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PipelineWorkspaceDeclaration.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineWorkspaceDeclaration implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PropertySpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PropertySpec.java similarity index 88% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PropertySpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PropertySpec.java index 210b256ea49..93e2fb85292 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/PropertySpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/PropertySpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PropertySpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Provenance.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Provenance.java similarity index 87% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Provenance.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Provenance.java index 269317f201d..5294afcf700 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Provenance.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Provenance.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,9 +22,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1.internal.pipeline.pkg.apis.config.FeatureFlags; +import io.fabric8.tekton.pipeline.pkg.apis.config.FeatureFlags; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Provenance implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Ref.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Ref.java new file mode 100644 index 00000000000..0a6507aaf55 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Ref.java @@ -0,0 +1,108 @@ + +package io.fabric8.tekton.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Ref implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Ref() { + } + + public Ref(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public RefBuilder edit() { + return new RefBuilder(this); + } + + @JsonIgnore + public RefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/RefSource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/RefSource.java similarity index 75% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/RefSource.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/RefSource.java index 8614a2d2788..fc9ac2e33f1 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/RefSource.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/RefSource.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class RefSource implements Editable , KubernetesResource @@ -68,11 +60,11 @@ public class RefSource implements Editable , KubernetesResourc @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map digest = new LinkedHashMap<>(); @JsonProperty("entryPoint") - private java.lang.String entryPoint; + private String entryPoint; @JsonProperty("uri") - private java.lang.String uri; + private String uri; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -81,7 +73,7 @@ public class RefSource implements Editable , KubernetesResourc public RefSource() { } - public RefSource(Map digest, java.lang.String entryPoint, java.lang.String uri) { + public RefSource(Map digest, String entryPoint, String uri) { super(); this.digest = digest; this.entryPoint = entryPoint; @@ -100,22 +92,22 @@ public void setDigest(Map digest) { } @JsonProperty("entryPoint") - public java.lang.String getEntryPoint() { + public String getEntryPoint() { return entryPoint; } @JsonProperty("entryPoint") - public void setEntryPoint(java.lang.String entryPoint) { + public void setEntryPoint(String entryPoint) { this.entryPoint = entryPoint; } @JsonProperty("uri") - public java.lang.String getUri() { + public String getUri() { return uri; } @JsonProperty("uri") - public void setUri(java.lang.String uri) { + public void setUri(String uri) { this.uri = uri; } @@ -130,16 +122,16 @@ public RefSourceBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ResolverRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ResolverRef.java new file mode 100644 index 00000000000..a71fa66a023 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ResolverRef.java @@ -0,0 +1,126 @@ + +package io.fabric8.tekton.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "params", + "resolver" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ResolverRef implements Editable , KubernetesResource +{ + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List params = new ArrayList<>(); + @JsonProperty("resolver") + private String resolver; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ResolverRef() { + } + + public ResolverRef(List params, String resolver) { + super(); + this.params = params; + this.resolver = resolver; + } + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getParams() { + return params; + } + + @JsonProperty("params") + public void setParams(List params) { + this.params = params; + } + + @JsonProperty("resolver") + public String getResolver() { + return resolver; + } + + @JsonProperty("resolver") + public void setResolver(String resolver) { + this.resolver = resolver; + } + + @JsonIgnore + public ResolverRefBuilder edit() { + return new ResolverRefBuilder(this); + } + + @JsonIgnore + public ResolverRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ResultRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ResultRef.java new file mode 100644 index 00000000000..d40db5480b9 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/ResultRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.tekton.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "pipelineTask", + "property", + "result", + "resultsIndex" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ResultRef implements Editable , KubernetesResource +{ + + @JsonProperty("pipelineTask") + private String pipelineTask; + @JsonProperty("property") + private String property; + @JsonProperty("result") + private String result; + @JsonProperty("resultsIndex") + private Integer resultsIndex; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ResultRef() { + } + + public ResultRef(String pipelineTask, String property, String result, Integer resultsIndex) { + super(); + this.pipelineTask = pipelineTask; + this.property = property; + this.result = result; + this.resultsIndex = resultsIndex; + } + + @JsonProperty("pipelineTask") + public String getPipelineTask() { + return pipelineTask; + } + + @JsonProperty("pipelineTask") + public void setPipelineTask(String pipelineTask) { + this.pipelineTask = pipelineTask; + } + + @JsonProperty("property") + public String getProperty() { + return property; + } + + @JsonProperty("property") + public void setProperty(String property) { + this.property = property; + } + + @JsonProperty("result") + public String getResult() { + return result; + } + + @JsonProperty("result") + public void setResult(String result) { + this.result = result; + } + + @JsonProperty("resultsIndex") + public Integer getResultsIndex() { + return resultsIndex; + } + + @JsonProperty("resultsIndex") + public void setResultsIndex(Integer resultsIndex) { + this.resultsIndex = resultsIndex; + } + + @JsonIgnore + public ResultRefBuilder edit() { + return new ResultRefBuilder(this); + } + + @JsonIgnore + public ResultRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Sidecar.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Sidecar.java similarity index 85% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Sidecar.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Sidecar.java index 9f68ffcb520..7b7f78ad7d7 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Sidecar.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Sidecar.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,7 +15,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvFromSource; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,9 +28,10 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.Probe; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.SecurityContext; -import io.fabric8.kubernetes.api.model.Volume; import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -50,6 +53,7 @@ "name", "ports", "readinessProbe", + "restartPolicy", "script", "securityContext", "startupProbe", @@ -74,15 +78,11 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Sidecar implements Editable , KubernetesResource @@ -95,10 +95,10 @@ public class Sidecar implements Editable , KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List command = new ArrayList<>(); @JsonProperty("computeResources") - private io.fabric8.kubernetes.api.model.ResourceRequirements computeResources; + private ResourceRequirements computeResources; @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); + private List env = new ArrayList<>(); @JsonProperty("envFrom") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List envFrom = new ArrayList<>(); @@ -114,9 +114,11 @@ public class Sidecar implements Editable , KubernetesResource private String name; @JsonProperty("ports") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List ports = new ArrayList<>(); + private List ports = new ArrayList<>(); @JsonProperty("readinessProbe") private Probe readinessProbe; + @JsonProperty("restartPolicy") + private String restartPolicy; @JsonProperty("script") private String script; @JsonProperty("securityContext") @@ -138,7 +140,7 @@ public class Sidecar implements Editable , KubernetesResource private List volumeDevices = new ArrayList<>(); @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); @JsonProperty("workingDir") private String workingDir; @JsonProperty("workspaces") @@ -154,7 +156,7 @@ public class Sidecar implements Editable , KubernetesResource public Sidecar() { } - public Sidecar(List args, List command, io.fabric8.kubernetes.api.model.ResourceRequirements computeResources, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, String script, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir, List workspaces) { + public Sidecar(List args, List command, ResourceRequirements computeResources, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, String restartPolicy, String script, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir, List workspaces) { super(); this.args = args; this.command = command; @@ -168,6 +170,7 @@ public Sidecar(List args, List command, io.fabric8.kubernetes.ap this.name = name; this.ports = ports; this.readinessProbe = readinessProbe; + this.restartPolicy = restartPolicy; this.script = script; this.securityContext = securityContext; this.startupProbe = startupProbe; @@ -205,23 +208,23 @@ public void setCommand(List command) { } @JsonProperty("computeResources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getComputeResources() { + public ResourceRequirements getComputeResources() { return computeResources; } @JsonProperty("computeResources") - public void setComputeResources(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources) { + public void setComputeResources(ResourceRequirements computeResources) { this.computeResources = computeResources; } @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { + public List getEnv() { return env; } @JsonProperty("env") - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } @@ -288,12 +291,12 @@ public void setName(String name) { @JsonProperty("ports") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPorts() { + public List getPorts() { return ports; } @JsonProperty("ports") - public void setPorts(List ports) { + public void setPorts(List ports) { this.ports = ports; } @@ -307,6 +310,16 @@ public void setReadinessProbe(Probe readinessProbe) { this.readinessProbe = readinessProbe; } + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + @JsonProperty("script") public String getScript() { return script; @@ -400,12 +413,12 @@ public void setVolumeDevices(List volumeDevices) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SidecarState.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/SidecarState.java similarity index 92% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SidecarState.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/SidecarState.java index bc2c3db75cb..8800027cb9a 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SidecarState.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/SidecarState.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,11 +13,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.ContainerStateRunning; import io.fabric8.kubernetes.api.model.ContainerStateTerminated; import io.fabric8.kubernetes.api.model.ContainerStateWaiting; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -60,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class SidecarState implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SkippedTask.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/SkippedTask.java similarity index 90% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SkippedTask.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/SkippedTask.java index 534c7bf03fb..fa02d6ba4b5 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/SkippedTask.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/SkippedTask.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class SkippedTask implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Step.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Step.java similarity index 77% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Step.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Step.java index 42289a2848d..cb3c54f59c9 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Step.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Step.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,9 +15,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.EnvFromSource; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,9 +26,10 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.SecurityContext; -import io.fabric8.kubernetes.api.model.Volume; import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -47,6 +48,9 @@ "imagePullPolicy", "name", "onError", + "params", + "ref", + "results", "script", "securityContext", "stderrConfig", @@ -54,6 +58,7 @@ "timeout", "volumeDevices", "volumeMounts", + "when", "workingDir", "workspaces" }) @@ -68,15 +73,11 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Step implements Editable , KubernetesResource @@ -89,10 +90,10 @@ public class Step implements Editable , KubernetesResource @JsonInclude(JsonInclude.Include.NON_EMPTY) private List command = new ArrayList<>(); @JsonProperty("computeResources") - private io.fabric8.kubernetes.api.model.ResourceRequirements computeResources; + private ResourceRequirements computeResources; @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); + private List env = new ArrayList<>(); @JsonProperty("envFrom") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List envFrom = new ArrayList<>(); @@ -104,6 +105,14 @@ public class Step implements Editable , KubernetesResource private String name; @JsonProperty("onError") private String onError; + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List params = new ArrayList<>(); + @JsonProperty("ref") + private Ref ref; + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); @JsonProperty("script") private String script; @JsonProperty("securityContext") @@ -119,7 +128,10 @@ public class Step implements Editable , KubernetesResource private List volumeDevices = new ArrayList<>(); @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); + @JsonProperty("when") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List when = new ArrayList<>(); @JsonProperty("workingDir") private String workingDir; @JsonProperty("workspaces") @@ -135,7 +147,7 @@ public class Step implements Editable , KubernetesResource public Step() { } - public Step(List args, List command, io.fabric8.kubernetes.api.model.ResourceRequirements computeResources, List env, List envFrom, String image, String imagePullPolicy, String name, String onError, String script, SecurityContext securityContext, StepOutputConfig stderrConfig, StepOutputConfig stdoutConfig, Duration timeout, List volumeDevices, List volumeMounts, String workingDir, List workspaces) { + public Step(List args, List command, ResourceRequirements computeResources, List env, List envFrom, String image, String imagePullPolicy, String name, String onError, List params, Ref ref, List results, String script, SecurityContext securityContext, StepOutputConfig stderrConfig, StepOutputConfig stdoutConfig, Duration timeout, List volumeDevices, List volumeMounts, List when, String workingDir, List workspaces) { super(); this.args = args; this.command = command; @@ -146,6 +158,9 @@ public Step(List args, List command, io.fabric8.kubernetes.api.m this.imagePullPolicy = imagePullPolicy; this.name = name; this.onError = onError; + this.params = params; + this.ref = ref; + this.results = results; this.script = script; this.securityContext = securityContext; this.stderrConfig = stderrConfig; @@ -153,6 +168,7 @@ public Step(List args, List command, io.fabric8.kubernetes.api.m this.timeout = timeout; this.volumeDevices = volumeDevices; this.volumeMounts = volumeMounts; + this.when = when; this.workingDir = workingDir; this.workspaces = workspaces; } @@ -180,23 +196,23 @@ public void setCommand(List command) { } @JsonProperty("computeResources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getComputeResources() { + public ResourceRequirements getComputeResources() { return computeResources; } @JsonProperty("computeResources") - public void setComputeResources(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources) { + public void setComputeResources(ResourceRequirements computeResources) { this.computeResources = computeResources; } @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { + public List getEnv() { return env; } @JsonProperty("env") - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } @@ -251,6 +267,38 @@ public void setOnError(String onError) { this.onError = onError; } + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getParams() { + return params; + } + + @JsonProperty("params") + public void setParams(List params) { + this.params = params; + } + + @JsonProperty("ref") + public Ref getRef() { + return ref; + } + + @JsonProperty("ref") + public void setRef(Ref ref) { + this.ref = ref; + } + + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + @JsonProperty("script") public String getScript() { return script; @@ -314,15 +362,26 @@ public void setVolumeDevices(List volumeDevices) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } + @JsonProperty("when") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getWhen() { + return when; + } + + @JsonProperty("when") + public void setWhen(List when) { + this.when = when; + } + @JsonProperty("workingDir") public String getWorkingDir() { return workingDir; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepOutputConfig.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepOutputConfig.java similarity index 88% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepOutputConfig.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepOutputConfig.java index 962711850ce..bcd8ba1d1da 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepOutputConfig.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepOutputConfig.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class StepOutputConfig implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepResult.java new file mode 100644 index 00000000000..9e59cc2591b --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepResult.java @@ -0,0 +1,152 @@ + +package io.fabric8.tekton.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "description", + "name", + "properties", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class StepResult implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("name") + private String name; + @JsonProperty("properties") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map properties = new LinkedHashMap<>(); + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StepResult() { + } + + public StepResult(String description, String name, Map properties, String type) { + super(); + this.description = description; + this.name = name; + this.properties = properties; + this.type = type; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("properties") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getProperties() { + return properties; + } + + @JsonProperty("properties") + public void setProperties(Map properties) { + this.properties = properties; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public StepResultBuilder edit() { + return new StepResultBuilder(this); + } + + @JsonIgnore + public StepResultBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepState.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepState.java similarity index 67% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepState.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepState.java index e0b01c071a2..1f9a5529f07 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepState.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepState.java @@ -1,7 +1,9 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1; +import java.util.ArrayList; import java.util.LinkedHashMap; +import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; @@ -13,11 +15,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.ContainerStateRunning; import io.fabric8.kubernetes.api.model.ContainerStateTerminated; import io.fabric8.kubernetes.api.model.ContainerStateWaiting; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +27,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -40,9 +38,14 @@ @JsonPropertyOrder({ "container", "imageID", + "inputs", "name", + "outputs", + "provenance", + "results", "running", "terminated", + "terminationReason", "waiting" }) @ToString @@ -60,11 +63,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class StepState implements Editable , KubernetesResource @@ -74,12 +73,25 @@ public class StepState implements Editable , KubernetesResourc private String container; @JsonProperty("imageID") private String imageID; + @JsonProperty("inputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List inputs = new ArrayList<>(); @JsonProperty("name") private String name; + @JsonProperty("outputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List outputs = new ArrayList<>(); + @JsonProperty("provenance") + private Provenance provenance; + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); @JsonProperty("running") private ContainerStateRunning running; @JsonProperty("terminated") private ContainerStateTerminated terminated; + @JsonProperty("terminationReason") + private String terminationReason; @JsonProperty("waiting") private ContainerStateWaiting waiting; @JsonIgnore @@ -92,13 +104,18 @@ public class StepState implements Editable , KubernetesResourc public StepState() { } - public StepState(String container, String imageID, String name, ContainerStateRunning running, ContainerStateTerminated terminated, ContainerStateWaiting waiting) { + public StepState(String container, String imageID, List inputs, String name, List outputs, Provenance provenance, List results, ContainerStateRunning running, ContainerStateTerminated terminated, String terminationReason, ContainerStateWaiting waiting) { super(); this.container = container; this.imageID = imageID; + this.inputs = inputs; this.name = name; + this.outputs = outputs; + this.provenance = provenance; + this.results = results; this.running = running; this.terminated = terminated; + this.terminationReason = terminationReason; this.waiting = waiting; } @@ -122,6 +139,17 @@ public void setImageID(String imageID) { this.imageID = imageID; } + @JsonProperty("inputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getInputs() { + return inputs; + } + + @JsonProperty("inputs") + public void setInputs(List inputs) { + this.inputs = inputs; + } + @JsonProperty("name") public String getName() { return name; @@ -132,6 +160,38 @@ public void setName(String name) { this.name = name; } + @JsonProperty("outputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOutputs() { + return outputs; + } + + @JsonProperty("outputs") + public void setOutputs(List outputs) { + this.outputs = outputs; + } + + @JsonProperty("provenance") + public Provenance getProvenance() { + return provenance; + } + + @JsonProperty("provenance") + public void setProvenance(Provenance provenance) { + this.provenance = provenance; + } + + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + @JsonProperty("running") public ContainerStateRunning getRunning() { return running; @@ -152,6 +212,16 @@ public void setTerminated(ContainerStateTerminated terminated) { this.terminated = terminated; } + @JsonProperty("terminationReason") + public String getTerminationReason() { + return terminationReason; + } + + @JsonProperty("terminationReason") + public void setTerminationReason(String terminationReason) { + this.terminationReason = terminationReason; + } + @JsonProperty("waiting") public ContainerStateWaiting getWaiting() { return waiting; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepTemplate.java similarity index 83% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepTemplate.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepTemplate.java index 7133a2ba278..c954dbdfb70 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepTemplate.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/StepTemplate.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,8 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvFromSource; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -25,9 +25,10 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.SecurityContext; -import io.fabric8.kubernetes.api.model.Volume; import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -60,15 +61,11 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class StepTemplate implements Editable , KubernetesResource @@ -81,10 +78,10 @@ public class StepTemplate implements Editable , KubernetesR @JsonInclude(JsonInclude.Include.NON_EMPTY) private List command = new ArrayList<>(); @JsonProperty("computeResources") - private io.fabric8.kubernetes.api.model.ResourceRequirements computeResources; + private ResourceRequirements computeResources; @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); + private List env = new ArrayList<>(); @JsonProperty("envFrom") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List envFrom = new ArrayList<>(); @@ -99,7 +96,7 @@ public class StepTemplate implements Editable , KubernetesR private List volumeDevices = new ArrayList<>(); @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); @JsonProperty("workingDir") private String workingDir; @JsonIgnore @@ -112,7 +109,7 @@ public class StepTemplate implements Editable , KubernetesR public StepTemplate() { } - public StepTemplate(List args, List command, io.fabric8.kubernetes.api.model.ResourceRequirements computeResources, List env, List envFrom, String image, String imagePullPolicy, SecurityContext securityContext, List volumeDevices, List volumeMounts, String workingDir) { + public StepTemplate(List args, List command, ResourceRequirements computeResources, List env, List envFrom, String image, String imagePullPolicy, SecurityContext securityContext, List volumeDevices, List volumeMounts, String workingDir) { super(); this.args = args; this.command = command; @@ -150,23 +147,23 @@ public void setCommand(List command) { } @JsonProperty("computeResources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getComputeResources() { + public ResourceRequirements getComputeResources() { return computeResources; } @JsonProperty("computeResources") - public void setComputeResources(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources) { + public void setComputeResources(ResourceRequirements computeResources) { this.computeResources = computeResources; } @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { + public List getEnv() { return env; } @JsonProperty("env") - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } @@ -224,12 +221,12 @@ public void setVolumeDevices(List volumeDevices) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Task.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Task.java similarity index 84% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Task.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Task.java index c5126f6910a..a872b8db525 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/Task.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/Task.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class Task implements Editable , HasMetadata, Namespaced @JsonProperty("kind") private String kind = "Task"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TaskSpec spec; @JsonIgnore @@ -102,7 +95,7 @@ public class Task implements Editable , HasMetadata, Namespaced public Task() { } - public Task(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TaskSpec spec) { + public Task(String apiVersion, String kind, ObjectMeta metadata, TaskSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -151,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskBreakpoints.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskBreakpoints.java new file mode 100644 index 00000000000..688014d9fc2 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskBreakpoints.java @@ -0,0 +1,126 @@ + +package io.fabric8.tekton.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "beforeSteps", + "onFailure" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TaskBreakpoints implements Editable , KubernetesResource +{ + + @JsonProperty("beforeSteps") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List beforeSteps = new ArrayList<>(); + @JsonProperty("onFailure") + private String onFailure; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TaskBreakpoints() { + } + + public TaskBreakpoints(List beforeSteps, String onFailure) { + super(); + this.beforeSteps = beforeSteps; + this.onFailure = onFailure; + } + + @JsonProperty("beforeSteps") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getBeforeSteps() { + return beforeSteps; + } + + @JsonProperty("beforeSteps") + public void setBeforeSteps(List beforeSteps) { + this.beforeSteps = beforeSteps; + } + + @JsonProperty("onFailure") + public String getOnFailure() { + return onFailure; + } + + @JsonProperty("onFailure") + public void setOnFailure(String onFailure) { + this.onFailure = onFailure; + } + + @JsonIgnore + public TaskBreakpointsBuilder edit() { + return new TaskBreakpointsBuilder(this); + } + + @JsonIgnore + public TaskBreakpointsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskList.java similarity index 85% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskList.java index f5da5302fc1..569ab662db4 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskList implements Editable , KubernetesResource, KubernetesResourceList +public class TaskList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class TaskList implements Editable , KubernetesResource, private String apiVersion = "tekton.dev/v1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class TaskList implements Editable , KubernetesResource, public TaskList() { } - public TaskList(String apiVersion, List items, String kind, ListMeta metadata) { + public TaskList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRef.java new file mode 100644 index 00000000000..0cbfd89e73a --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRef.java @@ -0,0 +1,136 @@ + +package io.fabric8.tekton.v1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TaskRef implements Editable , KubernetesResource +{ + + @JsonProperty("apiVersion") + private String apiVersion; + @JsonProperty("kind") + private String kind; + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TaskRef() { + } + + public TaskRef(String apiVersion, String kind, String name) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.name = name; + } + + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("kind") + public String getKind() { + return kind; + } + + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public TaskRefBuilder edit() { + return new TaskRefBuilder(this); + } + + @JsonIgnore + public TaskRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskResult.java similarity index 74% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskResult.java index 3cb5dee46ff..754a8eec402 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -38,7 +34,8 @@ "description", "name", "properties", - "type" + "type", + "value" }) @ToString @EqualsAndHashCode @@ -55,27 +52,25 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskResult implements Editable , KubernetesResource { @JsonProperty("description") - private java.lang.String description; + private String description; @JsonProperty("name") - private java.lang.String name; + private String name; @JsonProperty("properties") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map properties = new LinkedHashMap<>(); @JsonProperty("type") - private java.lang.String type; + private String type; + @JsonProperty("value") + private ParamValue value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -84,31 +79,32 @@ public class TaskResult implements Editable , KubernetesResou public TaskResult() { } - public TaskResult(java.lang.String description, java.lang.String name, Map properties, java.lang.String type) { + public TaskResult(String description, String name, Map properties, String type, ParamValue value) { super(); this.description = description; this.name = name; this.properties = properties; this.type = type; + this.value = value; } @JsonProperty("description") - public java.lang.String getDescription() { + public String getDescription() { return description; } @JsonProperty("description") - public void setDescription(java.lang.String description) { + public void setDescription(String description) { this.description = description; } @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @@ -124,15 +120,25 @@ public void setProperties(Map properties) { } @JsonProperty("type") - public java.lang.String getType() { + public String getType() { return type; } @JsonProperty("type") - public void setType(java.lang.String type) { + public void setType(String type) { this.type = type; } + @JsonProperty("value") + public ParamValue getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(ParamValue value) { + this.value = value; + } + @JsonIgnore public TaskResultBuilder edit() { return new TaskResultBuilder(this); @@ -144,16 +150,16 @@ public TaskResultBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRun.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRun.java similarity index 85% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRun.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRun.java index 6d539067a34..9eea8b5b226 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRun.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRun.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class TaskRun implements Editable , HasMetadata, Namespac @JsonProperty("kind") private String kind = "TaskRun"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TaskRunSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class TaskRun implements Editable , HasMetadata, Namespac public TaskRun() { } - public TaskRun(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TaskRunSpec spec, TaskRunStatus status) { + public TaskRun(String apiVersion, String kind, ObjectMeta metadata, TaskRunSpec spec, TaskRunStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunDebug.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunDebug.java similarity index 75% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunDebug.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunDebug.java index 5de84dc9931..bc76641417e 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunDebug.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunDebug.java @@ -1,9 +1,7 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; -import java.util.ArrayList; import java.util.LinkedHashMap; -import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; @@ -15,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -37,7 +31,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "breakpoint" + "breakpoints" }) @ToString @EqualsAndHashCode @@ -54,19 +48,14 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunDebug implements Editable , KubernetesResource { - @JsonProperty("breakpoint") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List breakpoint = new ArrayList<>(); + @JsonProperty("breakpoints") + private TaskBreakpoints breakpoints; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -77,20 +66,19 @@ public class TaskRunDebug implements Editable , KubernetesR public TaskRunDebug() { } - public TaskRunDebug(List breakpoint) { + public TaskRunDebug(TaskBreakpoints breakpoints) { super(); - this.breakpoint = breakpoint; + this.breakpoints = breakpoints; } - @JsonProperty("breakpoint") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getBreakpoint() { - return breakpoint; + @JsonProperty("breakpoints") + public TaskBreakpoints getBreakpoints() { + return breakpoints; } - @JsonProperty("breakpoint") - public void setBreakpoint(List breakpoint) { - this.breakpoint = breakpoint; + @JsonProperty("breakpoints") + public void setBreakpoints(TaskBreakpoints breakpoints) { + this.breakpoints = breakpoints; } @JsonIgnore diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunInputs.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunInputs.java new file mode 100644 index 00000000000..c5f6d69fa2c --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunInputs.java @@ -0,0 +1,112 @@ + +package io.fabric8.tekton.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "params" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TaskRunInputs implements Editable , KubernetesResource +{ + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List params = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TaskRunInputs() { + } + + public TaskRunInputs(List params) { + super(); + this.params = params; + } + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getParams() { + return params; + } + + @JsonProperty("params") + public void setParams(List params) { + this.params = params; + } + + @JsonIgnore + public TaskRunInputsBuilder edit() { + return new TaskRunInputsBuilder(this); + } + + @JsonIgnore + public TaskRunInputsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunList.java similarity index 87% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunList.java index 745f1124b6d..098385818b1 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskRunList implements Editable , KubernetesResource, KubernetesResourceList +public class TaskRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class TaskRunList implements Editable , KubernetesRes private String apiVersion = "tekton.dev/v1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class TaskRunList implements Editable , KubernetesRes public TaskRunList() { } - public TaskRunList(String apiVersion, List items, String kind, ListMeta metadata) { + public TaskRunList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunResult.java similarity index 89% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunResult.java index 3460c87d89d..7369d544769 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunResult implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSidecarSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunSidecarSpec.java similarity index 79% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSidecarSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunSidecarSpec.java index 8dbb110707d..0506f5a172a 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSidecarSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunSidecarSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -23,8 +21,7 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -48,22 +45,18 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunSidecarSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") - private io.fabric8.kubernetes.api.model.ResourceRequirements computeResources; + private ResourceRequirements computeResources; @JsonProperty("name") private String name; @JsonIgnore @@ -76,19 +69,19 @@ public class TaskRunSidecarSpec implements Editable , public TaskRunSidecarSpec() { } - public TaskRunSidecarSpec(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources, String name) { + public TaskRunSidecarSpec(ResourceRequirements computeResources, String name) { super(); this.computeResources = computeResources; this.name = name; } @JsonProperty("computeResources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getComputeResources() { + public ResourceRequirements getComputeResources() { return computeResources; } @JsonProperty("computeResources") - public void setComputeResources(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources) { + public void setComputeResources(ResourceRequirements computeResources) { this.computeResources = computeResources; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunSpec.java similarity index 86% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunSpec.java index 8f56d279f98..862793defe6 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,9 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,9 +24,8 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1.internal.pipeline.pkg.apis.pipeline.pod.Template; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.tekton.pod.Template; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -64,22 +61,18 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") - private io.fabric8.kubernetes.api.model.ResourceRequirements computeResources; + private ResourceRequirements computeResources; @JsonProperty("debug") private TaskRunDebug debug; @JsonProperty("params") @@ -120,7 +113,7 @@ public class TaskRunSpec implements Editable , KubernetesRes public TaskRunSpec() { } - public TaskRunSpec(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources, TaskRunDebug debug, List params, Template podTemplate, Integer retries, String serviceAccountName, List sidecarSpecs, String status, String statusMessage, List stepSpecs, TaskRef taskRef, TaskSpec taskSpec, Duration timeout, List workspaces) { + public TaskRunSpec(ResourceRequirements computeResources, TaskRunDebug debug, List params, Template podTemplate, Integer retries, String serviceAccountName, List sidecarSpecs, String status, String statusMessage, List stepSpecs, TaskRef taskRef, TaskSpec taskSpec, Duration timeout, List workspaces) { super(); this.computeResources = computeResources; this.debug = debug; @@ -139,12 +132,12 @@ public TaskRunSpec(io.fabric8.kubernetes.api.model.ResourceRequirements computeR } @JsonProperty("computeResources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getComputeResources() { + public ResourceRequirements getComputeResources() { return computeResources; } @JsonProperty("computeResources") - public void setComputeResources(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources) { + public void setComputeResources(ResourceRequirements computeResources) { this.computeResources = computeResources; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunStatus.java similarity index 81% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunStatus.java index 6417df82a8e..83f22876f3b 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -16,8 +16,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -39,6 +35,7 @@ @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ "annotations", + "artifacts", "completionTime", "conditions", "observedGeneration", @@ -67,11 +64,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunStatus implements Editable , KubernetesResource @@ -80,15 +73,17 @@ public class TaskRunStatus implements Editable , Kubernete @JsonProperty("annotations") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotations = new LinkedHashMap<>(); + @JsonProperty("artifacts") + private Artifacts artifacts; @JsonProperty("completionTime") - private java.lang.String completionTime; + private String completionTime; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList<>(); @JsonProperty("observedGeneration") private Long observedGeneration; @JsonProperty("podName") - private java.lang.String podName; + private String podName; @JsonProperty("provenance") private Provenance provenance; @JsonProperty("results") @@ -96,7 +91,7 @@ public class TaskRunStatus implements Editable , Kubernete private List results = new ArrayList<>(); @JsonProperty("retriesStatus") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List retriesStatus = new ArrayList<>(); + private List retriesStatus = new ArrayList<>(); @JsonProperty("sidecars") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List sidecars = new ArrayList<>(); @@ -104,14 +99,14 @@ public class TaskRunStatus implements Editable , Kubernete @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map spanContext = new LinkedHashMap<>(); @JsonProperty("startTime") - private java.lang.String startTime; + private String startTime; @JsonProperty("steps") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List steps = new ArrayList<>(); @JsonProperty("taskSpec") private TaskSpec taskSpec; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -120,9 +115,10 @@ public class TaskRunStatus implements Editable , Kubernete public TaskRunStatus() { } - public TaskRunStatus(Map annotations, java.lang.String completionTime, List conditions, Long observedGeneration, java.lang.String podName, Provenance provenance, List results, List retriesStatus, List sidecars, Map spanContext, java.lang.String startTime, List steps, TaskSpec taskSpec) { + public TaskRunStatus(Map annotations, Artifacts artifacts, String completionTime, List conditions, Long observedGeneration, String podName, Provenance provenance, List results, List retriesStatus, List sidecars, Map spanContext, String startTime, List steps, TaskSpec taskSpec) { super(); this.annotations = annotations; + this.artifacts = artifacts; this.completionTime = completionTime; this.conditions = conditions; this.observedGeneration = observedGeneration; @@ -148,13 +144,23 @@ public void setAnnotations(Map annotations) { this.annotations = annotations; } + @JsonProperty("artifacts") + public Artifacts getArtifacts() { + return artifacts; + } + + @JsonProperty("artifacts") + public void setArtifacts(Artifacts artifacts) { + this.artifacts = artifacts; + } + @JsonProperty("completionTime") - public java.lang.String getCompletionTime() { + public String getCompletionTime() { return completionTime; } @JsonProperty("completionTime") - public void setCompletionTime(java.lang.String completionTime) { + public void setCompletionTime(String completionTime) { this.completionTime = completionTime; } @@ -180,12 +186,12 @@ public void setObservedGeneration(Long observedGeneration) { } @JsonProperty("podName") - public java.lang.String getPodName() { + public String getPodName() { return podName; } @JsonProperty("podName") - public void setPodName(java.lang.String podName) { + public void setPodName(String podName) { this.podName = podName; } @@ -212,12 +218,12 @@ public void setResults(List results) { @JsonProperty("retriesStatus") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRetriesStatus() { + public List getRetriesStatus() { return retriesStatus; } @JsonProperty("retriesStatus") - public void setRetriesStatus(List retriesStatus) { + public void setRetriesStatus(List retriesStatus) { this.retriesStatus = retriesStatus; } @@ -244,12 +250,12 @@ public void setSpanContext(Map spanContext) { } @JsonProperty("startTime") - public java.lang.String getStartTime() { + public String getStartTime() { return startTime; } @JsonProperty("startTime") - public void setStartTime(java.lang.String startTime) { + public void setStartTime(String startTime) { this.startTime = startTime; } @@ -285,16 +291,16 @@ public TaskRunStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunStatusFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunStatusFields.java new file mode 100644 index 00000000000..1f9079ade98 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunStatusFields.java @@ -0,0 +1,260 @@ + +package io.fabric8.tekton.v1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "artifacts", + "completionTime", + "podName", + "provenance", + "results", + "retriesStatus", + "sidecars", + "spanContext", + "startTime", + "steps", + "taskSpec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TaskRunStatusFields implements Editable , KubernetesResource +{ + + @JsonProperty("artifacts") + private Artifacts artifacts; + @JsonProperty("completionTime") + private String completionTime; + @JsonProperty("podName") + private String podName; + @JsonProperty("provenance") + private Provenance provenance; + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); + @JsonProperty("retriesStatus") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List retriesStatus = new ArrayList<>(); + @JsonProperty("sidecars") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sidecars = new ArrayList<>(); + @JsonProperty("spanContext") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map spanContext = new LinkedHashMap<>(); + @JsonProperty("startTime") + private String startTime; + @JsonProperty("steps") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List steps = new ArrayList<>(); + @JsonProperty("taskSpec") + private TaskSpec taskSpec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TaskRunStatusFields() { + } + + public TaskRunStatusFields(Artifacts artifacts, String completionTime, String podName, Provenance provenance, List results, List retriesStatus, List sidecars, Map spanContext, String startTime, List steps, TaskSpec taskSpec) { + super(); + this.artifacts = artifacts; + this.completionTime = completionTime; + this.podName = podName; + this.provenance = provenance; + this.results = results; + this.retriesStatus = retriesStatus; + this.sidecars = sidecars; + this.spanContext = spanContext; + this.startTime = startTime; + this.steps = steps; + this.taskSpec = taskSpec; + } + + @JsonProperty("artifacts") + public Artifacts getArtifacts() { + return artifacts; + } + + @JsonProperty("artifacts") + public void setArtifacts(Artifacts artifacts) { + this.artifacts = artifacts; + } + + @JsonProperty("completionTime") + public String getCompletionTime() { + return completionTime; + } + + @JsonProperty("completionTime") + public void setCompletionTime(String completionTime) { + this.completionTime = completionTime; + } + + @JsonProperty("podName") + public String getPodName() { + return podName; + } + + @JsonProperty("podName") + public void setPodName(String podName) { + this.podName = podName; + } + + @JsonProperty("provenance") + public Provenance getProvenance() { + return provenance; + } + + @JsonProperty("provenance") + public void setProvenance(Provenance provenance) { + this.provenance = provenance; + } + + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + + @JsonProperty("retriesStatus") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRetriesStatus() { + return retriesStatus; + } + + @JsonProperty("retriesStatus") + public void setRetriesStatus(List retriesStatus) { + this.retriesStatus = retriesStatus; + } + + @JsonProperty("sidecars") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSidecars() { + return sidecars; + } + + @JsonProperty("sidecars") + public void setSidecars(List sidecars) { + this.sidecars = sidecars; + } + + @JsonProperty("spanContext") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getSpanContext() { + return spanContext; + } + + @JsonProperty("spanContext") + public void setSpanContext(Map spanContext) { + this.spanContext = spanContext; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonProperty("steps") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSteps() { + return steps; + } + + @JsonProperty("steps") + public void setSteps(List steps) { + this.steps = steps; + } + + @JsonProperty("taskSpec") + public TaskSpec getTaskSpec() { + return taskSpec; + } + + @JsonProperty("taskSpec") + public void setTaskSpec(TaskSpec taskSpec) { + this.taskSpec = taskSpec; + } + + @JsonIgnore + public TaskRunStatusFieldsBuilder edit() { + return new TaskRunStatusFieldsBuilder(this); + } + + @JsonIgnore + public TaskRunStatusFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStepSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunStepSpec.java similarity index 79% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStepSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunStepSpec.java index 27e8fb57f47..33cfb37baef 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskRunStepSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskRunStepSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -23,8 +21,7 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -48,22 +45,18 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunStepSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") - private io.fabric8.kubernetes.api.model.ResourceRequirements computeResources; + private ResourceRequirements computeResources; @JsonProperty("name") private String name; @JsonIgnore @@ -76,19 +69,19 @@ public class TaskRunStepSpec implements Editable , Kuber public TaskRunStepSpec() { } - public TaskRunStepSpec(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources, String name) { + public TaskRunStepSpec(ResourceRequirements computeResources, String name) { super(); this.computeResources = computeResources; this.name = name; } @JsonProperty("computeResources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getComputeResources() { + public ResourceRequirements getComputeResources() { return computeResources; } @JsonProperty("computeResources") - public void setComputeResources(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources) { + public void setComputeResources(ResourceRequirements computeResources) { this.computeResources = computeResources; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskSpec.java similarity index 89% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskSpec.java index d6063a4eb1a..2265fe495a9 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TaskSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TaskSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,7 +24,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.Volume; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -61,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskSpec implements Editable , KubernetesResource @@ -91,7 +85,7 @@ public class TaskSpec implements Editable , KubernetesResource private List steps = new ArrayList<>(); @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); + private List volumes = new ArrayList<>(); @JsonProperty("workspaces") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List workspaces = new ArrayList<>(); @@ -105,7 +99,7 @@ public class TaskSpec implements Editable , KubernetesResource public TaskSpec() { } - public TaskSpec(String description, String displayName, List params, List results, List sidecars, StepTemplate stepTemplate, List steps, List volumes, List workspaces) { + public TaskSpec(String description, String displayName, List params, List results, List sidecars, StepTemplate stepTemplate, List steps, List volumes, List workspaces) { super(); this.description = description; this.displayName = displayName; @@ -194,12 +188,12 @@ public void setSteps(List steps) { @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { + public List getVolumes() { return volumes; } @JsonProperty("volumes") - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TimeoutFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TimeoutFields.java similarity index 90% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TimeoutFields.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TimeoutFields.java index d547ca571a6..8d364d46be9 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/TimeoutFields.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/TimeoutFields.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,9 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -25,8 +23,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TimeoutFields implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WhenExpression.java similarity index 88% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WhenExpression.java index da26c9f870d..be2feb133a3 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WhenExpression.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WhenExpression.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -37,6 +33,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ + "cel", "input", "operator", "values" @@ -56,16 +53,14 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WhenExpression implements Editable , KubernetesResource { + @JsonProperty("cel") + private String cel; @JsonProperty("input") private String input; @JsonProperty("operator") @@ -83,13 +78,24 @@ public class WhenExpression implements Editable , Kuberne public WhenExpression() { } - public WhenExpression(String input, String operator, List values) { + public WhenExpression(String cel, String input, String operator, List values) { super(); + this.cel = cel; this.input = input; this.operator = operator; this.values = values; } + @JsonProperty("cel") + public String getCel() { + return cel; + } + + @JsonProperty("cel") + public void setCel(String cel) { + this.cel = cel; + } + @JsonProperty("input") public String getInput() { return input; diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspaceBinding.java similarity index 88% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspaceBinding.java index a784aed562e..10c77000c37 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspaceBinding.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -15,22 +15,19 @@ import io.fabric8.kubernetes.api.model.CSIVolumeSource; import io.fabric8.kubernetes.api.model.ConfigMapVolumeSource; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EmptyDirVolumeSource; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSource; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ProjectedVolumeSource; import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.SecretVolumeSource; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -65,11 +62,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(io.fabric8.kubernetes.api.model.PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WorkspaceBinding implements Editable , KubernetesResource @@ -92,7 +85,7 @@ public class WorkspaceBinding implements Editable , Kub @JsonProperty("subPath") private String subPath; @JsonProperty("volumeClaimTemplate") - private io.fabric8.kubernetes.api.model.PersistentVolumeClaim volumeClaimTemplate; + private PersistentVolumeClaim volumeClaimTemplate; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -103,7 +96,7 @@ public class WorkspaceBinding implements Editable , Kub public WorkspaceBinding() { } - public WorkspaceBinding(ConfigMapVolumeSource configMap, CSIVolumeSource csi, EmptyDirVolumeSource emptyDir, String name, PersistentVolumeClaimVolumeSource persistentVolumeClaim, ProjectedVolumeSource projected, SecretVolumeSource secret, String subPath, io.fabric8.kubernetes.api.model.PersistentVolumeClaim volumeClaimTemplate) { + public WorkspaceBinding(ConfigMapVolumeSource configMap, CSIVolumeSource csi, EmptyDirVolumeSource emptyDir, String name, PersistentVolumeClaimVolumeSource persistentVolumeClaim, ProjectedVolumeSource projected, SecretVolumeSource secret, String subPath, PersistentVolumeClaim volumeClaimTemplate) { super(); this.configMap = configMap; this.csi = csi; @@ -197,12 +190,12 @@ public void setSubPath(String subPath) { } @JsonProperty("volumeClaimTemplate") - public io.fabric8.kubernetes.api.model.PersistentVolumeClaim getVolumeClaimTemplate() { + public PersistentVolumeClaim getVolumeClaimTemplate() { return volumeClaimTemplate; } @JsonProperty("volumeClaimTemplate") - public void setVolumeClaimTemplate(io.fabric8.kubernetes.api.model.PersistentVolumeClaim volumeClaimTemplate) { + public void setVolumeClaimTemplate(PersistentVolumeClaim volumeClaimTemplate) { this.volumeClaimTemplate = volumeClaimTemplate; } diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceDeclaration.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspaceDeclaration.java similarity index 91% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceDeclaration.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspaceDeclaration.java index 6511d34806c..2112d50519d 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceDeclaration.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspaceDeclaration.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WorkspaceDeclaration implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspacePipelineTaskBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspacePipelineTaskBinding.java similarity index 90% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspacePipelineTaskBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspacePipelineTaskBinding.java index 80af069b23a..31592ba09f8 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspacePipelineTaskBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspacePipelineTaskBinding.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WorkspacePipelineTaskBinding implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceUsage.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspaceUsage.java similarity index 89% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceUsage.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspaceUsage.java index 024507fd97b..d40f11b81e4 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/WorkspaceUsage.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1/WorkspaceUsage.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WorkspaceUsage implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Authority.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/Authority.java similarity index 88% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Authority.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/Authority.java index 27c676e6080..92904a5d605 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Authority.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/Authority.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Authority implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/EmbeddedRunSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/EmbeddedRunSpec.java similarity index 69% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/EmbeddedRunSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/EmbeddedRunSpec.java index d42b3a5d411..424a79a1013 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/EmbeddedRunSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/EmbeddedRunSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,9 +22,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.PipelineTaskMetadata; +import io.fabric8.tekton.v1beta1.PipelineTaskMetadata; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,27 +52,23 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EmbeddedRunSpec implements Editable , KubernetesResource { @JsonProperty("apiVersion") - private java.lang.String apiVersion; + private String apiVersion; @JsonProperty("kind") - private java.lang.String kind; + private String kind; @JsonProperty("metadata") private PipelineTaskMetadata metadata; @JsonProperty("spec") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map spec = new LinkedHashMap<>(); + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object spec; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -85,7 +77,7 @@ public class EmbeddedRunSpec implements Editable , Kuber public EmbeddedRunSpec() { } - public EmbeddedRunSpec(java.lang.String apiVersion, java.lang.String kind, PipelineTaskMetadata metadata, Map spec) { + public EmbeddedRunSpec(String apiVersion, String kind, PipelineTaskMetadata metadata, Object spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -94,22 +86,22 @@ public EmbeddedRunSpec(java.lang.String apiVersion, java.lang.String kind, Pipel } @JsonProperty("apiVersion") - public java.lang.String getApiVersion() { + public String getApiVersion() { return apiVersion; } @JsonProperty("apiVersion") - public void setApiVersion(java.lang.String apiVersion) { + public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } @JsonProperty("kind") - public java.lang.String getKind() { + public String getKind() { return kind; } @JsonProperty("kind") - public void setKind(java.lang.String kind) { + public void setKind(String kind) { this.kind = kind; } @@ -124,13 +116,13 @@ public void setMetadata(PipelineTaskMetadata metadata) { } @JsonProperty("spec") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getSpec() { + public Object getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(Map spec) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSpec(Object spec) { this.spec = spec; } @@ -145,16 +137,16 @@ public EmbeddedRunSpecBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, java.lang.Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/KeyRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/KeyRef.java similarity index 90% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/KeyRef.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/KeyRef.java index a06d08240c2..ec90d9509c1 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/KeyRef.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/KeyRef.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -25,8 +23,6 @@ import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.SecretReference; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class KeyRef implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResource.java new file mode 100644 index 00000000000..4353a698697 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResource.java @@ -0,0 +1,204 @@ + +package io.fabric8.tekton.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "spec", + "status" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("tekton.dev") +@Generated("jsonschema2pojo") +public class PipelineResource implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "tekton.dev/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "PipelineResource"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private PipelineResourceSpec spec; + @JsonProperty("status") + private PipelineResourceStatus status; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineResource() { + } + + public PipelineResource(String apiVersion, String kind, ObjectMeta metadata, PipelineResourceSpec spec, PipelineResourceStatus status) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + this.status = status; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public PipelineResourceSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(PipelineResourceSpec spec) { + this.spec = spec; + } + + @JsonProperty("status") + public PipelineResourceStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(PipelineResourceStatus status) { + this.status = status; + } + + @JsonIgnore + public PipelineResourceBuilder edit() { + return new PipelineResourceBuilder(this); + } + + @JsonIgnore + public PipelineResourceBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResourceList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResourceList.java new file mode 100644 index 00000000000..40017f654dc --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResourceList.java @@ -0,0 +1,195 @@ + +package io.fabric8.tekton.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.KubernetesResourceList; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("tekton.dev") +@Generated("jsonschema2pojo") +public class PipelineResourceList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "tekton.dev/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "PipelineResourceList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineResourceList() { + } + + public PipelineResourceList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public PipelineResourceListBuilder edit() { + return new PipelineResourceListBuilder(this); + } + + @JsonIgnore + public PipelineResourceListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResourceSpec.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResourceSpec.java index 2865c46ce6e..ee4483ebf68 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/PipelineResourceSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResourceSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -57,11 +53,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineResourceSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResourceStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResourceStatus.java new file mode 100644 index 00000000000..8e007efa72e --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/PipelineResourceStatus.java @@ -0,0 +1,83 @@ + +package io.fabric8.tekton.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineResourceStatus implements Editable , KubernetesResource +{ + + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + @JsonIgnore + public PipelineResourceStatusBuilder edit() { + return new PipelineResourceStatusBuilder(this); + } + + @JsonIgnore + public PipelineResourceStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/ResourceDeclaration.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/ResourceDeclaration.java new file mode 100644 index 00000000000..583d10b362d --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/ResourceDeclaration.java @@ -0,0 +1,164 @@ + +package io.fabric8.tekton.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "description", + "name", + "optional", + "targetPath", + "type" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ResourceDeclaration implements Editable , KubernetesResource +{ + + @JsonProperty("description") + private String description; + @JsonProperty("name") + private String name; + @JsonProperty("optional") + private Boolean optional; + @JsonProperty("targetPath") + private String targetPath; + @JsonProperty("type") + private String type; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ResourceDeclaration() { + } + + public ResourceDeclaration(String description, String name, Boolean optional, String targetPath, String type) { + super(); + this.description = description; + this.name = name; + this.optional = optional; + this.targetPath = targetPath; + this.type = type; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("optional") + public Boolean getOptional() { + return optional; + } + + @JsonProperty("optional") + public void setOptional(Boolean optional) { + this.optional = optional; + } + + @JsonProperty("targetPath") + public String getTargetPath() { + return targetPath; + } + + @JsonProperty("targetPath") + public void setTargetPath(String targetPath) { + this.targetPath = targetPath; + } + + @JsonProperty("type") + public String getType() { + return type; + } + + @JsonProperty("type") + public void setType(String type) { + this.type = type; + } + + @JsonIgnore + public ResourceDeclarationBuilder edit() { + return new ResourceDeclarationBuilder(this); + } + + @JsonIgnore + public ResourceDeclarationBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/ResourceParam.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/ResourceParam.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/ResourceParam.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/ResourceParam.java index b925f0ca21d..d809d88fc2b 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/ResourceParam.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/ResourceParam.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ResourceParam implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/ResourcePattern.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/ResourcePattern.java similarity index 88% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/ResourcePattern.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/ResourcePattern.java index 9f61702c3f0..7e0688ff714 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/ResourcePattern.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/ResourcePattern.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ResourcePattern implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Run.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/Run.java similarity index 84% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Run.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/Run.java index 25feda1a64f..2e021bda5ee 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/Run.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/Run.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,22 +13,18 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; -import io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1.RunStatus; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import io.sundr.transform.annotations.TemplateTransformation; @@ -53,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -61,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -91,7 +83,7 @@ public class Run implements Editable , HasMetadata, Namespaced @JsonProperty("kind") private String kind = "Run"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private RunSpec spec; @JsonProperty("status") @@ -106,7 +98,7 @@ public class Run implements Editable , HasMetadata, Namespaced public Run() { } - public Run(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, RunSpec spec, RunStatus status) { + public Run(String apiVersion, String kind, ObjectMeta metadata, RunSpec spec, RunStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunList.java similarity index 85% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunList.java index 58197b7cfba..7f83ea4f6dc 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1alpha1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class RunList implements Editable , KubernetesResource, KubernetesResourceList +public class RunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class RunList implements Editable , KubernetesResource, K private String apiVersion = "tekton.dev/v1alpha1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class RunList implements Editable , KubernetesResource, K public RunList() { } - public RunList(String apiVersion, List items, String kind, ListMeta metadata) { + public RunList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunResult.java similarity index 88% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunResult.java index 1668e7ef5a5..63e3502d8aa 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class RunResult implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunSpec.java similarity index 89% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunSpec.java index 3b36d0de156..446fe39bbae 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/RunSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,9 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,12 +25,10 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.pod.Template; -import io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.Param; -import io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.TaskRef; -import io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1beta1.WorkspaceBinding; +import io.fabric8.tekton.pod.Template; +import io.fabric8.tekton.v1beta1.Param; +import io.fabric8.tekton.v1beta1.TaskRef; +import io.fabric8.tekton.v1beta1.WorkspaceBinding; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -68,11 +64,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class RunSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunStatus.java similarity index 75% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunStatus.java index 940a314bd6c..2ca520aa5de 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/v1alpha1/internal/pipeline/pkg/apis/run/v1alpha1/RunStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.run.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -16,8 +16,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -62,11 +58,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class RunStatus implements Editable , KubernetesResource @@ -76,13 +68,13 @@ public class RunStatus implements Editable , KubernetesResourc @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotations = new LinkedHashMap<>(); @JsonProperty("completionTime") - private java.lang.String completionTime; + private String completionTime; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList<>(); @JsonProperty("extraFields") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map extraFields = new LinkedHashMap<>(); + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object extraFields; @JsonProperty("observedGeneration") private Long observedGeneration; @JsonProperty("results") @@ -90,11 +82,11 @@ public class RunStatus implements Editable , KubernetesResourc private List results = new ArrayList<>(); @JsonProperty("retriesStatus") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List retriesStatus = new ArrayList<>(); + private List retriesStatus = new ArrayList<>(); @JsonProperty("startTime") - private java.lang.String startTime; + private String startTime; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -103,7 +95,7 @@ public class RunStatus implements Editable , KubernetesResourc public RunStatus() { } - public RunStatus(Map annotations, java.lang.String completionTime, List conditions, Map extraFields, Long observedGeneration, List results, List retriesStatus, java.lang.String startTime) { + public RunStatus(Map annotations, String completionTime, List conditions, Object extraFields, Long observedGeneration, List results, List retriesStatus, String startTime) { super(); this.annotations = annotations; this.completionTime = completionTime; @@ -127,12 +119,12 @@ public void setAnnotations(Map annotations) { } @JsonProperty("completionTime") - public java.lang.String getCompletionTime() { + public String getCompletionTime() { return completionTime; } @JsonProperty("completionTime") - public void setCompletionTime(java.lang.String completionTime) { + public void setCompletionTime(String completionTime) { this.completionTime = completionTime; } @@ -148,13 +140,13 @@ public void setConditions(List conditions) { } @JsonProperty("extraFields") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getExtraFields() { + public Object getExtraFields() { return extraFields; } @JsonProperty("extraFields") - public void setExtraFields(Map extraFields) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setExtraFields(Object extraFields) { this.extraFields = extraFields; } @@ -181,22 +173,22 @@ public void setResults(List results) { @JsonProperty("retriesStatus") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRetriesStatus() { + public List getRetriesStatus() { return retriesStatus; } @JsonProperty("retriesStatus") - public void setRetriesStatus(List retriesStatus) { + public void setRetriesStatus(List retriesStatus) { this.retriesStatus = retriesStatus; } @JsonProperty("startTime") - public java.lang.String getStartTime() { + public String getStartTime() { return startTime; } @JsonProperty("startTime") - public void setStartTime(java.lang.String startTime) { + public void setStartTime(String startTime) { this.startTime = startTime; } @@ -211,16 +203,16 @@ public RunStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, java.lang.Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunStatusFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunStatusFields.java new file mode 100644 index 00000000000..4c50a79eb3f --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/RunStatusFields.java @@ -0,0 +1,172 @@ + +package io.fabric8.tekton.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "completionTime", + "extraFields", + "results", + "retriesStatus", + "startTime" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class RunStatusFields implements Editable , KubernetesResource +{ + + @JsonProperty("completionTime") + private String completionTime; + @JsonProperty("extraFields") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object extraFields; + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); + @JsonProperty("retriesStatus") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List retriesStatus = new ArrayList<>(); + @JsonProperty("startTime") + private String startTime; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public RunStatusFields() { + } + + public RunStatusFields(String completionTime, Object extraFields, List results, List retriesStatus, String startTime) { + super(); + this.completionTime = completionTime; + this.extraFields = extraFields; + this.results = results; + this.retriesStatus = retriesStatus; + this.startTime = startTime; + } + + @JsonProperty("completionTime") + public String getCompletionTime() { + return completionTime; + } + + @JsonProperty("completionTime") + public void setCompletionTime(String completionTime) { + this.completionTime = completionTime; + } + + @JsonProperty("extraFields") + public Object getExtraFields() { + return extraFields; + } + + @JsonProperty("extraFields") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setExtraFields(Object extraFields) { + this.extraFields = extraFields; + } + + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + + @JsonProperty("retriesStatus") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRetriesStatus() { + return retriesStatus; + } + + @JsonProperty("retriesStatus") + public void setRetriesStatus(List retriesStatus) { + this.retriesStatus = retriesStatus; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonIgnore + public RunStatusFieldsBuilder edit() { + return new RunStatusFieldsBuilder(this); + } + + @JsonIgnore + public RunStatusFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/SecretParam.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/SecretParam.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/SecretParam.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/SecretParam.java index 04ef05577e7..eb9d5a36e4d 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/resource/v1alpha1/SecretParam.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/SecretParam.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class SecretParam implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/StepAction.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/StepAction.java new file mode 100644 index 00000000000..46978a3ca00 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/StepAction.java @@ -0,0 +1,190 @@ + +package io.fabric8.tekton.v1alpha1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "spec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("tekton.dev") +@Generated("jsonschema2pojo") +public class StepAction implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "tekton.dev/v1alpha1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "StepAction"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private StepActionSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StepAction() { + } + + public StepAction(String apiVersion, String kind, ObjectMeta metadata, StepActionSpec spec) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public StepActionSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(StepActionSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public StepActionBuilder edit() { + return new StepActionBuilder(this); + } + + @JsonIgnore + public StepActionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/StepActionList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/StepActionList.java new file mode 100644 index 00000000000..de994d188b1 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/StepActionList.java @@ -0,0 +1,195 @@ + +package io.fabric8.tekton.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.KubernetesResourceList; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1alpha1") +@Group("tekton.dev") +@Generated("jsonschema2pojo") +public class StepActionList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "tekton.dev/v1alpha1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "StepActionList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StepActionList() { + } + + public StepActionList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public StepActionListBuilder edit() { + return new StepActionListBuilder(this); + } + + @JsonIgnore + public StepActionListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/StepActionSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/StepActionSpec.java new file mode 100644 index 00000000000..e22fe99c25e --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/StepActionSpec.java @@ -0,0 +1,267 @@ + +package io.fabric8.tekton.v1alpha1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.SecurityContext; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.tekton.v1.ParamSpec; +import io.fabric8.tekton.v1.StepResult; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "args", + "command", + "description", + "env", + "image", + "params", + "results", + "script", + "securityContext", + "volumeMounts", + "workingDir" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class StepActionSpec implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("description") + private String description; + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List params = new ArrayList<>(); + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); + @JsonProperty("script") + private String script; + @JsonProperty("securityContext") + private SecurityContext securityContext; + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StepActionSpec() { + } + + public StepActionSpec(List args, List command, String description, List env, String image, List params, List results, String script, SecurityContext securityContext, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.description = description; + this.env = env; + this.image = image; + this.params = params; + this.results = results; + this.script = script; + this.securityContext = securityContext; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getParams() { + return params; + } + + @JsonProperty("params") + public void setParams(List params) { + this.params = params; + } + + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + + @JsonProperty("script") + public String getScript() { + return script; + } + + @JsonProperty("script") + public void setScript(String script) { + this.script = script; + } + + @JsonProperty("securityContext") + public SecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public StepActionSpecBuilder edit() { + return new StepActionSpecBuilder(this); + } + + @JsonIgnore + public StepActionSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicy.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/VerificationPolicy.java similarity index 84% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicy.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/VerificationPolicy.java index 0fe2f51fdb6..0175fb3b1b7 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicy.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/VerificationPolicy.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class VerificationPolicy implements Editable , @JsonProperty("kind") private String kind = "VerificationPolicy"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private VerificationPolicySpec spec; @JsonIgnore @@ -102,7 +95,7 @@ public class VerificationPolicy implements Editable , public VerificationPolicy() { } - public VerificationPolicy(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, VerificationPolicySpec spec) { + public VerificationPolicy(String apiVersion, String kind, ObjectMeta metadata, VerificationPolicySpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -151,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/VerificationPolicyList.java similarity index 85% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/VerificationPolicyList.java index f7244a07a4f..28ddcddbe01 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicyList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/VerificationPolicyList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1alpha1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class VerificationPolicyList implements Editable , KubernetesResource, KubernetesResourceList +public class VerificationPolicyList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class VerificationPolicyList implements Editable items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class VerificationPolicyList implements Editable items, String kind, ListMeta metadata) { + public VerificationPolicyList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/VerificationPolicySpec.java similarity index 90% rename from extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/VerificationPolicySpec.java index 6f1b0a7f718..274ed3ea7c8 100644 --- a/extensions/tekton/model-v1alpha1/src/generated/java/io/fabric8/tekton/pipeline/v1alpha1/VerificationPolicySpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1alpha1/VerificationPolicySpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1alpha1; +package io.fabric8.tekton.v1alpha1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class VerificationPolicySpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Artifact.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Artifact.java new file mode 100644 index 00000000000..19c4f698b56 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Artifact.java @@ -0,0 +1,140 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "buildOutput", + "name", + "values" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Artifact implements Editable , KubernetesResource +{ + + @JsonProperty("buildOutput") + private Boolean buildOutput; + @JsonProperty("name") + private String name; + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List values = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Artifact() { + } + + public Artifact(Boolean buildOutput, String name, List values) { + super(); + this.buildOutput = buildOutput; + this.name = name; + this.values = values; + } + + @JsonProperty("buildOutput") + public Boolean getBuildOutput() { + return buildOutput; + } + + @JsonProperty("buildOutput") + public void setBuildOutput(Boolean buildOutput) { + this.buildOutput = buildOutput; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("values") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getValues() { + return values; + } + + @JsonProperty("values") + public void setValues(List values) { + this.values = values; + } + + @JsonIgnore + public ArtifactBuilder edit() { + return new ArtifactBuilder(this); + } + + @JsonIgnore + public ArtifactBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ArtifactValue.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ArtifactValue.java new file mode 100644 index 00000000000..2035cac9e75 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ArtifactValue.java @@ -0,0 +1,124 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "digest", + "uri" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ArtifactValue implements Editable , KubernetesResource +{ + + @JsonProperty("digest") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map digest = new LinkedHashMap<>(); + @JsonProperty("uri") + private String uri; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ArtifactValue() { + } + + public ArtifactValue(Map digest, String uri) { + super(); + this.digest = digest; + this.uri = uri; + } + + @JsonProperty("digest") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getDigest() { + return digest; + } + + @JsonProperty("digest") + public void setDigest(Map digest) { + this.digest = digest; + } + + @JsonProperty("uri") + public String getUri() { + return uri; + } + + @JsonProperty("uri") + public void setUri(String uri) { + this.uri = uri; + } + + @JsonIgnore + public ArtifactValueBuilder edit() { + return new ArtifactValueBuilder(this); + } + + @JsonIgnore + public ArtifactValueBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Artifacts.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Artifacts.java new file mode 100644 index 00000000000..5058f078a8d --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Artifacts.java @@ -0,0 +1,128 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "inputs", + "outputs" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Artifacts implements Editable , KubernetesResource +{ + + @JsonProperty("inputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List inputs = new ArrayList<>(); + @JsonProperty("outputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List outputs = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Artifacts() { + } + + public Artifacts(List inputs, List outputs) { + super(); + this.inputs = inputs; + this.outputs = outputs; + } + + @JsonProperty("inputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getInputs() { + return inputs; + } + + @JsonProperty("inputs") + public void setInputs(List inputs) { + this.inputs = inputs; + } + + @JsonProperty("outputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOutputs() { + return outputs; + } + + @JsonProperty("outputs") + public void setOutputs(List outputs) { + this.outputs = outputs; + } + + @JsonIgnore + public ArtifactsBuilder edit() { + return new ArtifactsBuilder(this); + } + + @JsonIgnore + public ArtifactsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ChildStatusReference.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ChildStatusReference.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ChildStatusReference.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ChildStatusReference.java index 566ea3a5294..39ecc6453ab 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ChildStatusReference.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ChildStatusReference.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -39,6 +35,7 @@ @JsonPropertyOrder({ "apiVersion", "kind", + "displayName", "name", "pipelineTaskName", "whenExpressions" @@ -58,11 +55,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ChildStatusReference implements Editable , KubernetesResource @@ -70,6 +63,8 @@ public class ChildStatusReference implements Editable whenExpressions) { + public ChildStatusReference(String apiVersion, String displayName, String kind, String name, String pipelineTaskName, List whenExpressions) { super(); this.apiVersion = apiVersion; + this.displayName = displayName; this.kind = kind; this.name = name; this.pipelineTaskName = pipelineTaskName; @@ -108,6 +104,16 @@ public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } + @JsonProperty("displayName") + public String getDisplayName() { + return displayName; + } + + @JsonProperty("displayName") + public void setDisplayName(String displayName) { + this.displayName = displayName; + } + @JsonProperty("kind") public String getKind() { return kind; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDelivery.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CloudEventDelivery.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDelivery.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CloudEventDelivery.java index 8c7e767e27f..a57d31c2788 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDelivery.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CloudEventDelivery.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class CloudEventDelivery implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDeliveryState.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CloudEventDeliveryState.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDeliveryState.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CloudEventDeliveryState.java index c44a2dd848c..14a532e0762 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CloudEventDeliveryState.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CloudEventDeliveryState.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class CloudEventDeliveryState implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTask.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ClusterTask.java similarity index 84% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTask.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ClusterTask.java index e1cff87cb54..f9c0c9087fc 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTask.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ClusterTask.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,18 +13,15 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -50,7 +47,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -58,11 +55,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -88,7 +81,7 @@ public class ClusterTask implements Editable , HasMetadata @JsonProperty("kind") private String kind = "ClusterTask"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TaskSpec spec; @JsonIgnore @@ -101,7 +94,7 @@ public class ClusterTask implements Editable , HasMetadata public ClusterTask() { } - public ClusterTask(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TaskSpec spec) { + public ClusterTask(String apiVersion, String kind, ObjectMeta metadata, TaskSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -150,12 +143,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ClusterTaskList.java similarity index 86% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ClusterTaskList.java index 4d1bb2856f6..bc7a392670a 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ClusterTaskList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ClusterTaskList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class ClusterTaskList implements Editable , KubernetesResource, KubernetesResourceList +public class ClusterTaskList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class ClusterTaskList implements Editable , Kuber private String apiVersion = "tekton.dev/v1beta1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class ClusterTaskList implements Editable , Kuber public ClusterTaskList() { } - public ClusterTaskList(String apiVersion, List items, String kind, ListMeta metadata) { + public ClusterTaskList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ConfigSource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ConfigSource.java similarity index 75% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ConfigSource.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ConfigSource.java index d0632a66e1d..375fcafeddc 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ConfigSource.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ConfigSource.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ConfigSource implements Editable , KubernetesResource @@ -68,11 +60,11 @@ public class ConfigSource implements Editable , KubernetesR @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map digest = new LinkedHashMap<>(); @JsonProperty("entryPoint") - private java.lang.String entryPoint; + private String entryPoint; @JsonProperty("uri") - private java.lang.String uri; + private String uri; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -81,7 +73,7 @@ public class ConfigSource implements Editable , KubernetesR public ConfigSource() { } - public ConfigSource(Map digest, java.lang.String entryPoint, java.lang.String uri) { + public ConfigSource(Map digest, String entryPoint, String uri) { super(); this.digest = digest; this.entryPoint = entryPoint; @@ -100,22 +92,22 @@ public void setDigest(Map digest) { } @JsonProperty("entryPoint") - public java.lang.String getEntryPoint() { + public String getEntryPoint() { return entryPoint; } @JsonProperty("entryPoint") - public void setEntryPoint(java.lang.String entryPoint) { + public void setEntryPoint(String entryPoint) { this.entryPoint = entryPoint; } @JsonProperty("uri") - public java.lang.String getUri() { + public String getUri() { return uri; } @JsonProperty("uri") - public void setUri(java.lang.String uri) { + public void setUri(String uri) { this.uri = uri; } @@ -130,16 +122,16 @@ public ConfigSourceBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRun.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRun.java similarity index 84% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRun.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRun.java index 7317dc59426..a91b8ad343e 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRun.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRun.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,22 +13,18 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; -import io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1.CustomRunStatus; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import io.sundr.transform.annotations.TemplateTransformation; @@ -53,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -61,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -91,7 +83,7 @@ public class CustomRun implements Editable , HasMetadata, Name @JsonProperty("kind") private String kind = "CustomRun"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private CustomRunSpec spec; @JsonProperty("status") @@ -106,7 +98,7 @@ public class CustomRun implements Editable , HasMetadata, Name public CustomRun() { } - public CustomRun(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, CustomRunSpec spec, CustomRunStatus status) { + public CustomRun(String apiVersion, String kind, ObjectMeta metadata, CustomRunSpec spec, CustomRunStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -156,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunList.java similarity index 86% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunList.java index 3fb8b388a3e..832b6428eac 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class CustomRunList implements Editable , KubernetesResource, KubernetesResourceList +public class CustomRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class CustomRunList implements Editable , Kubernete private String apiVersion = "tekton.dev/v1beta1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class CustomRunList implements Editable , Kubernete public CustomRunList() { } - public CustomRunList(String apiVersion, List items, String kind, ListMeta metadata) { + public CustomRunList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunResult.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunResult.java index c019f85efb8..55f9fc9e75b 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class CustomRunResult implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunSpec.java similarity index 93% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunSpec.java index 0b7b85877c1..24519774a58 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/CustomRunSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,9 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class CustomRunSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunStatus.java similarity index 75% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunStatus.java index c0eab936117..1e1337cbf53 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/v1beta1/internal/pipeline/pkg/apis/run/v1beta1/CustomRunStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.run.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -16,8 +16,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -62,11 +58,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class CustomRunStatus implements Editable , KubernetesResource @@ -76,13 +68,13 @@ public class CustomRunStatus implements Editable , Kuber @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map annotations = new LinkedHashMap<>(); @JsonProperty("completionTime") - private java.lang.String completionTime; + private String completionTime; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList<>(); @JsonProperty("extraFields") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map extraFields = new LinkedHashMap<>(); + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object extraFields; @JsonProperty("observedGeneration") private Long observedGeneration; @JsonProperty("results") @@ -90,11 +82,11 @@ public class CustomRunStatus implements Editable , Kuber private List results = new ArrayList<>(); @JsonProperty("retriesStatus") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List retriesStatus = new ArrayList<>(); + private List retriesStatus = new ArrayList<>(); @JsonProperty("startTime") - private java.lang.String startTime; + private String startTime; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -103,7 +95,7 @@ public class CustomRunStatus implements Editable , Kuber public CustomRunStatus() { } - public CustomRunStatus(Map annotations, java.lang.String completionTime, List conditions, Map extraFields, Long observedGeneration, List results, List retriesStatus, java.lang.String startTime) { + public CustomRunStatus(Map annotations, String completionTime, List conditions, Object extraFields, Long observedGeneration, List results, List retriesStatus, String startTime) { super(); this.annotations = annotations; this.completionTime = completionTime; @@ -127,12 +119,12 @@ public void setAnnotations(Map annotations) { } @JsonProperty("completionTime") - public java.lang.String getCompletionTime() { + public String getCompletionTime() { return completionTime; } @JsonProperty("completionTime") - public void setCompletionTime(java.lang.String completionTime) { + public void setCompletionTime(String completionTime) { this.completionTime = completionTime; } @@ -148,13 +140,13 @@ public void setConditions(List conditions) { } @JsonProperty("extraFields") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getExtraFields() { + public Object getExtraFields() { return extraFields; } @JsonProperty("extraFields") - public void setExtraFields(Map extraFields) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setExtraFields(Object extraFields) { this.extraFields = extraFields; } @@ -181,22 +173,22 @@ public void setResults(List results) { @JsonProperty("retriesStatus") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRetriesStatus() { + public List getRetriesStatus() { return retriesStatus; } @JsonProperty("retriesStatus") - public void setRetriesStatus(List retriesStatus) { + public void setRetriesStatus(List retriesStatus) { this.retriesStatus = retriesStatus; } @JsonProperty("startTime") - public java.lang.String getStartTime() { + public String getStartTime() { return startTime; } @JsonProperty("startTime") - public void setStartTime(java.lang.String startTime) { + public void setStartTime(String startTime) { this.startTime = startTime; } @@ -211,16 +203,16 @@ public CustomRunStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, java.lang.Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunStatusFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunStatusFields.java new file mode 100644 index 00000000000..914de0e95f7 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/CustomRunStatusFields.java @@ -0,0 +1,172 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "completionTime", + "extraFields", + "results", + "retriesStatus", + "startTime" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class CustomRunStatusFields implements Editable , KubernetesResource +{ + + @JsonProperty("completionTime") + private String completionTime; + @JsonProperty("extraFields") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object extraFields; + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); + @JsonProperty("retriesStatus") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List retriesStatus = new ArrayList<>(); + @JsonProperty("startTime") + private String startTime; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public CustomRunStatusFields() { + } + + public CustomRunStatusFields(String completionTime, Object extraFields, List results, List retriesStatus, String startTime) { + super(); + this.completionTime = completionTime; + this.extraFields = extraFields; + this.results = results; + this.retriesStatus = retriesStatus; + this.startTime = startTime; + } + + @JsonProperty("completionTime") + public String getCompletionTime() { + return completionTime; + } + + @JsonProperty("completionTime") + public void setCompletionTime(String completionTime) { + this.completionTime = completionTime; + } + + @JsonProperty("extraFields") + public Object getExtraFields() { + return extraFields; + } + + @JsonProperty("extraFields") + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setExtraFields(Object extraFields) { + this.extraFields = extraFields; + } + + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + + @JsonProperty("retriesStatus") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRetriesStatus() { + return retriesStatus; + } + + @JsonProperty("retriesStatus") + public void setRetriesStatus(List retriesStatus) { + this.retriesStatus = retriesStatus; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonIgnore + public CustomRunStatusFieldsBuilder edit() { + return new CustomRunStatusFieldsBuilder(this); + } + + @JsonIgnore + public CustomRunStatusFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedCustomRunSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/EmbeddedCustomRunSpec.java similarity index 71% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedCustomRunSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/EmbeddedCustomRunSpec.java index be6fa9ee162..cee147a979f 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedCustomRunSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/EmbeddedCustomRunSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,27 +51,23 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EmbeddedCustomRunSpec implements Editable , KubernetesResource { @JsonProperty("apiVersion") - private java.lang.String apiVersion; + private String apiVersion; @JsonProperty("kind") - private java.lang.String kind; + private String kind; @JsonProperty("metadata") private PipelineTaskMetadata metadata; @JsonProperty("spec") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map spec = new LinkedHashMap<>(); + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object spec; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -84,7 +76,7 @@ public class EmbeddedCustomRunSpec implements Editable spec) { + public EmbeddedCustomRunSpec(String apiVersion, String kind, PipelineTaskMetadata metadata, Object spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -93,22 +85,22 @@ public EmbeddedCustomRunSpec(java.lang.String apiVersion, java.lang.String kind, } @JsonProperty("apiVersion") - public java.lang.String getApiVersion() { + public String getApiVersion() { return apiVersion; } @JsonProperty("apiVersion") - public void setApiVersion(java.lang.String apiVersion) { + public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } @JsonProperty("kind") - public java.lang.String getKind() { + public String getKind() { return kind; } @JsonProperty("kind") - public void setKind(java.lang.String kind) { + public void setKind(String kind) { this.kind = kind; } @@ -123,13 +115,13 @@ public void setMetadata(PipelineTaskMetadata metadata) { } @JsonProperty("spec") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getSpec() { + public Object getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(Map spec) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSpec(Object spec) { this.spec = spec; } @@ -144,16 +136,16 @@ public EmbeddedCustomRunSpecBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, java.lang.Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedTask.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/EmbeddedTask.java similarity index 76% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedTask.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/EmbeddedTask.java index 554ff7dd8e2..558ba0c60b6 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/EmbeddedTask.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/EmbeddedTask.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,7 +24,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.Volume; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -66,24 +64,20 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class EmbeddedTask implements Editable , KubernetesResource { @JsonProperty("apiVersion") - private java.lang.String apiVersion; + private String apiVersion; @JsonProperty("description") - private java.lang.String description; + private String description; @JsonProperty("displayName") - private java.lang.String displayName; + private String displayName; @JsonProperty("kind") - private java.lang.String kind; + private String kind; @JsonProperty("metadata") private PipelineTaskMetadata metadata; @JsonProperty("params") @@ -98,8 +92,8 @@ public class EmbeddedTask implements Editable , KubernetesR @JsonInclude(JsonInclude.Include.NON_EMPTY) private List sidecars = new ArrayList<>(); @JsonProperty("spec") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private Map spec = new LinkedHashMap<>(); + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + private Object spec; @JsonProperty("stepTemplate") private StepTemplate stepTemplate; @JsonProperty("steps") @@ -107,12 +101,12 @@ public class EmbeddedTask implements Editable , KubernetesR private List steps = new ArrayList<>(); @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); + private List volumes = new ArrayList<>(); @JsonProperty("workspaces") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List workspaces = new ArrayList<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -121,7 +115,7 @@ public class EmbeddedTask implements Editable , KubernetesR public EmbeddedTask() { } - public EmbeddedTask(java.lang.String apiVersion, java.lang.String description, java.lang.String displayName, java.lang.String kind, PipelineTaskMetadata metadata, List params, TaskResources resources, List results, List sidecars, Map spec, StepTemplate stepTemplate, List steps, List volumes, List workspaces) { + public EmbeddedTask(String apiVersion, String description, String displayName, String kind, PipelineTaskMetadata metadata, List params, TaskResources resources, List results, List sidecars, Object spec, StepTemplate stepTemplate, List steps, List volumes, List workspaces) { super(); this.apiVersion = apiVersion; this.description = description; @@ -140,42 +134,42 @@ public EmbeddedTask(java.lang.String apiVersion, java.lang.String description, j } @JsonProperty("apiVersion") - public java.lang.String getApiVersion() { + public String getApiVersion() { return apiVersion; } @JsonProperty("apiVersion") - public void setApiVersion(java.lang.String apiVersion) { + public void setApiVersion(String apiVersion) { this.apiVersion = apiVersion; } @JsonProperty("description") - public java.lang.String getDescription() { + public String getDescription() { return description; } @JsonProperty("description") - public void setDescription(java.lang.String description) { + public void setDescription(String description) { this.description = description; } @JsonProperty("displayName") - public java.lang.String getDisplayName() { + public String getDisplayName() { return displayName; } @JsonProperty("displayName") - public void setDisplayName(java.lang.String displayName) { + public void setDisplayName(String displayName) { this.displayName = displayName; } @JsonProperty("kind") - public java.lang.String getKind() { + public String getKind() { return kind; } @JsonProperty("kind") - public void setKind(java.lang.String kind) { + public void setKind(String kind) { this.kind = kind; } @@ -233,13 +227,13 @@ public void setSidecars(List sidecars) { } @JsonProperty("spec") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public Map getSpec() { + public Object getSpec() { return spec; } @JsonProperty("spec") - public void setSpec(Map spec) { + @JsonDeserialize(using = io.fabric8.kubernetes.internal.KubernetesDeserializer.class) + public void setSpec(Object spec) { this.spec = spec; } @@ -266,12 +260,12 @@ public void setSteps(List steps) { @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { + public List getVolumes() { return volumes; } @JsonProperty("volumes") - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } @@ -297,16 +291,16 @@ public EmbeddedTaskBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, java.lang.Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/IncludeParams.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/IncludeParams.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/IncludeParams.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/IncludeParams.java index 1b164d62a94..b7a4ed44886 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/IncludeParams.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/IncludeParams.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class IncludeParams implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/InternalTaskModifier.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/InternalTaskModifier.java new file mode 100644 index 00000000000..1dffc799fa9 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/InternalTaskModifier.java @@ -0,0 +1,145 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.Volume; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "stepsToAppend", + "stepsToPrepend", + "volumes" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class InternalTaskModifier implements Editable , KubernetesResource +{ + + @JsonProperty("stepsToAppend") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List stepsToAppend = new ArrayList<>(); + @JsonProperty("stepsToPrepend") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List stepsToPrepend = new ArrayList<>(); + @JsonProperty("volumes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumes = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public InternalTaskModifier() { + } + + public InternalTaskModifier(List stepsToAppend, List stepsToPrepend, List volumes) { + super(); + this.stepsToAppend = stepsToAppend; + this.stepsToPrepend = stepsToPrepend; + this.volumes = volumes; + } + + @JsonProperty("stepsToAppend") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getStepsToAppend() { + return stepsToAppend; + } + + @JsonProperty("stepsToAppend") + public void setStepsToAppend(List stepsToAppend) { + this.stepsToAppend = stepsToAppend; + } + + @JsonProperty("stepsToPrepend") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getStepsToPrepend() { + return stepsToPrepend; + } + + @JsonProperty("stepsToPrepend") + public void setStepsToPrepend(List stepsToPrepend) { + this.stepsToPrepend = stepsToPrepend; + } + + @JsonProperty("volumes") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumes() { + return volumes; + } + + @JsonProperty("volumes") + public void setVolumes(List volumes) { + this.volumes = volumes; + } + + @JsonIgnore + public InternalTaskModifierBuilder edit() { + return new InternalTaskModifierBuilder(this); + } + + @JsonIgnore + public InternalTaskModifierBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Matrix.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Matrix.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Matrix.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Matrix.java index 1fcd8ee1f4e..0f1cd31d8f7 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Matrix.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Matrix.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Matrix implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Param.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Param.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Param.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Param.java index a282ef90e22..4daeeb10507 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Param.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Param.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Param implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ParamSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ParamSpec.java similarity index 75% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ParamSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ParamSpec.java index 7c98b50b0e9..ad160c0da60 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/ParamSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ParamSpec.java @@ -1,7 +1,9 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; +import java.util.ArrayList; import java.util.LinkedHashMap; +import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; @@ -13,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -37,6 +35,7 @@ @JsonPropertyOrder({ "default", "description", + "enum", "name", "properties", "type" @@ -56,11 +55,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class ParamSpec implements Editable , KubernetesResource @@ -69,16 +64,19 @@ public class ParamSpec implements Editable , KubernetesResourc @JsonProperty("default") private ParamValue _default; @JsonProperty("description") - private java.lang.String description; + private String description; + @JsonProperty("enum") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List _enum = new ArrayList<>(); @JsonProperty("name") - private java.lang.String name; + private String name; @JsonProperty("properties") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map properties = new LinkedHashMap<>(); @JsonProperty("type") - private java.lang.String type; + private String type; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -87,10 +85,11 @@ public class ParamSpec implements Editable , KubernetesResourc public ParamSpec() { } - public ParamSpec(ParamValue _default, java.lang.String description, java.lang.String name, Map properties, java.lang.String type) { + public ParamSpec(ParamValue _default, String description, List _enum, String name, Map properties, String type) { super(); this._default = _default; this.description = description; + this._enum = _enum; this.name = name; this.properties = properties; this.type = type; @@ -107,22 +106,33 @@ public void setDefault(ParamValue _default) { } @JsonProperty("description") - public java.lang.String getDescription() { + public String getDescription() { return description; } @JsonProperty("description") - public void setDescription(java.lang.String description) { + public void setDescription(String description) { this.description = description; } + @JsonProperty("enum") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnum() { + return _enum; + } + + @JsonProperty("enum") + public void setEnum(List _enum) { + this._enum = _enum; + } + @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @@ -138,12 +148,12 @@ public void setProperties(Map properties) { } @JsonProperty("type") - public java.lang.String getType() { + public String getType() { return type; } @JsonProperty("type") - public void setType(java.lang.String type) { + public void setType(String type) { this.type = type; } @@ -158,16 +168,16 @@ public ParamSpecBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Pipeline.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Pipeline.java similarity index 84% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Pipeline.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Pipeline.java index d1092e523ef..caacdd50d9d 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Pipeline.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Pipeline.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class Pipeline implements Editable , HasMetadata, Namesp @JsonProperty("kind") private String kind = "Pipeline"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PipelineSpec spec; @JsonIgnore @@ -102,7 +95,7 @@ public class Pipeline implements Editable , HasMetadata, Namesp public Pipeline() { } - public Pipeline(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PipelineSpec spec) { + public Pipeline(String apiVersion, String kind, ObjectMeta metadata, PipelineSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -151,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineDeclaredResource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineDeclaredResource.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineDeclaredResource.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineDeclaredResource.java index 9c162d7894b..8a3903b37bd 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineDeclaredResource.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineDeclaredResource.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineDeclaredResource implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineList.java similarity index 86% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineList.java index 8f4e75cec08..c712cda82bd 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineList implements Editable , KubernetesResource, KubernetesResourceList +public class PipelineList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class PipelineList implements Editable , KubernetesR private String apiVersion = "tekton.dev/v1beta1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class PipelineList implements Editable , KubernetesR public PipelineList() { } - public PipelineList(String apiVersion, List items, String kind, ListMeta metadata) { + public PipelineList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRef.java similarity index 75% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRef.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRef.java index 1fb644bc9ec..97e0ddf6e28 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRef.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRef.java @@ -1,9 +1,7 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; -import java.util.ArrayList; import java.util.LinkedHashMap; -import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; @@ -15,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -39,9 +33,7 @@ @JsonPropertyOrder({ "apiVersion", "bundle", - "name", - "params", - "resolver" + "name" }) @ToString @EqualsAndHashCode @@ -58,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineRef implements Editable , KubernetesResource @@ -74,11 +62,6 @@ public class PipelineRef implements Editable , KubernetesRes private String bundle; @JsonProperty("name") private String name; - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List params = new ArrayList<>(); - @JsonProperty("resolver") - private String resolver; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -89,13 +72,11 @@ public class PipelineRef implements Editable , KubernetesRes public PipelineRef() { } - public PipelineRef(String apiVersion, String bundle, String name, List params, String resolver) { + public PipelineRef(String apiVersion, String bundle, String name) { super(); this.apiVersion = apiVersion; this.bundle = bundle; this.name = name; - this.params = params; - this.resolver = resolver; } @JsonProperty("apiVersion") @@ -128,27 +109,6 @@ public void setName(String name) { this.name = name; } - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getParams() { - return params; - } - - @JsonProperty("params") - public void setParams(List params) { - this.params = params; - } - - @JsonProperty("resolver") - public String getResolver() { - return resolver; - } - - @JsonProperty("resolver") - public void setResolver(String resolver) { - this.resolver = resolver; - } - @JsonIgnore public PipelineRefBuilder edit() { return new PipelineRefBuilder(this); diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineResourceBinding.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineResourceBinding.java index 87494bcaab9..d6c27345fc0 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineResourceBinding.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,9 +22,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.PipelineResourceSpec; +import io.fabric8.tekton.v1alpha1.PipelineResourceSpec; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineResourceBinding implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineResourceRef.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceRef.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineResourceRef.java index 7afa7c5bfc7..dd44ea4e669 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResourceRef.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineResourceRef.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineResourceRef implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineResult.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineResult.java index fc2fc50f997..4048ae46ebd 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineResult implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRun.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRun.java similarity index 85% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRun.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRun.java index 9683073e11a..e9efa7b773f 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRun.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRun.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class PipelineRun implements Editable , HasMetadata, @JsonProperty("kind") private String kind = "PipelineRun"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private PipelineRunSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class PipelineRun implements Editable , HasMetadata, public PipelineRun() { } - public PipelineRun(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, PipelineRunSpec spec, PipelineRunStatus status) { + public PipelineRun(String apiVersion, String kind, ObjectMeta metadata, PipelineRunSpec spec, PipelineRunStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunList.java similarity index 86% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunList.java index b010818fe31..8edc7594792 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class PipelineRunList implements Editable , KubernetesResource, KubernetesResourceList +public class PipelineRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class PipelineRunList implements Editable , Kuber private String apiVersion = "tekton.dev/v1beta1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class PipelineRunList implements Editable , Kuber public PipelineRunList() { } - public PipelineRunList(String apiVersion, List items, String kind, ListMeta metadata) { + public PipelineRunList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunResult.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunResult.java index b410fb3f698..a4b830c13b3 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineRunResult implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunRunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunRunStatus.java new file mode 100644 index 00000000000..59020821a58 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunRunStatus.java @@ -0,0 +1,140 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "pipelineTaskName", + "status", + "whenExpressions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineRunRunStatus implements Editable , KubernetesResource +{ + + @JsonProperty("pipelineTaskName") + private String pipelineTaskName; + @JsonProperty("status") + private CustomRunStatus status; + @JsonProperty("whenExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List whenExpressions = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineRunRunStatus() { + } + + public PipelineRunRunStatus(String pipelineTaskName, CustomRunStatus status, List whenExpressions) { + super(); + this.pipelineTaskName = pipelineTaskName; + this.status = status; + this.whenExpressions = whenExpressions; + } + + @JsonProperty("pipelineTaskName") + public String getPipelineTaskName() { + return pipelineTaskName; + } + + @JsonProperty("pipelineTaskName") + public void setPipelineTaskName(String pipelineTaskName) { + this.pipelineTaskName = pipelineTaskName; + } + + @JsonProperty("status") + public CustomRunStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(CustomRunStatus status) { + this.status = status; + } + + @JsonProperty("whenExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getWhenExpressions() { + return whenExpressions; + } + + @JsonProperty("whenExpressions") + public void setWhenExpressions(List whenExpressions) { + this.whenExpressions = whenExpressions; + } + + @JsonIgnore + public PipelineRunRunStatusBuilder edit() { + return new PipelineRunRunStatusBuilder(this); + } + + @JsonIgnore + public PipelineRunRunStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunSpec.java similarity index 93% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunSpec.java index 47ac25f211f..71601386bef 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,9 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,9 +25,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template; +import io.fabric8.tekton.pod.Template; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -66,11 +62,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineRunSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunStatus.java similarity index 84% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunStatus.java index 34ee7736b66..7d0edcc09ce 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineRunStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -16,8 +16,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -68,11 +64,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineRunStatus implements Editable , KubernetesResource @@ -85,12 +77,12 @@ public class PipelineRunStatus implements Editable , K @JsonInclude(JsonInclude.Include.NON_EMPTY) private List childReferences = new ArrayList<>(); @JsonProperty("completionTime") - private java.lang.String completionTime; + private String completionTime; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList<>(); @JsonProperty("finallyStartTime") - private java.lang.String finallyStartTime; + private String finallyStartTime; @JsonProperty("observedGeneration") private Long observedGeneration; @JsonProperty("pipelineResults") @@ -110,12 +102,12 @@ public class PipelineRunStatus implements Editable , K @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map spanContext = new LinkedHashMap<>(); @JsonProperty("startTime") - private java.lang.String startTime; + private String startTime; @JsonProperty("taskRuns") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map taskRuns = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -124,7 +116,7 @@ public class PipelineRunStatus implements Editable , K public PipelineRunStatus() { } - public PipelineRunStatus(Map annotations, List childReferences, java.lang.String completionTime, List conditions, java.lang.String finallyStartTime, Long observedGeneration, List pipelineResults, PipelineSpec pipelineSpec, Provenance provenance, Map runs, List skippedTasks, Map spanContext, java.lang.String startTime, Map taskRuns) { + public PipelineRunStatus(Map annotations, List childReferences, String completionTime, List conditions, String finallyStartTime, Long observedGeneration, List pipelineResults, PipelineSpec pipelineSpec, Provenance provenance, Map runs, List skippedTasks, Map spanContext, String startTime, Map taskRuns) { super(); this.annotations = annotations; this.childReferences = childReferences; @@ -165,12 +157,12 @@ public void setChildReferences(List childReferences) { } @JsonProperty("completionTime") - public java.lang.String getCompletionTime() { + public String getCompletionTime() { return completionTime; } @JsonProperty("completionTime") - public void setCompletionTime(java.lang.String completionTime) { + public void setCompletionTime(String completionTime) { this.completionTime = completionTime; } @@ -186,12 +178,12 @@ public void setConditions(List conditions) { } @JsonProperty("finallyStartTime") - public java.lang.String getFinallyStartTime() { + public String getFinallyStartTime() { return finallyStartTime; } @JsonProperty("finallyStartTime") - public void setFinallyStartTime(java.lang.String finallyStartTime) { + public void setFinallyStartTime(String finallyStartTime) { this.finallyStartTime = finallyStartTime; } @@ -270,12 +262,12 @@ public void setSpanContext(Map spanContext) { } @JsonProperty("startTime") - public java.lang.String getStartTime() { + public String getStartTime() { return startTime; } @JsonProperty("startTime") - public void setStartTime(java.lang.String startTime) { + public void setStartTime(String startTime) { this.startTime = startTime; } @@ -301,16 +293,16 @@ public PipelineRunStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunStatusFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunStatusFields.java new file mode 100644 index 00000000000..4c8b44d8ff3 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunStatusFields.java @@ -0,0 +1,262 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "childReferences", + "completionTime", + "finallyStartTime", + "pipelineResults", + "pipelineSpec", + "provenance", + "runs", + "skippedTasks", + "spanContext", + "startTime", + "taskRuns" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineRunStatusFields implements Editable , KubernetesResource +{ + + @JsonProperty("childReferences") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List childReferences = new ArrayList<>(); + @JsonProperty("completionTime") + private String completionTime; + @JsonProperty("finallyStartTime") + private String finallyStartTime; + @JsonProperty("pipelineResults") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List pipelineResults = new ArrayList<>(); + @JsonProperty("pipelineSpec") + private PipelineSpec pipelineSpec; + @JsonProperty("provenance") + private Provenance provenance; + @JsonProperty("runs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map runs = new LinkedHashMap<>(); + @JsonProperty("skippedTasks") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List skippedTasks = new ArrayList<>(); + @JsonProperty("spanContext") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map spanContext = new LinkedHashMap<>(); + @JsonProperty("startTime") + private String startTime; + @JsonProperty("taskRuns") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map taskRuns = new LinkedHashMap<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineRunStatusFields() { + } + + public PipelineRunStatusFields(List childReferences, String completionTime, String finallyStartTime, List pipelineResults, PipelineSpec pipelineSpec, Provenance provenance, Map runs, List skippedTasks, Map spanContext, String startTime, Map taskRuns) { + super(); + this.childReferences = childReferences; + this.completionTime = completionTime; + this.finallyStartTime = finallyStartTime; + this.pipelineResults = pipelineResults; + this.pipelineSpec = pipelineSpec; + this.provenance = provenance; + this.runs = runs; + this.skippedTasks = skippedTasks; + this.spanContext = spanContext; + this.startTime = startTime; + this.taskRuns = taskRuns; + } + + @JsonProperty("childReferences") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getChildReferences() { + return childReferences; + } + + @JsonProperty("childReferences") + public void setChildReferences(List childReferences) { + this.childReferences = childReferences; + } + + @JsonProperty("completionTime") + public String getCompletionTime() { + return completionTime; + } + + @JsonProperty("completionTime") + public void setCompletionTime(String completionTime) { + this.completionTime = completionTime; + } + + @JsonProperty("finallyStartTime") + public String getFinallyStartTime() { + return finallyStartTime; + } + + @JsonProperty("finallyStartTime") + public void setFinallyStartTime(String finallyStartTime) { + this.finallyStartTime = finallyStartTime; + } + + @JsonProperty("pipelineResults") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getPipelineResults() { + return pipelineResults; + } + + @JsonProperty("pipelineResults") + public void setPipelineResults(List pipelineResults) { + this.pipelineResults = pipelineResults; + } + + @JsonProperty("pipelineSpec") + public PipelineSpec getPipelineSpec() { + return pipelineSpec; + } + + @JsonProperty("pipelineSpec") + public void setPipelineSpec(PipelineSpec pipelineSpec) { + this.pipelineSpec = pipelineSpec; + } + + @JsonProperty("provenance") + public Provenance getProvenance() { + return provenance; + } + + @JsonProperty("provenance") + public void setProvenance(Provenance provenance) { + this.provenance = provenance; + } + + @JsonProperty("runs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getRuns() { + return runs; + } + + @JsonProperty("runs") + public void setRuns(Map runs) { + this.runs = runs; + } + + @JsonProperty("skippedTasks") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSkippedTasks() { + return skippedTasks; + } + + @JsonProperty("skippedTasks") + public void setSkippedTasks(List skippedTasks) { + this.skippedTasks = skippedTasks; + } + + @JsonProperty("spanContext") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getSpanContext() { + return spanContext; + } + + @JsonProperty("spanContext") + public void setSpanContext(Map spanContext) { + this.spanContext = spanContext; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonProperty("taskRuns") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getTaskRuns() { + return taskRuns; + } + + @JsonProperty("taskRuns") + public void setTaskRuns(Map taskRuns) { + this.taskRuns = taskRuns; + } + + @JsonIgnore + public PipelineRunStatusFieldsBuilder edit() { + return new PipelineRunStatusFieldsBuilder(this); + } + + @JsonIgnore + public PipelineRunStatusFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunTaskRunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunTaskRunStatus.java new file mode 100644 index 00000000000..2a28169f359 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineRunTaskRunStatus.java @@ -0,0 +1,140 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "pipelineTaskName", + "status", + "whenExpressions" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineRunTaskRunStatus implements Editable , KubernetesResource +{ + + @JsonProperty("pipelineTaskName") + private String pipelineTaskName; + @JsonProperty("status") + private TaskRunStatus status; + @JsonProperty("whenExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List whenExpressions = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineRunTaskRunStatus() { + } + + public PipelineRunTaskRunStatus(String pipelineTaskName, TaskRunStatus status, List whenExpressions) { + super(); + this.pipelineTaskName = pipelineTaskName; + this.status = status; + this.whenExpressions = whenExpressions; + } + + @JsonProperty("pipelineTaskName") + public String getPipelineTaskName() { + return pipelineTaskName; + } + + @JsonProperty("pipelineTaskName") + public void setPipelineTaskName(String pipelineTaskName) { + this.pipelineTaskName = pipelineTaskName; + } + + @JsonProperty("status") + public TaskRunStatus getStatus() { + return status; + } + + @JsonProperty("status") + public void setStatus(TaskRunStatus status) { + this.status = status; + } + + @JsonProperty("whenExpressions") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getWhenExpressions() { + return whenExpressions; + } + + @JsonProperty("whenExpressions") + public void setWhenExpressions(List whenExpressions) { + this.whenExpressions = whenExpressions; + } + + @JsonIgnore + public PipelineRunTaskRunStatusBuilder edit() { + return new PipelineRunTaskRunStatusBuilder(this); + } + + @JsonIgnore + public PipelineRunTaskRunStatusBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineSpec.java similarity index 93% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineSpec.java index 65c4317edf2..e32eb70ef6a 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -61,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineSpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTask.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTask.java similarity index 84% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTask.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTask.java index 3a849beec64..7d31b475681 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTask.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTask.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,9 +15,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -42,7 +38,10 @@ "displayName", "matrix", "name", + "onError", "params", + "pipelineRef", + "pipelineSpec", "resources", "retries", "runAfter", @@ -67,11 +66,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTask implements Editable , KubernetesResource @@ -85,9 +80,15 @@ public class PipelineTask implements Editable , KubernetesR private Matrix matrix; @JsonProperty("name") private String name; + @JsonProperty("onError") + private String onError; @JsonProperty("params") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List params = new ArrayList<>(); + @JsonProperty("pipelineRef") + private PipelineRef pipelineRef; + @JsonProperty("pipelineSpec") + private PipelineSpec pipelineSpec; @JsonProperty("resources") private PipelineTaskResources resources; @JsonProperty("retries") @@ -117,13 +118,16 @@ public class PipelineTask implements Editable , KubernetesR public PipelineTask() { } - public PipelineTask(String description, String displayName, Matrix matrix, String name, List params, PipelineTaskResources resources, Integer retries, List runAfter, TaskRef taskRef, EmbeddedTask taskSpec, Duration timeout, List when, List workspaces) { + public PipelineTask(String description, String displayName, Matrix matrix, String name, String onError, List params, PipelineRef pipelineRef, PipelineSpec pipelineSpec, PipelineTaskResources resources, Integer retries, List runAfter, TaskRef taskRef, EmbeddedTask taskSpec, Duration timeout, List when, List workspaces) { super(); this.description = description; this.displayName = displayName; this.matrix = matrix; this.name = name; + this.onError = onError; this.params = params; + this.pipelineRef = pipelineRef; + this.pipelineSpec = pipelineSpec; this.resources = resources; this.retries = retries; this.runAfter = runAfter; @@ -174,6 +178,16 @@ public void setName(String name) { this.name = name; } + @JsonProperty("onError") + public String getOnError() { + return onError; + } + + @JsonProperty("onError") + public void setOnError(String onError) { + this.onError = onError; + } + @JsonProperty("params") @JsonInclude(JsonInclude.Include.NON_EMPTY) public List getParams() { @@ -185,6 +199,26 @@ public void setParams(List params) { this.params = params; } + @JsonProperty("pipelineRef") + public PipelineRef getPipelineRef() { + return pipelineRef; + } + + @JsonProperty("pipelineRef") + public void setPipelineRef(PipelineRef pipelineRef) { + this.pipelineRef = pipelineRef; + } + + @JsonProperty("pipelineSpec") + public PipelineSpec getPipelineSpec() { + return pipelineSpec; + } + + @JsonProperty("pipelineSpec") + public void setPipelineSpec(PipelineSpec pipelineSpec) { + this.pipelineSpec = pipelineSpec; + } + @JsonProperty("resources") public PipelineTaskResources getResources() { return resources; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskInputResource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskInputResource.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskInputResource.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskInputResource.java index 53ffa6914ff..3a045a6ca14 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskInputResource.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskInputResource.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTaskInputResource implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskMetadata.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskMetadata.java similarity index 82% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskMetadata.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskMetadata.java index 3be8d43eb23..10067515382 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskMetadata.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskMetadata.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTaskMetadata implements Editable , KubernetesResource @@ -70,7 +62,7 @@ public class PipelineTaskMetadata implements Editable labels = new LinkedHashMap<>(); @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -118,16 +110,16 @@ public PipelineTaskMetadataBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskOutputResource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskOutputResource.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskOutputResource.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskOutputResource.java index bc5c8abe5c0..1304a072f0a 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskOutputResource.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskOutputResource.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTaskOutputResource implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskParam.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskParam.java new file mode 100644 index 00000000000..dac13ce2c8d --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskParam.java @@ -0,0 +1,122 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name", + "value" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineTaskParam implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonProperty("value") + private String value; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineTaskParam() { + } + + public PipelineTaskParam(String name, String value) { + super(); + this.name = name; + this.value = value; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonProperty("value") + public String getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(String value) { + this.value = value; + } + + @JsonIgnore + public PipelineTaskParamBuilder edit() { + return new PipelineTaskParamBuilder(this); + } + + @JsonIgnore + public PipelineTaskParamBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskResources.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskResources.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskResources.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskResources.java index f1f495eee57..387b3a11050 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskResources.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskResources.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTaskResources implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskRun.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskRun.java new file mode 100644 index 00000000000..1a828f497bc --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskRun.java @@ -0,0 +1,108 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class PipelineTaskRun implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public PipelineTaskRun() { + } + + public PipelineTaskRun(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public PipelineTaskRunBuilder edit() { + return new PipelineTaskRunBuilder(this); + } + + @JsonIgnore + public PipelineTaskRunBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskRunSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskRunSpec.java similarity index 83% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskRunSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskRunSpec.java index 4a7ad095cbf..e7f6eb2dcd5 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTaskRunSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineTaskRunSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -25,9 +23,8 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.tekton.pod.Template; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,22 +53,18 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineTaskRunSpec implements Editable , KubernetesResource { @JsonProperty("computeResources") - private io.fabric8.kubernetes.api.model.ResourceRequirements computeResources; + private ResourceRequirements computeResources; @JsonProperty("metadata") private PipelineTaskMetadata metadata; @JsonProperty("pipelineTaskName") @@ -96,7 +89,7 @@ public class PipelineTaskRunSpec implements Editable public PipelineTaskRunSpec() { } - public PipelineTaskRunSpec(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources, PipelineTaskMetadata metadata, String pipelineTaskName, List sidecarOverrides, List stepOverrides, Template taskPodTemplate, String taskServiceAccountName) { + public PipelineTaskRunSpec(ResourceRequirements computeResources, PipelineTaskMetadata metadata, String pipelineTaskName, List sidecarOverrides, List stepOverrides, Template taskPodTemplate, String taskServiceAccountName) { super(); this.computeResources = computeResources; this.metadata = metadata; @@ -108,12 +101,12 @@ public PipelineTaskRunSpec(io.fabric8.kubernetes.api.model.ResourceRequirements } @JsonProperty("computeResources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getComputeResources() { + public ResourceRequirements getComputeResources() { return computeResources; } @JsonProperty("computeResources") - public void setComputeResources(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources) { + public void setComputeResources(ResourceRequirements computeResources) { this.computeResources = computeResources; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineWorkspaceDeclaration.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineWorkspaceDeclaration.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineWorkspaceDeclaration.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineWorkspaceDeclaration.java index 0ea06ecb72a..6644e22e819 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PipelineWorkspaceDeclaration.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PipelineWorkspaceDeclaration.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PipelineWorkspaceDeclaration implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PropertySpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PropertySpec.java similarity index 87% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PropertySpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PropertySpec.java index f7ce2cc402c..df0f3888920 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/PropertySpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/PropertySpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class PropertySpec implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Provenance.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Provenance.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Provenance.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Provenance.java index 37569847fde..caba31d6f0f 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Provenance.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Provenance.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,9 +22,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.config.FeatureFlags; +import io.fabric8.tekton.pipeline.pkg.apis.config.FeatureFlags; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Provenance implements Editable , KubernetesResource diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Ref.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Ref.java new file mode 100644 index 00000000000..d202ff1b0d3 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Ref.java @@ -0,0 +1,108 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "name" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class Ref implements Editable , KubernetesResource +{ + + @JsonProperty("name") + private String name; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public Ref() { + } + + public Ref(String name) { + super(); + this.name = name; + } + + @JsonProperty("name") + public String getName() { + return name; + } + + @JsonProperty("name") + public void setName(String name) { + this.name = name; + } + + @JsonIgnore + public RefBuilder edit() { + return new RefBuilder(this); + } + + @JsonIgnore + public RefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/RefSource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/RefSource.java similarity index 75% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/RefSource.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/RefSource.java index a2a490534c7..2f9c31d8f4b 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/RefSource.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/RefSource.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class RefSource implements Editable , KubernetesResource @@ -68,11 +60,11 @@ public class RefSource implements Editable , KubernetesResourc @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map digest = new LinkedHashMap<>(); @JsonProperty("entryPoint") - private java.lang.String entryPoint; + private String entryPoint; @JsonProperty("uri") - private java.lang.String uri; + private String uri; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -81,7 +73,7 @@ public class RefSource implements Editable , KubernetesResourc public RefSource() { } - public RefSource(Map digest, java.lang.String entryPoint, java.lang.String uri) { + public RefSource(Map digest, String entryPoint, String uri) { super(); this.digest = digest; this.entryPoint = entryPoint; @@ -100,22 +92,22 @@ public void setDigest(Map digest) { } @JsonProperty("entryPoint") - public java.lang.String getEntryPoint() { + public String getEntryPoint() { return entryPoint; } @JsonProperty("entryPoint") - public void setEntryPoint(java.lang.String entryPoint) { + public void setEntryPoint(String entryPoint) { this.entryPoint = entryPoint; } @JsonProperty("uri") - public java.lang.String getUri() { + public String getUri() { return uri; } @JsonProperty("uri") - public void setUri(java.lang.String uri) { + public void setUri(String uri) { this.uri = uri; } @@ -130,16 +122,16 @@ public RefSourceBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ResolverRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ResolverRef.java new file mode 100644 index 00000000000..b3a5b866c8c --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ResolverRef.java @@ -0,0 +1,126 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "params", + "resolver" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ResolverRef implements Editable , KubernetesResource +{ + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List params = new ArrayList<>(); + @JsonProperty("resolver") + private String resolver; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ResolverRef() { + } + + public ResolverRef(List params, String resolver) { + super(); + this.params = params; + this.resolver = resolver; + } + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getParams() { + return params; + } + + @JsonProperty("params") + public void setParams(List params) { + this.params = params; + } + + @JsonProperty("resolver") + public String getResolver() { + return resolver; + } + + @JsonProperty("resolver") + public void setResolver(String resolver) { + this.resolver = resolver; + } + + @JsonIgnore + public ResolverRefBuilder edit() { + return new ResolverRefBuilder(this); + } + + @JsonIgnore + public ResolverRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ResultRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ResultRef.java new file mode 100644 index 00000000000..db77703d64c --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/ResultRef.java @@ -0,0 +1,150 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "pipelineTask", + "property", + "result", + "resultsIndex" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class ResultRef implements Editable , KubernetesResource +{ + + @JsonProperty("pipelineTask") + private String pipelineTask; + @JsonProperty("property") + private String property; + @JsonProperty("result") + private String result; + @JsonProperty("resultsIndex") + private Integer resultsIndex; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public ResultRef() { + } + + public ResultRef(String pipelineTask, String property, String result, Integer resultsIndex) { + super(); + this.pipelineTask = pipelineTask; + this.property = property; + this.result = result; + this.resultsIndex = resultsIndex; + } + + @JsonProperty("pipelineTask") + public String getPipelineTask() { + return pipelineTask; + } + + @JsonProperty("pipelineTask") + public void setPipelineTask(String pipelineTask) { + this.pipelineTask = pipelineTask; + } + + @JsonProperty("property") + public String getProperty() { + return property; + } + + @JsonProperty("property") + public void setProperty(String property) { + this.property = property; + } + + @JsonProperty("result") + public String getResult() { + return result; + } + + @JsonProperty("result") + public void setResult(String result) { + this.result = result; + } + + @JsonProperty("resultsIndex") + public Integer getResultsIndex() { + return resultsIndex; + } + + @JsonProperty("resultsIndex") + public void setResultsIndex(Integer resultsIndex) { + this.resultsIndex = resultsIndex; + } + + @JsonIgnore + public ResultRefBuilder edit() { + return new ResultRefBuilder(this); + } + + @JsonIgnore + public ResultRefBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Sidecar.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Sidecar.java similarity index 85% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Sidecar.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Sidecar.java index 527bfbee8da..f6c3508c5a6 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Sidecar.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Sidecar.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,7 +15,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvFromSource; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,9 +28,10 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.Probe; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.SecurityContext; -import io.fabric8.kubernetes.api.model.Volume; import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -50,6 +53,7 @@ "ports", "readinessProbe", "resources", + "restartPolicy", "script", "securityContext", "startupProbe", @@ -74,15 +78,11 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Sidecar implements Editable , KubernetesResource @@ -96,7 +96,7 @@ public class Sidecar implements Editable , KubernetesResource private List command = new ArrayList<>(); @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); + private List env = new ArrayList<>(); @JsonProperty("envFrom") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List envFrom = new ArrayList<>(); @@ -112,11 +112,13 @@ public class Sidecar implements Editable , KubernetesResource private String name; @JsonProperty("ports") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List ports = new ArrayList<>(); + private List ports = new ArrayList<>(); @JsonProperty("readinessProbe") private Probe readinessProbe; @JsonProperty("resources") - private io.fabric8.kubernetes.api.model.ResourceRequirements resources; + private ResourceRequirements resources; + @JsonProperty("restartPolicy") + private String restartPolicy; @JsonProperty("script") private String script; @JsonProperty("securityContext") @@ -138,7 +140,7 @@ public class Sidecar implements Editable , KubernetesResource private List volumeDevices = new ArrayList<>(); @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); @JsonProperty("workingDir") private String workingDir; @JsonProperty("workspaces") @@ -154,7 +156,7 @@ public class Sidecar implements Editable , KubernetesResource public Sidecar() { } - public Sidecar(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String script, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir, List workspaces) { + public Sidecar(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, ResourceRequirements resources, String restartPolicy, String script, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir, List workspaces) { super(); this.args = args; this.command = command; @@ -168,6 +170,7 @@ public Sidecar(List args, List command, List command) { @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { + public List getEnv() { return env; } @JsonProperty("env") - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } @@ -278,12 +281,12 @@ public void setName(String name) { @JsonProperty("ports") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPorts() { + public List getPorts() { return ports; } @JsonProperty("ports") - public void setPorts(List ports) { + public void setPorts(List ports) { this.ports = ports; } @@ -298,15 +301,25 @@ public void setReadinessProbe(Probe readinessProbe) { } @JsonProperty("resources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() { + public ResourceRequirements getResources() { return resources; } @JsonProperty("resources") - public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public void setResources(ResourceRequirements resources) { this.resources = resources; } + @JsonProperty("restartPolicy") + public String getRestartPolicy() { + return restartPolicy; + } + + @JsonProperty("restartPolicy") + public void setRestartPolicy(String restartPolicy) { + this.restartPolicy = restartPolicy; + } + @JsonProperty("script") public String getScript() { return script; @@ -400,12 +413,12 @@ public void setVolumeDevices(List volumeDevices) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SidecarState.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/SidecarState.java similarity index 92% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SidecarState.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/SidecarState.java index be6310fabb8..459f9a7e6bd 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SidecarState.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/SidecarState.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,11 +13,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.ContainerStateRunning; import io.fabric8.kubernetes.api.model.ContainerStateTerminated; import io.fabric8.kubernetes.api.model.ContainerStateWaiting; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +25,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -60,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class SidecarState implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SkippedTask.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/SkippedTask.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SkippedTask.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/SkippedTask.java index 75a9eeebba9..715ea5b249a 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/SkippedTask.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/SkippedTask.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class SkippedTask implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Step.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Step.java similarity index 80% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Step.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Step.java index f8fcaeeae83..96020142998 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Step.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Step.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,10 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; import io.fabric8.kubernetes.api.model.EnvFromSource; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,9 +29,11 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.Probe; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.SecurityContext; -import io.fabric8.kubernetes.api.model.Volume; import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.tekton.v1.StepResult; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -49,9 +53,12 @@ "livenessProbe", "name", "onError", + "params", "ports", "readinessProbe", + "ref", "resources", + "results", "script", "securityContext", "startupProbe", @@ -65,6 +72,7 @@ "tty", "volumeDevices", "volumeMounts", + "when", "workingDir", "workspaces" }) @@ -79,15 +87,11 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class Step implements Editable , KubernetesResource @@ -101,7 +105,7 @@ public class Step implements Editable , KubernetesResource private List command = new ArrayList<>(); @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); + private List env = new ArrayList<>(); @JsonProperty("envFrom") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List envFrom = new ArrayList<>(); @@ -117,13 +121,21 @@ public class Step implements Editable , KubernetesResource private String name; @JsonProperty("onError") private String onError; + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List params = new ArrayList<>(); @JsonProperty("ports") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List ports = new ArrayList<>(); + private List ports = new ArrayList<>(); @JsonProperty("readinessProbe") private Probe readinessProbe; + @JsonProperty("ref") + private Ref ref; @JsonProperty("resources") - private io.fabric8.kubernetes.api.model.ResourceRequirements resources; + private ResourceRequirements resources; + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); @JsonProperty("script") private String script; @JsonProperty("securityContext") @@ -151,7 +163,10 @@ public class Step implements Editable , KubernetesResource private List volumeDevices = new ArrayList<>(); @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); + @JsonProperty("when") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List when = new ArrayList<>(); @JsonProperty("workingDir") private String workingDir; @JsonProperty("workspaces") @@ -167,7 +182,7 @@ public class Step implements Editable , KubernetesResource public Step() { } - public Step(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, String onError, List ports, Probe readinessProbe, io.fabric8.kubernetes.api.model.ResourceRequirements resources, String script, SecurityContext securityContext, Probe startupProbe, StepOutputConfig stderrConfig, Boolean stdin, Boolean stdinOnce, StepOutputConfig stdoutConfig, String terminationMessagePath, String terminationMessagePolicy, Duration timeout, Boolean tty, List volumeDevices, List volumeMounts, String workingDir, List workspaces) { + public Step(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, String onError, List params, List ports, Probe readinessProbe, Ref ref, ResourceRequirements resources, List results, String script, SecurityContext securityContext, Probe startupProbe, StepOutputConfig stderrConfig, Boolean stdin, Boolean stdinOnce, StepOutputConfig stdoutConfig, String terminationMessagePath, String terminationMessagePolicy, Duration timeout, Boolean tty, List volumeDevices, List volumeMounts, List when, String workingDir, List workspaces) { super(); this.args = args; this.command = command; @@ -179,9 +194,12 @@ public Step(List args, List command, List args, List command, List command) { @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { + public List getEnv() { return env; } @JsonProperty("env") - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } @@ -303,14 +322,25 @@ public void setOnError(String onError) { this.onError = onError; } + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getParams() { + return params; + } + + @JsonProperty("params") + public void setParams(List params) { + this.params = params; + } + @JsonProperty("ports") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPorts() { + public List getPorts() { return ports; } @JsonProperty("ports") - public void setPorts(List ports) { + public void setPorts(List ports) { this.ports = ports; } @@ -324,16 +354,37 @@ public void setReadinessProbe(Probe readinessProbe) { this.readinessProbe = readinessProbe; } + @JsonProperty("ref") + public Ref getRef() { + return ref; + } + + @JsonProperty("ref") + public void setRef(Ref ref) { + this.ref = ref; + } + @JsonProperty("resources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() { + public ResourceRequirements getResources() { return resources; } @JsonProperty("resources") - public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public void setResources(ResourceRequirements resources) { this.resources = resources; } + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + @JsonProperty("script") public String getScript() { return script; @@ -457,15 +508,26 @@ public void setVolumeDevices(List volumeDevices) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } + @JsonProperty("when") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getWhen() { + return when; + } + + @JsonProperty("when") + public void setWhen(List when) { + this.when = when; + } + @JsonProperty("workingDir") public String getWorkingDir() { return workingDir; diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepAction.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepAction.java new file mode 100644 index 00000000000..b98d6418964 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepAction.java @@ -0,0 +1,190 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.LinkedHashMap; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.HasMetadata; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "spec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1beta1") +@Group("tekton.dev") +@Generated("jsonschema2pojo") +public class StepAction implements Editable , HasMetadata, Namespaced +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "tekton.dev/v1beta1"; + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "StepAction"; + @JsonProperty("metadata") + private ObjectMeta metadata; + @JsonProperty("spec") + private StepActionSpec spec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StepAction() { + } + + public StepAction(String apiVersion, String kind, ObjectMeta metadata, StepActionSpec spec) { + super(); + this.apiVersion = apiVersion; + this.kind = kind; + this.metadata = metadata; + this.spec = spec; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ObjectMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ObjectMeta metadata) { + this.metadata = metadata; + } + + @JsonProperty("spec") + public StepActionSpec getSpec() { + return spec; + } + + @JsonProperty("spec") + public void setSpec(StepActionSpec spec) { + this.spec = spec; + } + + @JsonIgnore + public StepActionBuilder edit() { + return new StepActionBuilder(this); + } + + @JsonIgnore + public StepActionBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepActionList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepActionList.java new file mode 100644 index 00000000000..7f418c90a5c --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepActionList.java @@ -0,0 +1,195 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.KubernetesResourceList; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.ListMeta; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.model.annotation.Group; +import io.fabric8.kubernetes.model.annotation.Version; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.transform.annotations.TemplateTransformation; +import io.sundr.transform.annotations.TemplateTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "apiVersion", + "kind", + "metadata", + "items" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@TemplateTransformations({ + @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) +}) +@Version("v1beta1") +@Group("tekton.dev") +@Generated("jsonschema2pojo") +public class StepActionList implements Editable , KubernetesResource, KubernetesResourceList +{ + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + private String apiVersion = "tekton.dev/v1beta1"; + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List items = new ArrayList<>(); + /** + * + * (Required) + * + */ + @JsonProperty("kind") + private String kind = "StepActionList"; + @JsonProperty("metadata") + private ListMeta metadata; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StepActionList() { + } + + public StepActionList(String apiVersion, List items, String kind, ListMeta metadata) { + super(); + this.apiVersion = apiVersion; + this.items = items; + this.kind = kind; + this.metadata = metadata; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public String getApiVersion() { + return apiVersion; + } + + /** + * + * (Required) + * + */ + @JsonProperty("apiVersion") + public void setApiVersion(String apiVersion) { + this.apiVersion = apiVersion; + } + + @JsonProperty("items") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getItems() { + return items; + } + + @JsonProperty("items") + public void setItems(List items) { + this.items = items; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public String getKind() { + return kind; + } + + /** + * + * (Required) + * + */ + @JsonProperty("kind") + public void setKind(String kind) { + this.kind = kind; + } + + @JsonProperty("metadata") + public ListMeta getMetadata() { + return metadata; + } + + @JsonProperty("metadata") + public void setMetadata(ListMeta metadata) { + this.metadata = metadata; + } + + @JsonIgnore + public StepActionListBuilder edit() { + return new StepActionListBuilder(this); + } + + @JsonIgnore + public StepActionListBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepActionSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepActionSpec.java new file mode 100644 index 00000000000..7b1f6e0c130 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepActionSpec.java @@ -0,0 +1,267 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.EnvVar; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.kubernetes.api.model.SecurityContext; +import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.tekton.v1.ParamSpec; +import io.fabric8.tekton.v1.StepResult; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "args", + "command", + "description", + "env", + "image", + "params", + "results", + "script", + "securityContext", + "volumeMounts", + "workingDir" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class StepActionSpec implements Editable , KubernetesResource +{ + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List args = new ArrayList<>(); + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List command = new ArrayList<>(); + @JsonProperty("description") + private String description; + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List env = new ArrayList<>(); + @JsonProperty("image") + private String image; + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List params = new ArrayList<>(); + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); + @JsonProperty("script") + private String script; + @JsonProperty("securityContext") + private SecurityContext securityContext; + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List volumeMounts = new ArrayList<>(); + @JsonProperty("workingDir") + private String workingDir; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public StepActionSpec() { + } + + public StepActionSpec(List args, List command, String description, List env, String image, List params, List results, String script, SecurityContext securityContext, List volumeMounts, String workingDir) { + super(); + this.args = args; + this.command = command; + this.description = description; + this.env = env; + this.image = image; + this.params = params; + this.results = results; + this.script = script; + this.securityContext = securityContext; + this.volumeMounts = volumeMounts; + this.workingDir = workingDir; + } + + @JsonProperty("args") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getArgs() { + return args; + } + + @JsonProperty("args") + public void setArgs(List args) { + this.args = args; + } + + @JsonProperty("command") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCommand() { + return command; + } + + @JsonProperty("command") + public void setCommand(List command) { + this.command = command; + } + + @JsonProperty("description") + public String getDescription() { + return description; + } + + @JsonProperty("description") + public void setDescription(String description) { + this.description = description; + } + + @JsonProperty("env") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getEnv() { + return env; + } + + @JsonProperty("env") + public void setEnv(List env) { + this.env = env; + } + + @JsonProperty("image") + public String getImage() { + return image; + } + + @JsonProperty("image") + public void setImage(String image) { + this.image = image; + } + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getParams() { + return params; + } + + @JsonProperty("params") + public void setParams(List params) { + this.params = params; + } + + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + + @JsonProperty("script") + public String getScript() { + return script; + } + + @JsonProperty("script") + public void setScript(String script) { + this.script = script; + } + + @JsonProperty("securityContext") + public SecurityContext getSecurityContext() { + return securityContext; + } + + @JsonProperty("securityContext") + public void setSecurityContext(SecurityContext securityContext) { + this.securityContext = securityContext; + } + + @JsonProperty("volumeMounts") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getVolumeMounts() { + return volumeMounts; + } + + @JsonProperty("volumeMounts") + public void setVolumeMounts(List volumeMounts) { + this.volumeMounts = volumeMounts; + } + + @JsonProperty("workingDir") + public String getWorkingDir() { + return workingDir; + } + + @JsonProperty("workingDir") + public void setWorkingDir(String workingDir) { + this.workingDir = workingDir; + } + + @JsonIgnore + public StepActionSpecBuilder edit() { + return new StepActionSpecBuilder(this); + } + + @JsonIgnore + public StepActionSpecBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepOutputConfig.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepOutputConfig.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepOutputConfig.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepOutputConfig.java index 359d9f44c34..a7bf17815b8 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepOutputConfig.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepOutputConfig.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -52,11 +48,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class StepOutputConfig implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepState.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepState.java similarity index 71% rename from extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepState.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepState.java index 2d17e3cfd31..8a3e7a047ff 100644 --- a/extensions/tekton/model-v1/src/generated/java/io/fabric8/tekton/pipeline/v1/StepState.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepState.java @@ -1,7 +1,9 @@ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1beta1; +import java.util.ArrayList; import java.util.LinkedHashMap; +import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; @@ -13,11 +15,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.ContainerStateRunning; import io.fabric8.kubernetes.api.model.ContainerStateTerminated; import io.fabric8.kubernetes.api.model.ContainerStateWaiting; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,8 +27,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -40,7 +38,11 @@ @JsonPropertyOrder({ "container", "imageID", + "inputs", "name", + "outputs", + "provenance", + "results", "running", "terminated", "waiting" @@ -60,11 +62,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class StepState implements Editable , KubernetesResource @@ -74,8 +72,19 @@ public class StepState implements Editable , KubernetesResourc private String container; @JsonProperty("imageID") private String imageID; + @JsonProperty("inputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List inputs = new ArrayList<>(); @JsonProperty("name") private String name; + @JsonProperty("outputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List outputs = new ArrayList<>(); + @JsonProperty("provenance") + private Provenance provenance; + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List results = new ArrayList<>(); @JsonProperty("running") private ContainerStateRunning running; @JsonProperty("terminated") @@ -92,11 +101,15 @@ public class StepState implements Editable , KubernetesResourc public StepState() { } - public StepState(String container, String imageID, String name, ContainerStateRunning running, ContainerStateTerminated terminated, ContainerStateWaiting waiting) { + public StepState(String container, String imageID, List inputs, String name, List outputs, Provenance provenance, List results, ContainerStateRunning running, ContainerStateTerminated terminated, ContainerStateWaiting waiting) { super(); this.container = container; this.imageID = imageID; + this.inputs = inputs; this.name = name; + this.outputs = outputs; + this.provenance = provenance; + this.results = results; this.running = running; this.terminated = terminated; this.waiting = waiting; @@ -122,6 +135,17 @@ public void setImageID(String imageID) { this.imageID = imageID; } + @JsonProperty("inputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getInputs() { + return inputs; + } + + @JsonProperty("inputs") + public void setInputs(List inputs) { + this.inputs = inputs; + } + @JsonProperty("name") public String getName() { return name; @@ -132,6 +156,38 @@ public void setName(String name) { this.name = name; } + @JsonProperty("outputs") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getOutputs() { + return outputs; + } + + @JsonProperty("outputs") + public void setOutputs(List outputs) { + this.outputs = outputs; + } + + @JsonProperty("provenance") + public Provenance getProvenance() { + return provenance; + } + + @JsonProperty("provenance") + public void setProvenance(Provenance provenance) { + this.provenance = provenance; + } + + @JsonProperty("results") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResults() { + return results; + } + + @JsonProperty("results") + public void setResults(List results) { + this.results = results; + } + @JsonProperty("running") public ContainerStateRunning getRunning() { return running; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepTemplate.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepTemplate.java similarity index 84% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepTemplate.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepTemplate.java index 5ec3b2b8d35..b41ae414aa6 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/StepTemplate.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/StepTemplate.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,7 +15,9 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EnvFromSource; +import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,9 +28,10 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.Probe; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.SecurityContext; -import io.fabric8.kubernetes.api.model.Volume; import io.fabric8.kubernetes.api.model.VolumeDevice; +import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -72,15 +75,11 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(io.fabric8.kubernetes.api.model.EnvVar.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(io.fabric8.kubernetes.api.model.VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class StepTemplate implements Editable , KubernetesResource @@ -94,7 +93,7 @@ public class StepTemplate implements Editable , KubernetesR private List command = new ArrayList<>(); @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List env = new ArrayList<>(); + private List env = new ArrayList<>(); @JsonProperty("envFrom") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List envFrom = new ArrayList<>(); @@ -110,11 +109,11 @@ public class StepTemplate implements Editable , KubernetesR private String name; @JsonProperty("ports") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List ports = new ArrayList<>(); + private List ports = new ArrayList<>(); @JsonProperty("readinessProbe") private Probe readinessProbe; @JsonProperty("resources") - private io.fabric8.kubernetes.api.model.ResourceRequirements resources; + private ResourceRequirements resources; @JsonProperty("securityContext") private SecurityContext securityContext; @JsonProperty("startupProbe") @@ -134,7 +133,7 @@ public class StepTemplate implements Editable , KubernetesR private List volumeDevices = new ArrayList<>(); @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumeMounts = new ArrayList<>(); + private List volumeMounts = new ArrayList<>(); @JsonProperty("workingDir") private String workingDir; @JsonIgnore @@ -147,7 +146,7 @@ public class StepTemplate implements Editable , KubernetesR public StepTemplate() { } - public StepTemplate(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, io.fabric8.kubernetes.api.model.ResourceRequirements resources, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { + public StepTemplate(List args, List command, List env, List envFrom, String image, String imagePullPolicy, Lifecycle lifecycle, Probe livenessProbe, String name, List ports, Probe readinessProbe, ResourceRequirements resources, SecurityContext securityContext, Probe startupProbe, Boolean stdin, Boolean stdinOnce, String terminationMessagePath, String terminationMessagePolicy, Boolean tty, List volumeDevices, List volumeMounts, String workingDir) { super(); this.args = args; this.command = command; @@ -197,12 +196,12 @@ public void setCommand(List command) { @JsonProperty("env") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getEnv() { + public List getEnv() { return env; } @JsonProperty("env") - public void setEnv(List env) { + public void setEnv(List env) { this.env = env; } @@ -269,12 +268,12 @@ public void setName(String name) { @JsonProperty("ports") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getPorts() { + public List getPorts() { return ports; } @JsonProperty("ports") - public void setPorts(List ports) { + public void setPorts(List ports) { this.ports = ports; } @@ -289,12 +288,12 @@ public void setReadinessProbe(Probe readinessProbe) { } @JsonProperty("resources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() { + public ResourceRequirements getResources() { return resources; } @JsonProperty("resources") - public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public void setResources(ResourceRequirements resources) { this.resources = resources; } @@ -381,12 +380,12 @@ public void setVolumeDevices(List volumeDevices) { @JsonProperty("volumeMounts") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumeMounts() { + public List getVolumeMounts() { return volumeMounts; } @JsonProperty("volumeMounts") - public void setVolumeMounts(List volumeMounts) { + public void setVolumeMounts(List volumeMounts) { this.volumeMounts = volumeMounts; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Task.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Task.java similarity index 84% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Task.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Task.java index 61b025061cb..fcda7a8748e 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/Task.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/Task.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -51,7 +48,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -59,11 +56,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -89,7 +82,7 @@ public class Task implements Editable , HasMetadata, Namespaced @JsonProperty("kind") private String kind = "Task"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TaskSpec spec; @JsonIgnore @@ -102,7 +95,7 @@ public class Task implements Editable , HasMetadata, Namespaced public Task() { } - public Task(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TaskSpec spec) { + public Task(String apiVersion, String kind, ObjectMeta metadata, TaskSpec spec) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -151,12 +144,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskBreakpoints.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskBreakpoints.java new file mode 100644 index 00000000000..9b375f5f970 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskBreakpoints.java @@ -0,0 +1,126 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "beforeSteps", + "onFailure" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TaskBreakpoints implements Editable , KubernetesResource +{ + + @JsonProperty("beforeSteps") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List beforeSteps = new ArrayList<>(); + @JsonProperty("onFailure") + private String onFailure; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TaskBreakpoints() { + } + + public TaskBreakpoints(List beforeSteps, String onFailure) { + super(); + this.beforeSteps = beforeSteps; + this.onFailure = onFailure; + } + + @JsonProperty("beforeSteps") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getBeforeSteps() { + return beforeSteps; + } + + @JsonProperty("beforeSteps") + public void setBeforeSteps(List beforeSteps) { + this.beforeSteps = beforeSteps; + } + + @JsonProperty("onFailure") + public String getOnFailure() { + return onFailure; + } + + @JsonProperty("onFailure") + public void setOnFailure(String onFailure) { + this.onFailure = onFailure; + } + + @JsonIgnore + public TaskBreakpointsBuilder edit() { + return new TaskBreakpointsBuilder(this); + } + + @JsonIgnore + public TaskBreakpointsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskList.java similarity index 85% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskList.java index a92d81293b5..5d8e51faecc 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskList implements Editable , KubernetesResource, KubernetesResourceList +public class TaskList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class TaskList implements Editable , KubernetesResource, private String apiVersion = "tekton.dev/v1beta1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class TaskList implements Editable , KubernetesResource, public TaskList() { } - public TaskList(String apiVersion, List items, String kind, ListMeta metadata) { + public TaskList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRef.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRef.java similarity index 76% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRef.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRef.java index 549e1e7931d..a24e1b0a720 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRef.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRef.java @@ -1,9 +1,7 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; -import java.util.ArrayList; import java.util.LinkedHashMap; -import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; @@ -15,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -40,9 +34,7 @@ "apiVersion", "kind", "bundle", - "name", - "params", - "resolver" + "name" }) @ToString @EqualsAndHashCode @@ -59,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRef implements Editable , KubernetesResource @@ -77,11 +65,6 @@ public class TaskRef implements Editable , KubernetesResource private String kind; @JsonProperty("name") private String name; - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List params = new ArrayList<>(); - @JsonProperty("resolver") - private String resolver; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -92,14 +75,12 @@ public class TaskRef implements Editable , KubernetesResource public TaskRef() { } - public TaskRef(String apiVersion, String bundle, String kind, String name, List params, String resolver) { + public TaskRef(String apiVersion, String bundle, String kind, String name) { super(); this.apiVersion = apiVersion; this.bundle = bundle; this.kind = kind; this.name = name; - this.params = params; - this.resolver = resolver; } @JsonProperty("apiVersion") @@ -142,27 +123,6 @@ public void setName(String name) { this.name = name; } - @JsonProperty("params") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getParams() { - return params; - } - - @JsonProperty("params") - public void setParams(List params) { - this.params = params; - } - - @JsonProperty("resolver") - public String getResolver() { - return resolver; - } - - @JsonProperty("resolver") - public void setResolver(String resolver) { - this.resolver = resolver; - } - @JsonIgnore public TaskRefBuilder edit() { return new TaskRefBuilder(this); diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResource.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResource.java similarity index 91% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResource.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResource.java index c4f4cf3d97c..f57fe0a2078 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResource.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResource.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskResource implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResourceBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResourceBinding.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResourceBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResourceBinding.java index 7070c0bacd4..db6c621af10 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResourceBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResourceBinding.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,9 +24,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.PipelineResourceSpec; +import io.fabric8.tekton.v1alpha1.PipelineResourceSpec; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -58,11 +54,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskResourceBinding implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResources.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResources.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResources.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResources.java index 12249f0dabc..ae171f95542 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResources.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResources.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskResources implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResult.java similarity index 73% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResult.java index 2aaef155c08..1038f7f4677 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -38,7 +34,8 @@ "description", "name", "properties", - "type" + "type", + "value" }) @ToString @EqualsAndHashCode @@ -55,27 +52,25 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskResult implements Editable , KubernetesResource { @JsonProperty("description") - private java.lang.String description; + private String description; @JsonProperty("name") - private java.lang.String name; + private String name; @JsonProperty("properties") @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map properties = new LinkedHashMap<>(); @JsonProperty("type") - private java.lang.String type; + private String type; + @JsonProperty("value") + private ParamValue value; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -84,31 +79,32 @@ public class TaskResult implements Editable , KubernetesResou public TaskResult() { } - public TaskResult(java.lang.String description, java.lang.String name, Map properties, java.lang.String type) { + public TaskResult(String description, String name, Map properties, String type, ParamValue value) { super(); this.description = description; this.name = name; this.properties = properties; this.type = type; + this.value = value; } @JsonProperty("description") - public java.lang.String getDescription() { + public String getDescription() { return description; } @JsonProperty("description") - public void setDescription(java.lang.String description) { + public void setDescription(String description) { this.description = description; } @JsonProperty("name") - public java.lang.String getName() { + public String getName() { return name; } @JsonProperty("name") - public void setName(java.lang.String name) { + public void setName(String name) { this.name = name; } @@ -124,15 +120,25 @@ public void setProperties(Map properties) { } @JsonProperty("type") - public java.lang.String getType() { + public String getType() { return type; } @JsonProperty("type") - public void setType(java.lang.String type) { + public void setType(String type) { this.type = type; } + @JsonProperty("value") + public ParamValue getValue() { + return value; + } + + @JsonProperty("value") + public void setValue(ParamValue value) { + this.value = value; + } + @JsonIgnore public TaskResultBuilder edit() { return new TaskResultBuilder(this); @@ -144,16 +150,16 @@ public TaskResultBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRun.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRun.java similarity index 85% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRun.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRun.java index 64ce4f3741f..1fd57dad595 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRun.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRun.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,19 +13,16 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.HasMetadata; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.Namespaced; +import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -52,7 +49,7 @@ "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { - @BuildableReference(io.fabric8.kubernetes.api.model.ObjectMeta.class), + @BuildableReference(ObjectMeta.class), @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), @@ -60,11 +57,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -90,7 +83,7 @@ public class TaskRun implements Editable , HasMetadata, Namespac @JsonProperty("kind") private String kind = "TaskRun"; @JsonProperty("metadata") - private io.fabric8.kubernetes.api.model.ObjectMeta metadata; + private ObjectMeta metadata; @JsonProperty("spec") private TaskRunSpec spec; @JsonProperty("status") @@ -105,7 +98,7 @@ public class TaskRun implements Editable , HasMetadata, Namespac public TaskRun() { } - public TaskRun(String apiVersion, String kind, io.fabric8.kubernetes.api.model.ObjectMeta metadata, TaskRunSpec spec, TaskRunStatus status) { + public TaskRun(String apiVersion, String kind, ObjectMeta metadata, TaskRunSpec spec, TaskRunStatus status) { super(); this.apiVersion = apiVersion; this.kind = kind; @@ -155,12 +148,12 @@ public void setKind(String kind) { } @JsonProperty("metadata") - public io.fabric8.kubernetes.api.model.ObjectMeta getMetadata() { + public ObjectMeta getMetadata() { return metadata; } @JsonProperty("metadata") - public void setMetadata(io.fabric8.kubernetes.api.model.ObjectMeta metadata) { + public void setMetadata(ObjectMeta metadata) { this.metadata = metadata; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunDebug.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunDebug.java similarity index 74% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunDebug.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunDebug.java index a3dcfff07b4..c7252364945 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunDebug.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunDebug.java @@ -1,9 +1,7 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; -import java.util.ArrayList; import java.util.LinkedHashMap; -import java.util.List; import java.util.Map; import javax.annotation.Generated; import com.fasterxml.jackson.annotation.JsonAnyGetter; @@ -15,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -37,7 +31,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "breakpoint" + "breakpoints" }) @ToString @EqualsAndHashCode @@ -54,19 +48,14 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunDebug implements Editable , KubernetesResource { - @JsonProperty("breakpoint") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List breakpoint = new ArrayList<>(); + @JsonProperty("breakpoints") + private TaskBreakpoints breakpoints; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -77,20 +66,19 @@ public class TaskRunDebug implements Editable , KubernetesR public TaskRunDebug() { } - public TaskRunDebug(List breakpoint) { + public TaskRunDebug(TaskBreakpoints breakpoints) { super(); - this.breakpoint = breakpoint; + this.breakpoints = breakpoints; } - @JsonProperty("breakpoint") - @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getBreakpoint() { - return breakpoint; + @JsonProperty("breakpoints") + public TaskBreakpoints getBreakpoints() { + return breakpoints; } - @JsonProperty("breakpoint") - public void setBreakpoint(List breakpoint) { - this.breakpoint = breakpoint; + @JsonProperty("breakpoints") + public void setBreakpoints(TaskBreakpoints breakpoints) { + this.breakpoints = breakpoints; } @JsonIgnore diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunInputs.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunInputs.java new file mode 100644 index 00000000000..d41235c5340 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunInputs.java @@ -0,0 +1,128 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "params", + "resources" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TaskRunInputs implements Editable , KubernetesResource +{ + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List params = new ArrayList<>(); + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resources = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TaskRunInputs() { + } + + public TaskRunInputs(List params, List resources) { + super(); + this.params = params; + this.resources = resources; + } + + @JsonProperty("params") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getParams() { + return params; + } + + @JsonProperty("params") + public void setParams(List params) { + this.params = params; + } + + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(List resources) { + this.resources = resources; + } + + @JsonIgnore + public TaskRunInputsBuilder edit() { + return new TaskRunInputsBuilder(this); + } + + @JsonIgnore + public TaskRunInputsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunList.java similarity index 86% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunList.java index 823f7a952d9..869293c16e8 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunList.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunList.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.KubernetesResourceList; @@ -28,8 +26,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.fabric8.kubernetes.model.annotation.Group; import io.fabric8.kubernetes.model.annotation.Version; import io.sundr.builder.annotations.Buildable; @@ -63,11 +59,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @TemplateTransformations({ @TemplateTransformation(value = "/manifest.vm", outputPath = "META-INF/services/io.fabric8.kubernetes.api.model.KubernetesResource", gather = true) @@ -75,7 +67,7 @@ @Version("v1beta1") @Group("tekton.dev") @Generated("jsonschema2pojo") -public class TaskRunList implements Editable , KubernetesResource, KubernetesResourceList +public class TaskRunList implements Editable , KubernetesResource, KubernetesResourceList { /** @@ -87,7 +79,7 @@ public class TaskRunList implements Editable , KubernetesRes private String apiVersion = "tekton.dev/v1beta1"; @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List items = new ArrayList<>(); + private List items = new ArrayList<>(); /** * * (Required) @@ -107,7 +99,7 @@ public class TaskRunList implements Editable , KubernetesRes public TaskRunList() { } - public TaskRunList(String apiVersion, List items, String kind, ListMeta metadata) { + public TaskRunList(String apiVersion, List items, String kind, ListMeta metadata) { super(); this.apiVersion = apiVersion; this.items = items; @@ -137,12 +129,12 @@ public void setApiVersion(String apiVersion) { @JsonProperty("items") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getItems() { + public List getItems() { return items; } @JsonProperty("items") - public void setItems(List items) { + public void setItems(List items) { this.items = items; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunOutputs.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunOutputs.java new file mode 100644 index 00000000000..9d2cba52481 --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunOutputs.java @@ -0,0 +1,112 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "resources" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TaskRunOutputs implements Editable , KubernetesResource +{ + + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resources = new ArrayList<>(); + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TaskRunOutputs() { + } + + public TaskRunOutputs(List resources) { + super(); + this.resources = resources; + } + + @JsonProperty("resources") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResources() { + return resources; + } + + @JsonProperty("resources") + public void setResources(List resources) { + this.resources = resources; + } + + @JsonIgnore + public TaskRunOutputsBuilder edit() { + return new TaskRunOutputsBuilder(this); + } + + @JsonIgnore + public TaskRunOutputsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResources.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunResources.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResources.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunResources.java index acc4bb14036..a26ad3ed8c4 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResources.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunResources.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunResources implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResult.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunResult.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResult.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunResult.java index d23728d262c..97e45e7b325 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunResult.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunResult.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunResult implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSidecarOverride.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunSidecarOverride.java similarity index 79% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSidecarOverride.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunSidecarOverride.java index a04bd22bd4d..f92e7adfacb 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunSidecarOverride.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunSidecarOverride.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -23,8 +21,7 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -48,15 +45,11 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunSidecarOverride implements Editable , KubernetesResource @@ -65,7 +58,7 @@ public class TaskRunSidecarOverride implements Editable additionalProperties = new LinkedHashMap(); @@ -76,7 +69,7 @@ public class TaskRunSidecarOverride implements Editable , KubernetesResource { @JsonProperty("computeResources") - private io.fabric8.kubernetes.api.model.ResourceRequirements computeResources; + private ResourceRequirements computeResources; @JsonProperty("debug") private TaskRunDebug debug; @JsonProperty("params") @@ -123,7 +116,7 @@ public class TaskRunSpec implements Editable , KubernetesRes public TaskRunSpec() { } - public TaskRunSpec(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources, TaskRunDebug debug, List params, Template podTemplate, TaskRunResources resources, Integer retries, String serviceAccountName, List sidecarOverrides, String status, String statusMessage, List stepOverrides, TaskRef taskRef, TaskSpec taskSpec, Duration timeout, List workspaces) { + public TaskRunSpec(ResourceRequirements computeResources, TaskRunDebug debug, List params, Template podTemplate, TaskRunResources resources, Integer retries, String serviceAccountName, List sidecarOverrides, String status, String statusMessage, List stepOverrides, TaskRef taskRef, TaskSpec taskSpec, Duration timeout, List workspaces) { super(); this.computeResources = computeResources; this.debug = debug; @@ -143,12 +136,12 @@ public TaskRunSpec(io.fabric8.kubernetes.api.model.ResourceRequirements computeR } @JsonProperty("computeResources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getComputeResources() { + public ResourceRequirements getComputeResources() { return computeResources; } @JsonProperty("computeResources") - public void setComputeResources(io.fabric8.kubernetes.api.model.ResourceRequirements computeResources) { + public void setComputeResources(ResourceRequirements computeResources) { this.computeResources = computeResources; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStatus.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunStatus.java similarity index 82% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStatus.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunStatus.java index 3afba48eccd..9c67fdb2a72 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStatus.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunStatus.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -16,8 +16,6 @@ import io.fabric8.knative.pkg.apis.Condition; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -27,9 +25,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; -import io.fabric8.tekton.v1beta1.internal.pipeline.pkg.result.RunResult; +import io.fabric8.tekton.pipeline.pkg.result.RunResult; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -70,11 +66,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunStatus implements Editable , KubernetesResource @@ -87,14 +79,14 @@ public class TaskRunStatus implements Editable , Kubernete @JsonInclude(JsonInclude.Include.NON_EMPTY) private List cloudEvents = new ArrayList<>(); @JsonProperty("completionTime") - private java.lang.String completionTime; + private String completionTime; @JsonProperty("conditions") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List conditions = new ArrayList<>(); @JsonProperty("observedGeneration") private Long observedGeneration; @JsonProperty("podName") - private java.lang.String podName; + private String podName; @JsonProperty("provenance") private Provenance provenance; @JsonProperty("resourcesResult") @@ -102,7 +94,7 @@ public class TaskRunStatus implements Editable , Kubernete private List resourcesResult = new ArrayList<>(); @JsonProperty("retriesStatus") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List retriesStatus = new ArrayList<>(); + private List retriesStatus = new ArrayList<>(); @JsonProperty("sidecars") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List sidecars = new ArrayList<>(); @@ -110,7 +102,7 @@ public class TaskRunStatus implements Editable , Kubernete @JsonInclude(JsonInclude.Include.NON_EMPTY) private Map spanContext = new LinkedHashMap<>(); @JsonProperty("startTime") - private java.lang.String startTime; + private String startTime; @JsonProperty("steps") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List steps = new ArrayList<>(); @@ -120,7 +112,7 @@ public class TaskRunStatus implements Editable , Kubernete @JsonProperty("taskSpec") private TaskSpec taskSpec; @JsonIgnore - private Map additionalProperties = new LinkedHashMap(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization @@ -129,7 +121,7 @@ public class TaskRunStatus implements Editable , Kubernete public TaskRunStatus() { } - public TaskRunStatus(Map annotations, List cloudEvents, java.lang.String completionTime, List conditions, Long observedGeneration, java.lang.String podName, Provenance provenance, List resourcesResult, List retriesStatus, List sidecars, Map spanContext, java.lang.String startTime, List steps, List taskResults, TaskSpec taskSpec) { + public TaskRunStatus(Map annotations, List cloudEvents, String completionTime, List conditions, Long observedGeneration, String podName, Provenance provenance, List resourcesResult, List retriesStatus, List sidecars, Map spanContext, String startTime, List steps, List taskResults, TaskSpec taskSpec) { super(); this.annotations = annotations; this.cloudEvents = cloudEvents; @@ -171,12 +163,12 @@ public void setCloudEvents(List cloudEvents) { } @JsonProperty("completionTime") - public java.lang.String getCompletionTime() { + public String getCompletionTime() { return completionTime; } @JsonProperty("completionTime") - public void setCompletionTime(java.lang.String completionTime) { + public void setCompletionTime(String completionTime) { this.completionTime = completionTime; } @@ -202,12 +194,12 @@ public void setObservedGeneration(Long observedGeneration) { } @JsonProperty("podName") - public java.lang.String getPodName() { + public String getPodName() { return podName; } @JsonProperty("podName") - public void setPodName(java.lang.String podName) { + public void setPodName(String podName) { this.podName = podName; } @@ -234,12 +226,12 @@ public void setResourcesResult(List resourcesResult) { @JsonProperty("retriesStatus") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getRetriesStatus() { + public List getRetriesStatus() { return retriesStatus; } @JsonProperty("retriesStatus") - public void setRetriesStatus(List retriesStatus) { + public void setRetriesStatus(List retriesStatus) { this.retriesStatus = retriesStatus; } @@ -266,12 +258,12 @@ public void setSpanContext(Map spanContext) { } @JsonProperty("startTime") - public java.lang.String getStartTime() { + public String getStartTime() { return startTime; } @JsonProperty("startTime") - public void setStartTime(java.lang.String startTime) { + public void setStartTime(String startTime) { this.startTime = startTime; } @@ -318,16 +310,16 @@ public TaskRunStatusBuilder toBuilder() { } @JsonAnyGetter - public Map getAdditionalProperties() { + public Map getAdditionalProperties() { return this.additionalProperties; } @JsonAnySetter - public void setAdditionalProperty(java.lang.String name, Object value) { + public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } - public void setAdditionalProperties(Map additionalProperties) { + public void setAdditionalProperties(Map additionalProperties) { this.additionalProperties = additionalProperties; } diff --git a/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunStatusFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunStatusFields.java new file mode 100644 index 00000000000..8afae1361dc --- /dev/null +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunStatusFields.java @@ -0,0 +1,279 @@ + +package io.fabric8.tekton.v1beta1; + +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import javax.annotation.Generated; +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import io.fabric8.kubernetes.api.builder.Editable; +import io.fabric8.kubernetes.api.model.Container; +import io.fabric8.kubernetes.api.model.IntOrString; +import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.kubernetes.api.model.LabelSelector; +import io.fabric8.kubernetes.api.model.LocalObjectReference; +import io.fabric8.kubernetes.api.model.ObjectMeta; +import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; +import io.fabric8.kubernetes.api.model.PodTemplateSpec; +import io.fabric8.kubernetes.api.model.ResourceRequirements; +import io.fabric8.tekton.pipeline.pkg.result.RunResult; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import lombok.experimental.Accessors; + +@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) +@JsonInclude(JsonInclude.Include.NON_NULL) +@JsonPropertyOrder({ + "cloudEvents", + "completionTime", + "podName", + "provenance", + "resourcesResult", + "retriesStatus", + "sidecars", + "spanContext", + "startTime", + "steps", + "taskResults", + "taskSpec" +}) +@ToString +@EqualsAndHashCode +@Accessors(prefix = { + "_", + "" +}) +@Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, lazyCollectionInitEnabled = false, builderPackage = "io.fabric8.kubernetes.api.builder", refs = { + @BuildableReference(ObjectMeta.class), + @BuildableReference(LabelSelector.class), + @BuildableReference(Container.class), + @BuildableReference(PodTemplateSpec.class), + @BuildableReference(ResourceRequirements.class), + @BuildableReference(IntOrString.class), + @BuildableReference(ObjectReference.class), + @BuildableReference(LocalObjectReference.class), + @BuildableReference(PersistentVolumeClaim.class) +}) +@Generated("jsonschema2pojo") +public class TaskRunStatusFields implements Editable , KubernetesResource +{ + + @JsonProperty("cloudEvents") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List cloudEvents = new ArrayList<>(); + @JsonProperty("completionTime") + private String completionTime; + @JsonProperty("podName") + private String podName; + @JsonProperty("provenance") + private Provenance provenance; + @JsonProperty("resourcesResult") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List resourcesResult = new ArrayList<>(); + @JsonProperty("retriesStatus") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List retriesStatus = new ArrayList<>(); + @JsonProperty("sidecars") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List sidecars = new ArrayList<>(); + @JsonProperty("spanContext") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map spanContext = new LinkedHashMap<>(); + @JsonProperty("startTime") + private String startTime; + @JsonProperty("steps") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List steps = new ArrayList<>(); + @JsonProperty("taskResults") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private List taskResults = new ArrayList<>(); + @JsonProperty("taskSpec") + private TaskSpec taskSpec; + @JsonIgnore + private Map additionalProperties = new LinkedHashMap(); + + /** + * No args constructor for use in serialization + * + */ + public TaskRunStatusFields() { + } + + public TaskRunStatusFields(List cloudEvents, String completionTime, String podName, Provenance provenance, List resourcesResult, List retriesStatus, List sidecars, Map spanContext, String startTime, List steps, List taskResults, TaskSpec taskSpec) { + super(); + this.cloudEvents = cloudEvents; + this.completionTime = completionTime; + this.podName = podName; + this.provenance = provenance; + this.resourcesResult = resourcesResult; + this.retriesStatus = retriesStatus; + this.sidecars = sidecars; + this.spanContext = spanContext; + this.startTime = startTime; + this.steps = steps; + this.taskResults = taskResults; + this.taskSpec = taskSpec; + } + + @JsonProperty("cloudEvents") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getCloudEvents() { + return cloudEvents; + } + + @JsonProperty("cloudEvents") + public void setCloudEvents(List cloudEvents) { + this.cloudEvents = cloudEvents; + } + + @JsonProperty("completionTime") + public String getCompletionTime() { + return completionTime; + } + + @JsonProperty("completionTime") + public void setCompletionTime(String completionTime) { + this.completionTime = completionTime; + } + + @JsonProperty("podName") + public String getPodName() { + return podName; + } + + @JsonProperty("podName") + public void setPodName(String podName) { + this.podName = podName; + } + + @JsonProperty("provenance") + public Provenance getProvenance() { + return provenance; + } + + @JsonProperty("provenance") + public void setProvenance(Provenance provenance) { + this.provenance = provenance; + } + + @JsonProperty("resourcesResult") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getResourcesResult() { + return resourcesResult; + } + + @JsonProperty("resourcesResult") + public void setResourcesResult(List resourcesResult) { + this.resourcesResult = resourcesResult; + } + + @JsonProperty("retriesStatus") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getRetriesStatus() { + return retriesStatus; + } + + @JsonProperty("retriesStatus") + public void setRetriesStatus(List retriesStatus) { + this.retriesStatus = retriesStatus; + } + + @JsonProperty("sidecars") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSidecars() { + return sidecars; + } + + @JsonProperty("sidecars") + public void setSidecars(List sidecars) { + this.sidecars = sidecars; + } + + @JsonProperty("spanContext") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getSpanContext() { + return spanContext; + } + + @JsonProperty("spanContext") + public void setSpanContext(Map spanContext) { + this.spanContext = spanContext; + } + + @JsonProperty("startTime") + public String getStartTime() { + return startTime; + } + + @JsonProperty("startTime") + public void setStartTime(String startTime) { + this.startTime = startTime; + } + + @JsonProperty("steps") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getSteps() { + return steps; + } + + @JsonProperty("steps") + public void setSteps(List steps) { + this.steps = steps; + } + + @JsonProperty("taskResults") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public List getTaskResults() { + return taskResults; + } + + @JsonProperty("taskResults") + public void setTaskResults(List taskResults) { + this.taskResults = taskResults; + } + + @JsonProperty("taskSpec") + public TaskSpec getTaskSpec() { + return taskSpec; + } + + @JsonProperty("taskSpec") + public void setTaskSpec(TaskSpec taskSpec) { + this.taskSpec = taskSpec; + } + + @JsonIgnore + public TaskRunStatusFieldsBuilder edit() { + return new TaskRunStatusFieldsBuilder(this); + } + + @JsonIgnore + public TaskRunStatusFieldsBuilder toBuilder() { + return edit(); + } + + @JsonAnyGetter + public Map getAdditionalProperties() { + return this.additionalProperties; + } + + @JsonAnySetter + public void setAdditionalProperty(String name, Object value) { + this.additionalProperties.put(name, value); + } + + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + +} diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStepOverride.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunStepOverride.java similarity index 79% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStepOverride.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunStepOverride.java index 6bc5c450cf9..df533ef4bcc 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskRunStepOverride.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskRunStepOverride.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -23,8 +21,7 @@ import io.fabric8.kubernetes.api.model.ObjectReference; import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -48,15 +45,11 @@ @BuildableReference(LabelSelector.class), @BuildableReference(Container.class), @BuildableReference(PodTemplateSpec.class), - @BuildableReference(io.fabric8.kubernetes.api.model.ResourceRequirements.class), + @BuildableReference(ResourceRequirements.class), @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskRunStepOverride implements Editable , KubernetesResource @@ -65,7 +58,7 @@ public class TaskRunStepOverride implements Editable @JsonProperty("name") private String name; @JsonProperty("resources") - private io.fabric8.kubernetes.api.model.ResourceRequirements resources; + private ResourceRequirements resources; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -76,7 +69,7 @@ public class TaskRunStepOverride implements Editable public TaskRunStepOverride() { } - public TaskRunStepOverride(String name, io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public TaskRunStepOverride(String name, ResourceRequirements resources) { super(); this.name = name; this.resources = resources; @@ -93,12 +86,12 @@ public void setName(String name) { } @JsonProperty("resources") - public io.fabric8.kubernetes.api.model.ResourceRequirements getResources() { + public ResourceRequirements getResources() { return resources; } @JsonProperty("resources") - public void setResources(io.fabric8.kubernetes.api.model.ResourceRequirements resources) { + public void setResources(ResourceRequirements resources) { this.resources = resources; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskSpec.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskSpec.java similarity index 90% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskSpec.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskSpec.java index a1a34cd4ddd..dae23a29cb6 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TaskSpec.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TaskSpec.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,7 +24,7 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.VolumeMount; +import io.fabric8.kubernetes.api.model.Volume; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -62,11 +60,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(io.fabric8.kubernetes.api.model.Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TaskSpec implements Editable , KubernetesResource @@ -94,7 +88,7 @@ public class TaskSpec implements Editable , KubernetesResource private List steps = new ArrayList<>(); @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - private List volumes = new ArrayList<>(); + private List volumes = new ArrayList<>(); @JsonProperty("workspaces") @JsonInclude(JsonInclude.Include.NON_EMPTY) private List workspaces = new ArrayList<>(); @@ -108,7 +102,7 @@ public class TaskSpec implements Editable , KubernetesResource public TaskSpec() { } - public TaskSpec(String description, String displayName, List params, TaskResources resources, List results, List sidecars, StepTemplate stepTemplate, List steps, List volumes, List workspaces) { + public TaskSpec(String description, String displayName, List params, TaskResources resources, List results, List sidecars, StepTemplate stepTemplate, List steps, List volumes, List workspaces) { super(); this.description = description; this.displayName = displayName; @@ -208,12 +202,12 @@ public void setSteps(List steps) { @JsonProperty("volumes") @JsonInclude(JsonInclude.Include.NON_EMPTY) - public List getVolumes() { + public List getVolumes() { return volumes; } @JsonProperty("volumes") - public void setVolumes(List volumes) { + public void setVolumes(List volumes) { this.volumes = volumes; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TimeoutFields.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TimeoutFields.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TimeoutFields.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TimeoutFields.java index 239f2d8be3a..db7bd478d48 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/TimeoutFields.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/TimeoutFields.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,9 +13,7 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.Duration; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -25,8 +23,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -55,11 +51,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class TimeoutFields implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WhenExpression.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WhenExpression.java index faf207fceb0..a17eb78592f 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WhenExpression.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WhenExpression.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -15,8 +15,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -26,8 +24,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -37,6 +33,7 @@ @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ + "cel", "input", "operator", "values" @@ -56,16 +53,14 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WhenExpression implements Editable , KubernetesResource { + @JsonProperty("cel") + private String cel; @JsonProperty("input") private String input; @JsonProperty("operator") @@ -83,13 +78,24 @@ public class WhenExpression implements Editable , Kuberne public WhenExpression() { } - public WhenExpression(String input, String operator, List values) { + public WhenExpression(String cel, String input, String operator, List values) { super(); + this.cel = cel; this.input = input; this.operator = operator; this.values = values; } + @JsonProperty("cel") + public String getCel() { + return cel; + } + + @JsonProperty("cel") + public void setCel(String cel) { + this.cel = cel; + } + @JsonProperty("input") public String getInput() { return input; diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspaceBinding.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspaceBinding.java index 9c5284055cd..bd18e156e67 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspaceBinding.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -15,22 +15,19 @@ import io.fabric8.kubernetes.api.model.CSIVolumeSource; import io.fabric8.kubernetes.api.model.ConfigMapVolumeSource; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; import io.fabric8.kubernetes.api.model.EmptyDirVolumeSource; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; import io.fabric8.kubernetes.api.model.LocalObjectReference; import io.fabric8.kubernetes.api.model.ObjectMeta; import io.fabric8.kubernetes.api.model.ObjectReference; +import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSource; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ProjectedVolumeSource; import io.fabric8.kubernetes.api.model.ResourceRequirements; import io.fabric8.kubernetes.api.model.SecretVolumeSource; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -65,11 +62,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(io.fabric8.kubernetes.api.model.PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WorkspaceBinding implements Editable , KubernetesResource @@ -92,7 +85,7 @@ public class WorkspaceBinding implements Editable , Kub @JsonProperty("subPath") private String subPath; @JsonProperty("volumeClaimTemplate") - private io.fabric8.kubernetes.api.model.PersistentVolumeClaim volumeClaimTemplate; + private PersistentVolumeClaim volumeClaimTemplate; @JsonIgnore private Map additionalProperties = new LinkedHashMap(); @@ -103,7 +96,7 @@ public class WorkspaceBinding implements Editable , Kub public WorkspaceBinding() { } - public WorkspaceBinding(ConfigMapVolumeSource configMap, CSIVolumeSource csi, EmptyDirVolumeSource emptyDir, String name, PersistentVolumeClaimVolumeSource persistentVolumeClaim, ProjectedVolumeSource projected, SecretVolumeSource secret, String subPath, io.fabric8.kubernetes.api.model.PersistentVolumeClaim volumeClaimTemplate) { + public WorkspaceBinding(ConfigMapVolumeSource configMap, CSIVolumeSource csi, EmptyDirVolumeSource emptyDir, String name, PersistentVolumeClaimVolumeSource persistentVolumeClaim, ProjectedVolumeSource projected, SecretVolumeSource secret, String subPath, PersistentVolumeClaim volumeClaimTemplate) { super(); this.configMap = configMap; this.csi = csi; @@ -197,12 +190,12 @@ public void setSubPath(String subPath) { } @JsonProperty("volumeClaimTemplate") - public io.fabric8.kubernetes.api.model.PersistentVolumeClaim getVolumeClaimTemplate() { + public PersistentVolumeClaim getVolumeClaimTemplate() { return volumeClaimTemplate; } @JsonProperty("volumeClaimTemplate") - public void setVolumeClaimTemplate(io.fabric8.kubernetes.api.model.PersistentVolumeClaim volumeClaimTemplate) { + public void setVolumeClaimTemplate(PersistentVolumeClaim volumeClaimTemplate) { this.volumeClaimTemplate = volumeClaimTemplate; } diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceDeclaration.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspaceDeclaration.java similarity index 91% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceDeclaration.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspaceDeclaration.java index 0f29f72732f..c48260a39c4 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceDeclaration.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspaceDeclaration.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -56,11 +52,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WorkspaceDeclaration implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspacePipelineTaskBinding.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspacePipelineTaskBinding.java similarity index 89% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspacePipelineTaskBinding.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspacePipelineTaskBinding.java index 6ecbd1b6bf2..9055d24a0a5 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspacePipelineTaskBinding.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspacePipelineTaskBinding.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -54,11 +50,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WorkspacePipelineTaskBinding implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceUsage.java b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspaceUsage.java similarity index 88% rename from extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceUsage.java rename to extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspaceUsage.java index ddc31770987..aaa2e67c710 100644 --- a/extensions/tekton/model-v1beta1/src/generated/java/io/fabric8/tekton/pipeline/v1beta1/WorkspaceUsage.java +++ b/extensions/tekton/model/src/generated/java/io/fabric8/tekton/v1beta1/WorkspaceUsage.java @@ -1,5 +1,5 @@ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import java.util.LinkedHashMap; import java.util.Map; @@ -13,8 +13,6 @@ import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.Container; -import io.fabric8.kubernetes.api.model.ContainerPort; -import io.fabric8.kubernetes.api.model.EnvVar; import io.fabric8.kubernetes.api.model.IntOrString; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.fabric8.kubernetes.api.model.LabelSelector; @@ -24,8 +22,6 @@ import io.fabric8.kubernetes.api.model.PersistentVolumeClaim; import io.fabric8.kubernetes.api.model.PodTemplateSpec; import io.fabric8.kubernetes.api.model.ResourceRequirements; -import io.fabric8.kubernetes.api.model.Volume; -import io.fabric8.kubernetes.api.model.VolumeMount; import io.sundr.builder.annotations.Buildable; import io.sundr.builder.annotations.BuildableReference; import lombok.EqualsAndHashCode; @@ -53,11 +49,7 @@ @BuildableReference(IntOrString.class), @BuildableReference(ObjectReference.class), @BuildableReference(LocalObjectReference.class), - @BuildableReference(PersistentVolumeClaim.class), - @BuildableReference(EnvVar.class), - @BuildableReference(ContainerPort.class), - @BuildableReference(Volume.class), - @BuildableReference(VolumeMount.class) + @BuildableReference(PersistentVolumeClaim.class) }) @Generated("jsonschema2pojo") public class WorkspaceUsage implements Editable , KubernetesResource diff --git a/extensions/tekton/model-v1beta1/src/main/java/io/fabric8/tekton/pipeline/v1beta1/ParamValue.java b/extensions/tekton/model/src/main/java/io/fabric8/tekton/v1/ParamValue.java similarity index 65% rename from extensions/tekton/model-v1beta1/src/main/java/io/fabric8/tekton/pipeline/v1beta1/ParamValue.java rename to extensions/tekton/model/src/main/java/io/fabric8/tekton/v1/ParamValue.java index a30a42639c3..b148bd6eb2c 100644 --- a/extensions/tekton/model-v1beta1/src/main/java/io/fabric8/tekton/pipeline/v1beta1/ParamValue.java +++ b/extensions/tekton/model/src/main/java/io/fabric8/tekton/v1/ParamValue.java @@ -13,111 +13,154 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.fabric8.tekton.pipeline.v1beta1; -import com.fasterxml.jackson.annotation.*; +package io.fabric8.tekton.v1; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.ObjectCodec; -import com.fasterxml.jackson.databind.*; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonDeserializer; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.JsonSerializer; +import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; -import lombok.Setter; import lombok.ToString; import lombok.experimental.Accessors; import java.io.IOException; -import java.util.*; +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +@JsonDeserialize(using = ParamValue.Deserializer.class) +@JsonSerialize(using = ParamValue.Serializer.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "arrayVal", - "stringVal", - "type" + "ArrayVal", + "ObjectVal", + "StringVal", + "Type" }) -@JsonDeserialize(using = ParamValue.Deserializer.class) -@JsonSerialize(using = ParamValue.Serializer.class) @ToString @EqualsAndHashCode -@Setter @Accessors(prefix = { "_", "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder") -public class ParamValue implements KubernetesResource { +public class ParamValue implements Editable, KubernetesResource { private static final String TYPE_STRING = "string"; private static final String TYPE_ARRAY = "array"; + private static final String TYPE_OBJECT = "object"; - @JsonProperty("arrayVal") + @JsonProperty("ArrayVal") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List arrayVal = new ArrayList<>(); - - @JsonProperty("stringVal") + @JsonProperty("ObjectVal") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map objectVal = new LinkedHashMap<>(); + @JsonProperty("StringVal") private String stringVal; - - @JsonProperty("type") + @JsonProperty("Type") private String type; - @JsonIgnore - private Map additionalProperties = new HashMap<>(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization + * */ public ParamValue() { } - //Builders are generated for the first non-empty constructor found. - public ParamValue(List arrayVal, String stringVal, String type, Map additionalProperties) { + public ParamValue(List arrayVal, Map objectVal, String stringVal, String type) { + super(); this.arrayVal = arrayVal; + this.objectVal = objectVal; this.stringVal = stringVal; this.type = type; - this.additionalProperties = additionalProperties; } public ParamValue(String stringVal) { - this(null, stringVal, TYPE_STRING, new HashMap<>()); + this(null, null, stringVal, TYPE_STRING); } public ParamValue(List arrayVal) { - this(arrayVal, null, TYPE_ARRAY, new HashMap<>()); + this(arrayVal, null, null, TYPE_ARRAY); + } + + public ParamValue(Map objectVal) { + this(null, objectVal, null, TYPE_OBJECT); } - @JsonProperty("arrayVal") + @JsonProperty("ArrayVal") + @JsonInclude(JsonInclude.Include.NON_EMPTY) public List getArrayVal() { return arrayVal; } - @JsonProperty("arrayVal") + @JsonProperty("ArrayVal") public void setArrayVal(List arrayVal) { this.arrayVal = arrayVal; } - @JsonProperty("stringVal") + @JsonProperty("ObjectVal") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getObjectVal() { + return objectVal; + } + + @JsonProperty("ObjectVal") + public void setObjectVal(Map objectVal) { + this.objectVal = objectVal; + } + + @JsonProperty("StringVal") public String getStringVal() { return stringVal; } - @JsonProperty("stringVal") + @JsonProperty("StringVal") public void setStringVal(String stringVal) { this.stringVal = stringVal; } - @JsonProperty("type") + @JsonProperty("Type") public String getType() { return type; } - @JsonProperty("type") + @JsonProperty("Type") public void setType(String type) { this.type = type; } + @JsonIgnore + public ParamValueBuilder edit() { + return new ParamValueBuilder(this); + } + + @JsonIgnore + public ParamValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; @@ -128,6 +171,10 @@ public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + public static class Serializer extends JsonSerializer { @Override @@ -186,5 +233,4 @@ public ParamValue deserialize(JsonParser jsonParser, DeserializationContext ctxt } } - } diff --git a/extensions/tekton/model-v1/src/main/java/io/fabric8/tekton/pipeline/v1/ParamValue.java b/extensions/tekton/model/src/main/java/io/fabric8/tekton/v1beta1/ParamValue.java similarity index 64% rename from extensions/tekton/model-v1/src/main/java/io/fabric8/tekton/pipeline/v1/ParamValue.java rename to extensions/tekton/model/src/main/java/io/fabric8/tekton/v1beta1/ParamValue.java index 1a80bcf89c2..d01767f1f93 100644 --- a/extensions/tekton/model-v1/src/main/java/io/fabric8/tekton/pipeline/v1/ParamValue.java +++ b/extensions/tekton/model/src/main/java/io/fabric8/tekton/v1beta1/ParamValue.java @@ -13,111 +13,155 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.fabric8.tekton.pipeline.v1; -import com.fasterxml.jackson.annotation.*; +package io.fabric8.tekton.v1beta1; + +import com.fasterxml.jackson.annotation.JsonAnyGetter; +import com.fasterxml.jackson.annotation.JsonAnySetter; +import com.fasterxml.jackson.annotation.JsonIgnore; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.fasterxml.jackson.annotation.JsonPropertyOrder; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.core.ObjectCodec; -import com.fasterxml.jackson.databind.*; +import com.fasterxml.jackson.databind.DeserializationContext; +import com.fasterxml.jackson.databind.JsonDeserializer; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.JsonSerializer; +import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; +import io.fabric8.kubernetes.api.builder.Editable; import io.fabric8.kubernetes.api.model.KubernetesResource; +import io.fabric8.tekton.v1beta1.ParamValueBuilder; import io.sundr.builder.annotations.Buildable; import lombok.EqualsAndHashCode; -import lombok.Setter; import lombok.ToString; import lombok.experimental.Accessors; import java.io.IOException; -import java.util.*; +import java.util.ArrayList; +import java.util.LinkedHashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; +@JsonDeserialize(using = ParamValue.Deserializer.class) +@JsonSerialize(using = ParamValue.Serializer.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ - "arrayVal", - "stringVal", - "type" + "ArrayVal", + "ObjectVal", + "StringVal", + "Type" }) -@JsonDeserialize(using = ParamValue.Deserializer.class) -@JsonSerialize(using = ParamValue.Serializer.class) @ToString @EqualsAndHashCode -@Setter @Accessors(prefix = { "_", "" }) @Buildable(editableEnabled = false, validationEnabled = false, generateBuilderPackage = false, builderPackage = "io.fabric8.kubernetes.api.builder") -public class ParamValue implements KubernetesResource { +public class ParamValue implements Editable, KubernetesResource { private static final String TYPE_STRING = "string"; private static final String TYPE_ARRAY = "array"; + private static final String TYPE_OBJECT = "object"; - @JsonProperty("arrayVal") + @JsonProperty("ArrayVal") + @JsonInclude(JsonInclude.Include.NON_EMPTY) private List arrayVal = new ArrayList<>(); - - @JsonProperty("stringVal") + @JsonProperty("ObjectVal") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + private Map objectVal = new LinkedHashMap<>(); + @JsonProperty("StringVal") private String stringVal; - - @JsonProperty("type") + @JsonProperty("Type") private String type; - @JsonIgnore - private Map additionalProperties = new HashMap<>(); + private Map additionalProperties = new LinkedHashMap(); /** * No args constructor for use in serialization + * */ public ParamValue() { } - //Builders are generated for the first non-empty constructor found. - public ParamValue(List arrayVal, String stringVal, String type, Map additionalProperties) { + public ParamValue(List arrayVal, Map objectVal, String stringVal, String type) { + super(); this.arrayVal = arrayVal; + this.objectVal = objectVal; this.stringVal = stringVal; this.type = type; - this.additionalProperties = additionalProperties; } public ParamValue(String stringVal) { - this(null, stringVal, TYPE_STRING, new HashMap<>()); + this(null, null, stringVal, TYPE_STRING); } public ParamValue(List arrayVal) { - this(arrayVal, null, TYPE_ARRAY, new HashMap<>()); + this(arrayVal, null, null, TYPE_ARRAY); + } + + public ParamValue(Map objectVal) { + this(null, objectVal, null, TYPE_OBJECT); } - @JsonProperty("arrayVal") + @JsonProperty("ArrayVal") + @JsonInclude(JsonInclude.Include.NON_EMPTY) public List getArrayVal() { return arrayVal; } - @JsonProperty("arrayVal") + @JsonProperty("ArrayVal") public void setArrayVal(List arrayVal) { this.arrayVal = arrayVal; } - @JsonProperty("stringVal") + @JsonProperty("ObjectVal") + @JsonInclude(JsonInclude.Include.NON_EMPTY) + public Map getObjectVal() { + return objectVal; + } + + @JsonProperty("ObjectVal") + public void setObjectVal(Map objectVal) { + this.objectVal = objectVal; + } + + @JsonProperty("StringVal") public String getStringVal() { return stringVal; } - @JsonProperty("stringVal") + @JsonProperty("StringVal") public void setStringVal(String stringVal) { this.stringVal = stringVal; } - @JsonProperty("type") + @JsonProperty("Type") public String getType() { return type; } - @JsonProperty("type") + @JsonProperty("Type") public void setType(String type) { this.type = type; } + @JsonIgnore + public io.fabric8.tekton.v1beta1.ParamValueBuilder edit() { + return new io.fabric8.tekton.v1beta1.ParamValueBuilder(this); + } + + @JsonIgnore + public ParamValueBuilder toBuilder() { + return edit(); + } + @JsonAnyGetter public Map getAdditionalProperties() { return this.additionalProperties; @@ -128,6 +172,10 @@ public void setAdditionalProperty(String name, Object value) { this.additionalProperties.put(name, value); } + public void setAdditionalProperties(Map additionalProperties) { + this.additionalProperties = additionalProperties; + } + public static class Serializer extends JsonSerializer { @Override @@ -186,5 +234,4 @@ public ParamValue deserialize(JsonParser jsonParser, DeserializationContext ctxt } } - } diff --git a/extensions/tekton/model-v1beta1/src/test/java/io/fabric8/tekton/ModelTest.java b/extensions/tekton/model/src/test/java/io/fabric8/tekton/ModelTest.java similarity index 60% rename from extensions/tekton/model-v1beta1/src/test/java/io/fabric8/tekton/ModelTest.java rename to extensions/tekton/model/src/test/java/io/fabric8/tekton/ModelTest.java index dc70c8a462a..89b4bd0c8d2 100644 --- a/extensions/tekton/model-v1beta1/src/test/java/io/fabric8/tekton/ModelTest.java +++ b/extensions/tekton/model/src/test/java/io/fabric8/tekton/ModelTest.java @@ -15,7 +15,11 @@ */ package io.fabric8.tekton; -import io.fabric8.tekton.pipeline.v1beta1.*; +import io.fabric8.kubernetes.api.model.EnvVarBuilder; +import io.fabric8.kubernetes.api.model.VolumeBuilder; +import io.fabric8.kubernetes.api.model.VolumeMountBuilder; +import io.fabric8.tekton.v1beta1.Task; +import io.fabric8.tekton.v1beta1.TaskBuilder; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertNotNull; @@ -26,25 +30,26 @@ class ModelTest { void shouldHaveBuildableContainer() { Task service = new TaskBuilder() .withNewSpec() - .addNewVolume() - .withName("m2-cache") - .withNewNfs() - .withPath("my.nfs-server.com/m2") - .endNfs() - .endVolume() + .addToVolumes(new VolumeBuilder() + .withName("m2-cache") + .withNewNfs() + .withPath("my.nfs-server.com/m2") + .endNfs() + .build()) .addNewStep() .withName("maven-build") .withCommand("mvn") .withArgs("clean", "install") .withImage("maven:3.6.3-jdk11") - .addNewVolumeMount() - .withName("m2-cache") - .withMountPath("/m2-cache") - .endVolumeMount() - .addNewEnv() - .withName("FOO") - .withValue("BAR") - .endEnv() + .addToVolumeMounts( + new VolumeMountBuilder() + .withName("m2-cache") + .withMountPath("/m2-cache") + .build()) + .addToEnv(new EnvVarBuilder() + .withName("FOO") + .withValue("BAR") + .build()) .endStep() .endSpec() .build(); diff --git a/extensions/tekton/pom.xml b/extensions/tekton/pom.xml index 91a5b7e1af8..c520af52b44 100755 --- a/extensions/tekton/pom.xml +++ b/extensions/tekton/pom.xml @@ -33,11 +33,7 @@ - model-v1 - model-v1alpha1 - model-v1beta1 - model-triggers-v1alpha1 - model-triggers-v1beta1 + model client examples tests diff --git a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/test/crud/PipelineCrudTest.java b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/test/crud/PipelineCrudTest.java index fd13169dc9a..b31025a39f1 100644 --- a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/test/crud/PipelineCrudTest.java +++ b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/test/crud/PipelineCrudTest.java @@ -17,10 +17,10 @@ import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; import io.fabric8.tekton.client.TektonClient; -import io.fabric8.tekton.pipeline.v1.Param; -import io.fabric8.tekton.pipeline.v1.Pipeline; -import io.fabric8.tekton.pipeline.v1.PipelineBuilder; -import io.fabric8.tekton.pipeline.v1.PipelineList; +import io.fabric8.tekton.v1.Param; +import io.fabric8.tekton.v1.Pipeline; +import io.fabric8.tekton.v1.PipelineBuilder; +import io.fabric8.tekton.v1.PipelineList; import org.junit.jupiter.api.Test; import java.io.ByteArrayInputStream; diff --git a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1/ParamValueTest.java b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1/ParamValueTest.java similarity index 97% rename from extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1/ParamValueTest.java rename to extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1/ParamValueTest.java index 32b692ac431..f9680b0723a 100644 --- a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1/ParamValueTest.java +++ b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1/ParamValueTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.jupiter.api.Test; diff --git a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1/TaskTest.java b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1/TaskTest.java similarity index 97% rename from extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1/TaskTest.java rename to extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1/TaskTest.java index 73775ab7162..e0a17f0a5ae 100644 --- a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1/TaskTest.java +++ b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1/TaskTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.fabric8.tekton.pipeline.v1; +package io.fabric8.tekton.v1; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.jupiter.api.Test; diff --git a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1beta1/ParamValueTest.java b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1beta1/ParamValueTest.java similarity index 96% rename from extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1beta1/ParamValueTest.java rename to extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1beta1/ParamValueTest.java index 566be0eb9d0..b4e10bb837b 100644 --- a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1beta1/ParamValueTest.java +++ b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1beta1/ParamValueTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.jupiter.api.Test; diff --git a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTest.java b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1beta1/PipelineTest.java similarity index 92% rename from extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTest.java rename to extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1beta1/PipelineTest.java index 8ce9261fdbd..d73c004d561 100644 --- a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1beta1/PipelineTest.java +++ b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1beta1/PipelineTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import io.fabric8.kubernetes.api.model.DeletionPropagation; import io.fabric8.kubernetes.client.server.mock.EnableKubernetesMockClient; @@ -39,7 +39,7 @@ class PipelineTest { @DisplayName("Should get a pipeline") void testGet() { server.expect().get().withPath("/apis/tekton.dev/v1beta1/namespaces/ns1/pipelines/pipeline") - .andReturn(HttpURLConnection.HTTP_OK, new io.fabric8.tekton.pipeline.v1beta1.PipelineBuilder() + .andReturn(HttpURLConnection.HTTP_OK, new io.fabric8.tekton.v1beta1.PipelineBuilder() .withNewMetadata() .withName("pipeline") .endMetadata() @@ -53,7 +53,7 @@ void testGet() { @Test @DisplayName("Should create a pipeline") void testCreate() { - Pipeline pipeline = new io.fabric8.tekton.pipeline.v1beta1.PipelineBuilder().withNewMetadata().withName("pipeline") + Pipeline pipeline = new io.fabric8.tekton.v1beta1.PipelineBuilder().withNewMetadata().withName("pipeline") .endMetadata().build(); server.expect().post().withPath("/apis/tekton.dev/v1beta1/namespaces/ns1/pipelines") .andReturn(HttpURLConnection.HTTP_OK, pipeline).once(); @@ -66,7 +66,7 @@ void testCreate() { @DisplayName("Should delete a pipeline") void testDelete() throws InterruptedException { server.expect().delete().withPath("/apis/tekton.dev/v1beta1/namespaces/ns1/pipelines/pipeline") - .andReturn(HttpURLConnection.HTTP_OK, new io.fabric8.tekton.pipeline.v1beta1.PipelineBuilder().build()) + .andReturn(HttpURLConnection.HTTP_OK, new io.fabric8.tekton.v1beta1.PipelineBuilder().build()) .once(); boolean isDeleted = client.v1beta1().pipelines().inNamespace("ns1").withName("pipeline").delete().size() == 1; @@ -81,7 +81,7 @@ void testDelete() throws InterruptedException { @DisplayName("Should delete pipeline with some explicit propagationpolicy") void testDeleteOrphan() throws InterruptedException { server.expect().delete().withPath("/apis/tekton.dev/v1beta1/namespaces/ns1/pipelines/pipeline") - .andReturn(HttpURLConnection.HTTP_OK, new io.fabric8.tekton.pipeline.v1beta1.PipelineBuilder().build()) + .andReturn(HttpURLConnection.HTTP_OK, new io.fabric8.tekton.v1beta1.PipelineBuilder().build()) .once(); Boolean isDeleted = client.v1beta1().pipelines().inNamespace("ns1").withName("pipeline") diff --git a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1beta1/TaskTest.java b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1beta1/TaskTest.java similarity index 97% rename from extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1beta1/TaskTest.java rename to extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1beta1/TaskTest.java index a228d207660..72af51fab63 100644 --- a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/pipeline/v1beta1/TaskTest.java +++ b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/v1beta1/TaskTest.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.fabric8.tekton.pipeline.v1beta1; +package io.fabric8.tekton.v1beta1; import com.fasterxml.jackson.databind.ObjectMapper; import org.junit.jupiter.api.Test; diff --git a/kubernetes-model-generator/generateModel.sh b/kubernetes-model-generator/generateModel.sh index bfcd2400020..9a17cc16f34 100755 --- a/kubernetes-model-generator/generateModel.sh +++ b/kubernetes-model-generator/generateModel.sh @@ -27,8 +27,6 @@ declare -a modules=( "../extensions/certmanager/generator-v1alpha3" "../extensions/certmanager/generator-v1beta1" "../extensions/chaosmesh/generator" - "../extensions/tekton/generator" - "../extensions/tekton/generator-triggers" "../extensions/verticalpodautoscaler/generator-v1" "../extensions/istio/generator-v1alpha3" "../extensions/istio/generator-v1beta1" @@ -47,7 +45,6 @@ declare -a modules=( declare -a extensionModuleParents=( "../extensions/certmanager/pom.xml" "../extensions/chaosmesh/pom.xml" - "../extensions/tekton/pom.xml" "../extensions/verticalpodautoscaler/pom.xml" "../extensions/istio/pom.xml" ) diff --git a/kubernetes-model-generator/openapi/generator/cmd/openapi.go b/kubernetes-model-generator/openapi/generator/cmd/openapi.go index 078b72c3798..3e28a4c00db 100644 --- a/kubernetes-model-generator/openapi/generator/cmd/openapi.go +++ b/kubernetes-model-generator/openapi/generator/cmd/openapi.go @@ -20,6 +20,7 @@ import ( "fmt" "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_knative_openapi" "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_openshift_openapi" + "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_tekton_openapi" "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_volcano_openapi" "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/cmd/generated_volumesnapshot_openapi" "github.com/fabric8io/kubernetes-client/kubernetes-model-generator/openapi/generator/pkg/openapi" @@ -47,9 +48,10 @@ type module struct { var modules = []module{ {outputName: "openshift-generated", getDefinitionsFunc: generated_openshift_openapi.GetOpenAPIDefinitions, patterns: packages.OpenShiftPackagePatterns}, + {outputName: "dev.knative", getDefinitionsFunc: generated_knative_openapi.GetOpenAPIDefinitions, patterns: packages.KnativePackagePatterns}, + {outputName: "dev.tekton", getDefinitionsFunc: generated_tekton_openapi.GetOpenAPIDefinitions, patterns: packages.TektonPackagePatterns}, {outputName: "io.k8s.storage.snapshot", getDefinitionsFunc: generated_volumesnapshot_openapi.GetOpenAPIDefinitions, patterns: packages.VolumeSnapshotPackagePatterns}, //{outputName: "io.istio", getDefinitionsFunc: generated_istio_openapi.GetOpenAPIDefinitions, patterns: packages.IstioPackagePatterns}, - {outputName: "dev.knative", getDefinitionsFunc: generated_knative_openapi.GetOpenAPIDefinitions, patterns: packages.KnativePackagePatterns}, {outputName: "sh.volcano", getDefinitionsFunc: generated_volcano_openapi.GetOpenAPIDefinitions, patterns: packages.VolcanoPackagePatterns}, } diff --git a/kubernetes-model-generator/openapi/generator/cmd/supported-apis.go b/kubernetes-model-generator/openapi/generator/cmd/supported-apis.go index 8172ce2afdf..b70e1d4d6ec 100644 --- a/kubernetes-model-generator/openapi/generator/cmd/supported-apis.go +++ b/kubernetes-model-generator/openapi/generator/cmd/supported-apis.go @@ -33,6 +33,8 @@ import ( olm "github.com/operator-framework/operator-lifecycle-manager/pkg/package-server/apis/operators/v1" prometheusoperatorv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" "github.com/spf13/cobra" + tektonpipelinev1 "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1" + tektontriggersv1beta1 "github.com/tektoncd/triggers/pkg/apis/triggers/v1beta1" istioapiclientextensions "istio.io/client-go/pkg/apis/extensions/v1alpha1" knativecaching "knative.dev/caching/pkg/apis/caching/v1alpha1" knativeextawssqs "knative.dev/eventing-awssqs/pkg/apis/sources/v1alpha1" @@ -88,5 +90,7 @@ var supportedApisRun = func(cobraCmd *cobra.Command, args []string) { knativeextgitlab.SchemeGroupVersion.String(), knativeextkafka.SchemeGroupVersion.String(), knativeextprometheus.SchemeGroupVersion.String(), + tektonpipelinev1.SchemeGroupVersion.String(), + tektontriggersv1beta1.SchemeGroupVersion.String(), }, "\n")) } diff --git a/kubernetes-model-generator/openapi/generator/go.mod b/kubernetes-model-generator/openapi/generator/go.mod index 20049bb010d..31e088b7518 100644 --- a/kubernetes-model-generator/openapi/generator/go.mod +++ b/kubernetes-model-generator/openapi/generator/go.mod @@ -22,6 +22,8 @@ require ( github.com/operator-framework/operator-lifecycle-manager v0.0.0-00010101000000-000000000000 github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring v0.77.1 github.com/spf13/cobra v1.8.1 + github.com/tektoncd/pipeline v0.64.0 + github.com/tektoncd/triggers v0.29.1 istio.io/client-go v1.23.2 k8s.io/api v0.31.1 k8s.io/apiextensions-apiserver v0.31.1 @@ -113,7 +115,7 @@ require ( github.com/google/cel-go v0.20.1 // indirect github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 // indirect github.com/google/go-cmp v0.6.0 // indirect - github.com/google/go-containerregistry v0.13.0 // indirect + github.com/google/go-containerregistry v0.19.2 // indirect github.com/google/go-github/v31 v31.0.0 // indirect github.com/google/go-querystring v1.1.0 // indirect github.com/google/gofuzz v1.2.0 // indirect @@ -121,7 +123,9 @@ require ( github.com/grpc-ecosystem/grpc-gateway/v2 v2.21.0 // indirect github.com/h2non/filetype v1.1.3 // indirect github.com/h2non/go-is-svg v0.0.0-20160927212452-35e8c4b0612c // indirect + github.com/hashicorp/errwrap v1.1.0 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect + github.com/hashicorp/go-multierror v1.1.1 // indirect github.com/hashicorp/golang-lru v1.0.2 // indirect github.com/imdario/mergo v0.3.16 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect diff --git a/kubernetes-model-generator/openapi/generator/go.sum b/kubernetes-model-generator/openapi/generator/go.sum index 29121c54c38..aea40e000ba 100644 --- a/kubernetes-model-generator/openapi/generator/go.sum +++ b/kubernetes-model-generator/openapi/generator/go.sum @@ -526,8 +526,8 @@ github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeN github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY= -github.com/google/go-containerregistry v0.13.0 h1:y1C7Z3e149OJbOPDBxLYR8ITPz8dTKqQwjErKVHJC8k= -github.com/google/go-containerregistry v0.13.0/go.mod h1:J9FQ+eSS4a1aC2GNZxvNpbWhgp0487v+cgiilB4FqDo= +github.com/google/go-containerregistry v0.19.2 h1:TannFKE1QSajsP6hPWb5oJNgKe1IKjHukIKDUmvsV6w= +github.com/google/go-containerregistry v0.19.2/go.mod h1:YCMFNQeeXeLF+dnhhWkqDItx/JSkH01j1Kis4PsjzFI= github.com/google/go-github/v27 v27.0.6/go.mod h1:/0Gr8pJ55COkmv+S/yPKCczSkUPIM/LnFyubufRNIS0= github.com/google/go-github/v31 v31.0.0 h1:JJUxlP9lFK+ziXKimTCprajMApV1ecWD4NB6CCb0plo= github.com/google/go-github/v31 v31.0.0/go.mod h1:NQPZol8/1sMoWYGN2yaALIBytu17gAWfhbweiEed3pM= @@ -609,6 +609,8 @@ github.com/h2non/go-is-svg v0.0.0-20160927212452-35e8c4b0612c/go.mod h1:ObS/W+h8 github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= +github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= @@ -616,6 +618,8 @@ github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrj github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60= github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM= github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= +github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= github.com/hashicorp/go-retryablehttp v0.6.7/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU= github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU= @@ -903,6 +907,8 @@ github.com/openshift/installer v0.91.0/go.mod h1:U6mPWM1tZEiV0mC31M6bCzI49DOkSnf github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/openzipkin/zipkin-go v0.3.0/go.mod h1:4c3sLeE8xjNqehmF5RpAFLPLJxXscc0R4l6Zg0P1tTQ= +github.com/openzipkin/zipkin-go v0.4.3 h1:9EGwpqkgnwdEIJ+Od7QVSEIH+ocmm5nPat0G7sjsSdg= +github.com/openzipkin/zipkin-go v0.4.3/go.mod h1:M9wCJZFWCo2RiY+o1eBCEMe0Dp2S5LDHcMZmk3RmK7c= github.com/operator-framework/api v0.27.1-0.20241002175140-413605f42947 h1:t4cdbon50yoqj80ihqhqM5EbrSHuRGaJAitlDafIRBo= github.com/operator-framework/api v0.27.1-0.20241002175140-413605f42947/go.mod h1:l1JgrLzWtCdUiXxQnf4LNVxlgoVEiIKclCEqww9EZrs= github.com/operator-framework/operator-registry v1.47.0 h1:Imr7X/W6FmXczwpIOXfnX8d6Snr1dzwWxkMG+lLAfhg= @@ -1076,7 +1082,19 @@ github.com/stvp/go-udp-testing v0.0.0-20201019212854-469649b16807/go.mod h1:7jxm github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 h1:kdXcSzyDtseVEc4yCz2qF8ZrQvIDBJLl4S1c3GCXmoI= github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= +github.com/tektoncd/pipeline v0.64.0 h1:JXS9zz+B3lryQQ0f81AVmFC09+itQuxtVtQ1oWIgPkc= +github.com/tektoncd/pipeline v0.64.0/go.mod h1:V3cyfxxc7b3GLT2a13GX2mWA86qmxWhh4mOp4gfFQwQ= +github.com/tektoncd/triggers v0.29.1 h1:UXqjJICaRsWYb0qkIYOUlqaDR5te9Zmfrz93+TXy3ug= +github.com/tektoncd/triggers v0.29.1/go.mod h1:yVNxCSlYw//uKoXDi4kzzwYGkK2KIYLt6FwwSTz0aj8= +github.com/tidwall/gjson v1.12.1 h1:ikuZsLdhr8Ws0IdROXUS1Gi4v9Z4pGqpX/CvJkxvfpo= +github.com/tidwall/gjson v1.12.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= +github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= +github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= +github.com/tidwall/pretty v1.2.0/go.mod h1:ITEVvHYasfjBbM0u2Pg8T2nJnzm8xPwvNhhsoaGGjNU= +github.com/tidwall/sjson v1.2.4 h1:cuiLzLnaMeBhRmEv00Lpk3tkYrcxpmbU81tAY4Dw0tc= +github.com/tidwall/sjson v1.2.4/go.mod h1:098SZ494YoMWPmMO6ct4dcFnqxwj9r/gF0Etp19pSNM= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= @@ -1170,8 +1188,8 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 h1:3Q/xZUyC1BBkualc9RO go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0/go.mod h1:s75jGIWA9OfCMzF0xr+ZgfrB5FEbbV7UuYo32ahUiFI= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0 h1:qFffATk0X+HD+f1Z8lswGiOQYKHRlzfmdJm0wEaVrFA= go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.27.0/go.mod h1:MOiCmryaYtc+V0Ei+Tx9o5S1ZjA7kzLucuVuyzBZloQ= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.21.0 h1:digkEZCJWobwBqMwC0cwCq8/wkkRy/OowZg5OArWZrM= -go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.21.0/go.mod h1:/OpE/y70qVkndM0TrxT4KBoN3RsFZP0QaofcfYrj76I= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0 h1:QY7/0NeRPKlzusf40ZE4t1VlMKbqSNT7cJRYzWuja0s= +go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0/go.mod h1:HVkSiDhTM9BoUJU8qE6j2eSWLLXvi1USXjyd2BXT8PY= go.opentelemetry.io/otel/exporters/prometheus v0.44.0 h1:08qeJgaPC0YEBu2PQMbqU3rogTlyzpjhCI2b58Yn00w= go.opentelemetry.io/otel/exporters/prometheus v0.44.0/go.mod h1:ERL2uIeBtg4TxZdojHUwzZfIFlUIjZtxubT5p4h1Gjg= go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.44.0 h1:dEZWPjVN22urgYCza3PXRUGEyCB++y1sAqm6guWFesk= diff --git a/kubernetes-model-generator/openapi/generator/pkg/packages/packages.go b/kubernetes-model-generator/openapi/generator/pkg/packages/packages.go index dd3b4e0d1e5..03cafaad7f0 100644 --- a/kubernetes-model-generator/openapi/generator/pkg/packages/packages.go +++ b/kubernetes-model-generator/openapi/generator/pkg/packages/packages.go @@ -88,6 +88,17 @@ var KnativePackagePatterns = []string{ "knative.dev/eventing-prometheus/pkg/apis/.../v...", } +var TektonPackagePatterns = []string{ + "github.com/tektoncd/pipeline/pkg/apis/pipeline/v...", + "github.com/tektoncd/pipeline/pkg/apis/pipeline/pod", + "github.com/tektoncd/pipeline/pkg/result", + "github.com/tektoncd/pipeline/pkg/apis/resolution/v...", + "github.com/tektoncd/pipeline/pkg/apis/resource/v...", + "github.com/tektoncd/pipeline/pkg/apis/run/v...", + "github.com/tektoncd/triggers/pkg/apis/triggers/v...", + "github.com/tektoncd/pipeline/pkg/apis/config", +} + var VolcanoPackagePatterns = []string{ "volcano.sh/apis/pkg/apis/batch/v1alpha1", "volcano.sh/apis/pkg/apis/bus/v1alpha1", diff --git a/kubernetes-model-generator/openapi/generator/pkg/parser/parser.go b/kubernetes-model-generator/openapi/generator/pkg/parser/parser.go index 8c13d883fdb..9d87780ae04 100644 --- a/kubernetes-model-generator/openapi/generator/pkg/parser/parser.go +++ b/kubernetes-model-generator/openapi/generator/pkg/parser/parser.go @@ -85,6 +85,9 @@ func (oam *Module) ApiName(definitionName string) string { return FriendlyName(definitionName) } lastSeparator := strings.LastIndex(definitionName, ".") + if lastSeparator < 0 { + return FriendlyName(definitionName) + } typeName := definitionName[lastSeparator+1:] pkg := oam.resolvePackage(definitionName) gn := groupName(pkg) diff --git a/kubernetes-model-generator/openapi/generator/tools/generator/openapi.go b/kubernetes-model-generator/openapi/generator/tools/generator/openapi.go index db631c64408..fa6fad26879 100644 --- a/kubernetes-model-generator/openapi/generator/tools/generator/openapi.go +++ b/kubernetes-model-generator/openapi/generator/tools/generator/openapi.go @@ -1,5 +1,5 @@ -//go:build ignore -// +build ignore +////go:build ignore +//// +build ignore /** * Copyright (C) 2015 Red Hat, Inc. @@ -37,6 +37,7 @@ var modules = []module{ //{patterns: packages.ChaosMeshPackagePatterns, outputName: "generated_chaosmesh_openapi"}, //{patterns: packages.IstioPackagePatterns, outputName: "generated_istio_openapi"}, {patterns: packages.KnativePackagePatterns, outputName: "generated_knative_openapi"}, + {patterns: packages.TektonPackagePatterns, outputName: "generated_tekton_openapi"}, {patterns: packages.VolcanoPackagePatterns, outputName: "generated_volcano_openapi"}, {patterns: packages.VolumeSnapshotPackagePatterns, outputName: "generated_volumesnapshot_openapi"}, } diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java index 248fa14e9a7..7281a4d9c6e 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/model/ModelGenerator.java @@ -250,10 +250,15 @@ private String resolveImplementedInterfaces(TemplateContext templateContext) { } // KubernetesResource else { - if (!templateContext.isInRootPackage()) { - templateContext.addImport(settings.getKubernetesResourceClass()); + if (templateContext.getClassSimpleName().equals(settings.getKubernetesResourceClassSimpleName())) { + // There's a class actually named KubernetesResource in the tekton package + implementedInterfaces.append(settings.getKubernetesResourceClass()); + } else { + if (!templateContext.isInRootPackage()) { + templateContext.addImport(settings.getKubernetesResourceClass()); + } + implementedInterfaces.append(settings.getKubernetesResourceClassSimpleName()); } - implementedInterfaces.append(settings.getKubernetesResourceClassSimpleName()); } // Namespaced if (templateContext.isNamespaced() && templateContext.getKubernetesListType() == null) { diff --git a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java index 68cb8c04221..00e147805ca 100644 --- a/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java +++ b/kubernetes-model-generator/openapi/maven-plugin/src/main/java/io/fabric8/kubernetes/schema/generator/schema/SchemaUtils.java @@ -144,6 +144,7 @@ public class SchemaUtils { "continue", "default", "enum", + "finally", "for", "import", "int", diff --git a/kubernetes-model-generator/openapi/schemas/dev.tekton.json b/kubernetes-model-generator/openapi/schemas/dev.tekton.json new file mode 100644 index 00000000000..116e0c5cc49 --- /dev/null +++ b/kubernetes-model-generator/openapi/schemas/dev.tekton.json @@ -0,0 +1,11434 @@ +{ + "swagger": "2.0", + "info": { + "title": "Kubernetes", + "version": "0.0.0" + }, + "paths": null, + "definitions": { + "com.github.tektoncd.pipeline.pkg.apis.config.Config": { + "description": "Config holds the collection of configurations that we attach to contexts.", + "type": "object", + "required": [ + "Defaults", + "FeatureFlags", + "Metrics", + "SpireConfig", + "Events", + "Tracing" + ], + "properties": { + "Defaults": { + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.apis.config.Defaults" + }, + "Events": { + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.apis.config.Events" + }, + "FeatureFlags": { + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.apis.config.FeatureFlags" + }, + "Metrics": { + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.apis.config.Metrics" + }, + "SpireConfig": { + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.spire.config.SpireConfig" + }, + "Tracing": { + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.apis.config.Tracing" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "config", + "Kind": "Config", + "Scope": "Namespaced" + } + }, + "com.github.tektoncd.pipeline.pkg.apis.config.Defaults": { + "description": "Defaults holds the default configurations", + "type": "object", + "required": [ + "DefaultTimeoutMinutes", + "DefaultServiceAccount", + "DefaultManagedByLabelValue", + "DefaultPodTemplate", + "DefaultAAPodTemplate", + "DefaultCloudEventsSink", + "DefaultTaskRunWorkspaceBinding", + "DefaultMaxMatrixCombinationsCount", + "DefaultForbiddenEnv", + "DefaultResolverType", + "DefaultContainerResourceRequirements", + "DefaultImagePullBackOffTimeout" + ], + "properties": { + "DefaultAAPodTemplate": { + "$ref": "#/definitions/dev.tekton.pod.AffinityAssistantTemplate" + }, + "DefaultCloudEventsSink": { + "type": "string", + "default": "" + }, + "DefaultContainerResourceRequirements": { + "type": "object", + "additionalProperties": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + } + }, + "DefaultForbiddenEnv": { + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "DefaultImagePullBackOffTimeout": { + "type": "integer", + "format": "int64", + "default": 0 + }, + "DefaultManagedByLabelValue": { + "type": "string", + "default": "" + }, + "DefaultMaxMatrixCombinationsCount": { + "type": "integer", + "format": "int32", + "default": 0 + }, + "DefaultPodTemplate": { + "$ref": "#/definitions/dev.tekton.pod.Template" + }, + "DefaultResolverType": { + "type": "string", + "default": "" + }, + "DefaultServiceAccount": { + "type": "string", + "default": "" + }, + "DefaultTaskRunWorkspaceBinding": { + "description": "Deprecated. Use the events package instead", + "type": "string", + "default": "" + }, + "DefaultTimeoutMinutes": { + "type": "integer", + "format": "int32", + "default": 0 + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "config", + "Kind": "Defaults", + "Scope": "Namespaced" + } + }, + "com.github.tektoncd.pipeline.pkg.apis.config.Events": { + "description": "Events holds the events configurations", + "type": "object", + "required": [ + "Sink", + "Formats" + ], + "properties": { + "Formats": { + "type": "object", + "additionalProperties": { + "default": {}, + "$ref": "#/definitions/struct%7B%7D" + } + }, + "Sink": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "config", + "Kind": "Events", + "Scope": "Namespaced" + } + }, + "com.github.tektoncd.pipeline.pkg.apis.config.FeatureFlags": { + "description": "FeatureFlags holds the features configurations", + "type": "object", + "required": [ + "DisableAffinityAssistant", + "DisableCredsInit", + "RunningInEnvWithInjectedSidecars", + "RequireGitSSHSecretKnownHosts", + "EnableAPIFields", + "SendCloudEventsForRuns", + "AwaitSidecarReadiness", + "EnforceNonfalsifiability", + "EnableKeepPodOnCancel", + "VerificationNoMatchPolicy", + "EnableProvenanceInStatus", + "ResultExtractionMethod", + "MaxResultSize", + "SetSecurityContext", + "Coschedule", + "EnableCELInWhenExpression", + "EnableStepActions", + "EnableParamEnum", + "EnableArtifacts", + "DisableInlineSpec", + "EnableConciseResolverSyntax", + "EnableKubernetesSidecar" + ], + "properties": { + "AwaitSidecarReadiness": { + "type": "boolean", + "default": false + }, + "Coschedule": { + "type": "string", + "default": "" + }, + "DisableAffinityAssistant": { + "type": "boolean", + "default": false + }, + "DisableCredsInit": { + "type": "boolean", + "default": false + }, + "DisableInlineSpec": { + "type": "string", + "default": "" + }, + "EnableAPIFields": { + "description": "EnableTektonOCIBundles bool // Deprecated: this is now ignored ScopeWhenExpressionsToTask bool // Deprecated: this is now ignored", + "type": "string", + "default": "" + }, + "EnableArtifacts": { + "type": "boolean", + "default": false + }, + "EnableCELInWhenExpression": { + "type": "boolean", + "default": false + }, + "EnableConciseResolverSyntax": { + "type": "boolean", + "default": false + }, + "EnableKeepPodOnCancel": { + "type": "boolean", + "default": false + }, + "EnableKubernetesSidecar": { + "type": "boolean", + "default": false + }, + "EnableParamEnum": { + "type": "boolean", + "default": false + }, + "EnableProvenanceInStatus": { + "type": "boolean", + "default": false + }, + "EnableStepActions": { + "type": "boolean", + "default": false + }, + "EnforceNonfalsifiability": { + "type": "string", + "default": "" + }, + "MaxResultSize": { + "type": "integer", + "format": "int32", + "default": 0 + }, + "RequireGitSSHSecretKnownHosts": { + "type": "boolean", + "default": false + }, + "ResultExtractionMethod": { + "type": "string", + "default": "" + }, + "RunningInEnvWithInjectedSidecars": { + "type": "boolean", + "default": false + }, + "SendCloudEventsForRuns": { + "type": "boolean", + "default": false + }, + "SetSecurityContext": { + "type": "boolean", + "default": false + }, + "VerificationNoMatchPolicy": { + "description": "VerificationNoMatchPolicy is the feature flag for \"trusted-resources-verification-no-match-policy\" VerificationNoMatchPolicy can be set to \"ignore\", \"warn\" and \"fail\" values. ignore: skip trusted resources verification when no matching verification policies found warn: skip trusted resources verification when no matching verification policies found and log a warning fail: fail the taskrun or pipelines run if no matching verification policies found", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "config", + "Kind": "FeatureFlags", + "Scope": "Namespaced" + } + }, + "com.github.tektoncd.pipeline.pkg.apis.config.Metrics": { + "description": "Metrics holds the configurations for the metrics", + "type": "object", + "required": [ + "TaskrunLevel", + "PipelinerunLevel", + "DurationTaskrunType", + "DurationPipelinerunType", + "CountWithReason", + "ThrottleWithNamespace" + ], + "properties": { + "CountWithReason": { + "type": "boolean", + "default": false + }, + "DurationPipelinerunType": { + "type": "string", + "default": "" + }, + "DurationTaskrunType": { + "type": "string", + "default": "" + }, + "PipelinerunLevel": { + "type": "string", + "default": "" + }, + "TaskrunLevel": { + "type": "string", + "default": "" + }, + "ThrottleWithNamespace": { + "type": "boolean", + "default": false + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "config", + "Kind": "Metrics", + "Scope": "Namespaced" + } + }, + "com.github.tektoncd.pipeline.pkg.apis.config.PerFeatureFlag": { + "type": "object", + "required": [ + "Name", + "Stability", + "Enabled" + ], + "properties": { + "Deprecated": { + "description": "Deprecated indicates whether the feature is deprecated", + "type": "boolean", + "default": false + }, + "Enabled": { + "description": "Enabled is whether the feature is turned on", + "type": "boolean", + "default": false + }, + "Name": { + "description": "Name of the feature flag", + "type": "string", + "default": "" + }, + "Stability": { + "description": "Stability level of the feature, one of StableAPIFields, BetaAPIFields or AlphaAPIFields", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "config", + "Kind": "PerFeatureFlag", + "Scope": "Namespaced" + } + }, + "com.github.tektoncd.pipeline.pkg.apis.config.Store": { + "description": "Store is a typed wrapper around configmap.Untyped store to handle our configmaps.", + "type": "object", + "required": [ + "UntypedStore" + ], + "properties": { + "UntypedStore": { + "$ref": "#/definitions/dev.knative.pkg.configmap.UntypedStore" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "config", + "Kind": "Store", + "Scope": "Namespaced" + } + }, + "com.github.tektoncd.pipeline.pkg.apis.config.Tracing": { + "description": "Tracing holds the configurations for tracing", + "type": "object", + "required": [ + "Enabled", + "Endpoint", + "CredentialsSecret" + ], + "properties": { + "CredentialsSecret": { + "type": "string", + "default": "" + }, + "Enabled": { + "type": "boolean", + "default": false + }, + "Endpoint": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "config", + "Kind": "Tracing", + "Scope": "Namespaced" + } + }, + "com.github.tektoncd.pipeline.pkg.result.RunResult": { + "description": "RunResult is used to write key/value pairs to TaskRun pod termination messages. The key/value pairs may come from the entrypoint binary, or represent a TaskRunResult. If they represent a TaskRunResult, the key is the name of the result and the value is the JSON-serialized value of the result.", + "type": "object", + "required": [ + "key", + "value" + ], + "properties": { + "key": { + "type": "string", + "default": "" + }, + "resourceName": { + "description": "ResourceName may be used in tests, but it is not populated in termination messages. It is preserved here for backwards compatibility and will not be ported to v1.", + "type": "string" + }, + "type": { + "type": "integer", + "format": "int32" + }, + "value": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "", + "Version": "result", + "Kind": "RunResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.pod.AffinityAssistantTemplate": { + "description": "AffinityAssistantTemplate holds pod specific configuration and is a subset of the generic pod Template", + "type": "object", + "properties": { + "imagePullSecrets": { + "description": "ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "x-kubernetes-list-type": "atomic" + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "securityContext": { + "description": "SecurityContext sets the security context for the pod", + "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "pod", + "Kind": "AffinityAssistantTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.pod.Template": { + "description": "Template holds pod specific configuration", + "type": "object", + "properties": { + "affinity": { + "description": "If specified, the pod's scheduling constraints", + "$ref": "#/definitions/io.k8s.api.core.v1.Affinity" + }, + "automountServiceAccountToken": { + "description": "AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted.", + "type": "boolean" + }, + "dnsConfig": { + "description": "Specifies the DNS parameters of a pod. Parameters specified here will be merged to the generated DNS configuration based on DNSPolicy.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodDNSConfig" + }, + "dnsPolicy": { + "description": "Set DNS policy for the pod. Defaults to \"ClusterFirst\". Valid values are 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy.", + "type": "string" + }, + "enableServiceLinks": { + "description": "EnableServiceLinks indicates whether information about services should be injected into pod's environment variables, matching the syntax of Docker links. Optional: Defaults to true.", + "type": "boolean" + }, + "env": { + "description": "List of environment variables that can be provided to the containers belonging to the pod.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "hostAliases": { + "description": "HostAliases is an optional list of hosts and IPs that will be injected into the pod's hosts file if specified. This is only valid for non-hostNetwork pods.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.HostAlias" + }, + "x-kubernetes-list-type": "atomic" + }, + "hostNetwork": { + "description": "HostNetwork specifies whether the pod may use the node network namespace", + "type": "boolean" + }, + "imagePullSecrets": { + "description": "ImagePullSecrets gives the name of the secret used by the pod to pull the image if specified", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.LocalObjectReference" + }, + "x-kubernetes-list-type": "atomic" + }, + "nodeSelector": { + "description": "NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "priorityClassName": { + "description": "If specified, indicates the pod's priority. \"system-node-critical\" and \"system-cluster-critical\" are two special keywords which indicate the highest priorities with the former being the highest priority. Any other name must be defined by creating a PriorityClass object with that name. If not specified, the pod priority will be default or zero if there is no default.", + "type": "string" + }, + "runtimeClassName": { + "description": "RuntimeClassName refers to a RuntimeClass object in the node.k8s.io group, which should be used to run this pod. If no RuntimeClass resource matches the named class, the pod will not be run. If unset or empty, the \"legacy\" RuntimeClass will be used, which is an implicit class with an empty definition that uses the default runtime handler. More info: https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is a beta feature as of Kubernetes v1.14.", + "type": "string" + }, + "schedulerName": { + "description": "SchedulerName specifies the scheduler to be used to dispatch the Pod", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext holds pod-level security attributes and common container settings. Optional: Defaults to empty. See type description for default values of each field.", + "$ref": "#/definitions/io.k8s.api.core.v1.PodSecurityContext" + }, + "tolerations": { + "description": "If specified, the pod's tolerations.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.Toleration" + }, + "x-kubernetes-list-type": "atomic" + }, + "topologySpreadConstraints": { + "description": "TopologySpreadConstraints controls how Pods are spread across your cluster among failure-domains such as regions, zones, nodes, and other user-defined topology domains.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.TopologySpreadConstraint" + }, + "x-kubernetes-list-type": "atomic" + }, + "volumes": { + "description": "List of volumes that can be mounted by containers belonging to the pod. More info: https://kubernetes.io/docs/concepts/storage/volumes", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge,retainKeys" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "pod", + "Kind": "Template", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1alpha1.ResolutionRequest": { + "description": "ResolutionRequest is an object for requesting the content of a Tekton resource like a pipeline.yaml.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the information for the request part of the resource request.", + "default": {}, + "$ref": "#/definitions/dev.tekton.resolution.v1alpha1.ResolutionRequestSpec" + }, + "status": { + "description": "Status communicates the state of the request and, ultimately, the content of the resolved resource.", + "default": {}, + "$ref": "#/definitions/dev.tekton.resolution.v1alpha1.ResolutionRequestStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "resolution.tekton.dev", + "Version": "v1alpha1", + "Kind": "ResolutionRequest", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1alpha1.ResolutionRequestList": { + "description": "ResolutionRequestList is a list of ResolutionRequests.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.resolution.v1alpha1.ResolutionRequest" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "resolution.tekton.dev", + "Version": "v1alpha1", + "Kind": "ResolutionRequestList", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1alpha1.ResolutionRequestSpec": { + "description": "ResolutionRequestSpec are all the fields in the spec of the ResolutionRequest CRD.", + "type": "object", + "properties": { + "params": { + "description": "Parameters are the runtime attributes passed to the resolver to help it figure out how to resolve the resource being requested. For example: repo URL, commit SHA, path to file, the kind of authentication to leverage, etc.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "resolution.tekton.dev", + "Version": "v1alpha1", + "Kind": "ResolutionRequestSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1alpha1.ResolutionRequestStatus": { + "description": "ResolutionRequestStatus are all the fields in a ResolutionRequest's status subresource.", + "type": "object", + "required": [ + "data", + "refSource" + ], + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "data": { + "description": "Data is a string representation of the resolved content of the requested resource in-lined into the ResolutionRequest object.", + "type": "string", + "default": "" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "refSource": { + "description": "RefSource is the source reference of the remote data that records where the remote file came from including the url, digest and the entrypoint.", + "$ref": "#/definitions/dev.tekton.v1.RefSource" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "resolution.tekton.dev", + "Version": "v1alpha1", + "Kind": "ResolutionRequestStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1alpha1.ResolutionRequestStatusFields": { + "description": "ResolutionRequestStatusFields are the ResolutionRequest-specific fields for the status subresource.", + "type": "object", + "required": [ + "data", + "refSource" + ], + "properties": { + "data": { + "description": "Data is a string representation of the resolved content of the requested resource in-lined into the ResolutionRequest object.", + "type": "string", + "default": "" + }, + "refSource": { + "description": "RefSource is the source reference of the remote data that records where the remote file came from including the url, digest and the entrypoint.", + "$ref": "#/definitions/dev.tekton.v1.RefSource" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "resolution.tekton.dev", + "Version": "v1alpha1", + "Kind": "ResolutionRequestStatusFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1beta1.ResolutionRequest": { + "description": "ResolutionRequest is an object for requesting the content of a Tekton resource like a pipeline.yaml.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the information for the request part of the resource request.", + "default": {}, + "$ref": "#/definitions/dev.tekton.resolution.v1beta1.ResolutionRequestSpec" + }, + "status": { + "description": "Status communicates the state of the request and, ultimately, the content of the resolved resource.", + "default": {}, + "$ref": "#/definitions/dev.tekton.resolution.v1beta1.ResolutionRequestStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "resolution.tekton.dev", + "Version": "v1beta1", + "Kind": "ResolutionRequest", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1beta1.ResolutionRequestList": { + "description": "ResolutionRequestList is a list of ResolutionRequests.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.resolution.v1beta1.ResolutionRequest" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "resolution.tekton.dev", + "Version": "v1beta1", + "Kind": "ResolutionRequestList", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1beta1.ResolutionRequestSpec": { + "description": "ResolutionRequestSpec are all the fields in the spec of the ResolutionRequest CRD.", + "type": "object", + "properties": { + "params": { + "description": "Parameters are the runtime attributes passed to the resolver to help it figure out how to resolve the resource being requested. For example: repo URL, commit SHA, path to file, the kind of authentication to leverage, etc.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "url": { + "description": "URL is the runtime url passed to the resolver to help it figure out how to resolver the resource being requested. This is currently at an ALPHA stability level and subject to alpha API compatibility policies.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "resolution.tekton.dev", + "Version": "v1beta1", + "Kind": "ResolutionRequestSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1beta1.ResolutionRequestStatus": { + "description": "ResolutionRequestStatus are all the fields in a ResolutionRequest's status subresource.", + "type": "object", + "required": [ + "data", + "source", + "refSource" + ], + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "data": { + "description": "Data is a string representation of the resolved content of the requested resource in-lined into the ResolutionRequest object.", + "type": "string", + "default": "" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "refSource": { + "description": "RefSource is the source reference of the remote data that records the url, digest and the entrypoint.", + "$ref": "#/definitions/dev.tekton.v1.RefSource" + }, + "source": { + "description": "Deprecated: Use RefSource instead", + "$ref": "#/definitions/dev.tekton.v1.RefSource" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "resolution.tekton.dev", + "Version": "v1beta1", + "Kind": "ResolutionRequestStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.resolution.v1beta1.ResolutionRequestStatusFields": { + "description": "ResolutionRequestStatusFields are the ResolutionRequest-specific fields for the status subresource.", + "type": "object", + "required": [ + "data", + "source", + "refSource" + ], + "properties": { + "data": { + "description": "Data is a string representation of the resolved content of the requested resource in-lined into the ResolutionRequest object.", + "type": "string", + "default": "" + }, + "refSource": { + "description": "RefSource is the source reference of the remote data that records the url, digest and the entrypoint.", + "$ref": "#/definitions/dev.tekton.v1.RefSource" + }, + "source": { + "description": "Deprecated: Use RefSource instead", + "$ref": "#/definitions/dev.tekton.v1.RefSource" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "resolution.tekton.dev", + "Version": "v1beta1", + "Kind": "ResolutionRequestStatusFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.BitbucketInterceptor": { + "description": "BitbucketInterceptor provides a webhook to intercept and pre-process events", + "type": "object", + "properties": { + "eventTypes": { + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "secretRef": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.SecretRef" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "BitbucketInterceptor", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.CELInterceptor": { + "description": "CELInterceptor provides a webhook to intercept and pre-process events", + "type": "object", + "properties": { + "filter": { + "type": "string" + }, + "overlays": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.CELOverlay" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "CELInterceptor", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.CELOverlay": { + "description": "CELOverlay provides a way to modify the request body using DeprecatedCEL expressions", + "type": "object", + "properties": { + "expression": { + "type": "string" + }, + "key": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "CELOverlay", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.ClientConfig": { + "description": "ClientConfig describes how a client can communicate with the Interceptor", + "type": "object", + "properties": { + "caBundle": { + "description": "CaBundle is a PEM encoded CA bundle which will be used to validate the clusterinterceptor server certificate", + "type": "string", + "format": "byte" + }, + "service": { + "description": "Service is a reference to a Service object where the interceptor is running Mutually exclusive with URL", + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.ServiceReference" + }, + "url": { + "description": "URL is a fully formed URL pointing to the interceptor Mutually exclusive with Service", + "$ref": "#/definitions/dev.knative.pkg.apis.URL" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "ClientConfig", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.ClusterInterceptor": { + "description": "ClusterInterceptor describes a pluggable interceptor including configuration such as the fields it accepts and its deployment address. The type is based on the Validating/MutatingWebhookConfiguration types for configuring AdmissionWebhooks", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.ClusterInterceptorSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.ClusterInterceptorStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "ClusterInterceptor", + "Scope": "Clustered" + } + }, + "dev.tekton.triggers.v1alpha1.ClusterInterceptorList": { + "description": "ClusterInterceptorList contains a list of ClusterInterceptor We don't use this but it's required for certain codegen features.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.ClusterInterceptor" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "ClusterInterceptorList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.ClusterInterceptorSpec": { + "description": "ClusterInterceptorSpec describes the Spec for an ClusterInterceptor", + "type": "object", + "required": [ + "clientConfig" + ], + "properties": { + "clientConfig": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.ClientConfig" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "ClusterInterceptorSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.ClusterInterceptorStatus": { + "description": "ClusterInterceptorStatus holds the status of the ClusterInterceptor", + "type": "object", + "properties": { + "address": { + "description": "Address is a single Addressable address. If Addresses is present, Address will be ignored by clients.", + "$ref": "#/definitions/dev.knative.duck.v1.Addressable" + }, + "addresses": { + "description": "Addresses is a list of addresses for different protocols (HTTP and HTTPS) If Addresses is present, Address must be ignored by clients.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.Addressable" + } + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "ClusterInterceptorStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.ClusterTriggerBinding": { + "description": "ClusterTriggerBinding is a TriggerBinding with a cluster scope. ClusterTriggerBindings are used to represent TriggerBindings that should be publicly addressable from any namespace in the cluster.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the ClusterTriggerBinding from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerBindingSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerBindingStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "ClusterTriggerBinding", + "Scope": "Clustered" + } + }, + "dev.tekton.triggers.v1alpha1.ClusterTriggerBindingList": { + "description": "ClusterTriggerBindingList contains a list of ClusterTriggerBinding", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.ClusterTriggerBinding" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "ClusterTriggerBindingList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.CustomResource": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "CustomResource", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.EventListener": { + "description": "EventListener exposes a service to accept HTTP event payloads.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the EventListener from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.EventListenerSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.EventListenerStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "EventListener", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.EventListenerConfig": { + "description": "EventListenerConfig stores configuration for resources generated by the EventListener", + "type": "object", + "required": [ + "generatedName" + ], + "properties": { + "generatedName": { + "description": "GeneratedResourceName is the name given to all resources reconciled by the EventListener", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "EventListenerConfig", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.EventListenerList": { + "description": "EventListenerList contains a list of TriggerBinding", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.EventListener" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "EventListenerList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.EventListenerSpec": { + "description": "EventListenerSpec defines the desired state of the EventListener, represented by a list of Triggers.", + "type": "object", + "required": [ + "triggers" + ], + "properties": { + "labelSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "namespaceSelector": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.NamespaceSelector" + }, + "resources": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.Resources" + }, + "serviceAccountName": { + "type": "string" + }, + "triggers": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.EventListenerTrigger" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "EventListenerSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.EventListenerStatus": { + "description": "EventListenerStatus holds the status of the EventListener", + "type": "object", + "required": [ + "configuration" + ], + "properties": { + "address": { + "description": "Address is a single Addressable address. If Addresses is present, Address will be ignored by clients.", + "$ref": "#/definitions/dev.knative.duck.v1alpha1.Addressable" + }, + "addresses": { + "description": "Addresses is a list of addresses for different protocols (HTTP and HTTPS) If Addresses is present, Address must be ignored by clients.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1alpha1.Addressable" + } + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "configuration": { + "description": "Configuration stores configuration for the EventListener service", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.EventListenerConfig" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "EventListenerStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.EventListenerTrigger": { + "description": "EventListenerTrigger represents a connection between TriggerBinding, Params, and TriggerTemplate; TriggerBinding provides extracted values for TriggerTemplate to then create resources from. TriggerRef can also be provided instead of TriggerBinding, Interceptors and TriggerTemplate", + "type": "object", + "properties": { + "bindings": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerSpecBinding" + }, + "x-kubernetes-list-type": "atomic" + }, + "interceptors": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerInterceptor" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string" + }, + "serviceAccountName": { + "description": "ServiceAccountName optionally associates credentials with each trigger; more granular authorization for who is allowed to utilize the associated pipeline vs. defaulting to whatever permissions are associated with the entire EventListener and associated sink facilitates multi-tenant model based scenarios", + "type": "string" + }, + "template": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerSpecTemplate" + }, + "triggerRef": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "EventListenerTrigger", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.GitHubInterceptor": { + "description": "GitHubInterceptor provides a webhook to intercept and pre-process events", + "type": "object", + "properties": { + "eventTypes": { + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "secretRef": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.SecretRef" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "GitHubInterceptor", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.GitLabInterceptor": { + "description": "GitLabInterceptor provides a webhook to intercept and pre-process events", + "type": "object", + "properties": { + "eventTypes": { + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "secretRef": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.SecretRef" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "GitLabInterceptor", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.Interceptor": { + "description": "Interceptor describes a pluggable interceptor including configuration such as the fields it accepts and its deployment address. The type is based on the Validating/MutatingWebhookConfiguration types for configuring AdmissionWebhooks", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.InterceptorSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.InterceptorStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "Interceptor", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.InterceptorList": { + "description": "InterceptorList contains a list of Interceptor We don't use this but it's required for certain codegen features.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.Interceptor" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "InterceptorList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.InterceptorParams": { + "description": "InterceptorParams defines a key-value pair that can be passed on an interceptor", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "default": "" + }, + "value": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "InterceptorParams", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.InterceptorRef": { + "description": "InterceptorRef provides a Reference to a ClusterInterceptor", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "kind": { + "description": "InterceptorKind indicates the kind of the Interceptor, namespaced or cluster scoped.", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "InterceptorRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.InterceptorRequest": { + "description": "Do not generate DeepCopy(). See #827", + "type": "object", + "required": [ + "context" + ], + "properties": { + "body": { + "description": "Body is the incoming HTTP event body. We use a \"string\" representation of the JSON body in order to preserve the body exactly as it was sent (including spaces etc.). This is necessary for some interceptors e.g. GitHub for validating the body with a signature. While []byte can also store an exact representation of the body, `json.Marshal` will compact []byte to a base64 encoded string which means that we will lose the spaces any time we marshal this struct.", + "type": "string" + }, + "context": { + "description": "Context contains additional metadata about the event being processed", + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerContext" + }, + "extensions": { + "description": "Extensions are extra values that are added by previous interceptors in a chain", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "header": { + "description": "Header are the headers for the incoming HTTP event", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "interceptor_params": { + "description": "InterceptorParams are the user specified params for interceptor in the Trigger", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "InterceptorRequest", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.InterceptorResponse": { + "description": "Do not generate Deepcopy(). See #827", + "type": "object", + "required": [ + "continue", + "status" + ], + "properties": { + "continue": { + "description": "Continue indicates if the EventListener should continue processing the Trigger or not", + "type": "boolean", + "default": false + }, + "extensions": { + "description": "Extensions are additional fields that is added to the interceptor event.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "status": { + "description": "Status is an Error status containing details on any interceptor processing errors", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.Status" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "InterceptorResponse", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.InterceptorSpec": { + "description": "InterceptorSpec describes the Spec for an Interceptor", + "type": "object", + "required": [ + "clientConfig" + ], + "properties": { + "clientConfig": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.ClientConfig" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "InterceptorSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.InterceptorStatus": { + "description": "InterceptorStatus holds the status of the Interceptor", + "type": "object", + "properties": { + "address": { + "description": "Address is a single Addressable address. If Addresses is present, Address will be ignored by clients.", + "$ref": "#/definitions/dev.knative.duck.v1.Addressable" + }, + "addresses": { + "description": "Addresses is a list of addresses for different protocols (HTTP and HTTPS) If Addresses is present, Address must be ignored by clients.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.Addressable" + } + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "InterceptorStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.KubernetesResource": { + "type": "object", + "properties": { + "replicas": { + "type": "integer", + "format": "int32" + }, + "serviceType": { + "type": "string" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.WithPodSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "KubernetesResource", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.NamespaceSelector": { + "description": "NamespaceSelector is a selector for selecting either all namespaces or a list of namespaces.", + "type": "object", + "properties": { + "matchNames": { + "description": "List of namespace names.", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "NamespaceSelector", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.Param": { + "description": "Param defines a string value to be used for a ParamSpec with the same name.", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "default": "" + }, + "value": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "Param", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.ParamSpec": { + "description": "ParamSpec defines an arbitrary named input whose value can be supplied by a `Param`.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "default": { + "description": "Default is the value a parameter takes if no input value via a Param is supplied.", + "type": "string" + }, + "description": { + "description": "Description is a user-facing description of the parameter that may be used to populate a UI.", + "type": "string" + }, + "name": { + "description": "Name declares the name by which a parameter is referenced.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "ParamSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.Resources": { + "type": "object", + "properties": { + "customResource": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.CustomResource" + }, + "kubernetesResource": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.KubernetesResource" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "Resources", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.SecretRef": { + "description": "SecretRef contains the information required to reference a single secret string This is needed because the other secretRef types are not cross-namespace and do not actually contain the \"SecretName\" field, which allows us to access a single secret value.", + "type": "object", + "properties": { + "secretKey": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "SecretRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.ServiceReference": { + "description": "ServiceReference is a reference to a Service object with an optional path", + "type": "object", + "required": [ + "name", + "namespace" + ], + "properties": { + "name": { + "description": "Name is the name of the service", + "type": "string", + "default": "" + }, + "namespace": { + "description": "Namespace is the namespace of the service", + "type": "string", + "default": "" + }, + "path": { + "description": "Path is an optional URL path", + "type": "string" + }, + "port": { + "description": "Port is a valid port number", + "type": "integer", + "format": "int32" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "ServiceReference", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.Status": { + "type": "object", + "properties": { + "code": { + "description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].", + "type": "integer", + "format": "int64" + }, + "message": { + "description": "A developer-facing error message, which should be in English.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "Status", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.StatusError": { + "type": "object", + "required": [ + "s" + ], + "properties": { + "s": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.Status" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "StatusError", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.Trigger": { + "description": "Trigger defines a mapping of an input event to parameters. This is used to extract information from events to be passed to TriggerTemplates within a Trigger.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Trigger", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerSpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "Trigger", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerBinding": { + "description": "TriggerBinding defines a mapping of an input event to parameters. This is used to extract information from events to be passed to TriggerTemplates within a Trigger.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the TriggerBinding", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerBindingSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerBindingStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerBindingList": { + "description": "TriggerBindingList contains a list of TriggerBindings. We don't use this but it's required for certain codegen features.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerBinding" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerBindingList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerBindingSpec": { + "description": "TriggerBindingSpec defines the desired state of the TriggerBinding.", + "type": "object", + "properties": { + "params": { + "description": "Params defines the parameter mapping from the given input event.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.Param" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerBindingSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerBindingStatus": { + "description": "TriggerBindingStatus defines the observed state of TriggerBinding.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerBindingStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerContext": { + "type": "object", + "properties": { + "event_id": { + "description": "EventID is a unique ID assigned by Triggers to each event", + "type": "string" + }, + "event_url": { + "description": "EventURL is the URL of the incoming event", + "type": "string" + }, + "trigger_id": { + "description": "TriggerID is of the form namespace/$ns/triggers/$name", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerContext", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerInterceptor": { + "description": "TriggerInterceptor provides a hook to intercept and pre-process events", + "type": "object", + "required": [ + "ref" + ], + "properties": { + "bitbucket": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.BitbucketInterceptor" + }, + "cel": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.CELInterceptor" + }, + "github": { + "description": "Deprecated old fields below", + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.GitHubInterceptor" + }, + "gitlab": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.GitLabInterceptor" + }, + "name": { + "description": "Optional name to identify the current interceptor configuration", + "type": "string" + }, + "params": { + "description": "Params are the params to send to the interceptor", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.InterceptorParams" + }, + "x-kubernetes-list-type": "atomic" + }, + "ref": { + "description": "Ref refers to the Interceptor to use", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.InterceptorRef" + }, + "webhook": { + "description": "WebhookInterceptor refers to an old style webhook interceptor service", + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.WebhookInterceptor" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerInterceptor", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerList": { + "description": "TriggerList contains a list of Triggers. We don't use this but it's required for certain codegen features.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.Trigger" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerResourceTemplate": { + "description": "TriggerResourceTemplate describes a resource to create", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerResourceTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerSpec": { + "description": "TriggerSpec represents a connection between TriggerSpecBinding, and TriggerSpecTemplate; TriggerSpecBinding provides extracted values for TriggerSpecTemplate to then create resources from.", + "type": "object", + "required": [ + "bindings", + "template" + ], + "properties": { + "bindings": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerSpecBinding" + }, + "x-kubernetes-list-type": "atomic" + }, + "interceptors": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerInterceptor" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string" + }, + "serviceAccountName": { + "description": "ServiceAccountName optionally associates credentials with each trigger; Unlike EventListeners, this should be scoped to the same namespace as the Trigger itself", + "type": "string" + }, + "template": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerSpecTemplate" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerSpecBinding": { + "type": "object", + "properties": { + "apiversion": { + "description": "APIVersion of the binding ref", + "type": "string" + }, + "kind": { + "description": "Kind can only be provided if Ref is also provided. Defaults to TriggerBinding", + "type": "string" + }, + "name": { + "description": "Name is the name of the binding param Mutually exclusive with Ref", + "type": "string" + }, + "ref": { + "description": "Ref is a reference to a TriggerBinding kind. Mutually exclusive with Name", + "type": "string" + }, + "value": { + "description": "Value is the value of the binding param. Can contain JSONPath Has to be pointer since \"\" is a valid value Required if Name is also specified.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerSpecBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerSpecTemplate": { + "type": "object", + "properties": { + "apiversion": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "spec": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerTemplateSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerSpecTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerTemplate": { + "description": "TriggerTemplate takes parameters and uses them to create CRDs", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the TriggerTemplate from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerTemplateSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerTemplateStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerTemplateList": { + "description": "TriggerTemplateList contains a list of TriggerTemplate", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerTemplate" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerTemplateList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerTemplateSpec": { + "description": "TriggerTemplateSpec holds the desired state of TriggerTemplate", + "type": "object", + "properties": { + "params": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "resourcetemplates": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1alpha1.TriggerResourceTemplate" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerTemplateSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.TriggerTemplateStatus": { + "description": "TriggerTemplateStatus describes the desired state of TriggerTemplate", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "TriggerTemplateStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1alpha1.WebhookInterceptor": { + "description": "WebhookInterceptor provides a webhook to intercept and pre-process events", + "type": "object", + "properties": { + "header": { + "description": "Header is a group of key-value pairs that can be appended to the interceptor request headers. This allows the interceptor to make decisions specific to an EventListenerTrigger.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "objectRef": { + "description": "ObjectRef is a reference to an object that will resolve to a cluster DNS name to use as the EventInterceptor. Either objectRef or url can be specified", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "url": { + "$ref": "#/definitions/dev.knative.pkg.apis.URL" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1alpha1", + "Kind": "WebhookInterceptor", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.ClusterTriggerBinding": { + "description": "ClusterTriggerBinding is a TriggerBinding with a cluster scope. ClusterTriggerBindings are used to represent TriggerBindings that should be publicly addressable from any namespace in the cluster.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the ClusterTriggerBinding from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerBindingSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerBindingStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "ClusterTriggerBinding", + "Scope": "Clustered" + } + }, + "dev.tekton.triggers.v1beta1.ClusterTriggerBindingList": { + "description": "ClusterTriggerBindingList contains a list of ClusterTriggerBinding", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.ClusterTriggerBinding" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "ClusterTriggerBindingList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.CustomResource": { + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "CustomResource", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.EventListener": { + "description": "EventListener exposes a service to accept HTTP event payloads.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the EventListener from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.EventListenerSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.EventListenerStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "EventListener", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.EventListenerConfig": { + "description": "EventListenerConfig stores configuration for resources generated by the EventListener", + "type": "object", + "required": [ + "generatedName" + ], + "properties": { + "generatedName": { + "description": "GeneratedResourceName is the name given to all resources reconciled by the EventListener", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "EventListenerConfig", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.EventListenerList": { + "description": "EventListenerList contains a list of TriggerBinding", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.EventListener" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "EventListenerList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.EventListenerSpec": { + "description": "EventListenerSpec defines the desired state of the EventListener, represented by a list of Triggers.", + "type": "object", + "properties": { + "cloudEventURI": { + "type": "string" + }, + "labelSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "namespaceSelector": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.NamespaceSelector" + }, + "resources": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.Resources" + }, + "serviceAccountName": { + "type": "string" + }, + "triggerGroups": { + "description": "Trigger groups allow for centralized processing of an interceptor chain", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.EventListenerTriggerGroup" + }, + "x-kubernetes-list-type": "atomic" + }, + "triggers": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.EventListenerTrigger" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "EventListenerSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.EventListenerStatus": { + "description": "EventListenerStatus holds the status of the EventListener", + "type": "object", + "required": [ + "configuration" + ], + "properties": { + "address": { + "description": "Address is a single Addressable address. If Addresses is present, Address will be ignored by clients.", + "$ref": "#/definitions/dev.knative.duck.v1beta1.Addressable" + }, + "addresses": { + "description": "Addresses is a list of addresses for different protocols (HTTP and HTTPS) If Addresses is present, Address must be ignored by clients.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1beta1.Addressable" + } + }, + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "configuration": { + "description": "Configuration stores configuration for the EventListener service", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.EventListenerConfig" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "EventListenerStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.EventListenerTrigger": { + "description": "EventListenerTrigger represents a connection between TriggerBinding, Params, and TriggerTemplate; TriggerBinding provides extracted values for TriggerTemplate to then create resources from. TriggerRef can also be provided instead of TriggerBinding, Interceptors and TriggerTemplate", + "type": "object", + "properties": { + "bindings": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerSpecBinding" + }, + "x-kubernetes-list-type": "atomic" + }, + "interceptors": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerInterceptor" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string" + }, + "serviceAccountName": { + "description": "ServiceAccountName optionally associates credentials with each trigger; more granular authorization for who is allowed to utilize the associated pipeline vs. defaulting to whatever permissions are associated with the entire EventListener and associated sink facilitates multi-tenant model based scenarios", + "type": "string" + }, + "template": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerSpecTemplate" + }, + "triggerRef": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "EventListenerTrigger", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.EventListenerTriggerGroup": { + "description": "EventListenerTriggerGroup defines a group of Triggers that share a common set of interceptors", + "type": "object", + "required": [ + "name", + "interceptors", + "triggerSelector" + ], + "properties": { + "interceptors": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerInterceptor" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string", + "default": "" + }, + "triggerSelector": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.EventListenerTriggerSelector" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "EventListenerTriggerGroup", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.EventListenerTriggerSelector": { + "description": "EventListenerTriggerSelector defines ways to select a group of triggers using their metadata", + "type": "object", + "properties": { + "labelSelector": { + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.LabelSelector" + }, + "namespaceSelector": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.NamespaceSelector" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "EventListenerTriggerSelector", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.InterceptorParams": { + "description": "InterceptorParams defines a key-value pair that can be passed on an interceptor", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "default": "" + }, + "value": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.JSON" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "InterceptorParams", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.InterceptorRef": { + "description": "InterceptorRef provides a Reference to a ClusterInterceptor", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "kind": { + "description": "InterceptorKind indicates the kind of the Interceptor, namespaced or cluster scoped.", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "InterceptorRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.InterceptorRequest": { + "description": "Do not generate DeepCopy(). See #827", + "type": "object", + "required": [ + "context" + ], + "properties": { + "body": { + "description": "Body is the incoming HTTP event body. We use a \"string\" representation of the JSON body in order to preserve the body exactly as it was sent (including spaces etc.). This is necessary for some interceptors e.g. GitHub for validating the body with a signature. While []byte can also store an exact representation of the body, `json.Marshal` will compact []byte to a base64 encoded string which means that we will lose the spaces any time we marshal this struct.", + "type": "string" + }, + "context": { + "description": "Context contains additional metadata about the event being processed", + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerContext" + }, + "extensions": { + "description": "Extensions are extra values that are added by previous interceptors in a chain", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "header": { + "description": "Header are the headers for the incoming HTTP event", + "type": "object", + "additionalProperties": { + "type": "array", + "items": { + "type": "string", + "default": "" + } + } + }, + "interceptor_params": { + "description": "InterceptorParams are the user specified params for interceptor in the Trigger", + "type": "object", + "additionalProperties": { + "type": "object" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "InterceptorRequest", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.InterceptorResponse": { + "description": "Do not generate Deepcopy(). See #827", + "type": "object", + "required": [ + "continue", + "status" + ], + "properties": { + "continue": { + "description": "Continue indicates if the EventListener should continue processing the Trigger or not", + "type": "boolean", + "default": false + }, + "extensions": { + "description": "Extensions are additional fields that is added to the interceptor event.", + "type": "object", + "additionalProperties": { + "type": "object" + } + }, + "status": { + "description": "Status is an Error status containing details on any interceptor processing errors", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.Status" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "InterceptorResponse", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.KubernetesResource": { + "type": "object", + "properties": { + "replicas": { + "type": "integer", + "format": "int32" + }, + "serviceLoadBalancerClass": { + "type": "string" + }, + "servicePort": { + "type": "integer", + "format": "int32" + }, + "serviceType": { + "type": "string" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.knative.duck.v1.WithPodSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "KubernetesResource", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.NamespaceSelector": { + "description": "NamespaceSelector is a selector for selecting either all namespaces or a list of namespaces.", + "type": "object", + "properties": { + "matchNames": { + "description": "List of namespace names.", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "NamespaceSelector", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.Param": { + "description": "Param defines a string value to be used for a ParamSpec with the same name.", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "default": "" + }, + "value": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "Param", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.ParamSpec": { + "description": "ParamSpec defines an arbitrary named input whose value can be supplied by a `Param`.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "default": { + "description": "Default is the value a parameter takes if no input value via a Param is supplied.", + "type": "string" + }, + "description": { + "description": "Description is a user-facing description of the parameter that may be used to populate a UI.", + "type": "string" + }, + "name": { + "description": "Name declares the name by which a parameter is referenced.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "ParamSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.Resources": { + "type": "object", + "properties": { + "customResource": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.CustomResource" + }, + "kubernetesResource": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.KubernetesResource" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "Resources", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.SecretRef": { + "description": "SecretRef contains the information required to reference a single secret string This is needed because the other secretRef types are not cross-namespace and do not actually contain the \"SecretName\" field, which allows us to access a single secret value.", + "type": "object", + "properties": { + "secretKey": { + "type": "string" + }, + "secretName": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "SecretRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.Status": { + "type": "object", + "properties": { + "code": { + "description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].", + "type": "integer", + "format": "int64" + }, + "message": { + "description": "A developer-facing error message, which should be in English.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "Status", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.StatusError": { + "type": "object", + "required": [ + "s" + ], + "properties": { + "s": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.Status" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "StatusError", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.Trigger": { + "description": "Trigger defines a mapping of an input event to parameters. This is used to extract information from events to be passed to TriggerTemplates within a Trigger.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Trigger", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerSpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "Trigger", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerBinding": { + "description": "TriggerBinding defines a mapping of an input event to parameters. This is used to extract information from events to be passed to TriggerTemplates within a Trigger.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the TriggerBinding", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerBindingSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerBindingStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerBindingList": { + "description": "TriggerBindingList contains a list of TriggerBindings. We don't use this but it's required for certain codegen features.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerBinding" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerBindingList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerBindingSpec": { + "description": "TriggerBindingSpec defines the desired state of the TriggerBinding.", + "type": "object", + "properties": { + "params": { + "description": "Params defines the parameter mapping from the given input event.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerBindingSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerBindingStatus": { + "description": "TriggerBindingStatus defines the observed state of TriggerBinding.", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerBindingStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerContext": { + "type": "object", + "properties": { + "event_id": { + "description": "EventID is a unique ID assigned by Triggers to each event", + "type": "string" + }, + "event_url": { + "description": "EventURL is the URL of the incoming event", + "type": "string" + }, + "trigger_id": { + "description": "TriggerID is of the form namespace/$ns/triggers/$name", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerContext", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerInterceptor": { + "description": "TriggerInterceptor provides a hook to intercept and pre-process events", + "type": "object", + "required": [ + "ref" + ], + "properties": { + "name": { + "description": "Optional name to identify the current interceptor configuration", + "type": "string" + }, + "params": { + "description": "Params are the params to send to the interceptor", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.InterceptorParams" + }, + "x-kubernetes-list-type": "atomic" + }, + "ref": { + "description": "Ref refers to the Interceptor to use", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.InterceptorRef" + }, + "webhook": { + "description": "WebhookInterceptor refers to an old style webhook interceptor service", + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.WebhookInterceptor" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerInterceptor", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerList": { + "description": "TriggerList contains a list of Triggers. We don't use this but it's required for certain codegen features.", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.Trigger" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerResourceTemplate": { + "description": "TriggerResourceTemplate describes a resource to create", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerResourceTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerSpec": { + "description": "TriggerSpec represents a connection between TriggerSpecBinding, and TriggerSpecTemplate; TriggerSpecBinding provides extracted values for TriggerSpecTemplate to then create resources from.", + "type": "object", + "required": [ + "bindings", + "template" + ], + "properties": { + "bindings": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerSpecBinding" + }, + "x-kubernetes-list-type": "atomic" + }, + "interceptors": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerInterceptor" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "type": "string" + }, + "serviceAccountName": { + "description": "ServiceAccountName optionally associates credentials with each trigger; Unlike EventListeners, this should be scoped to the same namespace as the Trigger itself", + "type": "string" + }, + "template": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerSpecTemplate" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerSpecBinding": { + "type": "object", + "properties": { + "apiversion": { + "description": "APIVersion of the binding ref", + "type": "string" + }, + "kind": { + "description": "Kind can only be provided if Ref is also provided. Defaults to TriggerBinding", + "type": "string" + }, + "name": { + "description": "Name is the name of the binding param Mutually exclusive with Ref", + "type": "string" + }, + "ref": { + "description": "Ref is a reference to a TriggerBinding kind. Mutually exclusive with Name", + "type": "string" + }, + "value": { + "description": "Value is the value of the binding param. Can contain JSONPath Has to be pointer since \"\" is a valid value Required if Name is also specified.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerSpecBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerSpecTemplate": { + "type": "object", + "properties": { + "apiversion": { + "type": "string" + }, + "ref": { + "type": "string" + }, + "spec": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerTemplateSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerSpecTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerTemplate": { + "description": "TriggerTemplate takes parameters and uses them to create CRDs", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the TriggerTemplate from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerTemplateSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerTemplateStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerTemplateList": { + "description": "TriggerTemplateList contains a list of TriggerTemplate", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerTemplate" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerTemplateList", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerTemplateSpec": { + "description": "TriggerTemplateSpec holds the desired state of TriggerTemplate", + "type": "object", + "properties": { + "params": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "resourcetemplates": { + "type": "array", + "items": { + "$ref": "#/definitions/dev.tekton.triggers.v1beta1.TriggerResourceTemplate" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerTemplateSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.TriggerTemplateStatus": { + "description": "TriggerTemplateStatus describes the desired state of TriggerTemplate", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "TriggerTemplateStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.triggers.v1beta1.WebhookInterceptor": { + "description": "WebhookInterceptor provides a webhook to intercept and pre-process events", + "type": "object", + "properties": { + "header": { + "description": "Header is a group of key-value pairs that can be appended to the interceptor request headers. This allows the interceptor to make decisions specific to an EventListenerTrigger.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "objectRef": { + "description": "ObjectRef is a reference to an object that will resolve to a cluster DNS name to use as the EventInterceptor. Either objectRef or url can be specified", + "$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference" + }, + "url": { + "$ref": "#/definitions/dev.knative.pkg.apis.URL" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "triggers.tekton.dev", + "Version": "v1beta1", + "Kind": "WebhookInterceptor", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Artifact": { + "description": "TaskRunStepArtifact represents an artifact produced or used by a step within a task run. It directly uses the Artifact type for its structure.", + "type": "object", + "properties": { + "buildOutput": { + "description": "Indicate if the artifact is a build output or a by-product", + "type": "boolean" + }, + "name": { + "description": "The artifact's identifying category name", + "type": "string" + }, + "values": { + "description": "A collection of values related to the artifact", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.ArtifactValue" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Artifact", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.ArtifactValue": { + "description": "ArtifactValue represents a specific value or data element within an Artifact.", + "type": "object", + "properties": { + "digest": { + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "uri": { + "description": "Algorithm-specific digests for verifying the content (e.g., SHA256)", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "ArtifactValue", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Artifacts": { + "description": "Artifacts represents the collection of input and output artifacts associated with a task run or a similar process. Artifacts in this context are units of data or resources that the process either consumes as input or produces as output.", + "type": "object", + "properties": { + "inputs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Artifact" + } + }, + "outputs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Artifact" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Artifacts", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.ChildStatusReference": { + "description": "ChildStatusReference is used to point to the statuses of individual TaskRuns and Runs within this PipelineRun.", + "type": "object", + "properties": { + "apiVersion": { + "type": "string" + }, + "displayName": { + "description": "DisplayName is a user-facing name of the pipelineTask that may be used to populate a UI.", + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "description": "Name is the name of the TaskRun or Run this is referencing.", + "type": "string" + }, + "pipelineTaskName": { + "description": "PipelineTaskName is the name of the PipelineTask this is referencing.", + "type": "string" + }, + "whenExpressions": { + "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WhenExpression" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "ChildStatusReference", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.EmbeddedTask": { + "description": "EmbeddedTask is used to define a Task inline within a Pipeline's PipelineTasks.", + "type": "object", + "properties": { + "apiVersion": { + "type": "string" + }, + "description": { + "description": "Description is a user-facing description of the task that may be used to populate a UI.", + "type": "string" + }, + "displayName": { + "description": "DisplayName is a user-facing name of the task that may be used to populate a UI.", + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineTaskMetadata" + }, + "params": { + "description": "Params is a list of input parameters required to run the task. Params must be supplied as inputs in TaskRuns unless they declare a default value.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results are values that this Task can output", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "sidecars": { + "description": "Sidecars are run alongside the Task's step containers. They begin before the steps start and end after the steps complete.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Sidecar" + }, + "x-kubernetes-list-type": "atomic" + }, + "spec": { + "description": "Spec is a specification of a custom task", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + }, + "stepTemplate": { + "description": "StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.", + "$ref": "#/definitions/dev.tekton.v1.StepTemplate" + }, + "steps": { + "description": "Steps are the steps of the build; each step is run sequentially with the source mounted into /workspace.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Step" + }, + "x-kubernetes-list-type": "atomic" + }, + "volumes": { + "description": "Volumes is a collection of volumes that are available to mount into the steps of the build.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "x-kubernetes-list-type": "atomic" + }, + "workspaces": { + "description": "Workspaces are the volumes that this Task requires.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WorkspaceDeclaration" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "EmbeddedTask", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.IncludeParams": { + "description": "IncludeParams allows passing in a specific combinations of Parameters into the Matrix.", + "type": "object", + "properties": { + "name": { + "description": "Name the specified combination", + "type": "string" + }, + "params": { + "description": "Params takes only `Parameters` of type `\"string\"` The names of the `params` must match the names of the `params` in the underlying `Task`", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Param" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "IncludeParams", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Matrix": { + "description": "Matrix is used to fan out Tasks in a Pipeline", + "type": "object", + "properties": { + "include": { + "description": "Include is a list of IncludeParams which allows passing in specific combinations of Parameters into the Matrix.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.IncludeParams" + }, + "x-kubernetes-list-type": "atomic" + }, + "params": { + "description": "Params is a list of parameters used to fan out the pipelineTask Params takes only `Parameters` of type `\"array\"` Each array element is supplied to the `PipelineTask` by substituting `params` of type `\"string\"` in the underlying `Task`. The names of the `params` in the `Matrix` must match the names of the `params` in the underlying `Task` that they will be substituting.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Param" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Matrix", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Param": { + "description": "Param declares an ParamValues to use for the parameter called name.", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "default": "" + }, + "value": { + "$ref": "#/definitions/dev.tekton.v1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Param", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.ParamSpec": { + "description": "ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources). Parameter values are provided by users as inputs on a TaskRun or PipelineRun.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "default": { + "description": "Default is the value a parameter takes if no input value is supplied. If default is set, a Task may be executed without a supplied value for the parameter.", + "$ref": "#/definitions/dev.tekton.v1.ParamValue" + }, + "description": { + "description": "Description is a user-facing description of the parameter that may be used to populate a UI.", + "type": "string" + }, + "enum": { + "description": "Enum declares a set of allowed param input values for tasks/pipelines that can be validated. If Enum is not set, no input validation is performed for the param.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "name": { + "description": "Name declares the name by which a parameter is referenced.", + "type": "string", + "default": "" + }, + "properties": { + "description": "Properties is the JSON Schema properties to support key-value pairs parameter.", + "type": "object", + "additionalProperties": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PropertySpec" + } + }, + "type": { + "description": "Type is the user-specified type of the parameter. The possible types are currently \"string\", \"array\" and \"object\", and \"string\" is the default.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "ParamSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.ParamValue": { + "description": "ResultValue is a type alias of ParamValue", + "type": "object", + "required": [ + "Type", + "StringVal", + "ArrayVal", + "ObjectVal" + ], + "properties": { + "ArrayVal": { + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "ObjectVal": { + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "StringVal": { + "description": "Represents the stored type of ParamValues.", + "type": "string", + "default": "" + }, + "Type": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "ParamValue", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Pipeline": { + "description": "Pipeline describes a list of Tasks to execute. It expresses how outputs of tasks feed into inputs of subsequent tasks.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Pipeline from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineSpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Pipeline", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineList": { + "description": "PipelineList contains a list of Pipeline", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Pipeline" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineRef": { + "description": "PipelineRef can be used to refer to a specific instance of a Pipeline.", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineResult": { + "description": "PipelineResult used to describe the results of a pipeline", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "description": { + "description": "Description is a human-readable description of the result", + "type": "string", + "default": "" + }, + "name": { + "description": "Name the given name", + "type": "string", + "default": "" + }, + "type": { + "description": "Type is the user-specified type of the result. The possible types are 'string', 'array', and 'object', with 'string' as the default. 'array' and 'object' types are alpha features.", + "type": "string" + }, + "value": { + "description": "Value the expression used to retrieve the value", + "$ref": "#/definitions/dev.tekton.v1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineRun": { + "description": "PipelineRun represents a single execution of a Pipeline. PipelineRuns are how the graph of Tasks declared in a Pipeline are executed; they specify inputs to Pipelines such as parameter values and capture operational aspects of the Tasks execution such as service account and tolerations. Creating a PipelineRun creates TaskRuns for Tasks in the referenced Pipeline.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineRunSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineRunStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineRun", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineRunList": { + "description": "PipelineRunList contains a list of PipelineRun", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineRun" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineRunList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineRunResult": { + "description": "PipelineRunResult used to describe the results of a pipeline", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name is the result's name as declared by the Pipeline", + "type": "string", + "default": "" + }, + "value": { + "description": "Value is the result returned from the execution of this PipelineRun", + "$ref": "#/definitions/dev.tekton.v1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineRunResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineRunRunStatus": { + "description": "PipelineRunRunStatus contains the name of the PipelineTask for this Run and the Run's Status", + "type": "object", + "properties": { + "pipelineTaskName": { + "description": "PipelineTaskName is the name of the PipelineTask.", + "type": "string" + }, + "status": { + "description": "Status is the RunStatus for the corresponding Run", + "$ref": "#/definitions/dev.tekton.v1beta1.CustomRunStatus" + }, + "whenExpressions": { + "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WhenExpression" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineRunRunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineRunSpec": { + "description": "PipelineRunSpec defines the desired state of PipelineRun", + "type": "object", + "properties": { + "params": { + "description": "Params is a list of parameter names and values.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "pipelineRef": { + "$ref": "#/definitions/dev.tekton.v1.PipelineRef" + }, + "pipelineSpec": { + "description": "Specifying PipelineSpec can be disabled by setting `disable-inline-spec` feature flag..", + "$ref": "#/definitions/dev.tekton.v1.PipelineSpec" + }, + "status": { + "description": "Used for cancelling a pipelinerun (and maybe more later on)", + "type": "string" + }, + "taskRunSpecs": { + "description": "TaskRunSpecs holds a set of runtime specs", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineTaskRunSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskRunTemplate": { + "description": "TaskRunTemplate represent template of taskrun", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineTaskRunTemplate" + }, + "timeouts": { + "description": "Time after which the Pipeline times out. Currently three keys are accepted in the map pipeline, tasks and finally with Timeouts.pipeline \u003e= Timeouts.tasks + Timeouts.finally", + "$ref": "#/definitions/dev.tekton.v1.TimeoutFields" + }, + "workspaces": { + "description": "Workspaces holds a set of workspace bindings that must match names with those declared in the pipeline.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WorkspaceBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineRunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineRunStatus": { + "description": "PipelineRunStatus defines the observed state of PipelineRun", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "childReferences": { + "description": "list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.ChildStatusReference" + }, + "x-kubernetes-list-type": "atomic" + }, + "completionTime": { + "description": "CompletionTime is the time the PipelineRun completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "finallyStartTime": { + "description": "FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "pipelineSpec": { + "description": "PipelineRunSpec contains the exact spec used to instantiate the run", + "$ref": "#/definitions/dev.tekton.v1.PipelineSpec" + }, + "provenance": { + "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", + "$ref": "#/definitions/dev.tekton.v1.Provenance" + }, + "results": { + "description": "Results are the list of results written out by the pipeline task's containers", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineRunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "skippedTasks": { + "description": "list of tasks that were skipped due to when expressions evaluating to false", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.SkippedTask" + }, + "x-kubernetes-list-type": "atomic" + }, + "spanContext": { + "description": "SpanContext contains tracing span context fields", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "startTime": { + "description": "StartTime is the time the PipelineRun is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineRunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineRunStatusFields": { + "description": "PipelineRunStatusFields holds the fields of PipelineRunStatus' status. This is defined separately and inlined so that other types can readily consume these fields via duck typing.", + "type": "object", + "properties": { + "childReferences": { + "description": "list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.ChildStatusReference" + }, + "x-kubernetes-list-type": "atomic" + }, + "completionTime": { + "description": "CompletionTime is the time the PipelineRun completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "finallyStartTime": { + "description": "FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "pipelineSpec": { + "description": "PipelineRunSpec contains the exact spec used to instantiate the run", + "$ref": "#/definitions/dev.tekton.v1.PipelineSpec" + }, + "provenance": { + "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", + "$ref": "#/definitions/dev.tekton.v1.Provenance" + }, + "results": { + "description": "Results are the list of results written out by the pipeline task's containers", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineRunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "skippedTasks": { + "description": "list of tasks that were skipped due to when expressions evaluating to false", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.SkippedTask" + }, + "x-kubernetes-list-type": "atomic" + }, + "spanContext": { + "description": "SpanContext contains tracing span context fields", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "startTime": { + "description": "StartTime is the time the PipelineRun is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineRunStatusFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineRunTaskRunStatus": { + "description": "PipelineRunTaskRunStatus contains the name of the PipelineTask for this TaskRun and the TaskRun's Status", + "type": "object", + "properties": { + "pipelineTaskName": { + "description": "PipelineTaskName is the name of the PipelineTask.", + "type": "string" + }, + "status": { + "description": "Status is the TaskRunStatus for the corresponding TaskRun", + "$ref": "#/definitions/dev.tekton.v1.TaskRunStatus" + }, + "whenExpressions": { + "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WhenExpression" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineRunTaskRunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineSpec": { + "description": "PipelineSpec defines the desired state of Pipeline.", + "type": "object", + "properties": { + "description": { + "description": "Description is a user-facing description of the pipeline that may be used to populate a UI.", + "type": "string" + }, + "displayName": { + "description": "DisplayName is a user-facing name of the pipeline that may be used to populate a UI.", + "type": "string" + }, + "finally": { + "description": "Finally declares the list of Tasks that execute just before leaving the Pipeline i.e. either after all Tasks are finished executing successfully or after a failure which would result in ending the Pipeline", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineTask" + }, + "x-kubernetes-list-type": "atomic" + }, + "params": { + "description": "Params declares a list of input parameters that must be supplied when this Pipeline is run.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results are values that this pipeline can output once run", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "tasks": { + "description": "Tasks declares the graph of Tasks that execute when this Pipeline is run.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineTask" + }, + "x-kubernetes-list-type": "atomic" + }, + "workspaces": { + "description": "Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PipelineWorkspaceDeclaration" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineTask": { + "description": "PipelineTask defines a task in a Pipeline, passing inputs from both Params and from the output of previous tasks.", + "type": "object", + "properties": { + "description": { + "description": "Description is the description of this task within the context of a Pipeline. This description may be used to populate a UI.", + "type": "string" + }, + "displayName": { + "description": "DisplayName is the display name of this task within the context of a Pipeline. This display name may be used to populate a UI.", + "type": "string" + }, + "matrix": { + "description": "Matrix declares parameters used to fan out this task.", + "$ref": "#/definitions/dev.tekton.v1.Matrix" + }, + "name": { + "description": "Name is the name of this task within the context of a Pipeline. Name is used as a coordinate with the `from` and `runAfter` fields to establish the execution order of tasks relative to one another.", + "type": "string" + }, + "onError": { + "description": "OnError defines the exiting behavior of a PipelineRun on error can be set to [ continue | stopAndFail ]", + "type": "string" + }, + "params": { + "description": "Parameters declares parameters passed to this task.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "pipelineRef": { + "description": "PipelineRef is a reference to a pipeline definition Note: PipelineRef is in preview mode and not yet supported", + "$ref": "#/definitions/dev.tekton.v1.PipelineRef" + }, + "pipelineSpec": { + "description": "PipelineSpec is a specification of a pipeline Note: PipelineSpec is in preview mode and not yet supported Specifying PipelineSpec can be disabled by setting `disable-inline-spec` feature flag..", + "$ref": "#/definitions/dev.tekton.v1.PipelineSpec" + }, + "retries": { + "description": "Retries represents how many times this task should be retried in case of task failure: ConditionSucceeded set to False", + "type": "integer", + "format": "int32" + }, + "runAfter": { + "description": "RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskRef": { + "description": "TaskRef is a reference to a task definition.", + "$ref": "#/definitions/dev.tekton.v1.TaskRef" + }, + "taskSpec": { + "description": "TaskSpec is a specification of a task Specifying TaskSpec can be disabled by setting `disable-inline-spec` feature flag..", + "$ref": "#/definitions/dev.tekton.v1.EmbeddedTask" + }, + "timeout": { + "description": "Time after which the TaskRun times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "when": { + "description": "When is a list of when expressions that need to be true for the task to run", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WhenExpression" + } + }, + "workspaces": { + "description": "Workspaces maps workspaces from the pipeline spec to the workspaces declared in the Task.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WorkspacePipelineTaskBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineTask", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineTaskMetadata": { + "description": "PipelineTaskMetadata contains the labels or annotations for an EmbeddedTask", + "type": "object", + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineTaskMetadata", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineTaskParam": { + "description": "PipelineTaskParam is used to provide arbitrary string parameters to a Task.", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "default": "" + }, + "value": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineTaskParam", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineTaskRun": { + "description": "PipelineTaskRun reports the results of running a step in the Task. Each task has the potential to succeed or fail (based on the exit code) and produces logs.", + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineTaskRun", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineTaskRunSpec": { + "description": "PipelineTaskRunSpec can be used to configure specific specs for a concrete Task", + "type": "object", + "properties": { + "computeResources": { + "description": "Compute resources to use for this TaskRun", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "metadata": { + "$ref": "#/definitions/dev.tekton.v1.PipelineTaskMetadata" + }, + "pipelineTaskName": { + "type": "string" + }, + "podTemplate": { + "$ref": "#/definitions/dev.tekton.pod.Template" + }, + "serviceAccountName": { + "type": "string" + }, + "sidecarSpecs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunSidecarSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "stepSpecs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunStepSpec" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineTaskRunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineTaskRunTemplate": { + "description": "PipelineTaskRunTemplate is used to specify run specifications for all Task in pipelinerun.", + "type": "object", + "properties": { + "podTemplate": { + "$ref": "#/definitions/dev.tekton.pod.Template" + }, + "serviceAccountName": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineTaskRunTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PipelineWorkspaceDeclaration": { + "description": "WorkspacePipelineDeclaration creates a named slot in a Pipeline that a PipelineRun is expected to populate with a workspace binding.\n\nDeprecated: use PipelineWorkspaceDeclaration type instead", + "type": "object", + "required": [ + "name" + ], + "properties": { + "description": { + "description": "Description is a human readable string describing how the workspace will be used in the Pipeline. It can be useful to include a bit of detail about which tasks are intended to have access to the data on the workspace.", + "type": "string" + }, + "name": { + "description": "Name is the name of a workspace to be provided by a PipelineRun.", + "type": "string", + "default": "" + }, + "optional": { + "description": "Optional marks a Workspace as not being required in PipelineRuns. By default this field is false and so declared workspaces are required.", + "type": "boolean" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PipelineWorkspaceDeclaration", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.PropertySpec": { + "description": "PropertySpec defines the struct for object keys", + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "PropertySpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Provenance": { + "description": "Provenance contains metadata about resources used in the TaskRun/PipelineRun such as the source from where a remote build definition was fetched. This field aims to carry minimum amoumt of metadata in *Run status so that Tekton Chains can capture them in the provenance.", + "type": "object", + "properties": { + "featureFlags": { + "description": "FeatureFlags identifies the feature flags that were used during the task/pipeline run", + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.apis.config.FeatureFlags" + }, + "refSource": { + "description": "RefSource identifies the source where a remote task/pipeline came from.", + "$ref": "#/definitions/dev.tekton.v1.RefSource" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Provenance", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Ref": { + "description": "Ref can be used to refer to a specific instance of a StepAction.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referenced step", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Ref", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.RefSource": { + "description": "RefSource contains the information that can uniquely identify where a remote built definition came from i.e. Git repositories, Tekton Bundles in OCI registry and hub.", + "type": "object", + "properties": { + "digest": { + "description": "Digest is a collection of cryptographic digests for the contents of the artifact specified by URI. Example: {\"sha1\": \"f99d13e554ffcb696dee719fa85b695cb5b0f428\"}", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "entryPoint": { + "description": "EntryPoint identifies the entry point into the build. This is often a path to a build definition file and/or a target label within that file. Example: \"task/git-clone/0.8/git-clone.yaml\"", + "type": "string" + }, + "uri": { + "description": "URI indicates the identity of the source of the build definition. Example: \"https://github.com/tektoncd/catalog\"", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "RefSource", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.ResolverRef": { + "description": "ResolverRef can be used to refer to a Pipeline or Task in a remote location like a git repo. This feature is in beta and these fields are only available when the beta feature gate is enabled.", + "type": "object", + "properties": { + "params": { + "description": "Params contains the parameters used to identify the referenced Tekton resource. Example entries might include \"repo\" or \"path\" but the set of params ultimately depends on the chosen resolver.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "resolver": { + "description": "Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as \"git\".", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "ResolverRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.ResultRef": { + "description": "ResultRef is a type that represents a reference to a task run result", + "type": "object", + "required": [ + "pipelineTask", + "result", + "resultsIndex", + "property" + ], + "properties": { + "pipelineTask": { + "type": "string", + "default": "" + }, + "property": { + "type": "string", + "default": "" + }, + "result": { + "type": "string", + "default": "" + }, + "resultsIndex": { + "type": "integer", + "format": "int32" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "ResultRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Sidecar": { + "description": "Sidecar has nearly the same data structure as Step but does not have the ability to timeout.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Sidecar's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Sidecar's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "computeResources": { + "description": "ComputeResources required by this Sidecar. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "env": { + "description": "List of environment variables to set in the Sidecar. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the Sidecar. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Image reference name. More info: https://kubernetes.io/docs/concepts/containers/images", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to Sidecar lifecycle events. Cannot be updated.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of Sidecar liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "name": { + "description": "Name of the Sidecar specified as a DNS_LABEL. Each Sidecar in a Task must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string", + "default": "" + }, + "ports": { + "description": "List of ports to expose from the Sidecar. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of Sidecar service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "restartPolicy": { + "description": "RestartPolicy refers to kubernetes RestartPolicy. It can only be set for an initContainer and must have it's policy set to \"Always\". It is currently left optional to help support Kubernetes versions prior to 1.29 when this feature was introduced.", + "type": "string" + }, + "script": { + "description": "Script is the contents of an executable file to execute.\n\nIf Script is not empty, the Step cannot have an Command or Args.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the Sidecar should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod the Sidecar is running in has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stdin": { + "description": "Whether this Sidecar should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the Sidecar will always result in EOF. Default is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on Sidecar start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the Sidecar is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the Sidecar's termination message will be written is mounted into the Sidecar's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the Sidecar status message on both success and failure. FallbackToLogsOnError will use the last chunk of Sidecar log output if the termination message file is empty and the Sidecar exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this Sidecar should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the Sidecar.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Volumes to mount into the Sidecar's filesystem. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Sidecar's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + }, + "workspaces": { + "description": "This is an alpha field. You must set the \"enable-api-fields\" feature flag to \"alpha\" for this field to be supported.\n\nWorkspaces is a list of workspaces from the Task that this Sidecar wants exclusive access to. Adding a workspace to this list means that any other Step or Sidecar that does not also request this Workspace will not have access to it.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WorkspaceUsage" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Sidecar", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.SidecarState": { + "description": "SidecarState reports the results of running a sidecar in a Task.", + "type": "object", + "properties": { + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + }, + "name": { + "type": "string" + }, + "running": { + "description": "Details about a running container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateRunning" + }, + "terminated": { + "description": "Details about a terminated container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateTerminated" + }, + "waiting": { + "description": "Details about a waiting container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateWaiting" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "SidecarState", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.SkippedTask": { + "description": "SkippedTask is used to describe the Tasks that were skipped due to their When Expressions evaluating to False. This is a struct because we are looking into including more details about the When Expressions that caused this Task to be skipped.", + "type": "object", + "required": [ + "name", + "reason" + ], + "properties": { + "name": { + "description": "Name is the Pipeline Task name", + "type": "string", + "default": "" + }, + "reason": { + "description": "Reason is the cause of the PipelineTask being skipped.", + "type": "string", + "default": "" + }, + "whenExpressions": { + "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WhenExpression" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "SkippedTask", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Step": { + "description": "Step runs a subcomponent of a Task", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "computeResources": { + "description": "ComputeResources required by this Step. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "env": { + "description": "List of environment variables to set in the Step. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the Step. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the Step is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Docker image name. More info: https://kubernetes.io/docs/concepts/containers/images", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "name": { + "description": "Name of the Step specified as a DNS_LABEL. Each Step in a Task must have a unique name.", + "type": "string", + "default": "" + }, + "onError": { + "description": "OnError defines the exiting behavior of a container on error can be set to [ continue | stopAndFail ]", + "type": "string" + }, + "params": { + "description": "Params declares parameters passed to this step action.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "ref": { + "description": "Contains the reference to an existing StepAction.", + "$ref": "#/definitions/dev.tekton.v1.Ref" + }, + "results": { + "description": "Results declares StepResults produced by the Step.\n\nThis is field is at an ALPHA stability level and gated by \"enable-step-actions\" feature flag.\n\nIt can be used in an inlined Step when used to store Results to $(step.results.resultName.path). It cannot be used when referencing StepActions using [v1.Step.Ref]. The Results declared by the StepActions will be stored here instead.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.StepResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "script": { + "description": "Script is the contents of an executable file to execute.\n\nIf Script is not empty, the Step cannot have an Command and the Args will be passed to the Script.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "stderrConfig": { + "description": "Stores configuration for the stderr stream of the step.", + "$ref": "#/definitions/dev.tekton.v1.StepOutputConfig" + }, + "stdoutConfig": { + "description": "Stores configuration for the stdout stream of the step.", + "$ref": "#/definitions/dev.tekton.v1.StepOutputConfig" + }, + "timeout": { + "description": "Timeout is the time after which the step times out. Defaults to never. Refer to Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the Step.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Volumes to mount into the Step's filesystem. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "when": { + "description": "When is a list of when expressions that need to be true for the task to run", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WhenExpression" + } + }, + "workingDir": { + "description": "Step's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + }, + "workspaces": { + "description": "This is an alpha field. You must set the \"enable-api-fields\" feature flag to \"alpha\" for this field to be supported.\n\nWorkspaces is a list of workspaces from the Task that this Step wants exclusive access to. Adding a workspace to this list means that any other Step or Sidecar that does not also request this Workspace will not have access to it.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WorkspaceUsage" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Step", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.StepOutputConfig": { + "description": "StepOutputConfig stores configuration for a step output stream.", + "type": "object", + "properties": { + "path": { + "description": "Path to duplicate stdout stream to on container's local filesystem.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "StepOutputConfig", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.StepResult": { + "description": "StepResult used to describe the Results of a Step.\n\nThis is field is at an BETA stability level and gated by \"enable-step-actions\" feature flag.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "description": { + "description": "Description is a human-readable description of the result", + "type": "string" + }, + "name": { + "description": "Name the given name", + "type": "string", + "default": "" + }, + "properties": { + "description": "Properties is the JSON Schema properties to support key-value pairs results.", + "type": "object", + "additionalProperties": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PropertySpec" + } + }, + "type": { + "description": "The possible types are 'string', 'array', and 'object', with 'string' as the default.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "StepResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.StepState": { + "description": "StepState reports the results of running a step in a Task.", + "type": "object", + "properties": { + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + }, + "inputs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Artifact" + } + }, + "name": { + "type": "string" + }, + "outputs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Artifact" + } + }, + "provenance": { + "$ref": "#/definitions/dev.tekton.v1.Provenance" + }, + "results": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunResult" + } + }, + "running": { + "description": "Details about a running container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateRunning" + }, + "terminated": { + "description": "Details about a terminated container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateTerminated" + }, + "terminationReason": { + "type": "string" + }, + "waiting": { + "description": "Details about a waiting container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateWaiting" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "StepState", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.StepTemplate": { + "description": "StepTemplate is a template for a Step", + "type": "object", + "properties": { + "args": { + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Step's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Step's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "computeResources": { + "description": "ComputeResources required by this Step. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "env": { + "description": "List of environment variables to set in the Step. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the Step. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the Step is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Image reference name. More info: https://kubernetes.io/docs/concepts/containers/images", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the Step.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Volumes to mount into the Step's filesystem. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Step's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "StepTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.Task": { + "description": "Task represents a collection of sequential steps that are run as part of a Pipeline using a set of inputs and producing a set of outputs. Tasks execute when TaskRuns are created that provide the input parameters and resources and output resources the Task requires.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Task from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskSpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "Task", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskBreakpoints": { + "description": "TaskBreakpoints defines the breakpoint config for a particular Task", + "type": "object", + "properties": { + "beforeSteps": { + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "onFailure": { + "description": "if enabled, pause TaskRun on failure of a step failed step will not exit", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskBreakpoints", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskList": { + "description": "TaskList contains a list of Task", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Task" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRef": { + "description": "TaskRef can be used to refer to a specific instance of a task.", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent Note: A Task with non-empty APIVersion and Kind is considered a Custom Task", + "type": "string" + }, + "kind": { + "description": "TaskKind indicates the Kind of the Task: 1. Namespaced Task when Kind is set to \"Task\". If Kind is \"\", it defaults to \"Task\". 2. Custom Task when Kind is non-empty and APIVersion is non-empty", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskResult": { + "description": "TaskResult used to describe the results of a task", + "type": "object", + "required": [ + "name" + ], + "properties": { + "description": { + "description": "Description is a human-readable description of the result", + "type": "string" + }, + "name": { + "description": "Name the given name", + "type": "string", + "default": "" + }, + "properties": { + "description": "Properties is the JSON Schema properties to support key-value pairs results.", + "type": "object", + "additionalProperties": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.PropertySpec" + } + }, + "type": { + "description": "Type is the user-specified type of the result. The possible type is currently \"string\" and will support \"array\" in following work.", + "type": "string" + }, + "value": { + "description": "Value the expression used to retrieve the value of the result from an underlying Step.", + "$ref": "#/definitions/dev.tekton.v1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRun": { + "description": "TaskRun represents a single execution of a Task. TaskRuns are how the steps specified in a Task are executed; they specify the parameters and resources used to run the steps in a Task.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRun", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRunDebug": { + "description": "TaskRunDebug defines the breakpoint config for a particular TaskRun", + "type": "object", + "properties": { + "breakpoints": { + "$ref": "#/definitions/dev.tekton.v1.TaskBreakpoints" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRunDebug", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRunInputs": { + "description": "TaskRunInputs holds the input values that this task was invoked with.", + "type": "object", + "properties": { + "params": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Param" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRunInputs", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRunList": { + "description": "TaskRunList contains a list of TaskRun", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRun" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRunList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRunResult": { + "description": "TaskRunStepResult is a type alias of TaskRunResult", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name the given name", + "type": "string", + "default": "" + }, + "type": { + "description": "Type is the user-specified type of the result. The possible type is currently \"string\" and will support \"array\" in following work.", + "type": "string" + }, + "value": { + "description": "Value the given value of the result", + "$ref": "#/definitions/dev.tekton.v1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRunResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRunSidecarSpec": { + "description": "TaskRunSidecarSpec is used to override the values of a Sidecar in the corresponding Task.", + "type": "object", + "required": [ + "name", + "computeResources" + ], + "properties": { + "computeResources": { + "description": "The resource requirements to apply to the Sidecar.", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "name": { + "description": "The name of the Sidecar to override.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRunSidecarSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRunSpec": { + "description": "TaskRunSpec defines the desired state of TaskRun", + "type": "object", + "properties": { + "computeResources": { + "description": "Compute resources to use for this TaskRun", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "debug": { + "$ref": "#/definitions/dev.tekton.v1.TaskRunDebug" + }, + "params": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "podTemplate": { + "description": "PodTemplate holds pod specific configuration", + "$ref": "#/definitions/dev.tekton.pod.Template" + }, + "retries": { + "description": "Retries represents how many times this TaskRun should be retried in the event of task failure.", + "type": "integer", + "format": "int32" + }, + "serviceAccountName": { + "type": "string", + "default": "" + }, + "sidecarSpecs": { + "description": "Specs to apply to Sidecars in this TaskRun. If a field is specified in both a Sidecar and a SidecarSpec, the value from the SidecarSpec will be used. This field is only supported when the alpha feature gate is enabled.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunSidecarSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "status": { + "description": "Used for cancelling a TaskRun (and maybe more later on)", + "type": "string" + }, + "statusMessage": { + "description": "Status message for cancellation.", + "type": "string" + }, + "stepSpecs": { + "description": "Specs to apply to Steps in this TaskRun. If a field is specified in both a Step and a StepSpec, the value from the StepSpec will be used. This field is only supported when the alpha feature gate is enabled.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunStepSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskRef": { + "description": "no more than one of the TaskRef and TaskSpec may be specified.", + "$ref": "#/definitions/dev.tekton.v1.TaskRef" + }, + "taskSpec": { + "description": "Specifying PipelineSpec can be disabled by setting `disable-inline-spec` feature flag..", + "$ref": "#/definitions/dev.tekton.v1.TaskSpec" + }, + "timeout": { + "description": "Time after which one retry attempt times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "workspaces": { + "description": "Workspaces is a list of WorkspaceBindings from volumes to workspaces.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WorkspaceBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRunStatus": { + "description": "TaskRunStatus defines the observed state of TaskRun", + "type": "object", + "required": [ + "podName" + ], + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "artifacts": { + "description": "Artifacts are the list of artifacts written out by the task's containers", + "$ref": "#/definitions/dev.tekton.v1.Artifacts", + "x-kubernetes-list-type": "atomic" + }, + "completionTime": { + "description": "CompletionTime is the time the build completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "podName": { + "description": "PodName is the name of the pod responsible for executing this task's steps.", + "type": "string", + "default": "" + }, + "provenance": { + "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", + "$ref": "#/definitions/dev.tekton.v1.Provenance" + }, + "results": { + "description": "Results are the list of results written out by the task's containers", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "retriesStatus": { + "description": "RetriesStatus contains the history of TaskRunStatus in case of a retry in order to keep record of failures. All TaskRunStatus stored in RetriesStatus will have no date within the RetriesStatus as is redundant.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunStatus" + }, + "x-kubernetes-list-type": "atomic" + }, + "sidecars": { + "description": "The list has one entry per sidecar in the manifest. Each entry is represents the imageid of the corresponding sidecar.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.SidecarState" + }, + "x-kubernetes-list-type": "atomic" + }, + "spanContext": { + "description": "SpanContext contains tracing span context fields", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "startTime": { + "description": "StartTime is the time the build is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "steps": { + "description": "Steps describes the state of each build step container.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.StepState" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskSpec": { + "description": "TaskSpec contains the Spec from the dereferenced Task definition used to instantiate this TaskRun.", + "$ref": "#/definitions/dev.tekton.v1.TaskSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRunStatusFields": { + "description": "TaskRunStatusFields holds the fields of TaskRun's status. This is defined separately and inlined so that other types can readily consume these fields via duck typing.", + "type": "object", + "required": [ + "podName" + ], + "properties": { + "artifacts": { + "description": "Artifacts are the list of artifacts written out by the task's containers", + "$ref": "#/definitions/dev.tekton.v1.Artifacts", + "x-kubernetes-list-type": "atomic" + }, + "completionTime": { + "description": "CompletionTime is the time the build completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "podName": { + "description": "PodName is the name of the pod responsible for executing this task's steps.", + "type": "string", + "default": "" + }, + "provenance": { + "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", + "$ref": "#/definitions/dev.tekton.v1.Provenance" + }, + "results": { + "description": "Results are the list of results written out by the task's containers", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "retriesStatus": { + "description": "RetriesStatus contains the history of TaskRunStatus in case of a retry in order to keep record of failures. All TaskRunStatus stored in RetriesStatus will have no date within the RetriesStatus as is redundant.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskRunStatus" + }, + "x-kubernetes-list-type": "atomic" + }, + "sidecars": { + "description": "The list has one entry per sidecar in the manifest. Each entry is represents the imageid of the corresponding sidecar.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.SidecarState" + }, + "x-kubernetes-list-type": "atomic" + }, + "spanContext": { + "description": "SpanContext contains tracing span context fields", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "startTime": { + "description": "StartTime is the time the build is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "steps": { + "description": "Steps describes the state of each build step container.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.StepState" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskSpec": { + "description": "TaskSpec contains the Spec from the dereferenced Task definition used to instantiate this TaskRun.", + "$ref": "#/definitions/dev.tekton.v1.TaskSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRunStatusFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskRunStepSpec": { + "description": "TaskRunStepSpec is used to override the values of a Step in the corresponding Task.", + "type": "object", + "required": [ + "name", + "computeResources" + ], + "properties": { + "computeResources": { + "description": "The resource requirements to apply to the Step.", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "name": { + "description": "The name of the Step to override.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskRunStepSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TaskSpec": { + "description": "TaskSpec defines the desired state of Task.", + "type": "object", + "properties": { + "description": { + "description": "Description is a user-facing description of the task that may be used to populate a UI.", + "type": "string" + }, + "displayName": { + "description": "DisplayName is a user-facing name of the task that may be used to populate a UI.", + "type": "string" + }, + "params": { + "description": "Params is a list of input parameters required to run the task. Params must be supplied as inputs in TaskRuns unless they declare a default value.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results are values that this Task can output", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.TaskResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "sidecars": { + "description": "Sidecars are run alongside the Task's step containers. They begin before the steps start and end after the steps complete.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Sidecar" + }, + "x-kubernetes-list-type": "atomic" + }, + "stepTemplate": { + "description": "StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.", + "$ref": "#/definitions/dev.tekton.v1.StepTemplate" + }, + "steps": { + "description": "Steps are the steps of the build; each step is run sequentially with the source mounted into /workspace.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.Step" + }, + "x-kubernetes-list-type": "atomic" + }, + "volumes": { + "description": "Volumes is a collection of volumes that are available to mount into the steps of the build.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "x-kubernetes-list-type": "atomic" + }, + "workspaces": { + "description": "Workspaces are the volumes that this Task requires.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.WorkspaceDeclaration" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TaskSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.TimeoutFields": { + "description": "TimeoutFields allows granular specification of pipeline, task, and finally timeouts", + "type": "object", + "properties": { + "finally": { + "description": "Finally sets the maximum allowed duration of this pipeline's finally", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "pipeline": { + "description": "Pipeline sets the maximum allowed duration for execution of the entire pipeline. The sum of individual timeouts for tasks and finally must not exceed this value.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "tasks": { + "description": "Tasks sets the maximum allowed duration of this pipeline's tasks", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "TimeoutFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.WhenExpression": { + "description": "WhenExpression allows a PipelineTask to declare expressions to be evaluated before the Task is run to determine whether the Task should be executed or skipped", + "type": "object", + "properties": { + "cel": { + "description": "CEL is a string of Common Language Expression, which can be used to conditionally execute the task based on the result of the expression evaluation More info about CEL syntax: https://github.com/google/cel-spec/blob/master/doc/langdef.md", + "type": "string" + }, + "input": { + "description": "Input is the string for guard checking which can be a static input or an output from a parent Task", + "type": "string" + }, + "operator": { + "description": "Operator that represents an Input's relationship to the values", + "type": "string" + }, + "values": { + "description": "Values is an array of strings, which is compared against the input, for guard checking It must be non-empty", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "WhenExpression", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.WorkspaceBinding": { + "description": "WorkspaceBinding maps a Task's declared workspace to a Volume.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "configMap": { + "description": "ConfigMap represents a configMap that should populate this workspace.", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource" + }, + "csi": { + "description": "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", + "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource" + }, + "emptyDir": { + "description": "EmptyDir represents a temporary directory that shares a Task's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir Either this OR PersistentVolumeClaim can be used.", + "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource" + }, + "name": { + "description": "Name is the name of the workspace populated by the volume.", + "type": "string", + "default": "" + }, + "persistentVolumeClaim": { + "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Either this OR EmptyDir can be used.", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" + }, + "projected": { + "description": "Projected represents a projected volume that should populate this workspace.", + "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource" + }, + "secret": { + "description": "Secret represents a secret that should populate this workspace.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource" + }, + "subPath": { + "description": "SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).", + "type": "string" + }, + "volumeClaimTemplate": { + "description": "VolumeClaimTemplate is a template for a claim that will be created in the same namespace. The PipelineRun controller is responsible for creating a unique claim for each instance of PipelineRun.", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "WorkspaceBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.WorkspaceDeclaration": { + "description": "WorkspaceDeclaration is a declaration of a volume that a Task requires.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "description": { + "description": "Description is an optional human readable description of this volume.", + "type": "string" + }, + "mountPath": { + "description": "MountPath overrides the directory that the volume will be made available at.", + "type": "string" + }, + "name": { + "description": "Name is the name by which you can bind the volume at runtime.", + "type": "string", + "default": "" + }, + "optional": { + "description": "Optional marks a Workspace as not being required in TaskRuns. By default this field is false and so declared workspaces are required.", + "type": "boolean" + }, + "readOnly": { + "description": "ReadOnly dictates whether a mounted volume is writable. By default this field is false and so mounted volumes are writable.", + "type": "boolean" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "WorkspaceDeclaration", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.WorkspacePipelineTaskBinding": { + "description": "WorkspacePipelineTaskBinding describes how a workspace passed into the pipeline should be mapped to a task's declared workspace.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is the name of the workspace as declared by the task", + "type": "string", + "default": "" + }, + "subPath": { + "description": "SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).", + "type": "string" + }, + "workspace": { + "description": "Workspace is the name of the workspace declared by the pipeline", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "WorkspacePipelineTaskBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1.WorkspaceUsage": { + "description": "WorkspaceUsage is used by a Step or Sidecar to declare that it wants isolated access to a Workspace defined in a Task.", + "type": "object", + "required": [ + "name", + "mountPath" + ], + "properties": { + "mountPath": { + "description": "MountPath is the path that the workspace should be mounted to inside the Step or Sidecar, overriding any MountPath specified in the Task's WorkspaceDeclaration.", + "type": "string", + "default": "" + }, + "name": { + "description": "Name is the name of the workspace this Step or Sidecar wants access to.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1", + "Kind": "WorkspaceUsage", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.Authority": { + "description": "The Authority block defines the keys for validating signatures.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "key": { + "description": "Key contains the public key to validate the resource.", + "$ref": "#/definitions/dev.tekton.v1alpha1.KeyRef" + }, + "name": { + "description": "Name is the name for this authority.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "Authority", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.EmbeddedRunSpec": { + "description": "EmbeddedRunSpec allows custom task definitions to be embedded", + "type": "object", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTaskMetadata" + }, + "spec": { + "description": "Spec is a specification of a custom task", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "EmbeddedRunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.KeyRef": { + "description": "KeyRef defines the reference to a public key", + "type": "object", + "properties": { + "data": { + "description": "Data contains the inline public key.", + "type": "string" + }, + "hashAlgorithm": { + "description": "HashAlgorithm always defaults to sha256 if the algorithm hasn't been explicitly set", + "type": "string" + }, + "kms": { + "description": "KMS contains the KMS url of the public key Supported formats differ based on the KMS system used. One example of a KMS url could be: gcpkms://projects/[PROJECT]/locations/[LOCATION]\u003e/keyRings/[KEYRING]/cryptoKeys/[KEY]/cryptoKeyVersions/[KEY_VERSION] For more examples please refer https://docs.sigstore.dev/cosign/kms_support. Note that the KMS is not supported yet.", + "type": "string" + }, + "secretRef": { + "description": "SecretRef sets a reference to a secret with the key.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretReference" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "KeyRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.PipelineResource": { + "description": "PipelineResource describes a resource that is an input to or output from a Task.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the PipelineResource from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.PipelineResourceSpec" + }, + "status": { + "description": "Status is used to communicate the observed state of the PipelineResource from the controller, but was unused as there is no controller for PipelineResource.", + "$ref": "#/definitions/dev.tekton.v1alpha1.PipelineResourceStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "PipelineResource", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.PipelineResourceList": { + "description": "PipelineResourceList contains a list of PipelineResources\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.PipelineResource" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "PipelineResourceList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.PipelineResourceSpec": { + "description": "PipelineResourceSpec defines an individual resources used in the pipeline.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "type", + "params" + ], + "properties": { + "description": { + "description": "Description is a user-facing description of the resource that may be used to populate a UI.", + "type": "string" + }, + "params": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.ResourceParam" + }, + "x-kubernetes-list-type": "atomic" + }, + "secrets": { + "description": "Secrets to fetch to populate some of resource fields", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.SecretParam" + }, + "x-kubernetes-list-type": "atomic" + }, + "type": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "PipelineResourceSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.PipelineResourceStatus": { + "description": "PipelineResourceStatus does not contain anything because PipelineResources on their own do not have a status\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "PipelineResourceStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.ResourceDeclaration": { + "description": "ResourceDeclaration defines an input or output PipelineResource declared as a requirement by another type such as a Task or Condition. The Name field will be used to refer to these PipelineResources within the type's definition, and when provided as an Input, the Name will be the path to the volume mounted containing this PipelineResource as an input (e.g. an input Resource named `workspace` will be mounted at `/workspace`).\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "description": { + "description": "Description is a user-facing description of the declared resource that may be used to populate a UI.", + "type": "string" + }, + "name": { + "description": "Name declares the name by which a resource is referenced in the definition. Resources may be referenced by name in the definition of a Task's steps.", + "type": "string", + "default": "" + }, + "optional": { + "description": "Optional declares the resource as optional. By default optional is set to false which makes a resource required. optional: true - the resource is considered optional optional: false - the resource is considered required (equivalent of not specifying it)", + "type": "boolean" + }, + "targetPath": { + "description": "TargetPath is the path in workspace directory where the resource will be copied.", + "type": "string" + }, + "type": { + "description": "Type is the type of this resource;", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "ResourceDeclaration", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.ResourceParam": { + "description": "ResourceParam declares a string value to use for the parameter called Name, and is used in the specific context of PipelineResources.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "default": "" + }, + "value": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "ResourceParam", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.ResourcePattern": { + "description": "ResourcePattern defines the pattern of the resource source", + "type": "object", + "required": [ + "pattern" + ], + "properties": { + "pattern": { + "description": "Pattern defines a resource pattern. Regex is created to filter resources based on `Pattern` Example patterns: GitHub resource: https://github.com/tektoncd/catalog.git, https://github.com/tektoncd/* Bundle resource: gcr.io/tekton-releases/catalog/upstream/git-clone, gcr.io/tekton-releases/catalog/upstream/* Hub resource: https://artifacthub.io/*,", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "ResourcePattern", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.Run": { + "description": "Run represents a single execution of a Custom Task.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.RunSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.RunStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "Run", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.RunList": { + "description": "RunList contains a list of Run", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.Run" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "RunList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.RunResult": { + "description": "RunResult used to describe the results of a task", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name the given name", + "type": "string", + "default": "" + }, + "value": { + "description": "Value the given value of the result", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "RunResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.RunSpec": { + "description": "RunSpec defines the desired state of Run", + "type": "object", + "properties": { + "params": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + } + }, + "podTemplate": { + "description": "PodTemplate holds pod specific configuration", + "$ref": "#/definitions/dev.tekton.pod.Template" + }, + "ref": { + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRef" + }, + "retries": { + "description": "Used for propagating retries count to custom tasks", + "type": "integer", + "format": "int32" + }, + "serviceAccountName": { + "type": "string", + "default": "" + }, + "spec": { + "description": "Spec is a specification of a custom task", + "$ref": "#/definitions/dev.tekton.v1alpha1.EmbeddedRunSpec" + }, + "status": { + "description": "Used for cancelling a run (and maybe more later on)", + "type": "string" + }, + "statusMessage": { + "description": "Status message for cancellation.", + "type": "string" + }, + "timeout": { + "description": "Time after which the custom-task times out. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "workspaces": { + "description": "Workspaces is a list of WorkspaceBindings from volumes to workspaces.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WorkspaceBinding" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "RunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.RunStatus": { + "description": "RunStatus defines the observed state of Run.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "completionTime": { + "description": "CompletionTime is the time the build completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "extraFields": { + "description": "ExtraFields holds arbitrary fields provided by the custom task controller.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "results": { + "description": "Results reports any output result values to be consumed by later tasks in a pipeline.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.RunResult" + } + }, + "retriesStatus": { + "description": "RetriesStatus contains the history of RunStatus, in case of a retry.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.RunStatus" + } + }, + "startTime": { + "description": "StartTime is the time the build is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "RunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.RunStatusFields": { + "description": "RunStatusFields holds the fields of Run's status. This is defined separately and inlined so that other types can readily consume these fields via duck typing.", + "type": "object", + "properties": { + "completionTime": { + "description": "CompletionTime is the time the build completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "extraFields": { + "description": "ExtraFields holds arbitrary fields provided by the custom task controller.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + }, + "results": { + "description": "Results reports any output result values to be consumed by later tasks in a pipeline.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.RunResult" + } + }, + "retriesStatus": { + "description": "RetriesStatus contains the history of RunStatus, in case of a retry.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.RunStatus" + } + }, + "startTime": { + "description": "StartTime is the time the build is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "RunStatusFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.SecretParam": { + "description": "SecretParam indicates which secret can be used to populate a field of the resource\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "fieldName", + "secretKey", + "secretName" + ], + "properties": { + "fieldName": { + "type": "string", + "default": "" + }, + "secretKey": { + "type": "string", + "default": "" + }, + "secretName": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "SecretParam", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.StepAction": { + "description": "StepAction represents the actionable components of Step. The Step can only reference it from the cluster or using remote resolution.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Step from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.StepActionSpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "StepAction", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.StepActionList": { + "description": "StepActionList contains a list of StepActions", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.StepAction" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "StepActionList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.StepActionSpec": { + "description": "StepActionSpec contains the actionable components of a step.", + "type": "object", + "properties": { + "args": { + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "description": { + "description": "Description is a user-facing description of the stepaction that may be used to populate a UI.", + "type": "string" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "image": { + "description": "Image reference name to run for this StepAction. More info: https://kubernetes.io/docs/concepts/containers/images", + "type": "string" + }, + "params": { + "description": "Params is a list of input parameters required to run the stepAction. Params must be supplied as inputs in Steps unless they declare a defaultvalue.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results are values that this StepAction can output", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.StepResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "script": { + "description": "Script is the contents of an executable file to execute.\n\nIf Script is not empty, the Step cannot have an Command and the Args will be passed to the Script.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ The value set in StepAction will take precedence over the value from Task.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "volumeMounts": { + "description": "Volumes to mount into the Step's filesystem. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Step's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "StepActionSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.VerificationPolicy": { + "description": "VerificationPolicy defines the rules to verify Tekton resources. VerificationPolicy can config the mapping from resources to a list of public keys, so when verifying the resources we can use the corresponding public keys.", + "type": "object", + "required": [ + "spec" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the VerificationPolicy.", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.VerificationPolicySpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "VerificationPolicy", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.VerificationPolicyList": { + "description": "VerificationPolicyList contains a list of VerificationPolicy", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.VerificationPolicy" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "VerificationPolicyList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1alpha1.VerificationPolicySpec": { + "description": "VerificationPolicySpec defines the patterns and authorities.", + "type": "object", + "required": [ + "resources", + "authorities" + ], + "properties": { + "authorities": { + "description": "Authorities defines the rules for validating signatures.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.Authority" + } + }, + "mode": { + "description": "Mode controls whether a failing policy will fail the taskrun/pipelinerun, or only log the warnings enforce - fail the taskrun/pipelinerun if verification fails (default) warn - don't fail the taskrun/pipelinerun if verification fails but log warnings", + "type": "string" + }, + "resources": { + "description": "Resources defines the patterns of resources sources that should be subject to this policy. For example, we may want to apply this Policy from a certain GitHub repo. Then the ResourcesPattern should be valid regex. E.g. If using gitresolver, and we want to config keys from a certain git repo. `ResourcesPattern` can be `https://github.com/tektoncd/catalog.git`, we will use regex to filter out those resources.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1alpha1.ResourcePattern" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1alpha1", + "Kind": "VerificationPolicySpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Artifact": { + "description": "TaskRunStepArtifact represents an artifact produced or used by a step within a task run. It directly uses the Artifact type for its structure.", + "type": "object", + "properties": { + "buildOutput": { + "description": "Indicate if the artifact is a build output or a by-product", + "type": "boolean" + }, + "name": { + "description": "The artifact's identifying category name", + "type": "string" + }, + "values": { + "description": "A collection of values related to the artifact", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.ArtifactValue" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Artifact", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.ArtifactValue": { + "description": "ArtifactValue represents a specific value or data element within an Artifact.", + "type": "object", + "properties": { + "digest": { + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "uri": { + "description": "Algorithm-specific digests for verifying the content (e.g., SHA256)", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "ArtifactValue", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Artifacts": { + "description": "Artifacts represents the collection of input and output artifacts associated with a task run or a similar process. Artifacts in this context are units of data or resources that the process either consumes as input or produces as output.", + "type": "object", + "properties": { + "inputs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Artifact" + } + }, + "outputs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Artifact" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Artifacts", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.ChildStatusReference": { + "description": "ChildStatusReference is used to point to the statuses of individual TaskRuns and Runs within this PipelineRun.", + "type": "object", + "properties": { + "apiVersion": { + "type": "string" + }, + "displayName": { + "description": "DisplayName is a user-facing name of the pipelineTask that may be used to populate a UI.", + "type": "string" + }, + "kind": { + "type": "string" + }, + "name": { + "description": "Name is the name of the TaskRun or Run this is referencing.", + "type": "string" + }, + "pipelineTaskName": { + "description": "PipelineTaskName is the name of the PipelineTask this is referencing.", + "type": "string" + }, + "whenExpressions": { + "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WhenExpression" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "ChildStatusReference", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.CloudEventDelivery": { + "description": "CloudEventDelivery is the target of a cloud event along with the state of delivery.", + "type": "object", + "properties": { + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CloudEventDeliveryState" + }, + "target": { + "description": "Target points to an addressable", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "CloudEventDelivery", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.CloudEventDeliveryState": { + "description": "CloudEventDeliveryState reports the state of a cloud event to be sent.", + "type": "object", + "required": [ + "message", + "retryCount" + ], + "properties": { + "condition": { + "description": "Current status", + "type": "string" + }, + "message": { + "description": "Error is the text of error (if any)", + "type": "string", + "default": "" + }, + "retryCount": { + "description": "RetryCount is the number of attempts of sending the cloud event", + "type": "integer", + "format": "int32", + "default": 0 + }, + "sentAt": { + "description": "SentAt is the time at which the last attempt to send the event was made", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "CloudEventDeliveryState", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.ClusterTask": { + "description": "ClusterTask is a Task with a cluster scope. ClusterTasks are used to represent Tasks that should be publicly addressable from any namespace in the cluster.\n\nDeprecated: Please use the cluster resolver instead.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Task from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskSpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "ClusterTask", + "Scope": "Clustered" + } + }, + "dev.tekton.v1beta1.ClusterTaskList": { + "description": "ClusterTaskList contains a list of ClusterTask", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.ClusterTask" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "ClusterTaskList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.ConfigSource": { + "description": "ConfigSource contains the information that can uniquely identify where a remote built definition came from i.e. Git repositories, Tekton Bundles in OCI registry and hub.", + "type": "object", + "properties": { + "digest": { + "description": "Digest is a collection of cryptographic digests for the contents of the artifact specified by URI. Example: {\"sha1\": \"f99d13e554ffcb696dee719fa85b695cb5b0f428\"}", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "entryPoint": { + "description": "EntryPoint identifies the entry point into the build. This is often a path to a build definition file and/or a target label within that file. Example: \"task/git-clone/0.8/git-clone.yaml\"", + "type": "string" + }, + "uri": { + "description": "URI indicates the identity of the source of the build definition. Example: \"https://github.com/tektoncd/catalog\"", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "ConfigSource", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.CustomRun": { + "description": "CustomRun represents a single execution of a Custom Task.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CustomRunSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CustomRunStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "CustomRun", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.CustomRunList": { + "description": "CustomRunList contains a list of CustomRun", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CustomRun" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "CustomRunList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.CustomRunResult": { + "description": "CustomRunResult used to describe the results of a task", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name the given name", + "type": "string", + "default": "" + }, + "value": { + "description": "Value the given value of the result", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "CustomRunResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.CustomRunSpec": { + "description": "CustomRunSpec defines the desired state of CustomRun", + "type": "object", + "properties": { + "customRef": { + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRef" + }, + "customSpec": { + "description": "Spec is a specification of a custom task", + "$ref": "#/definitions/dev.tekton.v1beta1.EmbeddedCustomRunSpec" + }, + "params": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "retries": { + "description": "Used for propagating retries count to custom tasks", + "type": "integer", + "format": "int32" + }, + "serviceAccountName": { + "type": "string", + "default": "" + }, + "status": { + "description": "Used for cancelling a customrun (and maybe more later on)", + "type": "string" + }, + "statusMessage": { + "description": "Status message for cancellation.", + "type": "string" + }, + "timeout": { + "description": "Time after which the custom-task times out. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "workspaces": { + "description": "Workspaces is a list of WorkspaceBindings from volumes to workspaces.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WorkspaceBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "CustomRunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.CustomRunStatus": { + "description": "CustomRunStatus defines the observed state of CustomRun.", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "completionTime": { + "description": "CompletionTime is the time the build completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "extraFields": { + "description": "ExtraFields holds arbitrary fields provided by the custom task controller.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "results": { + "description": "Results reports any output result values to be consumed by later tasks in a pipeline.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CustomRunResult" + } + }, + "retriesStatus": { + "description": "RetriesStatus contains the history of CustomRunStatus, in case of a retry.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CustomRunStatus" + } + }, + "startTime": { + "description": "StartTime is the time the build is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "CustomRunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.CustomRunStatusFields": { + "description": "CustomRunStatusFields holds the fields of CustomRun's status. This is defined separately and inlined so that other types can readily consume these fields via duck typing.", + "type": "object", + "properties": { + "completionTime": { + "description": "CompletionTime is the time the build completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "extraFields": { + "description": "ExtraFields holds arbitrary fields provided by the custom task controller.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + }, + "results": { + "description": "Results reports any output result values to be consumed by later tasks in a pipeline.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CustomRunResult" + } + }, + "retriesStatus": { + "description": "RetriesStatus contains the history of CustomRunStatus, in case of a retry.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CustomRunStatus" + } + }, + "startTime": { + "description": "StartTime is the time the build is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "CustomRunStatusFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.EmbeddedCustomRunSpec": { + "description": "EmbeddedCustomRunSpec allows custom task definitions to be embedded", + "type": "object", + "properties": { + "apiVersion": { + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTaskMetadata" + }, + "spec": { + "description": "Spec is a specification of a custom task", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "EmbeddedCustomRunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.EmbeddedTask": { + "description": "EmbeddedTask is used to define a Task inline within a Pipeline's PipelineTasks.", + "type": "object", + "properties": { + "apiVersion": { + "type": "string" + }, + "description": { + "description": "Description is a user-facing description of the task that may be used to populate a UI.", + "type": "string" + }, + "displayName": { + "description": "DisplayName is a user-facing name of the task that may be used to populate a UI.", + "type": "string" + }, + "kind": { + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTaskMetadata" + }, + "params": { + "description": "Params is a list of input parameters required to run the task. Params must be supplied as inputs in TaskRuns unless they declare a default value.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Resources is a list input and output resource to run the task Resources are represented in TaskRuns as bindings to instances of PipelineResources.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResources" + }, + "results": { + "description": "Results are values that this Task can output", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "sidecars": { + "description": "Sidecars are run alongside the Task's step containers. They begin before the steps start and end after the steps complete.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Sidecar" + }, + "x-kubernetes-list-type": "atomic" + }, + "spec": { + "description": "Spec is a specification of a custom task", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.runtime.RawExtension" + }, + "stepTemplate": { + "description": "StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.", + "$ref": "#/definitions/dev.tekton.v1beta1.StepTemplate" + }, + "steps": { + "description": "Steps are the steps of the build; each step is run sequentially with the source mounted into /workspace.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Step" + }, + "x-kubernetes-list-type": "atomic" + }, + "volumes": { + "description": "Volumes is a collection of volumes that are available to mount into the steps of the build.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "x-kubernetes-list-type": "atomic" + }, + "workspaces": { + "description": "Workspaces are the volumes that this Task requires.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WorkspaceDeclaration" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "EmbeddedTask", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.IncludeParams": { + "description": "IncludeParams allows passing in a specific combinations of Parameters into the Matrix.", + "type": "object", + "properties": { + "name": { + "description": "Name the specified combination", + "type": "string" + }, + "params": { + "description": "Params takes only `Parameters` of type `\"string\"` The names of the `params` must match the names of the `params` in the underlying `Task`", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "IncludeParams", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.InternalTaskModifier": { + "description": "InternalTaskModifier implements TaskModifier for resources that are built-in to Tekton Pipelines.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "stepsToPrepend", + "stepsToAppend", + "volumes" + ], + "properties": { + "stepsToAppend": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Step" + }, + "x-kubernetes-list-type": "atomic" + }, + "stepsToPrepend": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Step" + }, + "x-kubernetes-list-type": "atomic" + }, + "volumes": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "InternalTaskModifier", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Matrix": { + "description": "Matrix is used to fan out Tasks in a Pipeline", + "type": "object", + "properties": { + "include": { + "description": "Include is a list of IncludeParams which allows passing in specific combinations of Parameters into the Matrix.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.IncludeParams" + }, + "x-kubernetes-list-type": "atomic" + }, + "params": { + "description": "Params is a list of parameters used to fan out the pipelineTask Params takes only `Parameters` of type `\"array\"` Each array element is supplied to the `PipelineTask` by substituting `params` of type `\"string\"` in the underlying `Task`. The names of the `params` in the `Matrix` must match the names of the `params` in the underlying `Task` that they will be substituting.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Matrix", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Param": { + "description": "Param declares an ParamValues to use for the parameter called name.", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "default": "" + }, + "value": { + "$ref": "#/definitions/dev.tekton.v1beta1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Param", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.ParamSpec": { + "description": "ParamSpec defines arbitrary parameters needed beyond typed inputs (such as resources). Parameter values are provided by users as inputs on a TaskRun or PipelineRun.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "default": { + "description": "Default is the value a parameter takes if no input value is supplied. If default is set, a Task may be executed without a supplied value for the parameter.", + "$ref": "#/definitions/dev.tekton.v1beta1.ParamValue" + }, + "description": { + "description": "Description is a user-facing description of the parameter that may be used to populate a UI.", + "type": "string" + }, + "enum": { + "description": "Enum declares a set of allowed param input values for tasks/pipelines that can be validated. If Enum is not set, no input validation is performed for the param.", + "type": "array", + "items": { + "type": "string", + "default": "" + } + }, + "name": { + "description": "Name declares the name by which a parameter is referenced.", + "type": "string", + "default": "" + }, + "properties": { + "description": "Properties is the JSON Schema properties to support key-value pairs parameter.", + "type": "object", + "additionalProperties": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PropertySpec" + } + }, + "type": { + "description": "Type is the user-specified type of the parameter. The possible types are currently \"string\", \"array\" and \"object\", and \"string\" is the default.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "ParamSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.ParamValue": { + "description": "ResultValue is a type alias of ParamValue", + "type": "object", + "required": [ + "Type", + "StringVal", + "ArrayVal", + "ObjectVal" + ], + "properties": { + "ArrayVal": { + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "ObjectVal": { + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "StringVal": { + "description": "Represents the stored type of ParamValues.", + "type": "string", + "default": "" + }, + "Type": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "ParamValue", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Pipeline": { + "description": "Pipeline describes a list of Tasks to execute. It expresses how outputs of tasks feed into inputs of subsequent tasks.\n\nDeprecated: Please use v1.Pipeline instead.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Pipeline from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineSpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Pipeline", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineDeclaredResource": { + "description": "PipelineDeclaredResource is used by a Pipeline to declare the types of the PipelineResources that it will required to run and names which can be used to refer to these PipelineResources in PipelineTaskResourceBindings.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "name": { + "description": "Name is the name that will be used by the Pipeline to refer to this resource. It does not directly correspond to the name of any PipelineResources Task inputs or outputs, and it does not correspond to the actual names of the PipelineResources that will be bound in the PipelineRun.", + "type": "string", + "default": "" + }, + "optional": { + "description": "Optional declares the resource as optional. optional: true - the resource is considered optional optional: false - the resource is considered required (default/equivalent of not specifying it)", + "type": "boolean" + }, + "type": { + "description": "Type is the type of the PipelineResource.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineDeclaredResource", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineList": { + "description": "PipelineList contains a list of Pipeline", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Pipeline" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineRef": { + "description": "PipelineRef can be used to refer to a specific instance of a Pipeline.", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "bundle": { + "description": "Bundle url reference to a Tekton Bundle.\n\nDeprecated: Please use ResolverRef with the bundles resolver instead. The field is staying there for go client backward compatibility, but is not used/allowed anymore.", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineResourceBinding": { + "description": "PipelineResourceBinding connects a reference to an instance of a PipelineResource with a PipelineResource dependency that the Pipeline has declared\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "properties": { + "name": { + "description": "Name is the name of the PipelineResource in the Pipeline's declaration", + "type": "string" + }, + "resourceRef": { + "description": "ResourceRef is a reference to the instance of the actual PipelineResource that should be used", + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineResourceRef" + }, + "resourceSpec": { + "description": "ResourceSpec is specification of a resource that should be created and consumed by the task", + "$ref": "#/definitions/dev.tekton.v1alpha1.PipelineResourceSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineResourceBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineResourceRef": { + "description": "PipelineResourceRef can be used to refer to a specific instance of a Resource\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineResourceRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineResult": { + "description": "PipelineResult used to describe the results of a pipeline", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "description": { + "description": "Description is a human-readable description of the result", + "type": "string", + "default": "" + }, + "name": { + "description": "Name the given name", + "type": "string", + "default": "" + }, + "type": { + "description": "Type is the user-specified type of the result. The possible types are 'string', 'array', and 'object', with 'string' as the default. 'array' and 'object' types are alpha features.", + "type": "string" + }, + "value": { + "description": "Value the expression used to retrieve the value", + "$ref": "#/definitions/dev.tekton.v1beta1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineRun": { + "description": "PipelineRun represents a single execution of a Pipeline. PipelineRuns are how the graph of Tasks declared in a Pipeline are executed; they specify inputs to Pipelines such as parameter values and capture operational aspects of the Tasks execution such as service account and tolerations. Creating a PipelineRun creates TaskRuns for Tasks in the referenced Pipeline.\n\nDeprecated: Please use v1.PipelineRun instead.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRunSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRunStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineRun", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineRunList": { + "description": "PipelineRunList contains a list of PipelineRun", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRun" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineRunList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineRunResult": { + "description": "PipelineRunResult used to describe the results of a pipeline", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name is the result's name as declared by the Pipeline", + "type": "string", + "default": "" + }, + "value": { + "description": "Value is the result returned from the execution of this PipelineRun", + "$ref": "#/definitions/dev.tekton.v1beta1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineRunResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineRunRunStatus": { + "description": "PipelineRunRunStatus contains the name of the PipelineTask for this CustomRun or Run and the CustomRun or Run's Status", + "type": "object", + "properties": { + "pipelineTaskName": { + "description": "PipelineTaskName is the name of the PipelineTask.", + "type": "string" + }, + "status": { + "description": "Status is the CustomRunStatus for the corresponding CustomRun or Run", + "$ref": "#/definitions/dev.tekton.v1beta1.CustomRunStatus" + }, + "whenExpressions": { + "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WhenExpression" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineRunRunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineRunSpec": { + "description": "PipelineRunSpec defines the desired state of PipelineRun", + "type": "object", + "properties": { + "params": { + "description": "Params is a list of parameter names and values.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "pipelineRef": { + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRef" + }, + "pipelineSpec": { + "description": "Specifying PipelineSpec can be disabled by setting `disable-inline-spec` feature flag..", + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineSpec" + }, + "podTemplate": { + "description": "PodTemplate holds pod specific configuration", + "$ref": "#/definitions/dev.tekton.pod.Template" + }, + "resources": { + "description": "Resources is a list of bindings specifying which actual instances of PipelineResources to use for the resources the Pipeline has declared it needs.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineResourceBinding" + }, + "x-kubernetes-list-type": "atomic" + }, + "serviceAccountName": { + "type": "string" + }, + "status": { + "description": "Used for cancelling a pipelinerun (and maybe more later on)", + "type": "string" + }, + "taskRunSpecs": { + "description": "TaskRunSpecs holds a set of runtime specs", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTaskRunSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "timeout": { + "description": "Timeout is the Time after which the Pipeline times out. Defaults to never. Refer to Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration\n\nDeprecated: use pipelineRunSpec.Timeouts.Pipeline instead", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "timeouts": { + "description": "Time after which the Pipeline times out. Currently three keys are accepted in the map pipeline, tasks and finally with Timeouts.pipeline \u003e= Timeouts.tasks + Timeouts.finally", + "$ref": "#/definitions/dev.tekton.v1beta1.TimeoutFields" + }, + "workspaces": { + "description": "Workspaces holds a set of workspace bindings that must match names with those declared in the pipeline.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WorkspaceBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineRunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineRunStatus": { + "description": "PipelineRunStatus defines the observed state of PipelineRun", + "type": "object", + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "childReferences": { + "description": "list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.ChildStatusReference" + }, + "x-kubernetes-list-type": "atomic" + }, + "completionTime": { + "description": "CompletionTime is the time the PipelineRun completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "finallyStartTime": { + "description": "FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "pipelineResults": { + "description": "PipelineResults are the list of results written out by the pipeline task's containers", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "pipelineSpec": { + "description": "PipelineRunSpec contains the exact spec used to instantiate the run", + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineSpec" + }, + "provenance": { + "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", + "$ref": "#/definitions/dev.tekton.v1beta1.Provenance" + }, + "runs": { + "description": "Runs is a map of PipelineRunRunStatus with the run name as the key\n\nDeprecated: use ChildReferences instead. As of v0.45.0, this field is no longer populated and is only included for backwards compatibility with older server versions.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRunRunStatus" + } + }, + "skippedTasks": { + "description": "list of tasks that were skipped due to when expressions evaluating to false", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.SkippedTask" + }, + "x-kubernetes-list-type": "atomic" + }, + "spanContext": { + "description": "SpanContext contains tracing span context fields", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "startTime": { + "description": "StartTime is the time the PipelineRun is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "taskRuns": { + "description": "TaskRuns is a map of PipelineRunTaskRunStatus with the taskRun name as the key.\n\nDeprecated: use ChildReferences instead. As of v0.45.0, this field is no longer populated and is only included for backwards compatibility with older server versions.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRunTaskRunStatus" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineRunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineRunStatusFields": { + "description": "PipelineRunStatusFields holds the fields of PipelineRunStatus' status. This is defined separately and inlined so that other types can readily consume these fields via duck typing.", + "type": "object", + "properties": { + "childReferences": { + "description": "list of TaskRun and Run names, PipelineTask names, and API versions/kinds for children of this PipelineRun.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.ChildStatusReference" + }, + "x-kubernetes-list-type": "atomic" + }, + "completionTime": { + "description": "CompletionTime is the time the PipelineRun completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "finallyStartTime": { + "description": "FinallyStartTime is when all non-finally tasks have been completed and only finally tasks are being executed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "pipelineResults": { + "description": "PipelineResults are the list of results written out by the pipeline task's containers", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "pipelineSpec": { + "description": "PipelineRunSpec contains the exact spec used to instantiate the run", + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineSpec" + }, + "provenance": { + "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", + "$ref": "#/definitions/dev.tekton.v1beta1.Provenance" + }, + "runs": { + "description": "Runs is a map of PipelineRunRunStatus with the run name as the key\n\nDeprecated: use ChildReferences instead. As of v0.45.0, this field is no longer populated and is only included for backwards compatibility with older server versions.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRunRunStatus" + } + }, + "skippedTasks": { + "description": "list of tasks that were skipped due to when expressions evaluating to false", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.SkippedTask" + }, + "x-kubernetes-list-type": "atomic" + }, + "spanContext": { + "description": "SpanContext contains tracing span context fields", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "startTime": { + "description": "StartTime is the time the PipelineRun is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "taskRuns": { + "description": "TaskRuns is a map of PipelineRunTaskRunStatus with the taskRun name as the key.\n\nDeprecated: use ChildReferences instead. As of v0.45.0, this field is no longer populated and is only included for backwards compatibility with older server versions.", + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRunTaskRunStatus" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineRunStatusFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineRunTaskRunStatus": { + "description": "PipelineRunTaskRunStatus contains the name of the PipelineTask for this TaskRun and the TaskRun's Status", + "type": "object", + "properties": { + "pipelineTaskName": { + "description": "PipelineTaskName is the name of the PipelineTask.", + "type": "string" + }, + "status": { + "description": "Status is the TaskRunStatus for the corresponding TaskRun", + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunStatus" + }, + "whenExpressions": { + "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WhenExpression" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineRunTaskRunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineSpec": { + "description": "PipelineSpec defines the desired state of Pipeline.", + "type": "object", + "properties": { + "description": { + "description": "Description is a user-facing description of the pipeline that may be used to populate a UI.", + "type": "string" + }, + "displayName": { + "description": "DisplayName is a user-facing name of the pipeline that may be used to populate a UI.", + "type": "string" + }, + "finally": { + "description": "Finally declares the list of Tasks that execute just before leaving the Pipeline i.e. either after all Tasks are finished executing successfully or after a failure which would result in ending the Pipeline", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTask" + }, + "x-kubernetes-list-type": "atomic" + }, + "params": { + "description": "Params declares a list of input parameters that must be supplied when this Pipeline is run.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Deprecated: Unused, preserved only for backwards compatibility", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineDeclaredResource" + }, + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results are values that this pipeline can output once run", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "tasks": { + "description": "Tasks declares the graph of Tasks that execute when this Pipeline is run.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTask" + }, + "x-kubernetes-list-type": "atomic" + }, + "workspaces": { + "description": "Workspaces declares a set of named workspaces that are expected to be provided by a PipelineRun.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineWorkspaceDeclaration" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineTask": { + "description": "PipelineTask defines a task in a Pipeline, passing inputs from both Params and from the output of previous tasks.", + "type": "object", + "properties": { + "description": { + "description": "Description is the description of this task within the context of a Pipeline. This description may be used to populate a UI.", + "type": "string" + }, + "displayName": { + "description": "DisplayName is the display name of this task within the context of a Pipeline. This display name may be used to populate a UI.", + "type": "string" + }, + "matrix": { + "description": "Matrix declares parameters used to fan out this task.", + "$ref": "#/definitions/dev.tekton.v1beta1.Matrix" + }, + "name": { + "description": "Name is the name of this task within the context of a Pipeline. Name is used as a coordinate with the `from` and `runAfter` fields to establish the execution order of tasks relative to one another.", + "type": "string" + }, + "onError": { + "description": "OnError defines the exiting behavior of a PipelineRun on error can be set to [ continue | stopAndFail ]", + "type": "string" + }, + "params": { + "description": "Parameters declares parameters passed to this task.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "pipelineRef": { + "description": "PipelineRef is a reference to a pipeline definition Note: PipelineRef is in preview mode and not yet supported", + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineRef" + }, + "pipelineSpec": { + "description": "PipelineSpec is a specification of a pipeline Note: PipelineSpec is in preview mode and not yet supported Specifying TaskSpec can be disabled by setting `disable-inline-spec` feature flag..", + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineSpec" + }, + "resources": { + "description": "Deprecated: Unused, preserved only for backwards compatibility", + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTaskResources" + }, + "retries": { + "description": "Retries represents how many times this task should be retried in case of task failure: ConditionSucceeded set to False", + "type": "integer", + "format": "int32" + }, + "runAfter": { + "description": "RunAfter is the list of PipelineTask names that should be executed before this Task executes. (Used to force a specific ordering in graph execution.)", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskRef": { + "description": "TaskRef is a reference to a task definition.", + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRef" + }, + "taskSpec": { + "description": "TaskSpec is a specification of a task Specifying TaskSpec can be disabled by setting `disable-inline-spec` feature flag..", + "$ref": "#/definitions/dev.tekton.v1beta1.EmbeddedTask" + }, + "timeout": { + "description": "Time after which the TaskRun times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "when": { + "description": "WhenExpressions is a list of when expressions that need to be true for the task to run", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WhenExpression" + } + }, + "workspaces": { + "description": "Workspaces maps workspaces from the pipeline spec to the workspaces declared in the Task.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WorkspacePipelineTaskBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineTask", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineTaskInputResource": { + "description": "PipelineTaskInputResource maps the name of a declared PipelineResource input dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used. This input may come from a previous task.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "name", + "resource" + ], + "properties": { + "from": { + "description": "From is the list of PipelineTask names that the resource has to come from. (Implies an ordering in the execution graph.)", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "name": { + "description": "Name is the name of the PipelineResource as declared by the Task.", + "type": "string", + "default": "" + }, + "resource": { + "description": "Resource is the name of the DeclaredPipelineResource to use.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineTaskInputResource", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineTaskMetadata": { + "description": "PipelineTaskMetadata contains the labels or annotations for an EmbeddedTask", + "type": "object", + "properties": { + "annotations": { + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "labels": { + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineTaskMetadata", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineTaskOutputResource": { + "description": "PipelineTaskOutputResource maps the name of a declared PipelineResource output dependency in a Task to the resource in the Pipeline's DeclaredPipelineResources that should be used.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "name", + "resource" + ], + "properties": { + "name": { + "description": "Name is the name of the PipelineResource as declared by the Task.", + "type": "string", + "default": "" + }, + "resource": { + "description": "Resource is the name of the DeclaredPipelineResource to use.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineTaskOutputResource", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineTaskParam": { + "description": "PipelineTaskParam is used to provide arbitrary string parameters to a Task.", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "type": "string", + "default": "" + }, + "value": { + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineTaskParam", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineTaskResources": { + "description": "PipelineTaskResources allows a Pipeline to declare how its DeclaredPipelineResources should be provided to a Task as its inputs and outputs.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "properties": { + "inputs": { + "description": "Inputs holds the mapping from the PipelineResources declared in DeclaredPipelineResources to the input PipelineResources required by the Task.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTaskInputResource" + }, + "x-kubernetes-list-type": "atomic" + }, + "outputs": { + "description": "Outputs holds the mapping from the PipelineResources declared in DeclaredPipelineResources to the input PipelineResources required by the Task.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTaskOutputResource" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineTaskResources", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineTaskRun": { + "description": "PipelineTaskRun reports the results of running a step in the Task. Each task has the potential to succeed or fail (based on the exit code) and produces logs.", + "type": "object", + "properties": { + "name": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineTaskRun", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineTaskRunSpec": { + "description": "PipelineTaskRunSpec can be used to configure specific specs for a concrete Task", + "type": "object", + "properties": { + "computeResources": { + "description": "Compute resources to use for this TaskRun", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "metadata": { + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineTaskMetadata" + }, + "pipelineTaskName": { + "type": "string" + }, + "sidecarOverrides": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunSidecarOverride" + }, + "x-kubernetes-list-type": "atomic" + }, + "stepOverrides": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunStepOverride" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskPodTemplate": { + "$ref": "#/definitions/dev.tekton.pod.Template" + }, + "taskServiceAccountName": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineTaskRunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PipelineWorkspaceDeclaration": { + "description": "WorkspacePipelineDeclaration creates a named slot in a Pipeline that a PipelineRun is expected to populate with a workspace binding.\n\nDeprecated: use PipelineWorkspaceDeclaration type instead", + "type": "object", + "required": [ + "name" + ], + "properties": { + "description": { + "description": "Description is a human readable string describing how the workspace will be used in the Pipeline. It can be useful to include a bit of detail about which tasks are intended to have access to the data on the workspace.", + "type": "string" + }, + "name": { + "description": "Name is the name of a workspace to be provided by a PipelineRun.", + "type": "string", + "default": "" + }, + "optional": { + "description": "Optional marks a Workspace as not being required in PipelineRuns. By default this field is false and so declared workspaces are required.", + "type": "boolean" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PipelineWorkspaceDeclaration", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.PropertySpec": { + "description": "PropertySpec defines the struct for object keys", + "type": "object", + "properties": { + "type": { + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "PropertySpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Provenance": { + "description": "Provenance contains metadata about resources used in the TaskRun/PipelineRun such as the source from where a remote build definition was fetched. This field aims to carry minimum amoumt of metadata in *Run status so that Tekton Chains can capture them in the provenance.", + "type": "object", + "properties": { + "configSource": { + "description": "Deprecated: Use RefSource instead", + "$ref": "#/definitions/dev.tekton.v1beta1.ConfigSource" + }, + "featureFlags": { + "description": "FeatureFlags identifies the feature flags that were used during the task/pipeline run", + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.apis.config.FeatureFlags" + }, + "refSource": { + "description": "RefSource identifies the source where a remote task/pipeline came from.", + "$ref": "#/definitions/dev.tekton.v1beta1.RefSource" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Provenance", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Ref": { + "description": "Ref can be used to refer to a specific instance of a StepAction.", + "type": "object", + "properties": { + "name": { + "description": "Name of the referenced step", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Ref", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.RefSource": { + "description": "RefSource contains the information that can uniquely identify where a remote built definition came from i.e. Git repositories, Tekton Bundles in OCI registry and hub.", + "type": "object", + "properties": { + "digest": { + "description": "Digest is a collection of cryptographic digests for the contents of the artifact specified by URI. Example: {\"sha1\": \"f99d13e554ffcb696dee719fa85b695cb5b0f428\"}", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "entryPoint": { + "description": "EntryPoint identifies the entry point into the build. This is often a path to a build definition file and/or a target label within that file. Example: \"task/git-clone/0.8/git-clone.yaml\"", + "type": "string" + }, + "uri": { + "description": "URI indicates the identity of the source of the build definition. Example: \"https://github.com/tektoncd/catalog\"", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "RefSource", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.ResolverRef": { + "description": "ResolverRef can be used to refer to a Pipeline or Task in a remote location like a git repo.", + "type": "object", + "properties": { + "params": { + "description": "Params contains the parameters used to identify the referenced Tekton resource. Example entries might include \"repo\" or \"path\" but the set of params ultimately depends on the chosen resolver.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "resolver": { + "description": "Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as \"git\".", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "ResolverRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.ResultRef": { + "description": "ResultRef is a type that represents a reference to a task run result", + "type": "object", + "required": [ + "pipelineTask", + "result", + "resultsIndex", + "property" + ], + "properties": { + "pipelineTask": { + "type": "string", + "default": "" + }, + "property": { + "type": "string", + "default": "" + }, + "result": { + "type": "string", + "default": "" + }, + "resultsIndex": { + "type": "integer", + "format": "int32" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "ResultRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Sidecar": { + "description": "Sidecar has nearly the same data structure as Step but does not have the ability to timeout.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Sidecar's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the Sidecar. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the Sidecar. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the Sidecar is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Image name to be used by the Sidecar. More info: https://kubernetes.io/docs/concepts/containers/images", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to Sidecar lifecycle events. Cannot be updated.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of Sidecar liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "name": { + "description": "Name of the Sidecar specified as a DNS_LABEL. Each Sidecar in a Task must have a unique name (DNS_LABEL). Cannot be updated.", + "type": "string", + "default": "" + }, + "ports": { + "description": "List of ports to expose from the Sidecar. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of Sidecar service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "resources": { + "description": "Compute Resources required by this Sidecar. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "restartPolicy": { + "description": "RestartPolicy refers to kubernetes RestartPolicy. It can only be set for an initContainer and must have it's policy set to \"Always\". It is currently left optional to help support Kubernetes versions prior to 1.29 when this feature was introduced.", + "type": "string" + }, + "script": { + "description": "Script is the contents of an executable file to execute.\n\nIf Script is not empty, the Step cannot have an Command or Args.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the Sidecar should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "startupProbe": { + "description": "StartupProbe indicates that the Pod the Sidecar is running in has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stdin": { + "description": "Whether this Sidecar should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the Sidecar will always result in EOF. Default is false.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on Sidecar start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the Sidecar is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Optional: Path at which the file to which the Sidecar's termination message will be written is mounted into the Sidecar's filesystem. Message written is intended to be brief final status, such as an assertion failure message. Will be truncated by the node if greater than 4096 bytes. The total message length across all containers will be limited to 12kb. Defaults to /dev/termination-log. Cannot be updated.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Indicate how the termination message should be populated. File will use the contents of terminationMessagePath to populate the Sidecar status message on both success and failure. FallbackToLogsOnError will use the last chunk of Sidecar log output if the termination message file is empty and the Sidecar exited with an error. The log output is limited to 2048 bytes or 80 lines, whichever is smaller. Defaults to File. Cannot be updated.", + "type": "string" + }, + "tty": { + "description": "Whether this Sidecar should allocate a TTY for itself, also requires 'stdin' to be true. Default is false.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the Sidecar.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Volumes to mount into the Sidecar's filesystem. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Sidecar's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + }, + "workspaces": { + "description": "This is an alpha field. You must set the \"enable-api-fields\" feature flag to \"alpha\" for this field to be supported.\n\nWorkspaces is a list of workspaces from the Task that this Sidecar wants exclusive access to. Adding a workspace to this list means that any other Step or Sidecar that does not also request this Workspace will not have access to it.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WorkspaceUsage" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Sidecar", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.SidecarState": { + "description": "SidecarState reports the results of running a sidecar in a Task.", + "type": "object", + "properties": { + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + }, + "name": { + "type": "string" + }, + "running": { + "description": "Details about a running container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateRunning" + }, + "terminated": { + "description": "Details about a terminated container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateTerminated" + }, + "waiting": { + "description": "Details about a waiting container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateWaiting" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "SidecarState", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.SkippedTask": { + "description": "SkippedTask is used to describe the Tasks that were skipped due to their When Expressions evaluating to False. This is a struct because we are looking into including more details about the When Expressions that caused this Task to be skipped.", + "type": "object", + "required": [ + "name", + "reason" + ], + "properties": { + "name": { + "description": "Name is the Pipeline Task name", + "type": "string", + "default": "" + }, + "reason": { + "description": "Reason is the cause of the PipelineTask being skipped.", + "type": "string", + "default": "" + }, + "whenExpressions": { + "description": "WhenExpressions is the list of checks guarding the execution of the PipelineTask", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WhenExpression" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "SkippedTask", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Step": { + "description": "Step runs a subcomponent of a Task", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the container. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Image reference name to run for this Step. More info: https://kubernetes.io/docs/concepts/containers/images", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness. Step will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "name": { + "description": "Name of the Step specified as a DNS_LABEL. Each Step in a Task must have a unique name.", + "type": "string", + "default": "" + }, + "onError": { + "description": "OnError defines the exiting behavior of a container on error can be set to [ continue | stopAndFail ]", + "type": "string" + }, + "params": { + "description": "Params declares parameters passed to this step action.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "ports": { + "description": "List of ports to expose from the Step's container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness. Step will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "ref": { + "description": "Contains the reference to an existing StepAction.", + "$ref": "#/definitions/dev.tekton.v1beta1.Ref" + }, + "resources": { + "description": "Compute Resources required by this Step. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "results": { + "description": "Results declares StepResults produced by the Step.\n\nThis is field is at an ALPHA stability level and gated by \"enable-step-actions\" feature flag.\n\nIt can be used in an inlined Step when used to store Results to $(step.results.resultName.path). It cannot be used when referencing StepActions using [v1beta1.Step.Ref]. The Results declared by the StepActions will be stored here instead.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.StepResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "script": { + "description": "Script is the contents of an executable file to execute.\n\nIf Script is not empty, the Step cannot have an Command and the Args will be passed to the Script.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "startupProbe": { + "description": "DeprecatedStartupProbe indicates that the Pod this Step runs in has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stderrConfig": { + "description": "Stores configuration for the stderr stream of the step.", + "$ref": "#/definitions/dev.tekton.v1beta1.StepOutputConfig" + }, + "stdin": { + "description": "Whether this container should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the container will always result in EOF. Default is false.\n\nDeprecated: This field will be removed in a future release.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false\n\nDeprecated: This field will be removed in a future release.", + "type": "boolean" + }, + "stdoutConfig": { + "description": "Stores configuration for the stdout stream of the step.", + "$ref": "#/definitions/dev.tekton.v1beta1.StepOutputConfig" + }, + "terminationMessagePath": { + "description": "Deprecated: This field will be removed in a future release and can't be meaningfully used.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Deprecated: This field will be removed in a future release and can't be meaningfully used.", + "type": "string" + }, + "timeout": { + "description": "Timeout is the time after which the step times out. Defaults to never. Refer to Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "tty": { + "description": "Whether this container should allocate a DeprecatedTTY for itself, also requires 'stdin' to be true. Default is false.\n\nDeprecated: This field will be removed in a future release.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the Step.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Volumes to mount into the Step's filesystem. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "when": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WhenExpression" + } + }, + "workingDir": { + "description": "Step's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + }, + "workspaces": { + "description": "This is an alpha field. You must set the \"enable-api-fields\" feature flag to \"alpha\" for this field to be supported.\n\nWorkspaces is a list of workspaces from the Task that this Step wants exclusive access to. Adding a workspace to this list means that any other Step or Sidecar that does not also request this Workspace will not have access to it.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WorkspaceUsage" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Step", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.StepAction": { + "description": "StepAction represents the actionable components of Step. The Step can only reference it from the cluster or using remote resolution.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Step from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.StepActionSpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "StepAction", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.StepActionList": { + "description": "StepActionList contains a list of StepActions", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.StepAction" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "StepActionList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.StepActionSpec": { + "description": "StepActionSpec contains the actionable components of a step.", + "type": "object", + "properties": { + "args": { + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the container's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "description": { + "description": "Description is a user-facing description of the stepaction that may be used to populate a UI.", + "type": "string" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "image": { + "description": "Image reference name to run for this StepAction. More info: https://kubernetes.io/docs/concepts/containers/images", + "type": "string" + }, + "params": { + "description": "Params is a list of input parameters required to run the stepAction. Params must be supplied as inputs in Steps unless they declare a defaultvalue.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "results": { + "description": "Results are values that this StepAction can output", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1.StepResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "script": { + "description": "Script is the contents of an executable file to execute.\n\nIf Script is not empty, the Step cannot have an Command and the Args will be passed to the Script.", + "type": "string" + }, + "securityContext": { + "description": "SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ The value set in StepAction will take precedence over the value from Task.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "volumeMounts": { + "description": "Volumes to mount into the Step's filesystem. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Step's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "StepActionSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.StepOutputConfig": { + "description": "StepOutputConfig stores configuration for a step output stream.", + "type": "object", + "properties": { + "path": { + "description": "Path to duplicate stdout stream to on container's local filesystem.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "StepOutputConfig", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.StepState": { + "description": "StepState reports the results of running a step in a Task.", + "type": "object", + "properties": { + "container": { + "type": "string" + }, + "imageID": { + "type": "string" + }, + "inputs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Artifact" + } + }, + "name": { + "type": "string" + }, + "outputs": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Artifact" + } + }, + "provenance": { + "$ref": "#/definitions/dev.tekton.v1beta1.Provenance" + }, + "results": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunResult" + } + }, + "running": { + "description": "Details about a running container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateRunning" + }, + "terminated": { + "description": "Details about a terminated container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateTerminated" + }, + "waiting": { + "description": "Details about a waiting container", + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerStateWaiting" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "StepState", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.StepTemplate": { + "description": "StepTemplate is a template for a Step", + "type": "object", + "required": [ + "name" + ], + "properties": { + "args": { + "description": "Arguments to the entrypoint. The image's CMD is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Step's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "command": { + "description": "Entrypoint array. Not executed within a shell. The docker image's ENTRYPOINT is used if this is not provided. Variable references $(VAR_NAME) are expanded using the Step's environment. If a variable cannot be resolved, the reference in the input string will be unchanged. Double $$ are reduced to a single $, which allows for escaping the $(VAR_NAME) syntax: i.e. \"$$(VAR_NAME)\" will produce the string literal \"$(VAR_NAME)\". Escaped references will never be expanded, regardless of whether the variable exists or not. Cannot be updated. More info: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/#running-a-command-in-a-shell", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "env": { + "description": "List of environment variables to set in the container. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvVar" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "name", + "x-kubernetes-patch-strategy": "merge" + }, + "envFrom": { + "description": "List of sources to populate environment variables in the Step. The keys defined within a source must be a C_IDENTIFIER. All invalid keys will be reported as an event when the container is starting. When a key exists in multiple sources, the value associated with the last source will take precedence. Values defined by an Env with a duplicate key will take precedence. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.EnvFromSource" + }, + "x-kubernetes-list-type": "atomic" + }, + "image": { + "description": "Default image name to use for each Step. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.", + "type": "string" + }, + "imagePullPolicy": { + "description": "Image pull policy. One of Always, Never, IfNotPresent. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise. Cannot be updated. More info: https://kubernetes.io/docs/concepts/containers/images#updating-images", + "type": "string" + }, + "lifecycle": { + "description": "Actions that the management system should take in response to container lifecycle events. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", + "$ref": "#/definitions/io.k8s.api.core.v1.Lifecycle" + }, + "livenessProbe": { + "description": "Periodic probe of container liveness. Container will be restarted if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "name": { + "description": "Default name for each Step specified as a DNS_LABEL. Each Step in a Task must have a unique name. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", + "type": "string", + "default": "" + }, + "ports": { + "description": "List of ports to expose from the Step's container. Exposing a port here gives the system additional information about the network connections a container uses, but is primarily informational. Not specifying a port here DOES NOT prevent that port from being exposed. Any port which is listening on the default \"0.0.0.0\" address inside a container will be accessible from the network. Cannot be updated.\n\nDeprecated: This field will be removed in a future release.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ContainerPort" + }, + "x-kubernetes-list-map-keys": [ + "containerPort", + "protocol" + ], + "x-kubernetes-list-type": "map", + "x-kubernetes-patch-merge-key": "containerPort", + "x-kubernetes-patch-strategy": "merge" + }, + "readinessProbe": { + "description": "Periodic probe of container service readiness. Container will be removed from service endpoints if the probe fails. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "resources": { + "description": "Compute Resources required by this Step. Cannot be updated. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "securityContext": { + "description": "SecurityContext defines the security options the Step should be run with. If set, the fields of SecurityContext override the equivalent fields of PodSecurityContext. More info: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/", + "$ref": "#/definitions/io.k8s.api.core.v1.SecurityContext" + }, + "startupProbe": { + "description": "DeprecatedStartupProbe indicates that the Pod has successfully initialized. If specified, no other probes are executed until this completes successfully. If this probe fails, the Pod will be restarted, just as if the livenessProbe failed. This can be used to provide different probe parameters at the beginning of a Pod's lifecycle, when it might take a long time to load data or warm a cache, than during steady-state operation. This cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes\n\nDeprecated: This field will be removed in a future release.", + "$ref": "#/definitions/io.k8s.api.core.v1.Probe" + }, + "stdin": { + "description": "Whether this Step should allocate a buffer for stdin in the container runtime. If this is not set, reads from stdin in the Step will always result in EOF. Default is false.\n\nDeprecated: This field will be removed in a future release.", + "type": "boolean" + }, + "stdinOnce": { + "description": "Whether the container runtime should close the stdin channel after it has been opened by a single attach. When stdin is true the stdin stream will remain open across multiple attach sessions. If stdinOnce is set to true, stdin is opened on container start, is empty until the first client attaches to stdin, and then remains open and accepts data until the client disconnects, at which time stdin is closed and remains closed until the container is restarted. If this flag is false, a container processes that reads from stdin will never receive an EOF. Default is false\n\nDeprecated: This field will be removed in a future release.", + "type": "boolean" + }, + "terminationMessagePath": { + "description": "Deprecated: This field will be removed in a future release and cannot be meaningfully used.", + "type": "string" + }, + "terminationMessagePolicy": { + "description": "Deprecated: This field will be removed in a future release and cannot be meaningfully used.", + "type": "string" + }, + "tty": { + "description": "Whether this Step should allocate a DeprecatedTTY for itself, also requires 'stdin' to be true. Default is false.\n\nDeprecated: This field will be removed in a future release.", + "type": "boolean" + }, + "volumeDevices": { + "description": "volumeDevices is the list of block devices to be used by the Step.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeDevice" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "devicePath", + "x-kubernetes-patch-strategy": "merge" + }, + "volumeMounts": { + "description": "Volumes to mount into the Step's filesystem. Cannot be updated.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.VolumeMount" + }, + "x-kubernetes-list-type": "atomic", + "x-kubernetes-patch-merge-key": "mountPath", + "x-kubernetes-patch-strategy": "merge" + }, + "workingDir": { + "description": "Step's working directory. If not specified, the container runtime's default will be used, which might be configured in the container image. Cannot be updated.", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "StepTemplate", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.Task": { + "description": "Task represents a collection of sequential steps that are run as part of a Pipeline using a set of inputs and producing a set of outputs. Tasks execute when TaskRuns are created that provide the input parameters and resources and output resources the Task requires.\n\nDeprecated: Please use v1.Task instead.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "Spec holds the desired state of the Task from the client", + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskSpec" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "Task", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskBreakpoints": { + "description": "TaskBreakpoints defines the breakpoint config for a particular Task", + "type": "object", + "properties": { + "beforeSteps": { + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "onFailure": { + "description": "if enabled, pause TaskRun on failure of a step failed step will not exit", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskBreakpoints", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskList": { + "description": "TaskList contains a list of Task", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Task" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRef": { + "description": "TaskRef can be used to refer to a specific instance of a task.", + "type": "object", + "properties": { + "apiVersion": { + "description": "API version of the referent Note: A Task with non-empty APIVersion and Kind is considered a Custom Task", + "type": "string" + }, + "bundle": { + "description": "Bundle url reference to a Tekton Bundle.\n\nDeprecated: Please use ResolverRef with the bundles resolver instead. The field is staying there for go client backward compatibility, but is not used/allowed anymore.", + "type": "string" + }, + "kind": { + "description": "TaskKind indicates the Kind of the Task: 1. Namespaced Task when Kind is set to \"Task\". If Kind is \"\", it defaults to \"Task\". 2. Cluster-Scoped Task when Kind is set to \"ClusterTask\" 3. Custom Task when Kind is non-empty and APIVersion is non-empty", + "type": "string" + }, + "name": { + "description": "Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRef", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskResource": { + "description": "TaskResource defines an input or output Resource declared as a requirement by a Task. The Name field will be used to refer to these Resources within the Task definition, and when provided as an Input, the Name will be the path to the volume mounted containing this Resource as an input (e.g. an input Resource named `workspace` will be mounted at `/workspace`).\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "required": [ + "name", + "type" + ], + "properties": { + "description": { + "description": "Description is a user-facing description of the declared resource that may be used to populate a UI.", + "type": "string" + }, + "name": { + "description": "Name declares the name by which a resource is referenced in the definition. Resources may be referenced by name in the definition of a Task's steps.", + "type": "string", + "default": "" + }, + "optional": { + "description": "Optional declares the resource as optional. By default optional is set to false which makes a resource required. optional: true - the resource is considered optional optional: false - the resource is considered required (equivalent of not specifying it)", + "type": "boolean" + }, + "targetPath": { + "description": "TargetPath is the path in workspace directory where the resource will be copied.", + "type": "string" + }, + "type": { + "description": "Type is the type of this resource;", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskResource", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskResourceBinding": { + "description": "TaskResourceBinding points to the PipelineResource that will be used for the Task input or output called Name.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "properties": { + "name": { + "description": "Name is the name of the PipelineResource in the Pipeline's declaration", + "type": "string" + }, + "paths": { + "description": "Paths will probably be removed in #1284, and then PipelineResourceBinding can be used instead. The optional Path field corresponds to a path on disk at which the Resource can be found (used when providing the resource via mounted volume, overriding the default logic to fetch the Resource).", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + }, + "resourceRef": { + "description": "ResourceRef is a reference to the instance of the actual PipelineResource that should be used", + "$ref": "#/definitions/dev.tekton.v1beta1.PipelineResourceRef" + }, + "resourceSpec": { + "description": "ResourceSpec is specification of a resource that should be created and consumed by the task", + "$ref": "#/definitions/dev.tekton.v1alpha1.PipelineResourceSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskResourceBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskResources": { + "description": "TaskResources allows a Pipeline to declare how its DeclaredPipelineResources should be provided to a Task as its inputs and outputs.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "properties": { + "inputs": { + "description": "Inputs holds the mapping from the PipelineResources declared in DeclaredPipelineResources to the input PipelineResources required by the Task.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResource" + }, + "x-kubernetes-list-type": "atomic" + }, + "outputs": { + "description": "Outputs holds the mapping from the PipelineResources declared in DeclaredPipelineResources to the input PipelineResources required by the Task.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResource" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskResources", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskResult": { + "description": "TaskResult used to describe the results of a task", + "type": "object", + "required": [ + "name" + ], + "properties": { + "description": { + "description": "Description is a human-readable description of the result", + "type": "string" + }, + "name": { + "description": "Name the given name", + "type": "string", + "default": "" + }, + "properties": { + "description": "Properties is the JSON Schema properties to support key-value pairs results.", + "type": "object", + "additionalProperties": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.PropertySpec" + } + }, + "type": { + "description": "Type is the user-specified type of the result. The possible type is currently \"string\" and will support \"array\" in following work.", + "type": "string" + }, + "value": { + "description": "Value the expression used to retrieve the value of the result from an underlying Step.", + "$ref": "#/definitions/dev.tekton.v1beta1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRun": { + "description": "TaskRun represents a single execution of a Task. TaskRuns are how the steps specified in a Task are executed; they specify the parameters and resources used to run the steps in a Task.\n\nDeprecated: Please use v1.TaskRun instead.", + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunSpec" + }, + "status": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRun", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunDebug": { + "description": "TaskRunDebug defines the breakpoint config for a particular TaskRun", + "type": "object", + "properties": { + "breakpoints": { + "$ref": "#/definitions/dev.tekton.v1beta1.TaskBreakpoints" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunDebug", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunInputs": { + "description": "TaskRunInputs holds the input values that this task was invoked with.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "properties": { + "params": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResourceBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunInputs", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunList": { + "description": "TaskRunList contains a list of TaskRun", + "type": "object", + "required": [ + "items" + ], + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "items": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRun" + } + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta" + } + }, + "x-fabric8-info": { + "Type": "list", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunList", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunOutputs": { + "description": "TaskRunOutputs holds the output values that this task was invoked with.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "properties": { + "resources": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResourceBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunOutputs", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunResources": { + "description": "TaskRunResources allows a TaskRun to declare inputs and outputs TaskResourceBinding\n\nDeprecated: Unused, preserved only for backwards compatibility", + "type": "object", + "properties": { + "inputs": { + "description": "Inputs holds the inputs resources this task was invoked with", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResourceBinding" + }, + "x-kubernetes-list-type": "atomic" + }, + "outputs": { + "description": "Outputs holds the inputs resources this task was invoked with", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResourceBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunResources", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunResult": { + "description": "TaskRunStepResult is a type alias of TaskRunResult", + "type": "object", + "required": [ + "name", + "value" + ], + "properties": { + "name": { + "description": "Name the given name", + "type": "string", + "default": "" + }, + "type": { + "description": "Type is the user-specified type of the result. The possible type is currently \"string\" and will support \"array\" in following work.", + "type": "string" + }, + "value": { + "description": "Value the given value of the result", + "$ref": "#/definitions/dev.tekton.v1beta1.ParamValue" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunResult", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunSidecarOverride": { + "description": "TaskRunSidecarOverride is used to override the values of a Sidecar in the corresponding Task.", + "type": "object", + "required": [ + "name", + "resources" + ], + "properties": { + "name": { + "description": "The name of the Sidecar to override.", + "type": "string", + "default": "" + }, + "resources": { + "description": "The resource requirements to apply to the Sidecar.", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunSidecarOverride", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunSpec": { + "description": "TaskRunSpec defines the desired state of TaskRun", + "type": "object", + "properties": { + "computeResources": { + "description": "Compute resources to use for this TaskRun", + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + }, + "debug": { + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunDebug" + }, + "params": { + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Param" + }, + "x-kubernetes-list-type": "atomic" + }, + "podTemplate": { + "description": "PodTemplate holds pod specific configuration", + "$ref": "#/definitions/dev.tekton.pod.Template" + }, + "resources": { + "description": "Deprecated: Unused, preserved only for backwards compatibility", + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunResources" + }, + "retries": { + "description": "Retries represents how many times this TaskRun should be retried in the event of Task failure.", + "type": "integer", + "format": "int32" + }, + "serviceAccountName": { + "type": "string", + "default": "" + }, + "sidecarOverrides": { + "description": "Overrides to apply to Sidecars in this TaskRun. If a field is specified in both a Sidecar and a SidecarOverride, the value from the SidecarOverride will be used. This field is only supported when the alpha feature gate is enabled.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunSidecarOverride" + }, + "x-kubernetes-list-type": "atomic" + }, + "status": { + "description": "Used for cancelling a TaskRun (and maybe more later on)", + "type": "string" + }, + "statusMessage": { + "description": "Status message for cancellation.", + "type": "string" + }, + "stepOverrides": { + "description": "Overrides to apply to Steps in this TaskRun. If a field is specified in both a Step and a StepOverride, the value from the StepOverride will be used. This field is only supported when the alpha feature gate is enabled.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunStepOverride" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskRef": { + "description": "no more than one of the TaskRef and TaskSpec may be specified.", + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRef" + }, + "taskSpec": { + "description": "Specifying PipelineSpec can be disabled by setting `disable-inline-spec` feature flag..", + "$ref": "#/definitions/dev.tekton.v1beta1.TaskSpec" + }, + "timeout": { + "description": "Time after which one retry attempt times out. Defaults to 1 hour. Refer Go's ParseDuration documentation for expected format: https://golang.org/pkg/time/#ParseDuration", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "workspaces": { + "description": "Workspaces is a list of WorkspaceBindings from volumes to workspaces.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WorkspaceBinding" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunStatus": { + "description": "TaskRunStatus defines the observed state of TaskRun", + "type": "object", + "required": [ + "podName" + ], + "properties": { + "annotations": { + "description": "Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "cloudEvents": { + "description": "CloudEvents describe the state of each cloud event requested via a CloudEventResource.\n\nDeprecated: Removed in v0.44.0.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CloudEventDelivery" + }, + "x-kubernetes-list-type": "atomic" + }, + "completionTime": { + "description": "CompletionTime is the time the build completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "conditions": { + "description": "Conditions the latest available observations of a resource's current state.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.knative.pkg.apis.Condition" + }, + "x-kubernetes-patch-merge-key": "type", + "x-kubernetes-patch-strategy": "merge" + }, + "observedGeneration": { + "description": "ObservedGeneration is the 'Generation' of the Service that was last processed by the controller.", + "type": "integer", + "format": "int64" + }, + "podName": { + "description": "PodName is the name of the pod responsible for executing this task's steps.", + "type": "string", + "default": "" + }, + "provenance": { + "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", + "$ref": "#/definitions/dev.tekton.v1beta1.Provenance" + }, + "resourcesResult": { + "description": "Results from Resources built during the TaskRun. This is tomb-stoned along with the removal of pipelineResources Deprecated: this field is not populated and is preserved only for backwards compatibility", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.result.RunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "retriesStatus": { + "description": "RetriesStatus contains the history of TaskRunStatus in case of a retry in order to keep record of failures. All TaskRunStatus stored in RetriesStatus will have no date within the RetriesStatus as is redundant.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunStatus" + }, + "x-kubernetes-list-type": "atomic" + }, + "sidecars": { + "description": "The list has one entry per sidecar in the manifest. Each entry is represents the imageid of the corresponding sidecar.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.SidecarState" + }, + "x-kubernetes-list-type": "atomic" + }, + "spanContext": { + "description": "SpanContext contains tracing span context fields", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "startTime": { + "description": "StartTime is the time the build is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "steps": { + "description": "Steps describes the state of each build step container.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.StepState" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskResults": { + "description": "TaskRunResults are the list of results written out by the task's containers", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskSpec": { + "description": "TaskSpec contains the Spec from the dereferenced Task definition used to instantiate this TaskRun.", + "$ref": "#/definitions/dev.tekton.v1beta1.TaskSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunStatus", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunStatusFields": { + "description": "TaskRunStatusFields holds the fields of TaskRun's status. This is defined separately and inlined so that other types can readily consume these fields via duck typing.", + "type": "object", + "required": [ + "podName" + ], + "properties": { + "cloudEvents": { + "description": "CloudEvents describe the state of each cloud event requested via a CloudEventResource.\n\nDeprecated: Removed in v0.44.0.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.CloudEventDelivery" + }, + "x-kubernetes-list-type": "atomic" + }, + "completionTime": { + "description": "CompletionTime is the time the build completed.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "podName": { + "description": "PodName is the name of the pod responsible for executing this task's steps.", + "type": "string", + "default": "" + }, + "provenance": { + "description": "Provenance contains some key authenticated metadata about how a software artifact was built (what sources, what inputs/outputs, etc.).", + "$ref": "#/definitions/dev.tekton.v1beta1.Provenance" + }, + "resourcesResult": { + "description": "Results from Resources built during the TaskRun. This is tomb-stoned along with the removal of pipelineResources Deprecated: this field is not populated and is preserved only for backwards compatibility", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/com.github.tektoncd.pipeline.pkg.result.RunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "retriesStatus": { + "description": "RetriesStatus contains the history of TaskRunStatus in case of a retry in order to keep record of failures. All TaskRunStatus stored in RetriesStatus will have no date within the RetriesStatus as is redundant.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunStatus" + }, + "x-kubernetes-list-type": "atomic" + }, + "sidecars": { + "description": "The list has one entry per sidecar in the manifest. Each entry is represents the imageid of the corresponding sidecar.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.SidecarState" + }, + "x-kubernetes-list-type": "atomic" + }, + "spanContext": { + "description": "SpanContext contains tracing span context fields", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "startTime": { + "description": "StartTime is the time the build is actually started.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Time" + }, + "steps": { + "description": "Steps describes the state of each build step container.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.StepState" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskResults": { + "description": "TaskRunResults are the list of results written out by the task's containers", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskRunResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "taskSpec": { + "description": "TaskSpec contains the Spec from the dereferenced Task definition used to instantiate this TaskRun.", + "$ref": "#/definitions/dev.tekton.v1beta1.TaskSpec" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunStatusFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskRunStepOverride": { + "description": "TaskRunStepOverride is used to override the values of a Step in the corresponding Task.", + "type": "object", + "required": [ + "name", + "resources" + ], + "properties": { + "name": { + "description": "The name of the Step to override.", + "type": "string", + "default": "" + }, + "resources": { + "description": "The resource requirements to apply to the Step.", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceRequirements" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskRunStepOverride", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TaskSpec": { + "description": "TaskSpec defines the desired state of Task.", + "type": "object", + "properties": { + "description": { + "description": "Description is a user-facing description of the task that may be used to populate a UI.", + "type": "string" + }, + "displayName": { + "description": "DisplayName is a user-facing name of the task that may be used to populate a UI.", + "type": "string" + }, + "params": { + "description": "Params is a list of input parameters required to run the task. Params must be supplied as inputs in TaskRuns unless they declare a default value.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.ParamSpec" + }, + "x-kubernetes-list-type": "atomic" + }, + "resources": { + "description": "Resources is a list input and output resource to run the task Resources are represented in TaskRuns as bindings to instances of PipelineResources.\n\nDeprecated: Unused, preserved only for backwards compatibility", + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResources" + }, + "results": { + "description": "Results are values that this Task can output", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.TaskResult" + }, + "x-kubernetes-list-type": "atomic" + }, + "sidecars": { + "description": "Sidecars are run alongside the Task's step containers. They begin before the steps start and end after the steps complete.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Sidecar" + }, + "x-kubernetes-list-type": "atomic" + }, + "stepTemplate": { + "description": "StepTemplate can be used as the basis for all step containers within the Task, so that the steps inherit settings on the base container.", + "$ref": "#/definitions/dev.tekton.v1beta1.StepTemplate" + }, + "steps": { + "description": "Steps are the steps of the build; each step is run sequentially with the source mounted into /workspace.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.Step" + }, + "x-kubernetes-list-type": "atomic" + }, + "volumes": { + "description": "Volumes is a collection of volumes that are available to mount into the steps of the build.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.Volume" + }, + "x-kubernetes-list-type": "atomic" + }, + "workspaces": { + "description": "Workspaces are the volumes that this Task requires.", + "type": "array", + "items": { + "default": {}, + "$ref": "#/definitions/dev.tekton.v1beta1.WorkspaceDeclaration" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TaskSpec", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.TimeoutFields": { + "description": "TimeoutFields allows granular specification of pipeline, task, and finally timeouts", + "type": "object", + "properties": { + "finally": { + "description": "Finally sets the maximum allowed duration of this pipeline's finally", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "pipeline": { + "description": "Pipeline sets the maximum allowed duration for execution of the entire pipeline. The sum of individual timeouts for tasks and finally must not exceed this value.", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + }, + "tasks": { + "description": "Tasks sets the maximum allowed duration of this pipeline's tasks", + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.Duration" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "TimeoutFields", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.WhenExpression": { + "description": "WhenExpression allows a PipelineTask to declare expressions to be evaluated before the Task is run to determine whether the Task should be executed or skipped", + "type": "object", + "properties": { + "cel": { + "description": "CEL is a string of Common Language Expression, which can be used to conditionally execute the task based on the result of the expression evaluation More info about CEL syntax: https://github.com/google/cel-spec/blob/master/doc/langdef.md", + "type": "string" + }, + "input": { + "description": "Input is the string for guard checking which can be a static input or an output from a parent Task", + "type": "string" + }, + "operator": { + "description": "Operator that represents an Input's relationship to the values", + "type": "string" + }, + "values": { + "description": "Values is an array of strings, which is compared against the input, for guard checking It must be non-empty", + "type": "array", + "items": { + "type": "string", + "default": "" + }, + "x-kubernetes-list-type": "atomic" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "WhenExpression", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.WorkspaceBinding": { + "description": "WorkspaceBinding maps a Task's declared workspace to a Volume.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "configMap": { + "description": "ConfigMap represents a configMap that should populate this workspace.", + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMapVolumeSource" + }, + "csi": { + "description": "CSI (Container Storage Interface) represents ephemeral storage that is handled by certain external CSI drivers.", + "$ref": "#/definitions/io.k8s.api.core.v1.CSIVolumeSource" + }, + "emptyDir": { + "description": "EmptyDir represents a temporary directory that shares a Task's lifetime. More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir Either this OR PersistentVolumeClaim can be used.", + "$ref": "#/definitions/io.k8s.api.core.v1.EmptyDirVolumeSource" + }, + "name": { + "description": "Name is the name of the workspace populated by the volume.", + "type": "string", + "default": "" + }, + "persistentVolumeClaim": { + "description": "PersistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. Either this OR EmptyDir can be used.", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimVolumeSource" + }, + "projected": { + "description": "Projected represents a projected volume that should populate this workspace.", + "$ref": "#/definitions/io.k8s.api.core.v1.ProjectedVolumeSource" + }, + "secret": { + "description": "Secret represents a secret that should populate this workspace.", + "$ref": "#/definitions/io.k8s.api.core.v1.SecretVolumeSource" + }, + "subPath": { + "description": "SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).", + "type": "string" + }, + "volumeClaimTemplate": { + "description": "VolumeClaimTemplate is a template for a claim that will be created in the same namespace. The PipelineRun controller is responsible for creating a unique claim for each instance of PipelineRun.", + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "WorkspaceBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.WorkspaceDeclaration": { + "description": "WorkspaceDeclaration is a declaration of a volume that a Task requires.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "description": { + "description": "Description is an optional human readable description of this volume.", + "type": "string" + }, + "mountPath": { + "description": "MountPath overrides the directory that the volume will be made available at.", + "type": "string" + }, + "name": { + "description": "Name is the name by which you can bind the volume at runtime.", + "type": "string", + "default": "" + }, + "optional": { + "description": "Optional marks a Workspace as not being required in TaskRuns. By default this field is false and so declared workspaces are required.", + "type": "boolean" + }, + "readOnly": { + "description": "ReadOnly dictates whether a mounted volume is writable. By default this field is false and so mounted volumes are writable.", + "type": "boolean" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "WorkspaceDeclaration", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.WorkspacePipelineTaskBinding": { + "description": "WorkspacePipelineTaskBinding describes how a workspace passed into the pipeline should be mapped to a task's declared workspace.", + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "description": "Name is the name of the workspace as declared by the task", + "type": "string", + "default": "" + }, + "subPath": { + "description": "SubPath is optionally a directory on the volume which should be used for this binding (i.e. the volume will be mounted at this sub directory).", + "type": "string" + }, + "workspace": { + "description": "Workspace is the name of the workspace declared by the pipeline", + "type": "string" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "WorkspacePipelineTaskBinding", + "Scope": "Namespaced" + } + }, + "dev.tekton.v1beta1.WorkspaceUsage": { + "description": "WorkspaceUsage is used by a Step or Sidecar to declare that it wants isolated access to a Workspace defined in a Task.", + "type": "object", + "required": [ + "name", + "mountPath" + ], + "properties": { + "mountPath": { + "description": "MountPath is the path that the workspace should be mounted to inside the Step or Sidecar, overriding any MountPath specified in the Task's WorkspaceDeclaration.", + "type": "string", + "default": "" + }, + "name": { + "description": "Name is the name of the workspace this Step or Sidecar wants access to.", + "type": "string", + "default": "" + } + }, + "x-fabric8-info": { + "Type": "nested", + "Group": "tekton.dev", + "Version": "v1beta1", + "Kind": "WorkspaceUsage", + "Scope": "Namespaced" + } + }, + "io.k8s.api.core.v1.ConfigMap": { + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "binaryData": { + "description": "BinaryData contains the binary data. Each key must consist of alphanumeric characters, '-', '_' or '.'. BinaryData can contain byte sequences that are not in the UTF-8 range. The keys stored in BinaryData must not overlap with the ones in the Data field, this is enforced during validation process. Using this field will require 1.10+ apiserver and kubelet.", + "type": "object", + "additionalProperties": { + "type": "string", + "format": "byte" + } + }, + "data": { + "description": "Data contains the configuration data. Each key must consist of alphanumeric characters, '-', '_' or '.'. Values with non-UTF-8 byte sequences must use the BinaryData field. The keys stored in Data must not overlap with the keys in the BinaryData field, this is enforced during validation process.", + "type": "object", + "additionalProperties": { + "type": "string", + "default": "" + } + }, + "immutable": { + "description": "Immutable, if set to true, ensures that data stored in the ConfigMap cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.", + "type": "boolean" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1", + "Kind": "ConfigMap", + "Scope": "Namespaced" + } + }, + "io.k8s.api.core.v1.PersistentVolumeClaim": { + "type": "object", + "properties": { + "apiVersion": { + "description": "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + "type": "string" + }, + "kind": { + "description": "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + "type": "string" + }, + "metadata": { + "description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata", + "default": {}, + "$ref": "#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta" + }, + "spec": { + "description": "spec defines the desired characteristics of a volume requested by a pod author. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimSpec" + }, + "status": { + "description": "status represents the current information/status of a persistent volume claim. Read-only. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims", + "default": {}, + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaimStatus" + } + }, + "x-fabric8-info": { + "Type": "object", + "Group": "", + "Version": "v1", + "Kind": "PersistentVolumeClaim", + "Scope": "Namespaced" + } + } + } +} \ No newline at end of file diff --git a/kubernetes-model-generator/pom.xml b/kubernetes-model-generator/pom.xml index fa5e895bc66..0ee9d3b13f6 100644 --- a/kubernetes-model-generator/pom.xml +++ b/kubernetes-model-generator/pom.xml @@ -81,6 +81,7 @@ ${project.parent.basedir}/openapi/schemas/kubernetes-1.30.0.json ${project.parent.basedir}/openapi/schemas/openshift-generated.json ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/dev.knative.json + ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/dev.tekton.json ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/io.k8s.storage.snapshot.json ${project.basedir}/../../../kubernetes-model-generator/openapi/schemas/sh.volcano.json 4.17 @@ -168,7 +169,9 @@ io.fabric8.openshift.api.model.monitoring io.fabric8.openshift.api.model.customresourcestatus + io.fabric8.tekton.pipeline io.fabric8.knative + io.fabric8.tekton io.fabric8.kubernetes.api.model io.fabric8.kubernetes.api.model io.fabric8.kubernetes.api.model diff --git a/pom.xml b/pom.xml index 6230acf22fa..e7e2e638b04 100644 --- a/pom.xml +++ b/pom.xml @@ -545,27 +545,7 @@ io.fabric8 - tekton-model-v1 - ${project.version} - - - io.fabric8 - tekton-model-v1alpha1 - ${project.version} - - - io.fabric8 - tekton-model-v1beta1 - ${project.version} - - - io.fabric8 - tekton-model-triggers-v1alpha1 - ${project.version} - - - io.fabric8 - tekton-model-triggers-v1beta1 + tekton-model ${project.version}