From cc4c2b38028c33967f4aa791e3c455db5c817c11 Mon Sep 17 00:00:00 2001 From: Fabian-K Date: Wed, 22 Apr 2020 12:59:47 +0200 Subject: [PATCH] [common] - extract go generation logic to shared package - extract common model-annotator - support for omitempty in the shared generator and model-annotator logic - added required indentation style for Makefile in the .editorconfig [tekton-annotator] - replace tekton-annotator with shared model-annotator [tekton-generator] - generate separate tekton schema for versions using different go source dependency version - use shared go generation logic for tekton generators - use go vendor directory for tekton generators - skip building the generator binary for tekton, instead only run the code [tekton-model] - split tekton model by version into v1alpha1 and v1beta1 - remove the generated *Schema class for tekton --- .editorconfig | 4 + .../fabric8/tekton/TektonTypeAnnotator.java | 166 -- extensions/tekton/client/pom.xml | 6 +- .../io/fabric8/tekton/client/CodeGen.java | 4 +- .../api/examples/v1alpha1/TaskRunCreate.java | 61 + .../examples/{ => v1beta1}/TaskRunCreate.java | 2 +- .../tekton/generator-v1alpha1/.gitignore | 1 + extensions/tekton/generator-v1alpha1/Makefile | 28 + .../cmd/generate/generate.go | 51 +- extensions/tekton/generator-v1alpha1/go.mod | 11 + extensions/tekton/generator-v1alpha1/go.sum | 665 +++++ .../tekton/generator-v1beta1/.gitignore | 1 + .../{generator => generator-v1beta1}/Makefile | 6 +- .../cmd/generate/generate.go | 80 + extensions/tekton/generator-v1beta1/go.mod | 11 + .../{generator => generator-v1beta1}/go.sum | 90 +- extensions/tekton/generator/.gitignore | 1 - extensions/tekton/generator/go.mod | 15 - .../tekton/{model => model-v1alpha1}/pom.xml | 37 +- ...TektonV1alpha1ResourceMappingProvider.java | 41 + .../pipeline/v1alpha1/ArrayOrString.java | 0 ...etes.api.KubernetesResourceMappingProvider | 16 + .../schema/tekton-schema-v1alpha1.json | 2223 +++++++++++++++++ extensions/tekton/model-v1beta1/pom.xml | 148 ++ .../TektonV1beta1ResourceMappingProvider.java | 40 + .../pipeline/v1beta1/ArrayOrString.java | 0 ...etes.api.KubernetesResourceMappingProvider | 2 +- .../schema/tekton-schema-v1beta1.json} | 1174 +-------- .../java/io/fabric8/tekton/Constants.java | 21 - .../tekton/TektonResourceMappingProvider.java | 47 - extensions/tekton/pom.xml | 4 +- .../test/crud/V1alpha1PipelineCrudTest.java | 2 +- generator/go.mod | 3 + .../pkg/schemagen/generate.go | 213 +- .../pkg/schemagen/json.go | 0 .../annotator => model-annotator}/pom.xml | 9 +- .../io/fabric8/kubernetes/ModelAnnotator.java | 131 + pom.xml | 8 +- 38 files changed, 3760 insertions(+), 1562 deletions(-) delete mode 100755 extensions/tekton/annotator/src/main/java/io/fabric8/tekton/TektonTypeAnnotator.java create mode 100644 extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/v1alpha1/TaskRunCreate.java rename extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/{ => v1beta1}/TaskRunCreate.java (98%) create mode 100644 extensions/tekton/generator-v1alpha1/.gitignore create mode 100755 extensions/tekton/generator-v1alpha1/Makefile rename extensions/tekton/{generator => generator-v1alpha1}/cmd/generate/generate.go (66%) create mode 100644 extensions/tekton/generator-v1alpha1/go.mod create mode 100644 extensions/tekton/generator-v1alpha1/go.sum create mode 100644 extensions/tekton/generator-v1beta1/.gitignore rename extensions/tekton/{generator => generator-v1beta1}/Makefile (75%) create mode 100644 extensions/tekton/generator-v1beta1/cmd/generate/generate.go create mode 100644 extensions/tekton/generator-v1beta1/go.mod rename extensions/tekton/{generator => generator-v1beta1}/go.sum (89%) delete mode 100644 extensions/tekton/generator/.gitignore delete mode 100644 extensions/tekton/generator/go.mod rename extensions/tekton/{model => model-v1alpha1}/pom.xml (82%) create mode 100644 extensions/tekton/model-v1alpha1/src/main/java/io/fabric8/tekton/TektonV1alpha1ResourceMappingProvider.java rename extensions/tekton/{model => model-v1alpha1}/src/main/java/io/fabric8/tekton/pipeline/v1alpha1/ArrayOrString.java (100%) create mode 100644 extensions/tekton/model-v1alpha1/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider create mode 100644 extensions/tekton/model-v1alpha1/src/main/resources/schema/tekton-schema-v1alpha1.json create mode 100644 extensions/tekton/model-v1beta1/pom.xml create mode 100644 extensions/tekton/model-v1beta1/src/main/java/io/fabric8/tekton/TektonV1beta1ResourceMappingProvider.java rename extensions/tekton/{model => model-v1beta1}/src/main/java/io/fabric8/tekton/pipeline/v1beta1/ArrayOrString.java (100%) rename extensions/tekton/{model => model-v1beta1}/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider (91%) rename extensions/tekton/{model/src/main/resources/schema/tekton-schema.json => model-v1beta1/src/main/resources/schema/tekton-schema-v1beta1.json} (61%) delete mode 100755 extensions/tekton/model/src/main/java/io/fabric8/tekton/Constants.java delete mode 100644 extensions/tekton/model/src/main/java/io/fabric8/tekton/TektonResourceMappingProvider.java create mode 100644 generator/go.mod rename {extensions/tekton/generator => generator}/pkg/schemagen/generate.go (73%) rename {extensions/tekton/generator => generator}/pkg/schemagen/json.go (100%) rename {extensions/tekton/annotator => model-annotator}/pom.xml (85%) create mode 100755 model-annotator/src/main/java/io/fabric8/kubernetes/ModelAnnotator.java diff --git a/.editorconfig b/.editorconfig index b3dfee7afdc..9c1b8ef5ee5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,3 +5,7 @@ end_of_line = lf insert_final_newline = true indent_style = space indent_size = 2 + +[{Makefile,**.mk}] +# Use tabs for indentation (Makefiles require tabs) +indent_style = tab \ No newline at end of file diff --git a/extensions/tekton/annotator/src/main/java/io/fabric8/tekton/TektonTypeAnnotator.java b/extensions/tekton/annotator/src/main/java/io/fabric8/tekton/TektonTypeAnnotator.java deleted file mode 100755 index c67fbba0030..00000000000 --- a/extensions/tekton/annotator/src/main/java/io/fabric8/tekton/TektonTypeAnnotator.java +++ /dev/null @@ -1,166 +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; - -import java.util.HashMap; -import java.util.Map; -import java.util.regex.Pattern; - -import com.fasterxml.jackson.databind.JsonDeserializer; -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.sun.codemodel.JAnnotationArrayMember; -import com.sun.codemodel.JAnnotationUse; -import com.sun.codemodel.JClassAlreadyExistsException; -import com.sun.codemodel.JCodeModel; -import com.sun.codemodel.JDefinedClass; -import com.sun.codemodel.JEnumConstant; -import com.sun.codemodel.JFieldVar; -import com.sun.codemodel.JMethod; -import io.fabric8.kubernetes.model.annotation.ApiGroup; -import io.fabric8.kubernetes.model.annotation.ApiVersion; -import io.sundr.builder.annotations.Buildable; -import io.sundr.builder.annotations.Inline; -import io.sundr.transform.annotations.VelocityTransformation; -import io.sundr.transform.annotations.VelocityTransformations; -import io.sundr.builder.annotations.BuildableReference; -import lombok.EqualsAndHashCode; -import lombok.ToString; -import org.jsonschema2pojo.Jackson2Annotator; - -public class TektonTypeAnnotator extends Jackson2Annotator { - - private final Map pendingResources = new HashMap<>(); - private final Map pendingLists = new HashMap<>(); - - @Override - public void propertyOrder(JDefinedClass clazz, JsonNode propertiesNode) { - //We just want to make sure we avoid infinite loops - clazz.annotate(JsonDeserialize.class) - .param("using", JsonDeserializer.None.class); - clazz.annotate(ToString.class); - clazz.annotate(EqualsAndHashCode.class); - try { - JAnnotationUse buildable = clazz.annotate(Buildable.class) - .param("editableEnabled", false) - .param("validationEnabled", false) - .param("generateBuilderPackage", false) - .param("builderPackage", "io.fabric8.kubernetes.api.builder"); - - buildable.paramArray("inline").annotate(Inline.class) - .param("type", new JCodeModel()._class("io.fabric8.kubernetes.api.model.Doneable")) - .param("prefix", "Doneable") - .param("value", "done"); - - buildable.paramArray("refs").annotate(BuildableReference.class) - .param("value", new JCodeModel()._class("io.fabric8.kubernetes.api.model.ObjectMeta")); - - } catch (JClassAlreadyExistsException e) { - e.printStackTrace(); - } - - if (clazz.fields().containsKey("kind") && clazz.fields().containsKey("metadata")) { - String resourceName; - - if (clazz.name().endsWith("List")) { - resourceName = clazz.name().substring(0, clazz.name().length() - 4); - pendingLists.put(resourceName, clazz); - } else { - resourceName = clazz.name(); - pendingResources.put(clazz.name(), clazz); - } - - if (pendingResources.containsKey(resourceName) && pendingLists.containsKey(resourceName)) { - JDefinedClass resourceClass = pendingResources.get(resourceName); - JDefinedClass resourceListClass = pendingLists.get(resourceName); - - String apiVersion = propertiesNode.get("apiVersion").get("default").toString().replaceAll(Pattern.quote("\""), ""); - String apiGroup = ""; - if (apiVersion.contains("/")) { - apiGroup = apiVersion.substring(0, apiVersion.lastIndexOf("/")); - apiVersion = apiVersion.substring(apiGroup.length() + 1); - } - resourceClass.annotate(ApiVersion.class).param("value", apiVersion); - resourceClass.annotate(ApiGroup.class).param("value", apiGroup); - resourceListClass.annotate(ApiVersion.class).param("value", apiVersion); - resourceListClass.annotate(ApiGroup.class).param("value", apiGroup); - - JAnnotationArrayMember arrayMember = resourceClass.annotate(VelocityTransformations.class) - .paramArray("value"); - arrayMember.annotate(VelocityTransformation.class).param("value", "/manifest.vm") - .param("outputPath", "tekton.properties").param("gather", true); - - pendingLists.remove(resourceName); - pendingResources.remove(resourceName); - } - } - } - - @Override - public void propertyInclusion(JDefinedClass clazz, JsonNode schema) { - - } - - @Override - public void propertyField(JFieldVar field, JDefinedClass clazz, String propertyName, JsonNode propertyNode) { - - } - - @Override - public void propertyGetter(JMethod getter, String propertyName) { - - } - - @Override - public void propertySetter(JMethod setter, String propertyName) { - - } - - @Override - public void anyGetter(JMethod getter) { - - } - - @Override - public void anySetter(JMethod setter) { - - } - - @Override - public void enumCreatorMethod(JMethod creatorMethod) { - - } - - @Override - public void enumValueMethod(JMethod valueMethod) { - - } - - @Override - public void enumConstant(JEnumConstant constant, String value) { - - } - - @Override - public boolean isAdditionalPropertiesSupported() { - return true; - } - - @Override - public void additionalPropertiesField(JFieldVar field, JDefinedClass clazz, String propertyName) { - - } -} diff --git a/extensions/tekton/client/pom.xml b/extensions/tekton/client/pom.xml index 6b0cbb6a923..5613d7d49fa 100644 --- a/extensions/tekton/client/pom.xml +++ b/extensions/tekton/client/pom.xml @@ -54,7 +54,11 @@ io.fabric8 - tekton-model + tekton-model-v1alpha1 + + + io.fabric8 + tekton-model-v1beta1 io.fabric8 diff --git a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/CodeGen.java b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/CodeGen.java index 7b37462b077..ee2d97ad302 100644 --- a/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/CodeGen.java +++ b/extensions/tekton/client/src/main/java/io/fabric8/tekton/client/CodeGen.java @@ -26,9 +26,9 @@ @VelocityTransformation(value = "/resource-handler-services.vm", gather = true, outputPath = "META-INF/services/io.fabric8.kubernetes.client.ResourceHandler") }, resources = { - @ResourceSelector("tekton.properties") + @ResourceSelector("tekton-v1alpha1.properties"), + @ResourceSelector("tekton-v1beta1.properties") } - ) public class CodeGen { } diff --git a/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/v1alpha1/TaskRunCreate.java b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/v1alpha1/TaskRunCreate.java new file mode 100644 index 00000000000..ed407301aba --- /dev/null +++ b/extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/v1alpha1/TaskRunCreate.java @@ -0,0 +1,61 @@ +/** + * 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.api.examples.v1alpha1; + +import io.fabric8.tekton.client.DefaultTektonClient; +import io.fabric8.tekton.client.TektonClient; +import io.fabric8.tekton.pipeline.v1alpha1.TaskRun; +import io.fabric8.tekton.pipeline.v1alpha1.TaskRunBuilder; +import io.fabric8.tekton.pipeline.v1alpha1.TaskRunList; + +public class TaskRunCreate { + public static void main(String[] args) { + try (TektonClient tektonClient = new DefaultTektonClient()) { + String namespace = "default"; + + TaskRun taskRun = new TaskRunBuilder() + .withNewMetadata().withGenerateName("build-gcs-targz-").endMetadata() + .withNewSpec() + .withNewTaskSpec() + .withNewInputs() + .addNewResource().withName("source").withType("storage").endResource() + .endInputs() + .addNewStep().withImage("ubuntu").withScript("cat source/file.txt").endStep() + .endTaskSpec() + .withNewInputs() + .addNewResource() + .withName("source") + .withNewResourceSpec() + .withType("storage") + .addNewParam().withName("location").withValue("gs://build-crd-tests/archive.tar.gz").endParam() + .addNewParam().withName("artifactType").withValue("TarGzArchive").endParam() + .addNewParam().withName("type").withValue("build-gcs").endParam() + .endResourceSpec() + .endResource() + .endInputs() + .endSpec() + .build(); + + // Create TaskRun + taskRun = tektonClient.v1alpha1().taskRuns().inNamespace(namespace).create(taskRun); + System.out.println("Created: " + taskRun.getMetadata().getName()); + + // List TaskRun + TaskRunList taskRunList = tektonClient.v1alpha1().taskRuns().inNamespace(namespace).list(); + System.out.println("There are " + taskRunList.getItems().size() + " TaskRun objects in " + namespace); + } + } +} 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/v1beta1/TaskRunCreate.java similarity index 98% rename from extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/TaskRunCreate.java rename to extensions/tekton/examples/src/main/java/io/fabric8/tekton/api/examples/v1beta1/TaskRunCreate.java index 85f1258c59c..7e08764672d 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/v1beta1/TaskRunCreate.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package io.fabric8.tekton.api.examples; +package io.fabric8.tekton.api.examples.v1beta1; import io.fabric8.tekton.client.DefaultTektonClient; import io.fabric8.tekton.client.TektonClient; diff --git a/extensions/tekton/generator-v1alpha1/.gitignore b/extensions/tekton/generator-v1alpha1/.gitignore new file mode 100644 index 00000000000..57872d0f1e5 --- /dev/null +++ b/extensions/tekton/generator-v1alpha1/.gitignore @@ -0,0 +1 @@ +/vendor/ diff --git a/extensions/tekton/generator-v1alpha1/Makefile b/extensions/tekton/generator-v1alpha1/Makefile new file mode 100755 index 00000000000..1b4702a7abb --- /dev/null +++ b/extensions/tekton/generator-v1alpha1/Makefile @@ -0,0 +1,28 @@ +# +# 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 + pushd ../model-v1alpha1 && \ + mvn clean install -o && \ + popd + +gobuild: + go mod vendor + CGO_ENABLED=0 GO111MODULE=on GO15VENDOREXPERIMENT=1 go run -mod=vendor -a ./cmd/generate/generate.go > ../model-v1alpha1/src/main/resources/schema/tekton-schema-v1alpha1.json diff --git a/extensions/tekton/generator/cmd/generate/generate.go b/extensions/tekton/generator-v1alpha1/cmd/generate/generate.go similarity index 66% rename from extensions/tekton/generator/cmd/generate/generate.go rename to extensions/tekton/generator-v1alpha1/cmd/generate/generate.go index 2cc76420577..55529c0b692 100644 --- a/extensions/tekton/generator/cmd/generate/generate.go +++ b/extensions/tekton/generator-v1alpha1/cmd/generate/generate.go @@ -16,23 +16,23 @@ package main import ( - "bytes" - "encoding/json" "fmt" - "github.com/fabric8io/kubernetes-client/extensions/tekton/generator/pkg/schemagen" + "github.com/fabric8io/kubernetes-client/generator/pkg/schemagen" "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1alpha1" - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1" resource "github.com/tektoncd/pipeline/pkg/apis/resource/v1alpha1" machinery "k8s.io/apimachinery/pkg/apis/meta/v1" - "log" "reflect" ) func main() { + // continue from here -> somehow the ArrayOrString is fucked up + // and local changes of common part are not considered ?! + // the CRD List types for which the model should be generated // no other types need to be defined as they are auto discovered crdLists := []reflect.Type{ + // v1alpha1 reflect.TypeOf(v1alpha1.ConditionList{}), reflect.TypeOf(v1alpha1.PipelineList{}), reflect.TypeOf(v1alpha1.PipelineRunList{}), @@ -40,24 +40,17 @@ func main() { reflect.TypeOf(v1alpha1.TaskRunList{}), reflect.TypeOf(v1alpha1.ClusterTaskList{}), - reflect.TypeOf(v1beta1.PipelineList{}), - reflect.TypeOf(v1beta1.PipelineRunList{}), - reflect.TypeOf(v1beta1.TaskList{}), - reflect.TypeOf(v1beta1.TaskRunList{}), - reflect.TypeOf(v1beta1.ClusterTaskList{}), - reflect.TypeOf(resource.PipelineResourceList{}), } // constraints and patterns for fields constraints := map[reflect.Type]map[string]*schemagen.Constraint{ reflect.TypeOf(v1alpha1.Step{}): {"Name": &schemagen.Constraint{MaxLength: 63, Pattern: "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"}}, - 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.ArrayOrString{}), JavaClass: "io.fabric8.tekton.pipeline.v1beta1.ArrayOrString"}, + {GoType: reflect.TypeOf(v1alpha1.ArrayOrString{}), JavaClass: "io.fabric8.tekton.pipeline.v1alpha1.ArrayOrString"}, } // go packages that are provided and where no generation is required and their corresponding java package @@ -70,14 +63,18 @@ func main() { // 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) - versionInformation := map[string]schemagen.VersionInformation{ + 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"}, "github.com/tektoncd/pipeline/pkg/apis/resource/v1alpha1": {JavaPackage: "io.fabric8.tekton.resource.v1alpha1", ApiGroup: "tekton.dev", ApiVersion: "v1alpha1"}, - // v1beta1 - "github.com/tektoncd/pipeline/pkg/apis/pipeline/v1beta1": {JavaPackage: "io.fabric8.tekton.pipeline.v1beta1", ApiGroup: "tekton.dev", ApiVersion: "v1beta1"}, - // strange... - "github.com/tektoncd/pipeline/pkg/apis/pipeline/pod": {JavaPackage: "io.fabric8.tekton.pipeline.pod"}, + } + + // 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 @@ -85,21 +82,7 @@ func main() { reflect.TypeOf(machinery.Time{}): "java.lang.String", } - schema, err := schemagen.GenerateSchema(crdLists, providedPackages, manualTypeMap, versionInformation, providedTypes, constraints) - if err != nil { - log.Fatal(err) - } - - b, err := json.Marshal(&schema) - if err != nil { - log.Fatal(err) - } - result := string(b) - var out bytes.Buffer - err = json.Indent(&out, []byte(result), "", " ") - if err != nil { - log.Fatal(err) - } + json := schemagen.GenerateSchema(crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints) - fmt.Println(out.String()) + fmt.Println(json) } diff --git a/extensions/tekton/generator-v1alpha1/go.mod b/extensions/tekton/generator-v1alpha1/go.mod new file mode 100644 index 00000000000..477eca9f740 --- /dev/null +++ b/extensions/tekton/generator-v1alpha1/go.mod @@ -0,0 +1,11 @@ +module github.com/fabric8io/kubernetes-client/extensions/tekton/generator + +require ( + github.com/fabric8io/kubernetes-client/generator v0.0.0 + github.com/tektoncd/pipeline v0.10.2 + k8s.io/apimachinery v0.17.1 +) + +replace github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator + +go 1.13 diff --git a/extensions/tekton/generator-v1alpha1/go.sum b/extensions/tekton/generator-v1alpha1/go.sum new file mode 100644 index 00000000000..8823d372975 --- /dev/null +++ b/extensions/tekton/generator-v1alpha1/go.sum @@ -0,0 +1,665 @@ +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.43.0/go.mod h1:BOSR3VbTLkk6FDC/TcffxP4NF/FFBGA5ku+jvKOP7pg= +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.47.0/go.mod h1:5p3Ky/7f3N10VBkhuR5LFtddroTiMyjZV/Kj5qOQFxU= +cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o= +cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE= +cloud.google.com/go/logging v1.0.0/go.mod h1:V1cc3ogwobYzQq5f2R7DS/GvRIrI4FKj01Gs5glwAls= +cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= +cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= +contrib.go.opencensus.io/exporter/ocagent v0.4.12/go.mod h1:450APlNTSR6FrvC3CTRqYosuDstRB9un7SOx2k/9ckA= +contrib.go.opencensus.io/exporter/prometheus v0.1.0/go.mod h1:cGFniUXGZlKRjzOyuZJ6mgB+PgBcCIa79kEKR8YCW+A= +contrib.go.opencensus.io/exporter/stackdriver v0.12.8/go.mod h1:XyyafDnFOsqoxHJgTFycKZMrRUrPThLh2iYTJF6uoO0= +dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +git.apache.org/thrift.git v0.12.0/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= +github.com/Azure/azure-sdk-for-go v28.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v35.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v38.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= +github.com/Azure/go-autorest/autorest v0.1.0/go.mod h1:AKyIcETwSUFxIcs/Wnq/C+kwCtlEYGUVd7FPNb2slmg= +github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= +github.com/Azure/go-autorest/autorest v0.9.3/go.mod h1:GsRuLYvwzLjjjRoWEIyMUaYq8GNUx2nRB378IPt/1p0= +github.com/Azure/go-autorest/autorest/adal v0.1.0/go.mod h1:MeS4XhScH55IST095THyTxElntu7WqB7pNbZo8Q5G3E= +github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0= +github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc= +github.com/Azure/go-autorest/autorest/adal v0.8.1/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q= +github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA= +github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g= +github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= +github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= +github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= +github.com/Azure/go-autorest/autorest/to v0.1.0/go.mod h1:GunWKJp1AEqgMaGLV+iocmRAJWqST1wQYhyyjXJ3SJc= +github.com/Azure/go-autorest/autorest/to v0.2.0/go.mod h1:GunWKJp1AEqgMaGLV+iocmRAJWqST1wQYhyyjXJ3SJc= +github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA= +github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8= +github.com/Azure/go-autorest/autorest/validation v0.2.0/go.mod h1:3EEqHnBxQGHXRYq3HT1WyXAvT7LLY3tl70hw6tQIbjI= +github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= +github.com/Azure/go-autorest/tracing v0.1.0/go.mod h1:ROEEAFwXycQw7Sn3DXNtEedEvdeRAgDr0izn4z5Ij88= +github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= +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/DataDog/zstd v1.3.6-0.20190409195224-796139022798/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= +github.com/DataDog/zstd v1.4.1/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo= +github.com/GoogleCloudPlatform/cloud-builders/gcs-fetcher v0.0.0-20191203181535-308b93ad1f39/go.mod h1:yfGmCjKuUzk9WzubMlW2zwjhCraIc/J+M40cufdemRM= +github.com/GoogleCloudPlatform/k8s-cloud-provider v0.0.0-20190822182118-27a4ced34534/go.mod h1:iroGtC8B3tQiqtds1l+mgk/BBOrxbqjH+eUfFQYRc14= +github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA= +github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= +github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0= +github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE= +github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo= +github.com/Shopify/sarama v1.23.1/go.mod h1:XLH1GYJnLVE0XCr6KdJGVJRTwY30moWNJ4sERjXX6fs= +github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI= +github.com/alcortesm/tgz v0.0.0-20161220082320-9c5fe88206d7/go.mod h1:6zEj6s6u/ghQa61ZWa/C2Aw3RkjiTBOix7dkqa1VLIs= +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/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c= +github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= +github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8= +github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= +github.com/aws/aws-sdk-go v1.16.26/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +github.com/aws/aws-sdk-go v1.27.1/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo= +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/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= +github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk= +github.com/census-instrumentation/opencensus-proto v0.2.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cloudevents/sdk-go v0.0.0-20190509003705-56931988abe3/go.mod h1:j1nZWMLGg3om8SswStBoY6/SHvcLM19MuZqwDtMtmzs= +github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= +github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= +github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk= +github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= +github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +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/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= +github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E= +github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= +github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y= +github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec= +github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk= +github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM= +github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE= +github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-resiliency v1.2.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs= +github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU= +github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I= +github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= +github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= +github.com/emirpasic/gods v1.12.0/go.mod h1:YfzfFFoVP/catgzJb4IKIqXjX78Ha8FMSDh3ymbK86o= +github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g= +github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/evanphx/json-patch v4.5.0+incompatible h1:ouOWdg56aJriqS0huScTkVXPC5IcNrDCXZ6OoTAWu7M= +github.com/evanphx/json-patch v4.5.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= +github.com/fabric8io/kubernetes-client v1.4.35 h1:uxi2o/28eo/SMD6+6g0dwNj3oAIrocrgac/6wGQzt+Q= +github.com/fabric8io/kubernetes-client v4.9.1+incompatible h1:YIWHUUa/yi30XKusseXgDVOmsB3+C7JSDUuGrQmwCBA= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= +github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= +github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g= +github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= +github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk= +github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04= +github.com/gliderlabs/ssh v0.2.2/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0= +github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU= +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-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-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas= +github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= +github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= +github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= +github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= +github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= +github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= +github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= +github.com/go-openapi/spec v0.19.4/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= +github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= +github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= +github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/gobuffalo/envy v1.6.5/go.mod h1:N+GkhhZ/93bGZc6ZKhJLP6+m+tCNPKwgSpH9kaifseQ= +github.com/gobuffalo/envy v1.7.1/go.mod h1:FurDp9+EDPE4aIUS3ZLyD+7/9fpx7YRt/ukY6jIHf0w= +github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= +github.com/gogo/protobuf v1.0.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= +github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.2.2-0.20190730201129-28a6bbf47e48/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= +github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/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/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +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 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +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/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 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-containerregistry v0.0.0-20200115214256-379933c9c22b/go.mod h1:Wtl/v6YdQxv397EREtzwgd9+Ud7Q5D8XMbi3Zazgkrs= +github.com/google/go-licenses v0.0.0-20191112164736-212ea350c932/go.mod h1:16wa6pRqNDUIhOtwF0GcROVqMeXHZJ7H6eGDFUh5Pfk= +github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= +github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= +github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= +github.com/google/licenseclassifier v0.0.0-20190926221455-842c0d70d702/go.mod h1:qsqn2hxC+vURpyBRygGUuinTO42MFRLcsmQ/P8v94+M= +github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= +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-20190723021845-34ac40c74b70/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= +github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.1.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/gax-go v2.0.2+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= +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/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= +github.com/googleapis/gnostic v0.2.2/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= +github.com/googleapis/gnostic v0.3.1 h1:WeAefnSUHlBb0iJKwxFDZdbfGwkd7xRNuV+IpXMJhYk= +github.com/googleapis/gnostic v0.3.1/go.mod h1:on+2t9HRStVgn95RSsFWFz+6Q0Snyqv1awfrALZdbtU= +github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= +github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg= +github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs= +github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= +github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= +github.com/h2non/gock v1.0.9/go.mod h1:CZMcB0Lg5IWnr9bF79pPMg9WeV6WumxQiUJ1UvdO1iE= +github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= +github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= +github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= +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.3 h1:YPkqC67at8FYaadspW/6uE0COsBxS2656RLEr8Bppgk= +github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= +github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= +github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= +github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= +github.com/jcmturner/gofork v0.0.0-20190328161633-dc7c13fece03/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= +github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= +github.com/jenkins-x/go-scm v1.5.65/go.mod h1:MgGRkJScE/rJ30J/bXYqduN5sDPZqZFITJopsnZmTOw= +github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= +github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= +github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8= +github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= +github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= +github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/json-iterator/go v1.1.8 h1:QiWkFLKq0T7mpzwOTu6BzNDbfTE8OLrYhVKYMLF46Ok= +github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= +github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= +github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/kelseyhightower/envconfig v1.3.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg= +github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= +github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= +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.2/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/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= +github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= +github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= +github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ= +github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ= +github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc= +github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs= +github.com/markbates/inflect v1.0.4/go.mod h1:1fR9+pO2KHEO9ZRtto13gDwwZaAKstQzferVeWqbgNs= +github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a h1:+J2gw7Bw77w/fbK7wnNJJDKmw1IbWft2Ul5BzrG1Qm8= +github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a/go.mod h1:M1qoD/MqPgTZIk0EWKB38wE28ACRfVcn+cU08jyArI0= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= +github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY= +github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= +github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= +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-20180320133207-05fbef0ca5da/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI= +github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= +github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= +github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ= +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/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= +github.com/nats-io/gnatsd v1.4.1/go.mod h1:nqco77VO78hLCJpIcVfygDP2rPGfsEHkGTUk94uh5DQ= +github.com/nats-io/go-nats v1.7.0/go.mod h1:+t7RHT5ApZebkrQdnn6AhQJmhJJiKAvJUio1PiiCtj0= +github.com/nats-io/nkeys v0.0.2/go.mod h1:dab7URMsZm6Z/jp9Z5UGa87Uutgc2mVpXLC4B7TDb/4= +github.com/nats-io/nuid v1.0.0/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= +github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32/go.mod h1:9wM+0iRr9ahx58uYLpLIr5fm8diHn0JbqRycJi6w0Ms= +github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= +github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= +github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= +github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= +github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= +github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0= +github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= +github.com/openzipkin/zipkin-go v0.2.0/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= +github.com/otiai10/copy v1.0.2/go.mod h1:c7RpqBkwMom4bYTSkLSym4VSJz/XtncWRAj/J4PEIMY= +github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE= +github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= +github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= +github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= +github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= +github.com/pierrec/lz4 v0.0.0-20190327172049-315a67e90e41/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= +github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= +github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pierrec/lz4 v2.2.6+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY= +github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= +github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA= +github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA= +github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= +github.com/prometheus/client_golang v0.9.2/go.mod h1:OsXs2jCmiKlQ1lTBmv21f2mNfw4xf/QclQDMrYNZzcM= +github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= +github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g= +github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= +github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/common v0.0.0-20181126121408-4724e9255275/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= +github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc= +github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA= +github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20181204211112-1dc9a6cbc91a/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= +github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ= +github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/rcrowley/go-metrics v0.0.0-20190706150252-9beb055b7962/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= +github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= +github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= +github.com/rogpeppe/go-internal v1.3.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc= +github.com/rubiojr/go-vhd v0.0.0-20160810183302-0bfd3b39853c/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto= +github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g= +github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= +github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U= +github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= +github.com/shurcooL/githubv4 v0.0.0-20190718010115-4ba037080260/go.mod h1:hAF0iLZy4td2EX+/8Tw+4nodhlMrwN3HupfaXj3zkGo= +github.com/shurcooL/githubv4 v0.0.0-20191102174205-af46314aec7b/go.mod h1:hAF0iLZy4td2EX+/8Tw+4nodhlMrwN3HupfaXj3zkGo= +github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f/go.mod h1:AuYgA5Kyo4c7HfUmvRGs/6rGlMMV/6B1bVnB9JxJEEg= +github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= +github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ= +github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk= +github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE= +github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU= +github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo= +github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= +github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= +github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= +github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI= +github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= +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.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= +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/tektoncd/pipeline v0.10.2 h1:QJUNyu78NRZjdWCykQGjqJZFD5g6ibsfrxJL7TZo+8c= +github.com/tektoncd/pipeline v0.10.2/go.mod h1:D2X0exT46zYx95BU7ByM8+erpjoN7thmUBvlKThOszU= +github.com/tektoncd/plumbing v0.0.0-20191216083742-847dcf196de9/go.mod h1:QZHgU07PRBTRF6N57w4+ApRu8OgfYLFNqCDlfEZaD9Y= +github.com/tektoncd/plumbing/pipelinerun-logs v0.0.0-20191206114338-712d544c2c21/go.mod h1:S62EUWtqmejjJgUMOGB1CCCHRp6C706laH06BoALkzU= +github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= +github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0= +github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/vdemeester/k8s-pkg-credentialprovider v0.0.0-20200107171650-7c61ffa44238/go.mod h1:JwQJCMWpUDqjZrB5jpw0f5VbN7U95zxFy1ZDpoEarGo= +github.com/vdemeester/k8s-pkg-credentialprovider v1.13.12-1/go.mod h1:Fko0rTxEtDW2kju5Ky7yFJNS3IcNvW8IPsp4/e9oev0= +github.com/vmware/govmomi v0.20.3/go.mod h1:URlwyTFZX72RmxtxuaFL2Uj3fD1JTvZdx59bHWk6aFU= +github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4= +github.com/xdg/scram v0.0.0-20180814205039-7eeb5667e42c/go.mod h1:lB8K/P019DLNhemzwFU4jHLhdvlE6uDZjXFejJXr49I= +github.com/xdg/stringprep v1.0.0/go.mod h1:Jhud4/sHMO4oL310DaZAKk9ZaJ08SJfe+sJh0HrGL1Y= +github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= +github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q= +go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= +go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg= +go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= +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.1/go.mod h1:Ap50jQcDJrx6rB6VgeeFPtuPIf3wMRvRfrfYDO6+BmA= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= +golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/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-20190404164418-38d8ce5564a5/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= +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-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= +golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413 h1:ULYEB3JvPRE/IfO+9uO7vKV/xzVTO7XPAwm8xbf4w2g= +golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/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-20190125153040-c74c464bbbf2/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-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= +golang.org/x/exp v0.0.0-20190731235908-ec7cb31e5a56/go.mod h1:JhuoJpWY28nO4Vef9tZUw9qufEGTyX1+7lmHxV5q5G4= +golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek= +golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3/go.mod h1:NOZ3BPKG0ec/BKJQgnvsSFpcKLM5xXVWnvZS97DWHgE= +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/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/mobile v0.0.0-20190806162312-597adff16ade/go.mod h1:AlhUtkH4DA4asiFC5RgK7ZKmauvtkAVcy9L0epCzlWo= +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/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +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-20180906233101-161cd47e91fd/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-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181220203305-927f97764cc3/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-20190125091013-d26f9f9a57f3/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-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190912160710-24e19bdeb0f2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914 h1:MlY3mEfbnWGmUi4rtHOtNnnnN4UJRGSyLPx+DXA5Sq4= +golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +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 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0= +golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= +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/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +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-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/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-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190209173611-3b5209105503/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-20190219203350-90b0e4468f99/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/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-20190403152447-81d4e9dc473e/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-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190912141932-bc967efca4b8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191010194322-b09406accb47/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191210023423-ac6580df4449 h1:gSbV7h1NRL2G1xTg/owz62CST1oJBmxy4QpMMregXVQ= +golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/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 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= +golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= +golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +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 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs= +golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/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-20190206041539-40960b6deb8e/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-20190614205625-5aca471b1d59/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-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= +golang.org/x/tools v0.0.0-20190729092621-ff9f1409240a/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI= +golang.org/x/tools v0.0.0-20190807223507-b346f7fd45de/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +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-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191010171213-8abd42400456/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191112005509-a3f652f18032/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-20200115165105-de0b1760071a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +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= +gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0= +gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw= +gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ= +google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk= +google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= +google.golang.org/api v0.6.1-0.20190607001116-5213b8090861/go.mod h1:btoxGiFvQNVUZQ8W08zLtrVS08CNpINPEfxXxgJL1Q4= +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.10.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= +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.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5 h1:tycE03LOZYQNhDpS27tcQdAzLCVMaj7QT2SXxebnpCM= +google.golang.org/appengine v1.6.5/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-20190708153700-3bdd9d9f5532/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s= +google.golang.org/genproto v0.0.0-20190716160619-c506a9f90610/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +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-20191009194640-548a555dbc03/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc= +google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.19.1/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM= +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.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= +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/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= +gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= +gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys= +gopkg.in/gcfg.v1 v1.2.0/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o= +gopkg.in/inf.v0 v0.9.0/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= +gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= +gopkg.in/jcmturner/aescts.v1 v1.0.1/go.mod h1:nsR8qBOg+OucoIW+WMhB3GspUQXq9XorLnQb9XtvcOo= +gopkg.in/jcmturner/dnsutils.v1 v1.0.1/go.mod h1:m3v+5svpVOhtFAP/wSz+yzh4Mc0Fg7eRhxkJMWSIz9Q= +gopkg.in/jcmturner/gokrb5.v7 v7.2.3/go.mod h1:l8VISx+WGYp+Fp7KRbsiUuXTTOnxIc3Tuvyavf11/WM= +gopkg.in/jcmturner/gokrb5.v7 v7.3.0/go.mod h1:l8VISx+WGYp+Fp7KRbsiUuXTTOnxIc3Tuvyavf11/WM= +gopkg.in/jcmturner/rpc.v1 v1.1.0/go.mod h1:YIdkC4XfD6GXbzje11McwsDuOlZQSb9W4vfLvuNnlv8= +gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= +gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI= +gopkg.in/src-d/go-billy.v4 v4.3.2/go.mod h1:nDjArDMp+XMs1aFAESLRjfGSgfvoYN0hDfzEk0GjC98= +gopkg.in/src-d/go-git-fixtures.v3 v3.5.0/go.mod h1:dLBcvytrw/TYZsNTWCnkNF2DSIlzWYqTe3rJR56Ac7g= +gopkg.in/src-d/go-git.v4 v4.13.1/go.mod h1:nx5NYcxdKxq5fpltdHnPa2Exj4Sx0EclMWZQbYDu2z8= +gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/warnings.v0 v0.1.1/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= +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.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gopkg.in/yaml.v2 v2.2.5 h1:ymVxjfMaHvXD8RqPRmzHHsB3VvucivSkIAvJFDI5O3c= +gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= +gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw= +honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +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.2/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +k8s.io/api v0.17.0 h1:H9d/lw+VkZKEVIUc8F3wgiQ+FUXTTr21M87jXLU7yqM= +k8s.io/api v0.17.0/go.mod h1:npsyOePkeP0CPwyGfXDHxvypiYMJxBWAMpQxCaJ4ZxI= +k8s.io/apimachinery v0.0.0-20190703205208-4cfb76a8bf76/go.mod h1:M2fZgZL9DbLfeJaPBCDqSqNsdsmLN+V29knYJnIXlMA= +k8s.io/apimachinery v0.17.0/go.mod h1:b9qmWdKlLuU9EBh+06BtLcSf/Mu89rWL33naRxs1uZg= +k8s.io/apimachinery v0.17.1 h1:zUjS3szTxoUjTDYNvdFkYt2uMEXLcthcbp+7uZvWhYM= +k8s.io/apimachinery v0.17.1/go.mod h1:b9qmWdKlLuU9EBh+06BtLcSf/Mu89rWL33naRxs1uZg= +k8s.io/apiserver v0.17.0/go.mod h1:ABM+9x/prjINN6iiffRVNCBR2Wk7uY4z+EtEGZD48cg= +k8s.io/client-go v0.17.0 h1:8QOGvUGdqDMFrm9sD6IUFl256BcffynGoe80sxgTEDg= +k8s.io/client-go v0.17.0/go.mod h1:TYgR6EUHs6k45hb6KWjVD6jFZvJV4gHDikv/It0xz+k= +k8s.io/cloud-provider v0.17.0/go.mod h1:Ze4c3w2C0bRsjkBUoHpFi+qWe3ob1wI2/7cUn+YQIDE= +k8s.io/code-generator v0.17.1/go.mod h1:DVmfPQgxQENqDIzVR2ddLXMH34qeszkKSdH/N+s+38s= +k8s.io/component-base v0.17.0/go.mod h1:rKuRAokNMY2nn2A6LP/MiwpoaMRHpfRnrPaUJJj1Yoc= +k8s.io/csi-translation-lib v0.17.0/go.mod h1:HEF7MEz7pOLJCnxabi45IPkhSsE/KmxPQksuCrHKWls= +k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20190822140433-26a664648505/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/gengo v0.0.0-20191108084044-e500ee069b5c/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0= +k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= +k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= +k8s.io/klog v0.3.1/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= +k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8= +k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= +k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc= +k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a h1:UcxjrRMyNx/i/y8G7kPvLyy7rfbeuf1PYyBf973pgyU= +k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E= +k8s.io/legacy-cloud-providers v0.17.0/go.mod h1:DdzaepJ3RtRy+e5YhNtrCYwlgyK87j/5+Yfp0L9Syp8= +k8s.io/utils v0.0.0-20191114184206-e782cd3c129f h1:GiPwtSzdP43eI1hpPCbROQCCIgCuiMMNF8YUVLF3vJo= +k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= +knative.dev/caching v0.0.0-20190719140829-2032732871ff/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg= +knative.dev/eventing-contrib v0.6.1-0.20190723221543-5ce18048c08b/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g= +knative.dev/pkg v0.0.0-20191111150521-6d806b998379 h1:0IbJWfv82eUhoNymvIrTjxVqrAURRK1x39+//IZV7Cc= +knative.dev/pkg v0.0.0-20191111150521-6d806b998379/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q= +modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= +modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk= +modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k= +modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs= +modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I= +pack.ag/amqp v0.11.0/go.mod h1:4/cbmt4EJXSKlG6LCfWHoqmN0uFdy5i/+YFz+fTfhV4= +rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= +sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI= +sigs.k8s.io/structured-merge-diff v1.0.1-0.20191108220359-b1b620dd3f06/go.mod h1:/ULNhyfzRopfcjskuui0cTITekDduZ7ycKN3oUT9R18= +sigs.k8s.io/yaml v1.1.0 h1:4A07+ZFc2wgJwo8YNlQpr1rVlgUDlxXHhPJciaPY5gs= +sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o= diff --git a/extensions/tekton/generator-v1beta1/.gitignore b/extensions/tekton/generator-v1beta1/.gitignore new file mode 100644 index 00000000000..57872d0f1e5 --- /dev/null +++ b/extensions/tekton/generator-v1beta1/.gitignore @@ -0,0 +1 @@ +/vendor/ diff --git a/extensions/tekton/generator/Makefile b/extensions/tekton/generator-v1beta1/Makefile similarity index 75% rename from extensions/tekton/generator/Makefile rename to extensions/tekton/generator-v1beta1/Makefile index 29051de3c33..eb38ce723a1 100755 --- a/extensions/tekton/generator/Makefile +++ b/extensions/tekton/generator-v1beta1/Makefile @@ -19,10 +19,10 @@ SHELL := /bin/bash all: build build: gobuild - pushd ../model && \ + pushd ../model-v1beta1 && \ mvn clean install -o && \ popd gobuild: - CGO_ENABLED=0 GO111MODULE=on GO15VENDOREXPERIMENT=1 go build -a ./cmd/generate/generate.go - ./generate > ../model/src/main/resources/schema/tekton-schema.json + go mod vendor + CGO_ENABLED=0 GO111MODULE=on GO15VENDOREXPERIMENT=1 go run -mod=vendor -a ./cmd/generate/generate.go > ../model-v1beta1/src/main/resources/schema/tekton-schema-v1beta1.json diff --git a/extensions/tekton/generator-v1beta1/cmd/generate/generate.go b/extensions/tekton/generator-v1beta1/cmd/generate/generate.go new file mode 100644 index 00000000000..3e9fb4cce97 --- /dev/null +++ b/extensions/tekton/generator-v1beta1/cmd/generate/generate.go @@ -0,0 +1,80 @@ +/** + * 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" + machinery "k8s.io/apimachinery/pkg/apis/meta/v1" + "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 := []reflect.Type{ + // v1beta1 + reflect.TypeOf(v1beta1.PipelineList{}), + reflect.TypeOf(v1beta1.PipelineRunList{}), + reflect.TypeOf(v1beta1.TaskList{}), + reflect.TypeOf(v1beta1.TaskRunList{}), + reflect.TypeOf(v1beta1.ClusterTaskList{}), + } + + // 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.ArrayOrString{}), JavaClass: "io.fabric8.tekton.pipeline.v1beta1.ArrayOrString"}, + } + + // 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.v1", + "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"}, + } + + // 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(machinery.Time{}): "java.lang.String", + } + + json := schemagen.GenerateSchema(crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints) + + fmt.Println(json) +} diff --git a/extensions/tekton/generator-v1beta1/go.mod b/extensions/tekton/generator-v1beta1/go.mod new file mode 100644 index 00000000000..470c261c99d --- /dev/null +++ b/extensions/tekton/generator-v1beta1/go.mod @@ -0,0 +1,11 @@ +module github.com/fabric8io/kubernetes-client/extensions/tekton/generator + +require ( + github.com/fabric8io/kubernetes-client/generator v0.0.0 + github.com/tektoncd/pipeline v0.11.2 + k8s.io/apimachinery v0.17.2 +) + +replace github.com/fabric8io/kubernetes-client/generator v0.0.0 => ./../../../generator + +go 1.13 diff --git a/extensions/tekton/generator/go.sum b/extensions/tekton/generator-v1beta1/go.sum similarity index 89% rename from extensions/tekton/generator/go.sum rename to extensions/tekton/generator-v1beta1/go.sum index e9c903f0ad0..fbb8972129a 100644 --- a/extensions/tekton/generator/go.sum +++ b/extensions/tekton/generator-v1beta1/go.sum @@ -18,12 +18,10 @@ contrib.go.opencensus.io/exporter/prometheus v0.1.0/go.mod h1:cGFniUXGZlKRjzOyuZ contrib.go.opencensus.io/exporter/stackdriver v0.12.8/go.mod h1:XyyafDnFOsqoxHJgTFycKZMrRUrPThLh2iYTJF6uoO0= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= git.apache.org/thrift.git v0.12.0/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg= -github.com/Azure/azure-sdk-for-go v28.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v30.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v35.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v38.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8= -github.com/Azure/go-autorest/autorest v0.1.0/go.mod h1:AKyIcETwSUFxIcs/Wnq/C+kwCtlEYGUVd7FPNb2slmg= github.com/Azure/go-autorest/autorest v0.2.0/go.mod h1:AKyIcETwSUFxIcs/Wnq/C+kwCtlEYGUVd7FPNb2slmg= github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI= github.com/Azure/go-autorest/autorest v0.9.3/go.mod h1:GsRuLYvwzLjjjRoWEIyMUaYq8GNUx2nRB378IPt/1p0= @@ -36,11 +34,9 @@ github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+v github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0= github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM= -github.com/Azure/go-autorest/autorest/to v0.1.0/go.mod h1:GunWKJp1AEqgMaGLV+iocmRAJWqST1wQYhyyjXJ3SJc= github.com/Azure/go-autorest/autorest/to v0.2.0/go.mod h1:GunWKJp1AEqgMaGLV+iocmRAJWqST1wQYhyyjXJ3SJc= github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA= github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8= -github.com/Azure/go-autorest/autorest/validation v0.2.0/go.mod h1:3EEqHnBxQGHXRYq3HT1WyXAvT7LLY3tl70hw6tQIbjI= github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc= github.com/Azure/go-autorest/tracing v0.1.0/go.mod h1:ROEEAFwXycQw7Sn3DXNtEedEvdeRAgDr0izn4z5Ij88= github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk= @@ -79,7 +75,6 @@ github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnweb github.com/census-instrumentation/opencensus-proto v0.2.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= -github.com/cloudevents/sdk-go v0.0.0-20190509003705-56931988abe3/go.mod h1:j1nZWMLGg3om8SswStBoY6/SHvcLM19MuZqwDtMtmzs= github.com/cloudevents/sdk-go v1.0.0/go.mod h1:3TkmM0cFqkhCHOq5JzzRU/RxRkwzoS8TZ+G448qVTog= github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA= @@ -153,18 +148,15 @@ github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gobuffalo/envy v1.6.5/go.mod h1:N+GkhhZ/93bGZc6ZKhJLP6+m+tCNPKwgSpH9kaifseQ= -github.com/gobuffalo/envy v1.7.1/go.mod h1:FurDp9+EDPE4aIUS3ZLyD+7/9fpx7YRt/ukY6jIHf0w= github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s= github.com/gogo/protobuf v1.0.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.2.2-0.20190730201129-28a6bbf47e48/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= github.com/gogo/protobuf v1.3.1 h1:DqDEcV5aeaTmdFBePNpYsp3FlcVH/2ISVVM9Qf8PSls= github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -173,29 +165,22 @@ github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfb github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y= github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.1 h1:YF8+flBXS5eO826T4nzqPrxfhQThhXl0YzfuUPu4SBg= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= -github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= -github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.1 h1:Xye71clBPdm5HgqGwUkwhbynsUJZhDbS20FvLhQ2izg= github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-containerregistry v0.0.0-20190623150931-ca8b66cb1b79/go.mod h1:yZAFP63pRshzrEYLXLGPmUt0Ay+2zdjmMN1loCnRLUk= github.com/google/go-containerregistry v0.0.0-20200115214256-379933c9c22b/go.mod h1:Wtl/v6YdQxv397EREtzwgd9+Ud7Q5D8XMbi3Zazgkrs= github.com/google/go-licenses v0.0.0-20191112164736-212ea350c932/go.mod h1:16wa6pRqNDUIhOtwF0GcROVqMeXHZJ7H6eGDFUh5Pfk= github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI= -github.com/google/gofuzz v1.0.0 h1:A8PeW59pxE9IoFRqBp37U+mSNaQoZ46F1f0f863XSXw= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/gofuzz v1.1.0 h1:Hsa8mG0dQ46ij8Sl2AYJDUv1oA9/d6Vk+3LG99Oe02g= github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= @@ -206,16 +191,12 @@ github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OI github.com/google/pprof v0.0.0-20190723021845-34ac40c74b70/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/google/uuid v1.1.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/gax-go v2.0.2+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY= 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/googleapis/gnostic v0.0.0-20170426233943-68f4ded48ba9/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.2.2/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= -github.com/googleapis/gnostic v0.3.0 h1:CcQijm0XKekKjP/YCz28LXVSpgguuB+nCxaSjCe09y0= -github.com/googleapis/gnostic v0.3.0/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY= github.com/googleapis/gnostic v0.3.1 h1:WeAefnSUHlBb0iJKwxFDZdbfGwkd7xRNuV+IpXMJhYk= github.com/googleapis/gnostic v0.3.1/go.mod h1:on+2t9HRStVgn95RSsFWFz+6Q0Snyqv1awfrALZdbtU= github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8= @@ -225,9 +206,6 @@ github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2z github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/gregjones/httpcache v0.0.0-20190212212710-3befbb6ad0cc/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA= -github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= @@ -237,20 +215,17 @@ github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brv github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/golang-lru v0.5.1 h1:0hERBMJE1eitiLkihrMvRVBYAkpHzc/J3QdDN+dAcgU= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.3 h1:YPkqC67at8FYaadspW/6uE0COsBxS2656RLEr8Bppgk= github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4= github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= -github.com/imdario/mergo v0.3.7/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA= github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo= github.com/jcmturner/gofork v0.0.0-20190328161633-dc7c13fece03/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= github.com/jcmturner/gofork v1.0.0/go.mod h1:MK8+TM0La+2rjBD4jE12Kj1pCCxK7d2LK/UM3ncEo0o= -github.com/jenkins-x/go-scm v1.5.65/go.mod h1:MgGRkJScE/rJ30J/bXYqduN5sDPZqZFITJopsnZmTOw= github.com/jenkins-x/go-scm v1.5.79/go.mod h1:PCT338UhP/pQ0IeEeMEf/hoLTYKcH7qjGEKd7jPkeYg= github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI= github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k= @@ -258,25 +233,17 @@ github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52Cu github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg= github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= -github.com/json-iterator/go v1.1.6 h1:MrUvLMLTMxbqFJ9kzlvat/rYZqZnW3u4wkLzWTaFwKs= github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.8 h1:QiWkFLKq0T7mpzwOTu6BzNDbfTE8OLrYhVKYMLF46Ok= github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= -github.com/kelseyhightower/envconfig v1.3.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg= github.com/kelseyhightower/envconfig v1.4.0/go.mod h1:cccZRl6mQpaq41TPp5QxidR+Sa3axMbJDNb//FQX6Gg= github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= -github.com/knative/build v0.7.0/go.mod h1:/sU74ZQkwlYA5FwYDJhYTy61i/Kn+5eWfln2jDbw3Qo= -github.com/knative/eventing v0.7.1/go.mod h1:SkBc5JFsl70Fq/Bjc97+uix8759e4ho0imxq8DQm4DA= -github.com/knative/pkg v0.0.0-20190617142447-13b093adc272 h1:8reWGJv6V0UUy8XFclP1uHEypLKPGvN9wEk4uhQVGAg= -github.com/knative/pkg v0.0.0-20190617142447-13b093adc272/go.mod h1:7Ijfhw7rfB+H9VtosIsDYvZQ+qYTz7auK3fHW/5z4ww= -github.com/knative/serving v0.6.0/go.mod h1:ljvMfwQy2qanaM/8xnBSK4Mz3Vv2NawC2fo5kFRJS1A= -github.com/knative/test-infra v0.0.0-20190702025031-91d37e4abc30/go.mod h1:l77IWBscEV5T4sYb64/9iwRCVY4UXEIqMcAppsblHW4= 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.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc= @@ -314,16 +281,12 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8m 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/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/nats-io/gnatsd v1.4.1/go.mod h1:nqco77VO78hLCJpIcVfygDP2rPGfsEHkGTUk94uh5DQ= -github.com/nats-io/go-nats v1.7.0/go.mod h1:+t7RHT5ApZebkrQdnn6AhQJmhJJiKAvJUio1PiiCtj0= github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg= github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU= github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k= github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w= -github.com/nats-io/nkeys v0.0.2/go.mod h1:dab7URMsZm6Z/jp9Z5UGa87Uutgc2mVpXLC4B7TDb/4= github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w= -github.com/nats-io/nuid v1.0.0/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c= github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32/go.mod h1:9wM+0iRr9ahx58uYLpLIr5fm8diHn0JbqRycJi6w0Ms= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= @@ -345,7 +308,6 @@ github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJ github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo= github.com/pelletier/go-buffruneio v0.2.0/go.mod h1:JkE26KsDizTr40EUHkXVtNPvgGtbSNq5BcowyYOWdKo= github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic= -github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= github.com/pierrec/lz4 v0.0.0-20190327172049-315a67e90e41/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc= @@ -406,7 +368,6 @@ github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzu github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= -github.com/spf13/viper v1.3.1/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s= github.com/src-d/gcfg v1.4.0/go.mod h1:p/UMsR43ujA89BJY9duynAwIpvqEujIH/jFlfL7jWoI= github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw= @@ -417,19 +378,8 @@ github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRci 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/tektoncd/pipeline v0.5.2 h1:3+OSjEamMxBM+qIvhZowE6rSLWZdtUT3jSkqIDG5MnA= -github.com/tektoncd/pipeline v0.5.2/go.mod h1:IZzJdiX9EqEMuUcgdnElozdYYRh0/ZRC+NKMLj1K3Yw= -github.com/tektoncd/pipeline v0.7.0 h1:L5yuqrj+3yjk6c0/V0jRGPpp6gvFC2zY3xN15mN76SM= -github.com/tektoncd/pipeline v0.7.0/go.mod h1:IZzJdiX9EqEMuUcgdnElozdYYRh0/ZRC+NKMLj1K3Yw= -github.com/tektoncd/pipeline v0.9.0 h1:+CASYEwRr4SYpbi/lGpri7dvXSF1LdZcUo9xEQ2aQvk= -github.com/tektoncd/pipeline v0.9.0/go.mod h1:IZzJdiX9EqEMuUcgdnElozdYYRh0/ZRC+NKMLj1K3Yw= -github.com/tektoncd/pipeline v0.10.1 h1:pDsYK2b70o/Ze/CE1nisELwKVVE54FxwyfLznsW1JiE= -github.com/tektoncd/pipeline v0.10.1/go.mod h1:D2X0exT46zYx95BU7ByM8+erpjoN7thmUBvlKThOszU= -github.com/tektoncd/pipeline v0.11.0-rc2 h1:dMdrmxGt5J+BpDf6uv1QyvfnJBmjd/7X5fEQLcCmu+Q= -github.com/tektoncd/pipeline v0.11.0-rc2/go.mod h1:QL3YmLzeKBdKk1THeQ6zmq2UXoPN+KdxeiU/7ynPtqY= -github.com/tektoncd/pipeline v0.11.0 h1:kGeWm53R5ggajD/L2KU8kcsZ2lVd4ruN3kdqK1A/NwQ= -github.com/tektoncd/pipeline v0.11.0/go.mod h1:hlkH32S92+/UODROH0dmxzyuMxfRFp/Nc3e29MewLn8= -github.com/tektoncd/plumbing v0.0.0-20191216083742-847dcf196de9/go.mod h1:QZHgU07PRBTRF6N57w4+ApRu8OgfYLFNqCDlfEZaD9Y= +github.com/tektoncd/pipeline v0.11.2 h1:TV972aSJV2Fg3jPvicy0XQVUIPjZapHJfq9k2n/RvlM= +github.com/tektoncd/pipeline v0.11.2/go.mod h1:hlkH32S92+/UODROH0dmxzyuMxfRFp/Nc3e29MewLn8= github.com/tektoncd/plumbing v0.0.0-20200217163359-cd0db6e567d2/go.mod h1:QZHgU07PRBTRF6N57w4+ApRu8OgfYLFNqCDlfEZaD9Y= github.com/tektoncd/plumbing/pipelinerun-logs v0.0.0-20191206114338-712d544c2c21/go.mod h1:S62EUWtqmejjJgUMOGB1CCCHRp6C706laH06BoALkzU= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= @@ -452,24 +402,19 @@ 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.1/go.mod h1:Ap50jQcDJrx6rB6VgeeFPtuPIf3wMRvRfrfYDO6+BmA= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= -go.uber.org/atomic v1.4.0 h1:cxzIVoETapQEqDhQu3QfnvXAV4AlzcvUCxkVUFw3+EU= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.5.1/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= -go.uber.org/multierr v1.1.0 h1:HoEmRHQPVSqub6w2z2d2EOVs2fjyFRGyofhKuyDq0QI= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= -go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= -go.uber.org/zap v1.10.0 h1:ORx85nbTijNz8ljznvCMR1ZBIPKFn3jQrag10X2AsuM= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= -golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 h1:VklqNMn3ovrHsnt90PveolxSbWFaJdECFbxSq0Mqo2M= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190404164418-38d8ce5564a5/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -522,20 +467,16 @@ golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn 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 h1:rTIdg5QFRR7XCaK4LCjBiPbx8j4DQRpdYMnGn/bJUEU= 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-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190912160710-24e19bdeb0f2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914 h1:MlY3mEfbnWGmUi4rtHOtNnnnN4UJRGSyLPx+DXA5Sq4= -golang.org/x/net v0.0.0-20191119073136-fc4aabc6c914/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200202094626-16171245cfb2 h1:CCH4IOTTfewWjGOlSp+zGcjutRKlBEZQ6wTn8ozI/nI= golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= 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 h1:SVwTIAaPC2U/AvvLNZ2a7OVsmBpC8L5BlwK1whH3hm0= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d h1:TzXSXBo42m9gQenoE3b9BGiEpg5IG2JkU5FkPIawgtw= golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -554,9 +495,7 @@ golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/sys v0.0.0-20190219203350-90b0e4468f99/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/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-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -574,19 +513,15 @@ golang.org/x/sys v0.0.0-20190804053845-51ab0e2deafa/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190912141932-bc967efca4b8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191010194322-b09406accb47/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20191210023423-ac6580df4449 h1:gSbV7h1NRL2G1xTg/owz62CST1oJBmxy4QpMMregXVQ= -golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4 h1:sfkvUWPNGwSV+8/fNqctR5lS2AqCSqYwXdrjCxp/dXo= golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= 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 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= -golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 h1:SvFZT6jyqRaOeXpc5h/JSfZenJ2O330aBsf7JfSUXmQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0 h1:/5xXl8Y5W96D+TtHSlonuFqGHIWVuyCkGJLwGh9JJFs= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -623,7 +558,6 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20200115165105-de0b1760071a/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-20200214144324-88be01311a71/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7 h1:9zdDQZ7Thm29KFXgAX/+yaf3eVbP7djjWp/dXAppNCc= 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= @@ -645,6 +579,7 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7 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.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0= +google.golang.org/appengine v1.6.5 h1:tycE03LOZYQNhDpS27tcQdAzLCVMaj7QT2SXxebnpCM= google.golang.org/appengine v1.6.5/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= @@ -696,7 +631,6 @@ gopkg.in/warnings.v0 v0.1.1/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRN gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI= gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw= gopkg.in/yaml.v2 v2.2.2/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 h1:ymVxjfMaHvXD8RqPRmzHHsB3VvucivSkIAvJFDI5O3c= @@ -709,24 +643,14 @@ honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.2/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -k8s.io/api v0.0.0-20190226173710-145d52631d00 h1:xYfyMq0qxTGAg3O9GK23GMbNrBcpnFg9IeA6isDgIXk= -k8s.io/api v0.0.0-20190226173710-145d52631d00/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA= -k8s.io/api v0.17.0 h1:H9d/lw+VkZKEVIUc8F3wgiQ+FUXTTr21M87jXLU7yqM= k8s.io/api v0.17.0/go.mod h1:npsyOePkeP0CPwyGfXDHxvypiYMJxBWAMpQxCaJ4ZxI= k8s.io/api v0.17.2 h1:NF1UFXcKN7/OOv1uxdRz3qfra8AHsPav5M93hlV9+Dc= k8s.io/api v0.17.2/go.mod h1:BS9fjjLc4CMuqfSO8vgbHPKMt5+SF0ET6u/RVDihTo4= -k8s.io/apimachinery v0.0.0-20190221084156-01f179d85dbc h1:7z9/6jKWBqkK9GI1RRB0B5fZcmkatLQ/nv8kysch24o= -k8s.io/apimachinery v0.0.0-20190221084156-01f179d85dbc/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0= k8s.io/apimachinery v0.0.0-20190703205208-4cfb76a8bf76/go.mod h1:M2fZgZL9DbLfeJaPBCDqSqNsdsmLN+V29knYJnIXlMA= k8s.io/apimachinery v0.17.0/go.mod h1:b9qmWdKlLuU9EBh+06BtLcSf/Mu89rWL33naRxs1uZg= -k8s.io/apimachinery v0.17.1 h1:zUjS3szTxoUjTDYNvdFkYt2uMEXLcthcbp+7uZvWhYM= -k8s.io/apimachinery v0.17.1/go.mod h1:b9qmWdKlLuU9EBh+06BtLcSf/Mu89rWL33naRxs1uZg= k8s.io/apimachinery v0.17.2 h1:hwDQQFbdRlpnnsR64Asdi55GyCaIP/3WQpMmbNBeWr4= k8s.io/apimachinery v0.17.2/go.mod h1:b9qmWdKlLuU9EBh+06BtLcSf/Mu89rWL33naRxs1uZg= k8s.io/apiserver v0.17.0/go.mod h1:ABM+9x/prjINN6iiffRVNCBR2Wk7uY4z+EtEGZD48cg= -k8s.io/cli-runtime v0.0.0-20190325194458-f2b4781c3ae1/go.mod h1:qWnH3/b8sp/l7EvlDh7ulDU3UWA4P4N1NFbEEP791tM= -k8s.io/client-go v0.0.0-20190226174127-78295b709ec6 h1:EqyY1rPCSXiJjwNtNuj9MwuCKpbcbYyha4HTZ+EihE4= -k8s.io/client-go v0.0.0-20190226174127-78295b709ec6/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s= k8s.io/client-go v0.17.0 h1:8QOGvUGdqDMFrm9sD6IUFl256BcffynGoe80sxgTEDg= k8s.io/client-go v0.17.0/go.mod h1:TYgR6EUHs6k45hb6KWjVD6jFZvJV4gHDikv/It0xz+k= k8s.io/cloud-provider v0.17.0/go.mod h1:Ze4c3w2C0bRsjkBUoHpFi+qWe3ob1wI2/7cUn+YQIDE= @@ -742,21 +666,13 @@ k8s.io/klog v0.3.1/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk= k8s.io/klog v1.0.0 h1:Pt+yjF5aB1xDSVbau4VsWe+dQNzA0qv1LlXdC2dF6Q8= k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I= k8s.io/kube-openapi v0.0.0-20190228160746-b3a7cee44a30/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc= -k8s.io/kube-openapi v0.0.0-20190603182131-db7b694dc208 h1:5sW+fEHvlJI3Ngolx30CmubFulwH28DhKjGf70Xmtco= -k8s.io/kube-openapi v0.0.0-20190603182131-db7b694dc208/go.mod h1:nfDlWeOsu3pUf4yWGL+ERqohP4YsZcBJXWMK+gkzOA4= k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a h1:UcxjrRMyNx/i/y8G7kPvLyy7rfbeuf1PYyBf973pgyU= k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E= k8s.io/legacy-cloud-providers v0.17.0/go.mod h1:DdzaepJ3RtRy+e5YhNtrCYwlgyK87j/5+Yfp0L9Syp8= k8s.io/utils v0.0.0-20191114184206-e782cd3c129f h1:GiPwtSzdP43eI1hpPCbROQCCIgCuiMMNF8YUVLF3vJo= k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= -knative.dev/caching v0.0.0-20190719140829-2032732871ff/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg= knative.dev/caching v0.0.0-20200116200605-67bca2c83dfa/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg= -knative.dev/eventing-contrib v0.6.1-0.20190723221543-5ce18048c08b/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g= knative.dev/eventing-contrib v0.11.2/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g= -knative.dev/pkg v0.0.0-20190929160444-43f0d8fdb918 h1:ghJs5rtWTNf1qdHGmrBWyNzwYfppXqlP7wnIZNlyj7o= -knative.dev/pkg v0.0.0-20190929160444-43f0d8fdb918/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q= -knative.dev/pkg v0.0.0-20191111150521-6d806b998379 h1:0IbJWfv82eUhoNymvIrTjxVqrAURRK1x39+//IZV7Cc= -knative.dev/pkg v0.0.0-20191111150521-6d806b998379/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q= knative.dev/pkg v0.0.0-20200207155214-fef852970f43 h1:52b67wiu9B62n+ZsDAMjHt84sZfiR0CUBTvtF1UEGmo= knative.dev/pkg v0.0.0-20200207155214-fef852970f43/go.mod h1:pgODObA1dTyhNoFxPZTTjNWfx6F0aKsKzn+vaT9XO/Q= modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw= diff --git a/extensions/tekton/generator/.gitignore b/extensions/tekton/generator/.gitignore deleted file mode 100644 index 1767a94c19e..00000000000 --- a/extensions/tekton/generator/.gitignore +++ /dev/null @@ -1 +0,0 @@ -generate diff --git a/extensions/tekton/generator/go.mod b/extensions/tekton/generator/go.mod deleted file mode 100644 index 23d723cc728..00000000000 --- a/extensions/tekton/generator/go.mod +++ /dev/null @@ -1,15 +0,0 @@ -module github.com/fabric8io/kubernetes-client/extensions/tekton/generator - -require ( - github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect - github.com/knative/build v0.7.0 // indirect - github.com/knative/eventing v0.7.1 - github.com/knative/pkg v0.0.0-20190617142447-13b093adc272 // indirect - github.com/knative/serving v0.6.0 - github.com/knative/test-infra v0.0.0-20190702025031-91d37e4abc30 // indirect - github.com/tektoncd/pipeline v0.11.0 - k8s.io/apimachinery v0.17.2 - k8s.io/cli-runtime v0.0.0-20190325194458-f2b4781c3ae1 // indirect -) - -go 1.13 diff --git a/extensions/tekton/model/pom.xml b/extensions/tekton/model-v1alpha1/pom.xml similarity index 82% rename from extensions/tekton/model/pom.xml rename to extensions/tekton/model-v1alpha1/pom.xml index fe1d51a6293..da0615f5bc9 100644 --- a/extensions/tekton/model/pom.xml +++ b/extensions/tekton/model-v1alpha1/pom.xml @@ -24,9 +24,9 @@ 4.9-SNAPSHOT - tekton-model + tekton-model-v1alpha1 bundle - Fabric8 :: Tekton :: Model + Fabric8 :: Tekton :: Model v1alpha1 @@ -35,12 +35,11 @@ * - io.fabric8.tekton, io.fabric8.tekton.* {maven-resources}, - /tekton.properties=target/classes/tekton.properties + /tekton-v1alpha1.properties=target/classes/model.properties @@ -101,7 +100,7 @@ false false ${project.build.directory}/generated-sources - io.fabric8.tekton.TektonTypeAnnotator + io.fabric8.kubernetes.ModelAnnotator @@ -115,31 +114,27 @@ io.fabric8 - tekton-model-annotator + model-annotator ${project.version} - org.codehaus.mojo - build-helper-maven-plugin - ${maven.buildhelper.plugin.version} + maven-antrun-plugin - attach-artifacts - package - - attach-artifact - + generate-sources - - - ${project.build.outputDirectory}/schema/tekton-schema.json - json - schema - - + + + + + + run + diff --git a/extensions/tekton/model-v1alpha1/src/main/java/io/fabric8/tekton/TektonV1alpha1ResourceMappingProvider.java b/extensions/tekton/model-v1alpha1/src/main/java/io/fabric8/tekton/TektonV1alpha1ResourceMappingProvider.java new file mode 100644 index 00000000000..a26b77d61ca --- /dev/null +++ b/extensions/tekton/model-v1alpha1/src/main/java/io/fabric8/tekton/TektonV1alpha1ResourceMappingProvider.java @@ -0,0 +1,41 @@ +/** + * 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; + +import io.fabric8.kubernetes.api.KubernetesResourceMappingProvider; +import io.fabric8.kubernetes.api.model.KubernetesResource; + +import java.util.HashMap; +import java.util.Map; + +public class TektonV1alpha1ResourceMappingProvider implements KubernetesResourceMappingProvider { + + public final Map> mappings = new HashMap<>(); + + public TektonV1alpha1ResourceMappingProvider() { + mappings.put("tekton.dev/v1alpha1#PipelineResource", io.fabric8.tekton.resource.v1alpha1.PipelineResource.class); + mappings.put("tekton.dev/v1alpha1#Condition", io.fabric8.tekton.pipeline.v1alpha1.Condition.class); + mappings.put("tekton.dev/v1alpha1#Pipeline", io.fabric8.tekton.pipeline.v1alpha1.Pipeline.class); + mappings.put("tekton.dev/v1alpha1#PipelineRun", io.fabric8.tekton.pipeline.v1alpha1.PipelineRun.class); + mappings.put("tekton.dev/v1alpha1#Task", io.fabric8.tekton.pipeline.v1alpha1.Task.class); + mappings.put("tekton.dev/v1alpha#TaskRun", io.fabric8.tekton.pipeline.v1alpha1.TaskRun.class); + mappings.put("tekton.dev/v1alpha1#ClusterTask", io.fabric8.tekton.pipeline.v1alpha1.ClusterTask.class); + } + + public Map> getMappings() { + return mappings; + } +} diff --git a/extensions/tekton/model/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 similarity index 100% rename from extensions/tekton/model/src/main/java/io/fabric8/tekton/pipeline/v1alpha1/ArrayOrString.java rename to extensions/tekton/model-v1alpha1/src/main/java/io/fabric8/tekton/pipeline/v1alpha1/ArrayOrString.java diff --git a/extensions/tekton/model-v1alpha1/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider b/extensions/tekton/model-v1alpha1/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider new file mode 100644 index 00000000000..2605aaeccae --- /dev/null +++ b/extensions/tekton/model-v1alpha1/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider @@ -0,0 +1,16 @@ +# +# Copyright (C) 2018 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. +# +io.fabric8.tekton.TektonV1alpha1ResourceMappingProvider 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 new file mode 100644 index 00000000000..726088d0487 --- /dev/null +++ b/extensions/tekton/model-v1alpha1/src/main/resources/schema/tekton-schema-v1alpha1.json @@ -0,0 +1,2223 @@ +{ + "id": "http://fabric8.io/tekton/v1alpha1/TektonSchema#", + "$schema": "http://json-schema.org/schema#", + "definitions": { + "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { + "type": "object", + "description": "", + "properties": { + "affinity": { + "javaType": "io.fabric8.kubernetes.api.model.Affinity" + }, + "automountServiceAccountToken": { + "type": "boolean", + "description": "", + "javaType": "Boolean" + }, + "dnsConfig": { + "javaType": "io.fabric8.kubernetes.api.model.PodDNSConfig" + }, + "dnsPolicy": { + "type": "string", + "description": "", + "javaType": "String" + }, + "enableServiceLinks": { + "type": "boolean", + "description": "", + "javaType": "Boolean" + }, + "nodeSelector": { + "type": "object", + "description": "", + "javaType": "java.util.Map\u003cString,String\u003e" + }, + "priorityClassName": { + "type": "string", + "description": "", + "javaType": "String" + }, + "runtimeClassName": { + "type": "string", + "description": "", + "javaType": "String" + }, + "securityContext": { + "javaType": "io.fabric8.kubernetes.api.model.PodSecurityContext" + }, + "tolerations": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.kubernetes.api.model.Toleration" + } + }, + "volumes": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "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_CloudEventDelivery": { + "type": "object", + "description": "", + "properties": { + "status": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_CloudEventDeliveryState", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.CloudEventDeliveryState" + }, + "target": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.CloudEventDelivery", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_CloudEventDeliveryState": { + "type": "object", + "description": "", + "properties": { + "condition": { + "type": "string", + "description": "" + }, + "message": { + "type": "string", + "description": "" + }, + "retryCount": { + "type": "integer", + "description": "" + }, + "sentAt": { + "javaType": "java.lang.String" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.CloudEventDeliveryState", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTask": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "ClusterTask", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTask", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTaskList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTask", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTask" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "ClusterTaskList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTaskList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.ClusterTask\u003e" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Condition": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "Condition", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionSpec" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Condition", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionCheckStatus": { + "type": "object", + "description": "", + "properties": { + "check": { + "javaType": "io.fabric8.kubernetes.api.model.ContainerState" + }, + "completionTime": { + "javaType": "java.lang.String" + }, + "conditions": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.knative.v1.Condition" + } + }, + "observedGeneration": { + "type": "integer", + "description": "", + "javaType": "Long" + }, + "podName": { + "type": "string", + "description": "" + }, + "startTime": { + "javaType": "java.lang.String" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionCheckStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Condition", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Condition" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "ConditionList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.Condition\u003e" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionSpec": { + "type": "object", + "description": "", + "properties": { + "check": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Step", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Step" + }, + "params": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_ParamSpec", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.ParamSpec" + } + }, + "resources": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceDeclaration", + "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceDeclaration" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Inputs": { + "type": "object", + "description": "", + "properties": { + "params": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_ParamSpec", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.ParamSpec" + } + }, + "resources": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResource", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResource" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Inputs", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Outputs": { + "type": "object", + "description": "", + "properties": { + "resources": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResource", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResource" + } + }, + "results": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TestResult", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TestResult" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Outputs", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Pipeline": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "Pipeline", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineSpec" + }, + "status": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineStatus" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Pipeline", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Pipeline", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Pipeline" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "PipelineList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.Pipeline\u003e" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRef": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRef", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceBinding": { + "type": "object", + "description": "", + "properties": { + "name": { + "type": "string", + "description": "" + }, + "resourceRef": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceRef", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceRef" + }, + "resourceSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceBinding", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceRef": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceRef", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceResult": { + "type": "object", + "description": "", + "properties": { + "digest": { + "type": "string", + "description": "" + }, + "key": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + }, + "resourceRef": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceRef", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceRef" + }, + "type": { + "type": "string", + "description": "" + }, + "value": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceResult", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRun": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "PipelineRun", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunSpec" + }, + "status": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunStatus" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRun", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunConditionCheckStatus": { + "type": "object", + "description": "", + "properties": { + "conditionName": { + "type": "string", + "description": "" + }, + "status": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionCheckStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionCheckStatus" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunConditionCheckStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRun", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRun" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "PipelineRunList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.PipelineRun\u003e" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpec": { + "type": "object", + "description": "", + "properties": { + "params": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Param", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Param" + } + }, + "pipelineRef": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRef", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRef" + }, + "pipelineSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineSpec" + }, + "podTemplate": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.pod.Template" + }, + "resources": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceBinding", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceBinding" + } + }, + "serviceAccountName": { + "type": "string", + "description": "" + }, + "serviceAccountNames": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpecServiceAccountName", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunSpecServiceAccountName" + } + }, + "status": { + "type": "string", + "description": "" + }, + "timeout": { + "javaType": "io.fabric8.kubernetes.api.model.Duration" + }, + "workspaces": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspaceBinding", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspaceBinding" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpecServiceAccountName": { + "type": "object", + "description": "", + "properties": { + "serviceAccountName": { + "type": "string", + "description": "" + }, + "taskName": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunSpecServiceAccountName", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunStatus": { + "type": "object", + "description": "", + "properties": { + "completionTime": { + "javaType": "java.lang.String" + }, + "conditions": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.knative.v1.Condition" + } + }, + "observedGeneration": { + "type": "integer", + "description": "", + "javaType": "Long" + }, + "startTime": { + "javaType": "java.lang.String" + }, + "taskRuns": { + "type": "object", + "description": "", + "javaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1alpha1.PipelineRunTaskRunStatus\u003e" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunTaskRunStatus": { + "type": "object", + "description": "", + "properties": { + "conditionChecks": { + "type": "object", + "description": "", + "javaType": "java.util.Map\u003cString,io.fabric8.tekton.pipeline.v1alpha1.PipelineRunConditionCheckStatus\u003e" + }, + "pipelineTaskName": { + "type": "string", + "description": "" + }, + "status": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunStatus" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunTaskRunStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec": { + "type": "object", + "description": "", + "properties": { + "params": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_ParamSpec", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.ParamSpec" + } + }, + "resources": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineDeclaredResource", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineDeclaredResource" + } + }, + "tasks": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineTask", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineTask" + } + }, + "workspaces": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspacePipelineDeclaration", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspacePipelineDeclaration" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineStatus": { + "type": "object", + "description": "", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineTask": { + "type": "object", + "description": "", + "properties": { + "conditions": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskCondition", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskCondition" + } + }, + "name": { + "type": "string", + "description": "" + }, + "params": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Param", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Param" + } + }, + "resources": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskResources", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskResources" + }, + "retries": { + "type": "integer", + "description": "" + }, + "runAfter": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "type": "string", + "description": "" + } + }, + "taskRef": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_TaskRef", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.TaskRef" + }, + "taskSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" + }, + "workspaces": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspacePipelineTaskBinding", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspacePipelineTaskBinding" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineTask", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_SidecarState": { + "type": "object", + "description": "", + "properties": { + "imageID": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.SidecarState", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_StepState": { + "type": "object", + "description": "", + "properties": { + "container": { + "type": "string", + "description": "" + }, + "imageID": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + }, + "running": { + "javaType": "io.fabric8.kubernetes.api.model.ContainerStateRunning" + }, + "terminated": { + "javaType": "io.fabric8.kubernetes.api.model.ContainerStateTerminated" + }, + "waiting": { + "javaType": "io.fabric8.kubernetes.api.model.ContainerStateWaiting" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.StepState", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Task": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "Task", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Task", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Task", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Task" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "TaskList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.Task\u003e" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResource": { + "type": "object", + "description": "", + "properties": { + "description": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + }, + "optional": { + "type": "boolean", + "description": "" + }, + "targetPath": { + "type": "string", + "description": "" + }, + "type": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResource", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResourceBinding": { + "type": "object", + "description": "", + "properties": { + "name": { + "type": "string", + "description": "" + }, + "paths": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "type": "string", + "description": "" + } + }, + "resourceRef": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceRef", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceRef" + }, + "resourceSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResourceBinding", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResult": { + "type": "object", + "description": "", + "properties": { + "description": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResult", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRun": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "TaskRun", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunSpec" + }, + "status": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunStatus" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRun", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunInputs": { + "type": "object", + "description": "", + "properties": { + "params": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Param", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Param" + } + }, + "resources": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResourceBinding", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResourceBinding" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunInputs", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRun", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRun" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "TaskRunList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.TaskRun\u003e" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunOutputs": { + "type": "object", + "description": "", + "properties": { + "resources": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResourceBinding", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResourceBinding" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunOutputs", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunSpec": { + "type": "object", + "description": "", + "properties": { + "inputs": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunInputs", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunInputs" + }, + "outputs": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunOutputs", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunOutputs" + }, + "podTemplate": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.pod.Template" + }, + "serviceAccountName": { + "type": "string", + "description": "" + }, + "status": { + "type": "string", + "description": "" + }, + "taskRef": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_TaskRef", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.TaskRef" + }, + "taskSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" + }, + "timeout": { + "javaType": "io.fabric8.kubernetes.api.model.Duration" + }, + "workspaces": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspaceBinding", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspaceBinding" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunStatus": { + "type": "object", + "description": "", + "properties": { + "cloudEvents": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_CloudEventDelivery", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.CloudEventDelivery" + } + }, + "completionTime": { + "javaType": "java.lang.String" + }, + "conditions": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.knative.v1.Condition" + } + }, + "observedGeneration": { + "type": "integer", + "description": "", + "javaType": "Long" + }, + "podName": { + "type": "string", + "description": "" + }, + "resourcesResult": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceResult", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceResult" + } + }, + "retriesStatus": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunStatus" + } + }, + "sidecars": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_SidecarState", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.SidecarState" + } + }, + "startTime": { + "javaType": "java.lang.String" + }, + "steps": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_StepState", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.StepState" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec": { + "type": "object", + "description": "", + "properties": { + "inputs": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Inputs", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Inputs" + }, + "outputs": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Outputs", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Outputs" + }, + "results": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResult", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResult" + } + }, + "sidecars": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.kubernetes.api.model.Container" + } + }, + "stepTemplate": { + "javaType": "io.fabric8.kubernetes.api.model.Container" + }, + "steps": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Step", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Step" + } + }, + "volumes": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.kubernetes.api.model.Volume" + } + }, + "workspaces": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspaceDeclaration", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspaceDeclaration" + } + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TestResult": { + "type": "object", + "description": "", + "properties": { + "format": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + }, + "path": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TestResult", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Param": { + "type": "object", + "description": "", + "properties": { + "name": { + "type": "string", + "description": "" + }, + "value": { + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ArrayOrString" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Param", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_ParamSpec": { + "type": "object", + "description": "", + "properties": { + "default": { + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ArrayOrString" + }, + "description": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + }, + "type": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.ParamSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineDeclaredResource": { + "type": "object", + "description": "", + "properties": { + "name": { + "type": "string", + "description": "" + }, + "type": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineDeclaredResource", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskCondition": { + "type": "object", + "description": "", + "properties": { + "conditionRef": { + "type": "string", + "description": "" + }, + "params": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Param", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Param" + } + }, + "resources": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskInputResource", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskInputResource" + } + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskCondition", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskInputResource": { + "type": "object", + "description": "", + "properties": { + "from": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "type": "string", + "description": "" + } + }, + "name": { + "type": "string", + "description": "" + }, + "resource": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskInputResource", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskOutputResource": { + "type": "object", + "description": "", + "properties": { + "name": { + "type": "string", + "description": "" + }, + "resource": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskOutputResource", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskResources": { + "type": "object", + "description": "", + "properties": { + "inputs": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskInputResource", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskInputResource" + } + }, + "outputs": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskOutputResource", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskOutputResource" + } + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskResources", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Step": { + "type": "object", + "description": "", + "properties": { + "args": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "type": "string", + "description": "" + } + }, + "command": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "type": "string", + "description": "" + } + }, + "env": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.kubernetes.api.model.EnvVar" + } + }, + "envFrom": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.kubernetes.api.model.EnvFromSource" + } + }, + "image": { + "type": "string", + "description": "" + }, + "imagePullPolicy": { + "type": "string", + "description": "" + }, + "lifecycle": { + "javaType": "io.fabric8.kubernetes.api.model.Lifecycle" + }, + "livenessProbe": { + "javaType": "io.fabric8.kubernetes.api.model.Probe" + }, + "name": { + "type": "string", + "description": "", + "maxLength": 63, + "pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" + }, + "ports": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.kubernetes.api.model.ContainerPort" + } + }, + "readinessProbe": { + "javaType": "io.fabric8.kubernetes.api.model.Probe" + }, + "resources": { + "javaType": "io.fabric8.kubernetes.api.model.ResourceRequirements" + }, + "script": { + "type": "string", + "description": "" + }, + "securityContext": { + "javaType": "io.fabric8.kubernetes.api.model.SecurityContext" + }, + "startupProbe": { + "javaType": "io.fabric8.kubernetes.api.model.Probe" + }, + "stdin": { + "type": "boolean", + "description": "" + }, + "stdinOnce": { + "type": "boolean", + "description": "" + }, + "terminationMessagePath": { + "type": "string", + "description": "" + }, + "terminationMessagePolicy": { + "type": "string", + "description": "" + }, + "tty": { + "type": "boolean", + "description": "" + }, + "volumeDevices": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.kubernetes.api.model.VolumeDevice" + } + }, + "volumeMounts": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "javaType": "io.fabric8.kubernetes.api.model.VolumeMount" + } + }, + "workingDir": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Step", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_TaskRef": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "" + }, + "kind": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.TaskRef", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspaceBinding": { + "type": "object", + "description": "", + "properties": { + "configMap": { + "javaType": "io.fabric8.kubernetes.api.model.ConfigMapVolumeSource" + }, + "emptyDir": { + "javaType": "io.fabric8.kubernetes.api.model.EmptyDirVolumeSource" + }, + "name": { + "type": "string", + "description": "" + }, + "persistentVolumeClaim": { + "javaType": "io.fabric8.kubernetes.api.model.PersistentVolumeClaimVolumeSource" + }, + "secret": { + "javaType": "io.fabric8.kubernetes.api.model.SecretVolumeSource" + }, + "subPath": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspaceBinding", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspaceDeclaration": { + "type": "object", + "description": "", + "properties": { + "description": { + "type": "string", + "description": "" + }, + "mountPath": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + }, + "readOnly": { + "type": "boolean", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspaceDeclaration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspacePipelineDeclaration": { + "type": "object", + "description": "", + "properties": { + "name": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspacePipelineDeclaration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspacePipelineTaskBinding": { + "type": "object", + "description": "", + "properties": { + "name": { + "type": "string", + "description": "" + }, + "workspace": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspacePipelineTaskBinding", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResource": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "kind": { + "type": "string", + "description": "", + "default": "PipelineResource", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" + }, + "spec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec" + }, + "status": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceStatus", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceStatus" + } + }, + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResource", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.HasMetadata" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceList": { + "type": "object", + "description": "", + "properties": { + "apiVersion": { + "type": "string", + "description": "", + "default": "tekton.dev/v1alpha1", + "required": true + }, + "items": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResource", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResource" + } + }, + "kind": { + "type": "string", + "description": "", + "default": "PipelineResourceList", + "required": true + }, + "metadata": { + "javaType": "io.fabric8.kubernetes.api.model.ListMeta" + } + }, + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceList", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource", + "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.resource.v1alpha1.PipelineResource\u003e" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec": { + "type": "object", + "description": "", + "properties": { + "params": { + "type": "array", + "description": "", + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceParam", + "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceParam" + } + }, + "secrets": { + "type": "array", + "description": "", + "javaOmitEmpty": true, + "items": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_SecretParam", + "javaType": "io.fabric8.tekton.resource.v1alpha1.SecretParam" + } + }, + "type": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceStatus": { + "type": "object", + "description": "", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceStatus", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceDeclaration": { + "type": "object", + "description": "", + "properties": { + "description": { + "type": "string", + "description": "" + }, + "name": { + "type": "string", + "description": "" + }, + "optional": { + "type": "boolean", + "description": "" + }, + "targetPath": { + "type": "string", + "description": "" + }, + "type": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceDeclaration", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceParam": { + "type": "object", + "description": "", + "properties": { + "name": { + "type": "string", + "description": "" + }, + "value": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceParam", + "javaInterfaces": [ + "io.fabric8.kubernetes.api.model.KubernetesResource" + ] + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_SecretParam": { + "type": "object", + "description": "", + "properties": { + "fieldName": { + "type": "string", + "description": "" + }, + "secretKey": { + "type": "string", + "description": "" + }, + "secretName": { + "type": "string", + "description": "" + } + }, + "javaType": "io.fabric8.tekton.resource.v1alpha1.SecretParam", + "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", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.pod.Template" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_CloudEventDelivery": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_CloudEventDelivery", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.CloudEventDelivery" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_CloudEventDeliveryState": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_CloudEventDeliveryState", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.CloudEventDeliveryState" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTask": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTask", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTask" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTaskList": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTaskList", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTaskList" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Condition": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Condition", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Condition" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionCheckStatus": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionCheckStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionCheckStatus" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionList": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionList", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionList" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionSpec" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Inputs": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Inputs", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Inputs" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Outputs": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Outputs", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Outputs" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Pipeline": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Pipeline", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Pipeline" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineList": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineList", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineList" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRef": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRef", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRef" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceBinding": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceBinding", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceBinding" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceRef": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceRef", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceRef" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceResult": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineResourceResult", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineResourceResult" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRun": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRun", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRun" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunConditionCheckStatus": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunConditionCheckStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunConditionCheckStatus" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunList": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunList", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunList" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunSpec" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpecServiceAccountName": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpecServiceAccountName", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunSpecServiceAccountName" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunStatus": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunStatus" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunTaskRunStatus": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunTaskRunStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunTaskRunStatus" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineSpec" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineStatus": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineStatus" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineTask": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineTask", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineTask" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_SidecarState": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_SidecarState", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.SidecarState" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_StepState": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_StepState", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.StepState" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Task": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Task", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Task" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskList": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskList", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskList" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResource": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResource", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResource" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResourceBinding": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResourceBinding", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResourceBinding" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResult": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskResult", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskResult" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRun": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRun", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRun" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunInputs": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunInputs", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunInputs" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunList": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunList", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunList" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunOutputs": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunOutputs", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunOutputs" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunSpec" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunStatus": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunStatus", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunStatus" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TestResult": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TestResult", + "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TestResult" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Param": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Param", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Param" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_ParamSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_ParamSpec", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.ParamSpec" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineDeclaredResource": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineDeclaredResource", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineDeclaredResource" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskCondition": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskCondition", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskCondition" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskInputResource": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskInputResource", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskInputResource" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskOutputResource": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskOutputResource", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskOutputResource" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskResources": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_PipelineTaskResources", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.PipelineTaskResources" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Step": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_Step", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Step" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_TaskRef": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_TaskRef", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.TaskRef" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspaceBinding": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspaceBinding", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspaceBinding" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspaceDeclaration": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspaceDeclaration", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspaceDeclaration" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspacePipelineDeclaration": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspacePipelineDeclaration", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspacePipelineDeclaration" + }, + "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspacePipelineTaskBinding": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha2_WorkspacePipelineTaskBinding", + "javaType": "io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.WorkspacePipelineTaskBinding" + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResource": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResource", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResource" + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceList": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceList", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceList" + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec" + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceStatus": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceStatus", + "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceStatus" + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceDeclaration": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceDeclaration", + "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceDeclaration" + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceParam": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceParam", + "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceParam" + }, + "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_SecretParam": { + "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_SecretParam", + "javaType": "io.fabric8.tekton.resource.v1alpha1.SecretParam" + } + }, + "additionalProperties": false +} diff --git a/extensions/tekton/model-v1beta1/pom.xml b/extensions/tekton/model-v1beta1/pom.xml new file mode 100644 index 00000000000..f2b555e5352 --- /dev/null +++ b/extensions/tekton/model-v1beta1/pom.xml @@ -0,0 +1,148 @@ + + + + 4.0.0 + + io.fabric8 + tekton-extension-pom + 4.9-SNAPSHOT + + + tekton-model-v1beta1 + bundle + Fabric8 :: Tekton :: Model v1beta1 + + + + io.fabric8.kubernetes.api.builder, + !io.fabric8.tekton.*, + * + + + io.fabric8.tekton.* + + + {maven-resources}, + /tekton-v1beta1.properties=target/classes/model.properties + + + + + + io.sundr + builder-annotations + + + io.sundr + transform-annotations + + + io.fabric8 + kubernetes-model + + + io.fabric8 + knative-model + + + com.fasterxml.jackson.module + jackson-module-jaxb-annotations + + + org.junit.jupiter + junit-jupiter-engine + test + + + org.junit.jupiter + junit-jupiter-migrationsupport + test + + + org.skyscreamer + jsonassert + test + + + org.projectlombok + lombok + provided + + + + + + + org.jsonschema2pojo + jsonschema2pojo-maven-plugin + ${jsonschema2pojo.version} + + ${project.basedir}/src/main/resources/schema + io.fabric8.tekton.api.model + true + false + false + false + ${project.build.directory}/generated-sources + io.fabric8.kubernetes.ModelAnnotator + + + + generate + generate-sources + + generate + + + + + + io.fabric8 + model-annotator + ${project.version} + + + + + maven-antrun-plugin + + + generate-sources + + + + + + + + run + + + + + + org.apache.maven.plugins + maven-release-plugin + + + + + diff --git a/extensions/tekton/model-v1beta1/src/main/java/io/fabric8/tekton/TektonV1beta1ResourceMappingProvider.java b/extensions/tekton/model-v1beta1/src/main/java/io/fabric8/tekton/TektonV1beta1ResourceMappingProvider.java new file mode 100644 index 00000000000..789752df423 --- /dev/null +++ b/extensions/tekton/model-v1beta1/src/main/java/io/fabric8/tekton/TektonV1beta1ResourceMappingProvider.java @@ -0,0 +1,40 @@ +/** + * 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; + +import io.fabric8.kubernetes.api.KubernetesResourceMappingProvider; +import io.fabric8.kubernetes.api.model.KubernetesResource; + +import java.util.HashMap; +import java.util.Map; + +public class TektonV1beta1ResourceMappingProvider implements KubernetesResourceMappingProvider { + + public final Map> mappings = new HashMap<>(); + + public TektonV1beta1ResourceMappingProvider() { + mappings.put("tekton.dev/v1beta1#Pipeline", io.fabric8.tekton.pipeline.v1beta1.Pipeline.class); + mappings.put("tekton.dev/v1beta1#PipelineRun", io.fabric8.tekton.pipeline.v1beta1.PipelineRun.class); + mappings.put("tekton.dev/v1beta1#Task", io.fabric8.tekton.pipeline.v1beta1.Task.class); + mappings.put("tekton.dev/v1beta1#TaskRun", io.fabric8.tekton.pipeline.v1beta1.TaskRun.class); + mappings.put("tekton.dev/v1beta1#TaskRef", io.fabric8.tekton.pipeline.v1beta1.TaskRef.class); + mappings.put("tekton.dev/v1beta1#ClusterTask", io.fabric8.tekton.pipeline.v1beta1.ClusterTask.class); + mappings.put("tekton.dev/v1beta1#SidecarState", io.fabric8.tekton.pipeline.v1beta1.SidecarState.class); + } + + public Map> getMappings() { + return mappings; + }} diff --git a/extensions/tekton/model/src/main/java/io/fabric8/tekton/pipeline/v1beta1/ArrayOrString.java b/extensions/tekton/model-v1beta1/src/main/java/io/fabric8/tekton/pipeline/v1beta1/ArrayOrString.java similarity index 100% rename from extensions/tekton/model/src/main/java/io/fabric8/tekton/pipeline/v1beta1/ArrayOrString.java rename to extensions/tekton/model-v1beta1/src/main/java/io/fabric8/tekton/pipeline/v1beta1/ArrayOrString.java diff --git a/extensions/tekton/model/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider b/extensions/tekton/model-v1beta1/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider similarity index 91% rename from extensions/tekton/model/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider rename to extensions/tekton/model-v1beta1/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider index 2bd8ecf8f02..270bc6139d0 100644 --- a/extensions/tekton/model/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider +++ b/extensions/tekton/model-v1beta1/src/main/resources/META-INF/services/io.fabric8.kubernetes.api.KubernetesResourceMappingProvider @@ -13,4 +13,4 @@ # See the License for the specific language governing permissions and # limitations under the License. # -io.fabric8.tekton.TektonResourceMappingProvider +io.fabric8.tekton.TektonV1beta1ResourceMappingProvider diff --git a/extensions/tekton/model/src/main/resources/schema/tekton-schema.json b/extensions/tekton/model-v1beta1/src/main/resources/schema/tekton-schema-v1beta1.json similarity index 61% rename from extensions/tekton/model/src/main/resources/schema/tekton-schema.json rename to extensions/tekton/model-v1beta1/src/main/resources/schema/tekton-schema-v1beta1.json index eeedfeb01b1..2678fd950f7 100644 --- a/extensions/tekton/model/src/main/resources/schema/tekton-schema.json +++ b/extensions/tekton/model-v1beta1/src/main/resources/schema/tekton-schema-v1beta1.json @@ -52,6 +52,7 @@ "tolerations": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.kubernetes.api.model.Toleration" } @@ -59,875 +60,13 @@ "volumes": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.kubernetes.api.model.Volume" } } }, - "javaType": "io.fabric8.tekton.pipeline.pod.Template", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTask": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterTask", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTaskList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTask", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTask" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ClusterTaskList", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTaskList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.ClusterTask\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Condition": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "Condition", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Condition", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Condition", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Condition" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "ConditionList", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.Condition\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionSpec": { - "type": "object", - "description": "", - "properties": { - "check": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Step" - }, - "description": { - "type": "string", - "description": "" - }, - "params": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "resources": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceDeclaration", - "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Inputs": { - "type": "object", - "description": "", - "properties": { - "params": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "resources": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResource", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResource" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Inputs", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Outputs": { - "type": "object", - "description": "", - "properties": { - "resources": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResource", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResource" - } - }, - "results": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TestResult", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TestResult" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Outputs", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Pipeline": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "Pipeline", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineStatus", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Pipeline", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Pipeline", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Pipeline" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "PipelineList", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.Pipeline\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRun": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "PipelineRun", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunStatus", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRun", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRun" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "PipelineRunList", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.PipelineRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpec": { - "type": "object", - "description": "", - "properties": { - "params": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "pipelineRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRef", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRef" - }, - "pipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineSpec" - }, - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "javaType": "io.fabric8.tekton.pipeline.pod.Template" - }, - "resources": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceBinding", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceBinding" - } - }, - "serviceAccountName": { - "type": "string", - "description": "" - }, - "serviceAccountNames": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpecServiceAccountName", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunSpecServiceAccountName" - } - }, - "status": { - "type": "string", - "description": "" - }, - "timeout": { - "javaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "workspaces": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec": { - "type": "object", - "description": "", - "properties": { - "description": { - "type": "string", - "description": "" - }, - "params": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "resources": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineDeclaredResource", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineDeclaredResource" - } - }, - "tasks": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineTask", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineTask" - } - }, - "workspaces": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineDeclaration", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineStatus": { - "type": "object", - "description": "", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineTask": { - "type": "object", - "description": "", - "properties": { - "conditions": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskCondition", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskCondition" - } - }, - "name": { - "type": "string", - "description": "" - }, - "params": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "resources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskResources", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskResources" - }, - "retries": { - "type": "integer", - "description": "" - }, - "runAfter": { - "type": "array", - "description": "", - "items": { - "type": "string", - "description": "" - } - }, - "taskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" - }, - "timeout": { - "javaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "workspaces": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineTaskBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineTask", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Task": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "Task", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Task", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Task", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Task" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "TaskList", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.Task\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRun": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "TaskRun", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRun", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunInputs": { - "type": "object", - "description": "", - "properties": { - "params": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "resources": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResourceBinding", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResourceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunInputs", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRun", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRun" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "TaskRunList", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.pipeline.v1alpha1.TaskRun\u003e" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunOutputs": { - "type": "object", - "description": "", - "properties": { - "resources": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResourceBinding", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResourceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunOutputs", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunSpec": { - "type": "object", - "description": "", - "properties": { - "inputs": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunInputs", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunInputs" - }, - "outputs": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunOutputs", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunOutputs" - }, - "params": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param" - } - }, - "podTemplate": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "javaType": "io.fabric8.tekton.pipeline.pod.Template" - }, - "resources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResources", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResources" - }, - "serviceAccountName": { - "type": "string", - "description": "" - }, - "status": { - "type": "string", - "description": "" - }, - "taskRef": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRef", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRef" - }, - "taskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" - }, - "timeout": { - "javaType": "io.fabric8.kubernetes.api.model.Duration" - }, - "workspaces": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec": { - "type": "object", - "description": "", - "properties": { - "description": { - "type": "string", - "description": "" - }, - "inputs": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Inputs", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Inputs" - }, - "outputs": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Outputs", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Outputs" - }, - "params": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" - } - }, - "resources": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResources", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResources" - }, - "results": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult" - } - }, - "sidecars": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Step" - } - }, - "stepTemplate": { - "javaType": "io.fabric8.kubernetes.api.model.Container" - }, - "steps": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.Step" - } - }, - "volumes": { - "type": "array", - "description": "", - "items": { - "javaType": "io.fabric8.kubernetes.api.model.Volume" - } - }, - "workspaces": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration", - "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration" - } - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TestResult": { - "type": "object", - "description": "", - "properties": { - "format": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - }, - "path": { - "type": "string", - "description": "" - } - }, - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TestResult", + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] @@ -1051,6 +190,7 @@ "conditions": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.knative.v1.Condition" } @@ -1206,9 +346,7 @@ "properties": { "apiVersion": { "type": "string", - "description": "", - "default": "tekton.dev/v1beta1", - "required": true + "description": "" }, "name": { "type": "string", @@ -1234,7 +372,7 @@ }, "resourceSpec": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec" + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.PipelineResourceSpec" } }, "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceBinding", @@ -1248,9 +386,7 @@ "properties": { "apiVersion": { "type": "string", - "description": "", - "default": "tekton.dev/v1beta1", - "required": true + "description": "" }, "name": { "type": "string", @@ -1352,6 +488,7 @@ "items": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRun", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRun" @@ -1380,6 +517,7 @@ "params": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param" @@ -1395,11 +533,12 @@ }, "podTemplate": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "javaType": "io.fabric8.tekton.pipeline.pod.Template" + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" }, "resources": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceBinding", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceBinding" @@ -1412,6 +551,7 @@ "serviceAccountNames": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineRunSpecServiceAccountName", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineRunSpecServiceAccountName" @@ -1427,6 +567,7 @@ "workspaces": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" @@ -1466,6 +607,7 @@ "conditions": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.knative.v1.Condition" } @@ -1523,6 +665,7 @@ "params": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", "javaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" @@ -1531,6 +674,7 @@ "resources": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineDeclaredResource", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineDeclaredResource" @@ -1539,6 +683,7 @@ "tasks": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTask", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTask" @@ -1547,6 +692,7 @@ "workspaces": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineDeclaration", "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineDeclaration" @@ -1565,6 +711,7 @@ "conditions": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskCondition", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskCondition" @@ -1577,6 +724,7 @@ "params": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param" @@ -1593,6 +741,7 @@ "runAfter": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "type": "string", "description": "" @@ -1612,6 +761,7 @@ "workspaces": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding", "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineTaskBinding" @@ -1634,6 +784,7 @@ "params": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param" @@ -1642,6 +793,7 @@ "resources": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskInputResource", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskInputResource" @@ -1660,6 +812,7 @@ "from": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "type": "string", "description": "" @@ -1704,6 +857,7 @@ "inputs": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskInputResource", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskInputResource" @@ -1712,6 +866,7 @@ "outputs": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineTaskOutputResource", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineTaskOutputResource" @@ -1761,6 +916,7 @@ "args": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "type": "string", "description": "" @@ -1769,6 +925,7 @@ "command": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "type": "string", "description": "" @@ -1777,6 +934,7 @@ "env": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.kubernetes.api.model.EnvVar" } @@ -1784,6 +942,7 @@ "envFrom": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.kubernetes.api.model.EnvFromSource" } @@ -1811,6 +970,7 @@ "ports": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.kubernetes.api.model.ContainerPort" } @@ -1854,6 +1014,7 @@ "volumeDevices": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.kubernetes.api.model.VolumeDevice" } @@ -1861,6 +1022,7 @@ "volumeMounts": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.kubernetes.api.model.VolumeMount" } @@ -1975,15 +1137,11 @@ "properties": { "apiVersion": { "type": "string", - "description": "", - "default": "tekton.dev/v1beta1", - "required": true + "description": "" }, "kind": { "type": "string", - "description": "", - "default": "TaskRef", - "required": true + "description": "" }, "name": { "type": "string", @@ -2036,6 +1194,7 @@ "paths": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "type": "string", "description": "" @@ -2047,7 +1206,7 @@ }, "resourceSpec": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec" + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.PipelineResourceSpec" } }, "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResourceBinding", @@ -2062,6 +1221,7 @@ "inputs": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResource", "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResource" @@ -2070,6 +1230,7 @@ "outputs": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResource", "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResource" @@ -2173,6 +1334,7 @@ "inputs": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResourceBinding", "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResourceBinding" @@ -2181,6 +1343,7 @@ "outputs": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResourceBinding", "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResourceBinding" @@ -2217,6 +1380,7 @@ "params": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Param", "javaType": "io.fabric8.tekton.pipeline.v1beta1.Param" @@ -2224,7 +1388,7 @@ }, "podTemplate": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "javaType": "io.fabric8.tekton.pipeline.pod.Template" + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" }, "resources": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResources", @@ -2252,6 +1416,7 @@ "workspaces": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceBinding", "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceBinding" @@ -2270,6 +1435,7 @@ "cloudEvents": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery", "javaType": "io.fabric8.tekton.pipeline.v1beta1.CloudEventDelivery" @@ -2281,6 +1447,7 @@ "conditions": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.knative.v1.Condition" } @@ -2297,6 +1464,7 @@ "resourcesResult": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_PipelineResourceResult", "javaType": "io.fabric8.tekton.pipeline.v1beta1.PipelineResourceResult" @@ -2305,6 +1473,7 @@ "retriesStatus": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunStatus", "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunStatus" @@ -2313,6 +1482,7 @@ "sidecars": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_SidecarState", "javaType": "io.fabric8.tekton.pipeline.v1beta1.SidecarState" @@ -2324,6 +1494,7 @@ "steps": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_StepState", "javaType": "io.fabric8.tekton.pipeline.v1beta1.StepState" @@ -2332,6 +1503,7 @@ "taskResults": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskRunResult", "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskRunResult" @@ -2354,6 +1526,7 @@ "params": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_ParamSpec", "javaType": "io.fabric8.tekton.pipeline.v1beta1.ParamSpec" @@ -2366,6 +1539,7 @@ "results": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_TaskResult", "javaType": "io.fabric8.tekton.pipeline.v1beta1.TaskResult" @@ -2374,6 +1548,7 @@ "sidecars": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", "javaType": "io.fabric8.tekton.pipeline.v1beta1.Step" @@ -2385,6 +1560,7 @@ "steps": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_Step", "javaType": "io.fabric8.tekton.pipeline.v1beta1.Step" @@ -2393,6 +1569,7 @@ "volumes": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "javaType": "io.fabric8.kubernetes.api.model.Volume" } @@ -2400,6 +1577,7 @@ "workspaces": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspaceDeclaration", "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspaceDeclaration" @@ -2503,73 +1681,6 @@ "io.fabric8.kubernetes.api.model.KubernetesResource" ] }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResource": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "kind": { - "type": "string", - "description": "", - "default": "PipelineResource", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ObjectMeta" - }, - "spec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec" - }, - "status": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceStatus", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceStatus" - } - }, - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResource", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.HasMetadata" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceList": { - "type": "object", - "description": "", - "properties": { - "apiVersion": { - "type": "string", - "description": "", - "default": "tekton.dev/v1alpha1", - "required": true - }, - "items": { - "type": "array", - "description": "", - "items": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResource", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResource" - } - }, - "kind": { - "type": "string", - "description": "", - "default": "PipelineResourceList", - "required": true - }, - "metadata": { - "javaType": "io.fabric8.kubernetes.api.model.ListMeta" - } - }, - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceList", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource", - "io.fabric8.kubernetes.api.model.KubernetesResourceList\u003cio.fabric8.tekton.resource.v1alpha1.PipelineResource\u003e" - ] - }, "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec": { "type": "object", "description": "", @@ -2583,15 +1694,16 @@ "description": "", "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceParam", - "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceParam" + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.ResourceParam" } }, "secrets": { "type": "array", "description": "", + "javaOmitEmpty": true, "items": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_SecretParam", - "javaType": "io.fabric8.tekton.resource.v1alpha1.SecretParam" + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.SecretParam" } }, "type": { @@ -2599,45 +1711,7 @@ "description": "" } }, - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceStatus": { - "type": "object", - "description": "", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceStatus", - "javaInterfaces": [ - "io.fabric8.kubernetes.api.model.KubernetesResource" - ] - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceDeclaration": { - "type": "object", - "description": "", - "properties": { - "description": { - "type": "string", - "description": "" - }, - "name": { - "type": "string", - "description": "" - }, - "optional": { - "type": "boolean", - "description": "" - }, - "targetPath": { - "type": "string", - "description": "" - }, - "type": { - "type": "string", - "description": "" - } - }, - "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceDeclaration", + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.PipelineResourceSpec", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] @@ -2655,7 +1729,7 @@ "description": "" } }, - "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceParam", + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.ResourceParam", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] @@ -2677,7 +1751,7 @@ "description": "" } }, - "javaType": "io.fabric8.tekton.resource.v1alpha1.SecretParam", + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.SecretParam", "javaInterfaces": [ "io.fabric8.kubernetes.api.model.KubernetesResource" ] @@ -2687,103 +1761,7 @@ "properties": { "github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_pod_Template", - "javaType": "io.fabric8.tekton.pipeline.pod.Template" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTask", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTaskList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ClusterTaskList", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ClusterTaskList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Condition": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Condition", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Condition" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionList", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_ConditionSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.ConditionSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Inputs": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Inputs", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Inputs" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Outputs": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Outputs", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Outputs" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Pipeline": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Pipeline", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Pipeline" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineList", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRun", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunList", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineRunSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineStatus", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineTask": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_PipelineTask", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.PipelineTask" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Task": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_Task", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.Task" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskList", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRun": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRun", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRun" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunInputs": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunInputs", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunInputs" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunList", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunList" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunOutputs": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunOutputs", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunOutputs" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskRunSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskRunSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TaskSpec", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TaskSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TestResult": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1alpha1_TestResult", - "javaType": "io.fabric8.tekton.pipeline.v1alpha1.TestResult" + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.pipeline.pod.Template" }, "github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_CloudEventDelivery", @@ -2977,33 +1955,17 @@ "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_pipeline_v1beta1_WorkspacePipelineTaskBinding", "javaType": "io.fabric8.tekton.pipeline.v1beta1.WorkspacePipelineTaskBinding" }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResource": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResource", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResource" - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceList": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceList", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceList" - }, "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec": { "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceSpec", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceSpec" - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceStatus": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_PipelineResourceStatus", - "javaType": "io.fabric8.tekton.resource.v1alpha1.PipelineResourceStatus" - }, - "github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceDeclaration": { - "$ref": "#/definitions/github_com_tektoncd_pipeline_pkg_apis_resource_v1alpha1_ResourceDeclaration", - "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceDeclaration" + "javaType": "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", - "javaType": "io.fabric8.tekton.resource.v1alpha1.ResourceParam" + "javaType": "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", - "javaType": "io.fabric8.tekton.resource.v1alpha1.SecretParam" + "javaType": "io.fabric8.tekton.v1beta1.internal.pipeline.pkg.apis.resource.v1alpha1.SecretParam" } }, "additionalProperties": false diff --git a/extensions/tekton/model/src/main/java/io/fabric8/tekton/Constants.java b/extensions/tekton/model/src/main/java/io/fabric8/tekton/Constants.java deleted file mode 100755 index 3be34189401..00000000000 --- a/extensions/tekton/model/src/main/java/io/fabric8/tekton/Constants.java +++ /dev/null @@ -1,21 +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; - -public class Constants { - - public static final String BUILDER_PACKAGE = "io.fabric8.kubernetes.api.builder"; -} diff --git a/extensions/tekton/model/src/main/java/io/fabric8/tekton/TektonResourceMappingProvider.java b/extensions/tekton/model/src/main/java/io/fabric8/tekton/TektonResourceMappingProvider.java deleted file mode 100644 index ed24831c4c6..00000000000 --- a/extensions/tekton/model/src/main/java/io/fabric8/tekton/TektonResourceMappingProvider.java +++ /dev/null @@ -1,47 +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; - -import io.fabric8.kubernetes.api.KubernetesResourceMappingProvider; -import io.fabric8.kubernetes.api.model.KubernetesResource; - -import java.util.HashMap; -import java.util.Map; - -public class TektonResourceMappingProvider implements KubernetesResourceMappingProvider { - - public final Map> mappings = new HashMap<>(); - - public TektonResourceMappingProvider() { - mappings.put("tekton.dev/v1alpha1#PipelineResource", io.fabric8.tekton.resource.v1alpha1.PipelineResource.class); - mappings.put("tekton.dev/v1alpha1#Condition", io.fabric8.tekton.pipeline.v1alpha1.Condition.class); - mappings.put("tekton.dev/v1beta1#Pipeline", io.fabric8.tekton.pipeline.v1beta1.Pipeline.class); - mappings.put("tekton.dev/v1alpha1#Pipeline", io.fabric8.tekton.pipeline.v1alpha1.Pipeline.class); - mappings.put("tekton.dev/v1beta1#PipelineRun", io.fabric8.tekton.pipeline.v1beta1.PipelineRun.class); - mappings.put("tekton.dev/v1alpha1#PipelineRun", io.fabric8.tekton.pipeline.v1alpha1.PipelineRun.class); - mappings.put("tekton.dev/v1beta1#Task", io.fabric8.tekton.pipeline.v1beta1.Task.class); - mappings.put("tekton.dev/v1alpha1#Task", io.fabric8.tekton.pipeline.v1alpha1.Task.class); - mappings.put("tekton.dev/v1beta1#TaskRun", io.fabric8.tekton.pipeline.v1beta1.TaskRun.class); - mappings.put("tekton.dev/v1alpha#TaskRun", io.fabric8.tekton.pipeline.v1alpha1.TaskRun.class); - mappings.put("tekton.dev/v1beta1#TaskRef", io.fabric8.tekton.pipeline.v1beta1.TaskRef.class); - mappings.put("tekton.dev/v1beta1#ClusterTask", io.fabric8.tekton.pipeline.v1beta1.ClusterTask.class); - mappings.put("tekton.dev/v1alpha1#ClusterTask", io.fabric8.tekton.pipeline.v1alpha1.ClusterTask.class); - mappings.put("tekton.dev/v1beta1#SidecarState", io.fabric8.tekton.pipeline.v1beta1.SidecarState.class); - } - - public Map> getMappings() { - return mappings; - }} diff --git a/extensions/tekton/pom.xml b/extensions/tekton/pom.xml index 958bb7e42dc..f0c31cb6797 100755 --- a/extensions/tekton/pom.xml +++ b/extensions/tekton/pom.xml @@ -29,8 +29,8 @@ Fabric8 :: Tekton :: Extension - annotator - model + model-v1alpha1 + model-v1beta1 client mock examples diff --git a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/test/crud/V1alpha1PipelineCrudTest.java b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/test/crud/V1alpha1PipelineCrudTest.java index 30cecacb6f0..22dd51841b8 100644 --- a/extensions/tekton/tests/src/test/java/io/fabric8/tekton/test/crud/V1alpha1PipelineCrudTest.java +++ b/extensions/tekton/tests/src/test/java/io/fabric8/tekton/test/crud/V1alpha1PipelineCrudTest.java @@ -17,10 +17,10 @@ import io.fabric8.tekton.client.TektonClient; import io.fabric8.tekton.mock.TektonServer; -import io.fabric8.tekton.pipeline.v1beta1.Param; import io.fabric8.tekton.pipeline.v1alpha1.Pipeline; import io.fabric8.tekton.pipeline.v1alpha1.PipelineBuilder; import io.fabric8.tekton.pipeline.v1alpha1.PipelineList; +import io.fabric8.tekton.v1alpha1.internal.pipeline.pkg.apis.pipeline.v1alpha2.Param; import org.junit.Rule; import org.junit.jupiter.api.Test; import org.junit.jupiter.migrationsupport.rules.EnableRuleMigrationSupport; diff --git a/generator/go.mod b/generator/go.mod new file mode 100644 index 00000000000..210a7799896 --- /dev/null +++ b/generator/go.mod @@ -0,0 +1,3 @@ +module github.com/fabric8io/kubernetes-client/generator + +go 1.13 diff --git a/extensions/tekton/generator/pkg/schemagen/generate.go b/generator/pkg/schemagen/generate.go similarity index 73% rename from extensions/tekton/generator/pkg/schemagen/generate.go rename to generator/pkg/schemagen/generate.go index 930d1887642..cd1f86ec03f 100644 --- a/extensions/tekton/generator/pkg/schemagen/generate.go +++ b/generator/pkg/schemagen/generate.go @@ -16,41 +16,33 @@ package schemagen import ( + "bytes" + "encoding/json" + "log" "reflect" "strings" ) -type ProvidedPackageDescriptor struct { - Package string - JavaPackage string -} - type ProvidedType struct { GoType reflect.Type JavaClass string } -type PackageDescriptor struct { - GoPackage string - ApiGroup string - ApiVersion string - JavaPackage string - Prefix string -} - -type VersionInformation struct { +type PackageInformation struct { ApiGroup string ApiVersion string JavaPackage string } type schemaGenerator struct { - types map[reflect.Type]*JSONObjectDescriptor - providedPackages map[string]string - manualTypeMap map[reflect.Type]string - versionInformation map[string]VersionInformation - providedTypes []ProvidedType - constraints map[reflect.Type]map[string]*Constraint // type -> field name -> constraint + crdLists []reflect.Type + types map[reflect.Type]*JSONObjectDescriptor + providedPackages map[string]string + manualTypeMap map[reflect.Type]string + packageMapping map[string]PackageInformation + mappingSchema map[string]string + providedTypes []ProvidedType + constraints map[reflect.Type]map[string]*Constraint // type -> field name -> constraint } type Constraint struct { @@ -58,19 +50,38 @@ type Constraint struct { Pattern string } -func GenerateSchema(crdLists []reflect.Type, providedPackages map[string]string, manualTypeMap map[reflect.Type]string, versionInformation map[string]VersionInformation, providedTypes []ProvidedType, constraints map[reflect.Type]map[string]*Constraint) (*JSONSchema, error) { - g := newSchemaGenerator(providedPackages, manualTypeMap, versionInformation, providedTypes, constraints) - return g.generate(crdLists) +func GenerateSchema(crdLists []reflect.Type, providedPackages map[string]string, manualTypeMap map[reflect.Type]string, packageMapping map[string]PackageInformation, mappingSchema map[string]string, providedTypes []ProvidedType, constraints map[reflect.Type]map[string]*Constraint) string { + g := newSchemaGenerator(crdLists, providedPackages, manualTypeMap, packageMapping, mappingSchema, providedTypes, constraints) + schema, err := g.generate(crdLists) + + if err != nil { + log.Fatal(err) + } + + b, err := json.Marshal(&schema) + if err != nil { + log.Fatal(err) + } + result := string(b) + var out bytes.Buffer + err = json.Indent(&out, []byte(result), "", " ") + if err != nil { + log.Fatal(err) + } + + return out.String() } -func newSchemaGenerator(providedPackages map[string]string, manualTypeMap map[reflect.Type]string, versionInformation map[string]VersionInformation, providedTypes []ProvidedType, constraints map[reflect.Type]map[string]*Constraint) *schemaGenerator { +func newSchemaGenerator(crdLists []reflect.Type, providedPackages map[string]string, manualTypeMap map[reflect.Type]string, packageMapping map[string]PackageInformation, mappingSchema map[string]string, providedTypes []ProvidedType, constraints map[reflect.Type]map[string]*Constraint) *schemaGenerator { g := schemaGenerator{ - types: make(map[reflect.Type]*JSONObjectDescriptor), - providedPackages: providedPackages, - manualTypeMap: manualTypeMap, - versionInformation: versionInformation, - providedTypes: providedTypes, - constraints: constraints, + crdLists: crdLists, + types: make(map[reflect.Type]*JSONObjectDescriptor), + providedPackages: providedPackages, + manualTypeMap: manualTypeMap, + packageMapping: packageMapping, + mappingSchema: mappingSchema, + providedTypes: providedTypes, + constraints: constraints, } return &g } @@ -93,6 +104,19 @@ func (g *schemaGenerator) fieldDescription(f reflect.StructField) string { return "" } +func (g *schemaGenerator) isOmitEmpty(f reflect.StructField) bool { + json := f.Tag.Get("json") + if len(json) > 0 { + parts := strings.Split(json, ",") + for _, part := range parts { + if part == "omitempty" { + return true + } + } + } + return false +} + func (g *schemaGenerator) qualifiedName(t reflect.Type) string { path := t.PkgPath() name := t.Name() @@ -147,6 +171,10 @@ func (g *schemaGenerator) javaType(t reflect.Type) string { return manualType } + if g.isProvidedType(t) { + return g.resolveJavaClassForProvidedType(t) + } + if isSimpleJavaType(t) { switch t.Kind() { case reflect.Bool: @@ -160,6 +188,10 @@ func (g *schemaGenerator) javaType(t reflect.Type) string { } } + if t.Kind() == reflect.Map { + return "java.util.Map<" + g.javaType(t.Key()) + "," + g.javaType(t.Elem()) + ">" + } + // part of provided packages? if g.isPartOfProvidedPackage(t) { return g.resolveJavaClassUsingProvidedPackages(t) @@ -170,23 +202,23 @@ func (g *schemaGenerator) javaType(t reflect.Type) string { return g.resolveJavaClassUsingOwnPackages(t) } - if t.Kind() == reflect.Map { - return "java.util.Map<" + g.javaType(t.Key()) + "," + g.javaType(t.Elem()) + ">" + if g.isPartOfMappingSchema(t) { + return g.resolveJavaClassUsingMappingSchema(t) } panic("No type mapping for " + t.PkgPath() + "." + t.Name()) } func (g *schemaGenerator) javaInterfaces(t reflect.Type) []string { - if _, ok := t.FieldByName("ObjectMeta"); t.Name() != "JobTemplateSpec" && t.Name() != "PodTemplateSpec" && ok { + + if g.isCRD(t) { return []string{"io.fabric8.kubernetes.api.model.HasMetadata"} } - _, hasItems := t.FieldByName("Items") - _, hasListMeta := t.FieldByName("ListMeta") - if hasItems && hasListMeta { + if g.isCRDList(t) { return []string{"io.fabric8.kubernetes.api.model.KubernetesResource", g.resourceListInterface(t)} } + return []string{"io.fabric8.kubernetes.api.model.KubernetesResource"} } @@ -317,13 +349,11 @@ func (g *schemaGenerator) getStructProperties(t reflect.Type) map[string]JSONPro } // setting api version default values - apiVersionPropertyDescriptor, hasApiVersion := result["apiVersion"] - if hasApiVersion { + if g.isCRD(t) || g.isCRDList(t) { + apiVersionPropertyDescriptor, _ := result["apiVersion"] g.setApiVersion(apiVersionPropertyDescriptor, t) - } - kindPropertyDescriptor, hasKind := result["kind"] - if hasKind { + kindPropertyDescriptor, _ := result["kind"] kindPropertyDescriptor.Default = t.Name() kindPropertyDescriptor.Required = true } @@ -332,6 +362,12 @@ func (g *schemaGenerator) getStructProperties(t reflect.Type) map[string]JSONPro } func (g *schemaGenerator) referenceDescriptor(valueType reflect.Type) *JSONReferenceDescriptor { + + if g.isManualType(valueType) { + + return nil + } + if g.isPartOfGeneratedClasses(valueType) { return &JSONReferenceDescriptor{ Reference: g.generateReference(valueType), @@ -341,7 +377,7 @@ func (g *schemaGenerator) referenceDescriptor(valueType reflect.Type) *JSONRefer } func (g *schemaGenerator) setApiVersion(apiVersionPropertyDescriptor JSONPropertyDescriptor, t reflect.Type) { - versionInfo, ok := g.versionInformation[t.PkgPath()] + versionInfo, ok := g.packageMapping[t.PkgPath()] if !ok { panic("Not able to set api version for " + t.PkgPath() + "/" + t.Name()) } @@ -356,13 +392,16 @@ func (g *schemaGenerator) fieldCategory(field reflect.StructField) FieldType { jsonTag := field.Tag.Get("json") + jsonFieldName := g.jsonFieldName(field) + // embedded examples: // - metav1.TypeMeta `json:",inline"` => anonymous = True // - PipelineResourceBinding => anonymous = True + // - v1beta1.Addressable `json:",omitempty"` // NOT embedded // - metav1.ObjectMeta `json:"metadata,omitempty"` => anonymous = True (!) - if field.Anonymous && (jsonTag == "" || strings.Contains(jsonTag, "inline")) { + if field.Anonymous && (jsonTag == "" || strings.Contains(jsonTag, "inline") || jsonFieldName == "") { return EMBEDDED } @@ -414,7 +453,12 @@ func (g *schemaGenerator) handleType(t reflect.Type) { t = g.resolvePointer(t) // no need to include simple types or excluded types - if !g.isPartOfGeneratedClasses(t) || isSimpleJavaType(t) { + if !g.isPartOfGeneratedClasses(t) || isSimpleJavaType(t) || g.isManualType(t) { + return + } + + if t.Kind() == reflect.Map { + // is this a good idea?! return } @@ -437,6 +481,11 @@ func (g *schemaGenerator) isPartOfProvidedPackage(t reflect.Type) bool { return ok } +func (g *schemaGenerator) isManualType(t reflect.Type) bool { + _, ok := g.manualTypeMap[t] + return ok +} + func (g *schemaGenerator) isProvidedType(t reflect.Type) bool { for _, pt := range g.providedTypes { if pt.GoType == t { @@ -446,13 +495,43 @@ func (g *schemaGenerator) isProvidedType(t reflect.Type) bool { return false } +func (g *schemaGenerator) resolveJavaClassForProvidedType(t reflect.Type) string { + for _, pt := range g.providedTypes { + if pt.GoType == t { + return pt.JavaClass + } + } + panic("Failed to resolve java class for provided type") +} + func (g *schemaGenerator) isPartOfOwnPackage(t reflect.Type) bool { - _, ok := g.versionInformation[t.PkgPath()] + _, ok := g.packageMapping[t.PkgPath()] return ok } func (g *schemaGenerator) resolveJavaClassUsingOwnPackages(t reflect.Type) string { - return g.versionInformation[t.PkgPath()].JavaPackage + "." + t.Name() + return g.packageMapping[t.PkgPath()].JavaPackage + "." + t.Name() +} + +func (g *schemaGenerator) isPartOfMappingSchema(t reflect.Type) bool { + for key, _ := range g.mappingSchema { + if strings.HasPrefix(t.PkgPath(), key) { + return true + } + } + return false +} + +func (g *schemaGenerator) resolveJavaClassUsingMappingSchema(t reflect.Type) string { + + for key, value := range g.mappingSchema { + if strings.HasPrefix(t.PkgPath(), key) { + typeName := t.PkgPath() + "." + t.Name() + modifiedTypeName := strings.NewReplacer(key, value, "/", ".").Replace(typeName) + return modifiedTypeName + } + } + panic("Failed to resolve Java Class using mapping schema definition") } func (g *schemaGenerator) resolveJavaClassUsingProvidedPackages(t reflect.Type) string { @@ -537,10 +616,13 @@ func (g *schemaGenerator) propertyDescriptorForList(field reflect.StructField) J // "type discovery" g.handleType(listValueType) + omitIfEmpty := g.isOmitEmpty(field) + if isSimpleJavaType(listValueType) { return JSONPropertyDescriptor{ JSONDescriptor: &JSONDescriptor{ - Type: "array", + Type: "array", + JavaOmitEmpty: omitIfEmpty, }, JSONArrayDescriptor: &JSONArrayDescriptor{ Items: g.propertyDescriptorForSimple(listValueType), @@ -550,7 +632,8 @@ func (g *schemaGenerator) propertyDescriptorForList(field reflect.StructField) J } else { return JSONPropertyDescriptor{ JSONDescriptor: &JSONDescriptor{ - Type: "array", + Type: "array", + JavaOmitEmpty: omitIfEmpty, }, JSONArrayDescriptor: &JSONArrayDescriptor{ Items: JSONPropertyDescriptor{ @@ -562,3 +645,37 @@ func (g *schemaGenerator) propertyDescriptorForList(field reflect.StructField) J } } + +func (g *schemaGenerator) isCRD(t reflect.Type) bool { + + typeName := t.PkgPath() + "." + t.Name() + "List" + + for _, crd := range g.crdLists { + // provided are CRDList as an entry point + crdListName := crd.PkgPath() + "." + crd.Name() + + if typeName == crdListName { + return true + } + + } + + return false +} + +func (g *schemaGenerator) isCRDList(t reflect.Type) bool { + + typeName := t.PkgPath() + "." + t.Name() + + for _, crd := range g.crdLists { + // provided are CRDList as an entry point + crdListName := crd.PkgPath() + "." + crd.Name() + + if typeName == crdListName { + return true + } + + } + + return false +} diff --git a/extensions/tekton/generator/pkg/schemagen/json.go b/generator/pkg/schemagen/json.go similarity index 100% rename from extensions/tekton/generator/pkg/schemagen/json.go rename to generator/pkg/schemagen/json.go diff --git a/extensions/tekton/annotator/pom.xml b/model-annotator/pom.xml similarity index 85% rename from extensions/tekton/annotator/pom.xml rename to model-annotator/pom.xml index c8c9c803bba..1e7fcfee944 100755 --- a/extensions/tekton/annotator/pom.xml +++ b/model-annotator/pom.xml @@ -16,17 +16,18 @@ limitations under the License. --> - + 4.0.0 io.fabric8 - tekton-extension-pom + kubernetes-client-project 4.9-SNAPSHOT - tekton-model-annotator + model-annotator jar - Fabric8 :: Tekton :: Model :: Annotator + Fabric8 :: Kubernetes :: Model Annotator diff --git a/model-annotator/src/main/java/io/fabric8/kubernetes/ModelAnnotator.java b/model-annotator/src/main/java/io/fabric8/kubernetes/ModelAnnotator.java new file mode 100755 index 00000000000..5d888331d4e --- /dev/null +++ b/model-annotator/src/main/java/io/fabric8/kubernetes/ModelAnnotator.java @@ -0,0 +1,131 @@ +/** + * 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.kubernetes; + +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.databind.JsonDeserializer; +import com.fasterxml.jackson.databind.JsonNode; +import com.fasterxml.jackson.databind.annotation.JsonDeserialize; +import com.sun.codemodel.*; +import io.fabric8.kubernetes.model.annotation.ApiGroup; +import io.fabric8.kubernetes.model.annotation.ApiVersion; +import io.sundr.builder.annotations.Buildable; +import io.sundr.builder.annotations.BuildableReference; +import io.sundr.builder.annotations.Inline; +import io.sundr.transform.annotations.VelocityTransformation; +import io.sundr.transform.annotations.VelocityTransformations; +import lombok.EqualsAndHashCode; +import lombok.ToString; +import org.jsonschema2pojo.AbstractAnnotator; + +import java.util.HashSet; +import java.util.Set; + +public class ModelAnnotator extends AbstractAnnotator { + + private final Set handledClasses = new HashSet<>(); + + @Override + public void propertyOrder(JDefinedClass clazz, JsonNode propertiesNode) { + try { + + // ensure every class is only processed once + if (handledClasses.contains(clazz.fullName())) + return; + + // add common annotations + clazz.annotate(JsonDeserialize.class) + .param("using", JsonDeserializer.None.class); + clazz.annotate(ToString.class); + clazz.annotate(EqualsAndHashCode.class); + + JAnnotationUse buildable = clazz.annotate(Buildable.class) + .param("editableEnabled", false) + .param("validationEnabled", false) + .param("generateBuilderPackage", false) + .param("builderPackage", "io.fabric8.kubernetes.api.builder"); + + buildable.paramArray("inline").annotate(Inline.class) + .param("type", new JCodeModel()._class("io.fabric8.kubernetes.api.model.Doneable")) + .param("prefix", "Doneable") + .param("value", "done"); + + buildable.paramArray("refs").annotate(BuildableReference.class) + .param("value", new JCodeModel()._class("io.fabric8.kubernetes.api.model.ObjectMeta")); + + if (isCRD(clazz, propertiesNode) || isCRDList(clazz, propertiesNode)) { // add CRD-specific annotations + String apiVersion = getApiVersion(propertiesNode); + clazz.annotate(ApiVersion.class).param("value", extractVersion(apiVersion)); + clazz.annotate(ApiGroup.class).param("value", extractGroup(apiVersion)); + } + + if (isCRD(clazz, propertiesNode)) { // include in model.properties (only CRDs not Lists!) + JAnnotationArrayMember arrayMember = clazz.annotate(VelocityTransformations.class) + .paramArray("value"); + arrayMember.annotate(VelocityTransformation.class) + .param("value", "/manifest.vm") + .param("outputPath", "model.properties") + .param("gather", true); + } + + handledClasses.add(clazz.fullName()); + + } catch (JClassAlreadyExistsException e) { + throw new RuntimeException(e); + } + } + + @Override + public void propertyField(JFieldVar field, JDefinedClass clazz, String propertyName, JsonNode propertyNode) { + super.propertyField(field, clazz, propertyName, propertyNode); + + if (propertyNode.has("javaOmitEmpty") && propertyNode.get("javaOmitEmpty").asBoolean(false)) { + field.annotate(JsonInclude.class).param("value", JsonInclude.Include.NON_EMPTY); + } + } + + /** + * all CRDs have apiVersion initialized with a default value + */ + private boolean hasApiVersionWithDefault(JsonNode propertiesNode) { + final JsonNode apiVersion = propertiesNode.get("apiVersion"); + if (apiVersion != null) { + return apiVersion.get("default") != null; + } + return false; + } + + private boolean isCRD(JDefinedClass clazz, JsonNode propertiesNode) { + return hasApiVersionWithDefault(propertiesNode) && !clazz.name().endsWith("List"); + } + + private boolean isCRDList(JDefinedClass clazz, JsonNode propertiesNode) { + return hasApiVersionWithDefault(propertiesNode) && clazz.name().endsWith("List"); + } + + private String extractGroup(String apiVersion) { + return apiVersion.split("/")[0]; + } + + private String extractVersion(String apiVersion) { + return apiVersion.split("/")[1]; + } + + private String getApiVersion(JsonNode propertiesNode) { + return propertiesNode.get("apiVersion").get("default").textValue(); + } + +} diff --git a/pom.xml b/pom.xml index 49b954d4ba4..84c7713ab55 100644 --- a/pom.xml +++ b/pom.xml @@ -165,6 +165,7 @@ + model-annotator kubernetes-model kubernetes-client kubernetes-server-mock @@ -217,7 +218,12 @@ io.fabric8 - tekton-model + tekton-model-v1alpha1 + ${project.version} + + + io.fabric8 + tekton-model-v1beta1 ${project.version}