diff --git a/api/gen/admin/client.go b/api/gen/admin/client.go index 10b7479682..2d2731e2d2 100644 --- a/api/gen/admin/client.go +++ b/api/gen/admin/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin client // diff --git a/api/gen/admin/endpoints.go b/api/gen/admin/endpoints.go index 2b2b9c28d3..8e156347db 100644 --- a/api/gen/admin/endpoints.go +++ b/api/gen/admin/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin endpoints // diff --git a/api/gen/admin/service.go b/api/gen/admin/service.go index fdd9da4788..031d4e34db 100644 --- a/api/gen/admin/service.go +++ b/api/gen/admin/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin service // diff --git a/api/gen/catalog/client.go b/api/gen/catalog/client.go index 356c2753b8..64a3f3e3c3 100644 --- a/api/gen/catalog/client.go +++ b/api/gen/catalog/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog client // diff --git a/api/gen/catalog/endpoints.go b/api/gen/catalog/endpoints.go index 3d502a56ec..5ccd30a041 100644 --- a/api/gen/catalog/endpoints.go +++ b/api/gen/catalog/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog endpoints // diff --git a/api/gen/catalog/service.go b/api/gen/catalog/service.go index e4f0bea9e4..6df881c57a 100644 --- a/api/gen/catalog/service.go +++ b/api/gen/catalog/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog service // diff --git a/api/gen/catalog/views/view.go b/api/gen/catalog/views/view.go index ee706fd6ef..4cf24c6d76 100644 --- a/api/gen/catalog/views/view.go +++ b/api/gen/catalog/views/view.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog views // @@ -29,14 +29,6 @@ type JobView struct { Status *string } -// CatalogErrorsView is a type that runs validations on a projected type. -type CatalogErrorsView struct { - // Catalog Errror type - Type *string - // Catalog Error message - Errors []string -} - var ( // JobMap is a map indexing the attribute names of Job by view name. JobMap = map[string][]string{ @@ -73,14 +65,3 @@ func ValidateJobView(result *JobView) (err error) { } return } - -// ValidateCatalogErrorsView runs the validations defined on CatalogErrorsView. -func ValidateCatalogErrorsView(result *CatalogErrorsView) (err error) { - if result.Type == nil { - err = goa.MergeErrors(err, goa.MissingFieldError("type", "result")) - } - if result.Errors == nil { - err = goa.MergeErrors(err, goa.MissingFieldError("errors", "result")) - } - return -} diff --git a/api/gen/category/client.go b/api/gen/category/client.go index 6ab1f1b7a7..aa0506cffb 100644 --- a/api/gen/category/client.go +++ b/api/gen/category/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category client // diff --git a/api/gen/category/endpoints.go b/api/gen/category/endpoints.go index 08d12044ec..2b2edd4142 100644 --- a/api/gen/category/endpoints.go +++ b/api/gen/category/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category endpoints // diff --git a/api/gen/category/service.go b/api/gen/category/service.go index 676f459e1b..ec8dad1385 100644 --- a/api/gen/category/service.go +++ b/api/gen/category/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category service // diff --git a/api/gen/category/views/view.go b/api/gen/category/views/view.go deleted file mode 100644 index d5b2155628..0000000000 --- a/api/gen/category/views/view.go +++ /dev/null @@ -1,33 +0,0 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. -// -// category views -// -// Command: -// $ goa gen github.com/tektoncd/hub/api/design - -package views - -import ( - goa "goa.design/goa/v3/pkg" -) - -// CategoryView is a type that runs validations on a projected type. -type CategoryView struct { - // ID is the unique id of the category - ID *uint - // Name of category - Name *string -} - -var () - -// ValidateCategoryView runs the validations defined on CategoryView. -func ValidateCategoryView(result *CategoryView) (err error) { - if result.ID == nil { - err = goa.MergeErrors(err, goa.MissingFieldError("id", "result")) - } - if result.Name == nil { - err = goa.MergeErrors(err, goa.MissingFieldError("name", "result")) - } - return -} diff --git a/api/gen/http/admin/client/cli.go b/api/gen/http/admin/client/cli.go index 4370d0adf1..4b74861bb7 100644 --- a/api/gen/http/admin/client/cli.go +++ b/api/gen/http/admin/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin HTTP client CLI support package // diff --git a/api/gen/http/admin/client/client.go b/api/gen/http/admin/client/client.go index e982423e7c..255c6a5f68 100644 --- a/api/gen/http/admin/client/client.go +++ b/api/gen/http/admin/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin client HTTP transport // diff --git a/api/gen/http/admin/client/encode_decode.go b/api/gen/http/admin/client/encode_decode.go index ad289413a9..3f5e5194e0 100644 --- a/api/gen/http/admin/client/encode_decode.go +++ b/api/gen/http/admin/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin HTTP client encoders and decoders // diff --git a/api/gen/http/admin/client/paths.go b/api/gen/http/admin/client/paths.go index a18a1bf162..fbd8f70134 100644 --- a/api/gen/http/admin/client/paths.go +++ b/api/gen/http/admin/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the admin service. // diff --git a/api/gen/http/admin/client/types.go b/api/gen/http/admin/client/types.go index 7ee135df82..3ea795fe1f 100644 --- a/api/gen/http/admin/client/types.go +++ b/api/gen/http/admin/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin HTTP client types // diff --git a/api/gen/http/admin/server/encode_decode.go b/api/gen/http/admin/server/encode_decode.go index 4ce6191a0f..4e37c739af 100644 --- a/api/gen/http/admin/server/encode_decode.go +++ b/api/gen/http/admin/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin HTTP server encoders and decoders // diff --git a/api/gen/http/admin/server/paths.go b/api/gen/http/admin/server/paths.go index 3b184b7660..290685cded 100644 --- a/api/gen/http/admin/server/paths.go +++ b/api/gen/http/admin/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the admin service. // diff --git a/api/gen/http/admin/server/server.go b/api/gen/http/admin/server/server.go index ef5f5f0fc1..6245cdfa5e 100644 --- a/api/gen/http/admin/server/server.go +++ b/api/gen/http/admin/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin HTTP server // diff --git a/api/gen/http/admin/server/types.go b/api/gen/http/admin/server/types.go index 561c2b3395..2249682d25 100644 --- a/api/gen/http/admin/server/types.go +++ b/api/gen/http/admin/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // admin HTTP server types // diff --git a/api/gen/http/catalog/client/cli.go b/api/gen/http/catalog/client/cli.go index 36ced02d9f..a892f6990d 100644 --- a/api/gen/http/catalog/client/cli.go +++ b/api/gen/http/catalog/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP client CLI support package // diff --git a/api/gen/http/catalog/client/client.go b/api/gen/http/catalog/client/client.go index b2ad9d5196..2155e56198 100644 --- a/api/gen/http/catalog/client/client.go +++ b/api/gen/http/catalog/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog client HTTP transport // diff --git a/api/gen/http/catalog/client/encode_decode.go b/api/gen/http/catalog/client/encode_decode.go index 2cd515e840..068e7602f6 100644 --- a/api/gen/http/catalog/client/encode_decode.go +++ b/api/gen/http/catalog/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP client encoders and decoders // diff --git a/api/gen/http/catalog/client/paths.go b/api/gen/http/catalog/client/paths.go index bd76f7afb8..a8427b1985 100644 --- a/api/gen/http/catalog/client/paths.go +++ b/api/gen/http/catalog/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the catalog service. // diff --git a/api/gen/http/catalog/client/types.go b/api/gen/http/catalog/client/types.go index ec887fe908..712f73aa4a 100644 --- a/api/gen/http/catalog/client/types.go +++ b/api/gen/http/catalog/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP client types // diff --git a/api/gen/http/catalog/server/encode_decode.go b/api/gen/http/catalog/server/encode_decode.go index 92c498a05d..e0658de244 100644 --- a/api/gen/http/catalog/server/encode_decode.go +++ b/api/gen/http/catalog/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP server encoders and decoders // diff --git a/api/gen/http/catalog/server/paths.go b/api/gen/http/catalog/server/paths.go index 437145d275..d00b5f9d3a 100644 --- a/api/gen/http/catalog/server/paths.go +++ b/api/gen/http/catalog/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the catalog service. // diff --git a/api/gen/http/catalog/server/server.go b/api/gen/http/catalog/server/server.go index c859248dd3..3bec1dd933 100644 --- a/api/gen/http/catalog/server/server.go +++ b/api/gen/http/catalog/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP server // diff --git a/api/gen/http/catalog/server/types.go b/api/gen/http/catalog/server/types.go index 2abe735684..d69122d7af 100644 --- a/api/gen/http/catalog/server/types.go +++ b/api/gen/http/catalog/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP server types // diff --git a/api/gen/http/category/client/cli.go b/api/gen/http/category/client/cli.go index f33d934c6c..c3c2a9f099 100644 --- a/api/gen/http/category/client/cli.go +++ b/api/gen/http/category/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category HTTP client CLI support package // diff --git a/api/gen/http/category/client/client.go b/api/gen/http/category/client/client.go index 59c1ee1c3e..d0bf8cf5e1 100644 --- a/api/gen/http/category/client/client.go +++ b/api/gen/http/category/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category client HTTP transport // diff --git a/api/gen/http/category/client/encode_decode.go b/api/gen/http/category/client/encode_decode.go index 219ea5b052..908de8dd5a 100644 --- a/api/gen/http/category/client/encode_decode.go +++ b/api/gen/http/category/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category HTTP client encoders and decoders // diff --git a/api/gen/http/category/client/paths.go b/api/gen/http/category/client/paths.go index 8e87258c10..070a780159 100644 --- a/api/gen/http/category/client/paths.go +++ b/api/gen/http/category/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the category service. // diff --git a/api/gen/http/category/client/types.go b/api/gen/http/category/client/types.go index eab413135f..d6ab08c2ae 100644 --- a/api/gen/http/category/client/types.go +++ b/api/gen/http/category/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category HTTP client types // diff --git a/api/gen/http/category/server/encode_decode.go b/api/gen/http/category/server/encode_decode.go index 646c9a78c8..e3ce8530ed 100644 --- a/api/gen/http/category/server/encode_decode.go +++ b/api/gen/http/category/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category HTTP server encoders and decoders // diff --git a/api/gen/http/category/server/paths.go b/api/gen/http/category/server/paths.go index dc0687198c..bac1709654 100644 --- a/api/gen/http/category/server/paths.go +++ b/api/gen/http/category/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the category service. // diff --git a/api/gen/http/category/server/server.go b/api/gen/http/category/server/server.go index 25e7045183..c28746eb88 100644 --- a/api/gen/http/category/server/server.go +++ b/api/gen/http/category/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category HTTP server // diff --git a/api/gen/http/category/server/types.go b/api/gen/http/category/server/types.go index e91e555ee0..ba81a0f2ce 100644 --- a/api/gen/http/category/server/types.go +++ b/api/gen/http/category/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // category HTTP server types // diff --git a/api/gen/http/cli/hub/cli.go b/api/gen/http/cli/hub/cli.go index 0df911acfe..ba6989aec3 100644 --- a/api/gen/http/cli/hub/cli.go +++ b/api/gen/http/cli/hub/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // hub HTTP client CLI support package // diff --git a/api/gen/http/rating/client/cli.go b/api/gen/http/rating/client/cli.go index 6f3bf3fd75..da8ddd8d43 100644 --- a/api/gen/http/rating/client/cli.go +++ b/api/gen/http/rating/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating HTTP client CLI support package // diff --git a/api/gen/http/rating/client/client.go b/api/gen/http/rating/client/client.go index 2a9e89b003..5ca0e6ccdf 100644 --- a/api/gen/http/rating/client/client.go +++ b/api/gen/http/rating/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating client HTTP transport // diff --git a/api/gen/http/rating/client/encode_decode.go b/api/gen/http/rating/client/encode_decode.go index 550c999986..7716eb8478 100644 --- a/api/gen/http/rating/client/encode_decode.go +++ b/api/gen/http/rating/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating HTTP client encoders and decoders // diff --git a/api/gen/http/rating/client/paths.go b/api/gen/http/rating/client/paths.go index 9188462e61..39bf01d912 100644 --- a/api/gen/http/rating/client/paths.go +++ b/api/gen/http/rating/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the rating service. // diff --git a/api/gen/http/rating/client/types.go b/api/gen/http/rating/client/types.go index efe5fbe4c3..427afae31e 100644 --- a/api/gen/http/rating/client/types.go +++ b/api/gen/http/rating/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating HTTP client types // diff --git a/api/gen/http/rating/server/encode_decode.go b/api/gen/http/rating/server/encode_decode.go index b1ff0df2e7..f789d486f3 100644 --- a/api/gen/http/rating/server/encode_decode.go +++ b/api/gen/http/rating/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating HTTP server encoders and decoders // diff --git a/api/gen/http/rating/server/paths.go b/api/gen/http/rating/server/paths.go index 464e3d2859..a540eb3367 100644 --- a/api/gen/http/rating/server/paths.go +++ b/api/gen/http/rating/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the rating service. // diff --git a/api/gen/http/rating/server/server.go b/api/gen/http/rating/server/server.go index f8c27ad6d9..f27200bb14 100644 --- a/api/gen/http/rating/server/server.go +++ b/api/gen/http/rating/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating HTTP server // diff --git a/api/gen/http/rating/server/types.go b/api/gen/http/rating/server/types.go index e81d478a6f..4ac69f41b5 100644 --- a/api/gen/http/rating/server/types.go +++ b/api/gen/http/rating/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating HTTP server types // diff --git a/api/gen/http/resource/client/cli.go b/api/gen/http/resource/client/cli.go index 1e857c0426..a44bced51a 100644 --- a/api/gen/http/resource/client/cli.go +++ b/api/gen/http/resource/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP client CLI support package // diff --git a/api/gen/http/resource/client/client.go b/api/gen/http/resource/client/client.go index 7e3a881da6..de4a931184 100644 --- a/api/gen/http/resource/client/client.go +++ b/api/gen/http/resource/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource client HTTP transport // diff --git a/api/gen/http/resource/client/encode_decode.go b/api/gen/http/resource/client/encode_decode.go index 3e6e4637d5..284acb1cf4 100644 --- a/api/gen/http/resource/client/encode_decode.go +++ b/api/gen/http/resource/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP client encoders and decoders // diff --git a/api/gen/http/resource/client/paths.go b/api/gen/http/resource/client/paths.go index 083ec32b22..e27dd6cd6c 100644 --- a/api/gen/http/resource/client/paths.go +++ b/api/gen/http/resource/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the resource service. // diff --git a/api/gen/http/resource/client/types.go b/api/gen/http/resource/client/types.go index 9fb32a4f92..9c6a2a24ef 100644 --- a/api/gen/http/resource/client/types.go +++ b/api/gen/http/resource/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP client types // diff --git a/api/gen/http/resource/server/encode_decode.go b/api/gen/http/resource/server/encode_decode.go index f20b35f8c3..d5c1ee79b0 100644 --- a/api/gen/http/resource/server/encode_decode.go +++ b/api/gen/http/resource/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP server encoders and decoders // diff --git a/api/gen/http/resource/server/paths.go b/api/gen/http/resource/server/paths.go index ddc6b40ded..a84483fb74 100644 --- a/api/gen/http/resource/server/paths.go +++ b/api/gen/http/resource/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the resource service. // diff --git a/api/gen/http/resource/server/server.go b/api/gen/http/resource/server/server.go index bff0a76fa0..ff1afe1c3e 100644 --- a/api/gen/http/resource/server/server.go +++ b/api/gen/http/resource/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP server // diff --git a/api/gen/http/resource/server/types.go b/api/gen/http/resource/server/types.go index 380feb7e26..a8448962a7 100644 --- a/api/gen/http/resource/server/types.go +++ b/api/gen/http/resource/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP server types // diff --git a/api/gen/http/status/client/cli.go b/api/gen/http/status/client/cli.go index 2ada7f8b8d..f5a940c99d 100644 --- a/api/gen/http/status/client/cli.go +++ b/api/gen/http/status/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status HTTP client CLI support package // diff --git a/api/gen/http/status/client/client.go b/api/gen/http/status/client/client.go index 0cd322a8f1..955cf00a3d 100644 --- a/api/gen/http/status/client/client.go +++ b/api/gen/http/status/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status client HTTP transport // diff --git a/api/gen/http/status/client/encode_decode.go b/api/gen/http/status/client/encode_decode.go index 62ba4f5237..8fdb13ff1e 100644 --- a/api/gen/http/status/client/encode_decode.go +++ b/api/gen/http/status/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status HTTP client encoders and decoders // diff --git a/api/gen/http/status/client/paths.go b/api/gen/http/status/client/paths.go index 2a05a50285..7693def213 100644 --- a/api/gen/http/status/client/paths.go +++ b/api/gen/http/status/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the status service. // diff --git a/api/gen/http/status/client/types.go b/api/gen/http/status/client/types.go index b9ece0e4c9..c7c3cd5e67 100644 --- a/api/gen/http/status/client/types.go +++ b/api/gen/http/status/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status HTTP client types // diff --git a/api/gen/http/status/server/encode_decode.go b/api/gen/http/status/server/encode_decode.go index 47f77a5f0f..6c876534d8 100644 --- a/api/gen/http/status/server/encode_decode.go +++ b/api/gen/http/status/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status HTTP server encoders and decoders // diff --git a/api/gen/http/status/server/paths.go b/api/gen/http/status/server/paths.go index 0558feda3f..56072100c3 100644 --- a/api/gen/http/status/server/paths.go +++ b/api/gen/http/status/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the status service. // diff --git a/api/gen/http/status/server/server.go b/api/gen/http/status/server/server.go index b253a31761..55431f5a95 100644 --- a/api/gen/http/status/server/server.go +++ b/api/gen/http/status/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status HTTP server // diff --git a/api/gen/http/status/server/types.go b/api/gen/http/status/server/types.go index dd62ba005e..75a482c5e3 100644 --- a/api/gen/http/status/server/types.go +++ b/api/gen/http/status/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status HTTP server types // diff --git a/api/gen/http/swagger/client/client.go b/api/gen/http/swagger/client/client.go index a41d9b6270..7f2f0efb41 100644 --- a/api/gen/http/swagger/client/client.go +++ b/api/gen/http/swagger/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger client HTTP transport // diff --git a/api/gen/http/swagger/client/encode_decode.go b/api/gen/http/swagger/client/encode_decode.go index e6211faac1..125e64cad9 100644 --- a/api/gen/http/swagger/client/encode_decode.go +++ b/api/gen/http/swagger/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger HTTP client encoders and decoders // diff --git a/api/gen/http/swagger/client/paths.go b/api/gen/http/swagger/client/paths.go index fe7f08c4d6..b17aa342fe 100644 --- a/api/gen/http/swagger/client/paths.go +++ b/api/gen/http/swagger/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the swagger service. // diff --git a/api/gen/http/swagger/client/types.go b/api/gen/http/swagger/client/types.go index ec9aa1760e..d9a5cad5c6 100644 --- a/api/gen/http/swagger/client/types.go +++ b/api/gen/http/swagger/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger HTTP client types // diff --git a/api/gen/http/swagger/server/paths.go b/api/gen/http/swagger/server/paths.go index a7062f73a6..fd1fbf5039 100644 --- a/api/gen/http/swagger/server/paths.go +++ b/api/gen/http/swagger/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the swagger service. // diff --git a/api/gen/http/swagger/server/server.go b/api/gen/http/swagger/server/server.go index 35172bfa0e..b7ba1aca4b 100644 --- a/api/gen/http/swagger/server/server.go +++ b/api/gen/http/swagger/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger HTTP server // diff --git a/api/gen/http/swagger/server/types.go b/api/gen/http/swagger/server/types.go index 54bf859327..b6601a320d 100644 --- a/api/gen/http/swagger/server/types.go +++ b/api/gen/http/swagger/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger HTTP server types // diff --git a/api/gen/log/logger.go b/api/gen/log/logger.go index 52fc3a32e5..1072c28e07 100644 --- a/api/gen/log/logger.go +++ b/api/gen/log/logger.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // Zap logger implementation // diff --git a/api/gen/rating/client.go b/api/gen/rating/client.go index 2b0ee1a5a6..e2dd44c426 100644 --- a/api/gen/rating/client.go +++ b/api/gen/rating/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating client // diff --git a/api/gen/rating/endpoints.go b/api/gen/rating/endpoints.go index 8ef6093e9a..5b43cf069b 100644 --- a/api/gen/rating/endpoints.go +++ b/api/gen/rating/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating endpoints // diff --git a/api/gen/rating/service.go b/api/gen/rating/service.go index 50d89ac428..cb68fb929d 100644 --- a/api/gen/rating/service.go +++ b/api/gen/rating/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // rating service // diff --git a/api/gen/rating/views/view.go b/api/gen/rating/views/view.go deleted file mode 100644 index 9dd3254d3d..0000000000 --- a/api/gen/rating/views/view.go +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. -// -// rating views -// -// Command: -// $ goa gen github.com/tektoncd/hub/api/design - -package views - -// EmptyView is a type that runs validations on a projected type. -type EmptyView struct { -} - -var () - -// ValidateEmptyView runs the validations defined on EmptyView. -func ValidateEmptyView(result *EmptyView) (err error) { - - return -} diff --git a/api/gen/resource/client.go b/api/gen/resource/client.go index 7395178fc8..e5632caccd 100644 --- a/api/gen/resource/client.go +++ b/api/gen/resource/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource client // diff --git a/api/gen/resource/endpoints.go b/api/gen/resource/endpoints.go index 43052ea5e3..bf7cdabcf2 100644 --- a/api/gen/resource/endpoints.go +++ b/api/gen/resource/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource endpoints // diff --git a/api/gen/resource/service.go b/api/gen/resource/service.go index 413072d9fc..9675d4b5d6 100644 --- a/api/gen/resource/service.go +++ b/api/gen/resource/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource service // diff --git a/api/gen/resource/views/view.go b/api/gen/resource/views/view.go index d6e9174be2..c610757b77 100644 --- a/api/gen/resource/views/view.go +++ b/api/gen/resource/views/view.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource views // diff --git a/api/gen/status/client.go b/api/gen/status/client.go index 711b499f20..cf841cbcd2 100644 --- a/api/gen/status/client.go +++ b/api/gen/status/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status client // diff --git a/api/gen/status/endpoints.go b/api/gen/status/endpoints.go index c517dc831a..22d6680895 100644 --- a/api/gen/status/endpoints.go +++ b/api/gen/status/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status endpoints // diff --git a/api/gen/status/service.go b/api/gen/status/service.go index 3f9e1b7217..59c9e3eaf5 100644 --- a/api/gen/status/service.go +++ b/api/gen/status/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // status service // diff --git a/api/gen/status/views/view.go b/api/gen/status/views/view.go deleted file mode 100644 index 1460a7c179..0000000000 --- a/api/gen/status/views/view.go +++ /dev/null @@ -1,40 +0,0 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. -// -// status views -// -// Command: -// $ goa gen github.com/tektoncd/hub/api/design - -package views - -import ( - goa "goa.design/goa/v3/pkg" -) - -// HubServiceView is a type that runs validations on a projected type. -type HubServiceView struct { - // Name of the service - Name *string - // Status of the service - Status *string - // Details of the error if any - Error *string -} - -var () - -// ValidateHubServiceView runs the validations defined on HubServiceView. -func ValidateHubServiceView(result *HubServiceView) (err error) { - if result.Name == nil { - err = goa.MergeErrors(err, goa.MissingFieldError("name", "result")) - } - if result.Status == nil { - err = goa.MergeErrors(err, goa.MissingFieldError("status", "result")) - } - if result.Status != nil { - if !(*result.Status == "ok" || *result.Status == "error") { - err = goa.MergeErrors(err, goa.InvalidEnumValueError("result.status", *result.Status, []any{"ok", "error"})) - } - } - return -} diff --git a/api/gen/swagger/client.go b/api/gen/swagger/client.go index e9dbd8e844..625e5e6e02 100644 --- a/api/gen/swagger/client.go +++ b/api/gen/swagger/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger client // diff --git a/api/gen/swagger/endpoints.go b/api/gen/swagger/endpoints.go index fee0cd8b4e..9d712b208c 100644 --- a/api/gen/swagger/endpoints.go +++ b/api/gen/swagger/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger endpoints // diff --git a/api/gen/swagger/service.go b/api/gen/swagger/service.go index 26a7911c94..52f0a39399 100644 --- a/api/gen/swagger/service.go +++ b/api/gen/swagger/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger service // diff --git a/api/v1/gen/catalog/client.go b/api/v1/gen/catalog/client.go index 8a3e225dd3..cdf34ec933 100644 --- a/api/v1/gen/catalog/client.go +++ b/api/v1/gen/catalog/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog client // diff --git a/api/v1/gen/catalog/endpoints.go b/api/v1/gen/catalog/endpoints.go index b75e29762b..db6188a805 100644 --- a/api/v1/gen/catalog/endpoints.go +++ b/api/v1/gen/catalog/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog endpoints // diff --git a/api/v1/gen/catalog/service.go b/api/v1/gen/catalog/service.go index 65ac5e4ed2..67bf54ce21 100644 --- a/api/v1/gen/catalog/service.go +++ b/api/v1/gen/catalog/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog service // diff --git a/api/v1/gen/catalog/views/view.go b/api/v1/gen/catalog/views/view.go index 17c5eb068e..42cf79e20c 100644 --- a/api/v1/gen/catalog/views/view.go +++ b/api/v1/gen/catalog/views/view.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog views // diff --git a/api/v1/gen/http/catalog/client/cli.go b/api/v1/gen/http/catalog/client/cli.go index 532799a000..f7790f055f 100644 --- a/api/v1/gen/http/catalog/client/cli.go +++ b/api/v1/gen/http/catalog/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP client CLI support package // diff --git a/api/v1/gen/http/catalog/client/client.go b/api/v1/gen/http/catalog/client/client.go index 36acaa216a..6cbc95925b 100644 --- a/api/v1/gen/http/catalog/client/client.go +++ b/api/v1/gen/http/catalog/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog client HTTP transport // diff --git a/api/v1/gen/http/catalog/client/encode_decode.go b/api/v1/gen/http/catalog/client/encode_decode.go index 9955843293..7de67535cc 100644 --- a/api/v1/gen/http/catalog/client/encode_decode.go +++ b/api/v1/gen/http/catalog/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP client encoders and decoders // diff --git a/api/v1/gen/http/catalog/client/paths.go b/api/v1/gen/http/catalog/client/paths.go index 292b05f232..f239b106e8 100644 --- a/api/v1/gen/http/catalog/client/paths.go +++ b/api/v1/gen/http/catalog/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the catalog service. // diff --git a/api/v1/gen/http/catalog/client/types.go b/api/v1/gen/http/catalog/client/types.go index 0c527a4141..02fe08dbd4 100644 --- a/api/v1/gen/http/catalog/client/types.go +++ b/api/v1/gen/http/catalog/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP client types // diff --git a/api/v1/gen/http/catalog/server/encode_decode.go b/api/v1/gen/http/catalog/server/encode_decode.go index c13e57c744..0fdb14aa31 100644 --- a/api/v1/gen/http/catalog/server/encode_decode.go +++ b/api/v1/gen/http/catalog/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP server encoders and decoders // diff --git a/api/v1/gen/http/catalog/server/paths.go b/api/v1/gen/http/catalog/server/paths.go index 6690eb825e..94fc4091ee 100644 --- a/api/v1/gen/http/catalog/server/paths.go +++ b/api/v1/gen/http/catalog/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the catalog service. // diff --git a/api/v1/gen/http/catalog/server/server.go b/api/v1/gen/http/catalog/server/server.go index 39c9a5ca39..b590e095ab 100644 --- a/api/v1/gen/http/catalog/server/server.go +++ b/api/v1/gen/http/catalog/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP server // diff --git a/api/v1/gen/http/catalog/server/types.go b/api/v1/gen/http/catalog/server/types.go index ed0d006c4c..25917616be 100644 --- a/api/v1/gen/http/catalog/server/types.go +++ b/api/v1/gen/http/catalog/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // catalog HTTP server types // diff --git a/api/v1/gen/http/cli/hub/cli.go b/api/v1/gen/http/cli/hub/cli.go index 18f956bfbc..4edfeb871c 100644 --- a/api/v1/gen/http/cli/hub/cli.go +++ b/api/v1/gen/http/cli/hub/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // hub HTTP client CLI support package // diff --git a/api/v1/gen/http/resource/client/cli.go b/api/v1/gen/http/resource/client/cli.go index 4705a2b774..1814d457e3 100644 --- a/api/v1/gen/http/resource/client/cli.go +++ b/api/v1/gen/http/resource/client/cli.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP client CLI support package // diff --git a/api/v1/gen/http/resource/client/client.go b/api/v1/gen/http/resource/client/client.go index cf3acafb3e..611aa20e74 100644 --- a/api/v1/gen/http/resource/client/client.go +++ b/api/v1/gen/http/resource/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource client HTTP transport // diff --git a/api/v1/gen/http/resource/client/encode_decode.go b/api/v1/gen/http/resource/client/encode_decode.go index e9dd306ad0..ca4d348221 100644 --- a/api/v1/gen/http/resource/client/encode_decode.go +++ b/api/v1/gen/http/resource/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP client encoders and decoders // diff --git a/api/v1/gen/http/resource/client/paths.go b/api/v1/gen/http/resource/client/paths.go index 7176855917..2546a033d1 100644 --- a/api/v1/gen/http/resource/client/paths.go +++ b/api/v1/gen/http/resource/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the resource service. // diff --git a/api/v1/gen/http/resource/client/types.go b/api/v1/gen/http/resource/client/types.go index ab336c6ad1..743ccac746 100644 --- a/api/v1/gen/http/resource/client/types.go +++ b/api/v1/gen/http/resource/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP client types // diff --git a/api/v1/gen/http/resource/server/encode_decode.go b/api/v1/gen/http/resource/server/encode_decode.go index c175012dbb..fa8c54a644 100644 --- a/api/v1/gen/http/resource/server/encode_decode.go +++ b/api/v1/gen/http/resource/server/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP server encoders and decoders // diff --git a/api/v1/gen/http/resource/server/paths.go b/api/v1/gen/http/resource/server/paths.go index 1a065934fa..7647c721dc 100644 --- a/api/v1/gen/http/resource/server/paths.go +++ b/api/v1/gen/http/resource/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the resource service. // diff --git a/api/v1/gen/http/resource/server/server.go b/api/v1/gen/http/resource/server/server.go index 5593fec65d..c012d627bc 100644 --- a/api/v1/gen/http/resource/server/server.go +++ b/api/v1/gen/http/resource/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP server // diff --git a/api/v1/gen/http/resource/server/types.go b/api/v1/gen/http/resource/server/types.go index 4ac6872c3b..61c17f2132 100644 --- a/api/v1/gen/http/resource/server/types.go +++ b/api/v1/gen/http/resource/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource HTTP server types // diff --git a/api/v1/gen/http/swagger/client/client.go b/api/v1/gen/http/swagger/client/client.go index 758ba5a1e1..fecbb4c2fe 100644 --- a/api/v1/gen/http/swagger/client/client.go +++ b/api/v1/gen/http/swagger/client/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger client HTTP transport // diff --git a/api/v1/gen/http/swagger/client/encode_decode.go b/api/v1/gen/http/swagger/client/encode_decode.go index 2bd494e8e0..8fd031ac61 100644 --- a/api/v1/gen/http/swagger/client/encode_decode.go +++ b/api/v1/gen/http/swagger/client/encode_decode.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger HTTP client encoders and decoders // diff --git a/api/v1/gen/http/swagger/client/paths.go b/api/v1/gen/http/swagger/client/paths.go index b81bb9c374..287febdd38 100644 --- a/api/v1/gen/http/swagger/client/paths.go +++ b/api/v1/gen/http/swagger/client/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the swagger service. // diff --git a/api/v1/gen/http/swagger/client/types.go b/api/v1/gen/http/swagger/client/types.go index 443fcf1242..1b7f196305 100644 --- a/api/v1/gen/http/swagger/client/types.go +++ b/api/v1/gen/http/swagger/client/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger HTTP client types // diff --git a/api/v1/gen/http/swagger/server/paths.go b/api/v1/gen/http/swagger/server/paths.go index c5fef19ee8..df03325003 100644 --- a/api/v1/gen/http/swagger/server/paths.go +++ b/api/v1/gen/http/swagger/server/paths.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // HTTP request path constructors for the swagger service. // diff --git a/api/v1/gen/http/swagger/server/server.go b/api/v1/gen/http/swagger/server/server.go index 1927abd9ba..2535680e91 100644 --- a/api/v1/gen/http/swagger/server/server.go +++ b/api/v1/gen/http/swagger/server/server.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger HTTP server // diff --git a/api/v1/gen/http/swagger/server/types.go b/api/v1/gen/http/swagger/server/types.go index 8559e0e6f1..9522cbce89 100644 --- a/api/v1/gen/http/swagger/server/types.go +++ b/api/v1/gen/http/swagger/server/types.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger HTTP server types // diff --git a/api/v1/gen/log/logger.go b/api/v1/gen/log/logger.go index 20c78a3faf..c48141ed53 100644 --- a/api/v1/gen/log/logger.go +++ b/api/v1/gen/log/logger.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // Zap logger implementation // diff --git a/api/v1/gen/resource/client.go b/api/v1/gen/resource/client.go index 8e1db4ff2b..85ca82c8a9 100644 --- a/api/v1/gen/resource/client.go +++ b/api/v1/gen/resource/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource client // diff --git a/api/v1/gen/resource/endpoints.go b/api/v1/gen/resource/endpoints.go index e49df57501..5251ad21dd 100644 --- a/api/v1/gen/resource/endpoints.go +++ b/api/v1/gen/resource/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource endpoints // diff --git a/api/v1/gen/resource/service.go b/api/v1/gen/resource/service.go index 926fb1851c..4d15f835cf 100644 --- a/api/v1/gen/resource/service.go +++ b/api/v1/gen/resource/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource service // diff --git a/api/v1/gen/resource/views/view.go b/api/v1/gen/resource/views/view.go index 02a01cef4f..33989d161a 100644 --- a/api/v1/gen/resource/views/view.go +++ b/api/v1/gen/resource/views/view.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // resource views // @@ -208,10 +208,6 @@ type ResourceView struct { Data *ResourceDataView } -// EmptyView is a type that runs validations on a projected type. -type EmptyView struct { -} - var ( // ResourcesMap is a map indexing the attribute names of Resources by view name. ResourcesMap = map[string][]string{ @@ -1079,9 +1075,3 @@ func ValidateResourceView(result *ResourceView) (err error) { } return } - -// ValidateEmptyView runs the validations defined on EmptyView. -func ValidateEmptyView(result *EmptyView) (err error) { - - return -} diff --git a/api/v1/gen/swagger/client.go b/api/v1/gen/swagger/client.go index 76d71c056d..7dabdc7db3 100644 --- a/api/v1/gen/swagger/client.go +++ b/api/v1/gen/swagger/client.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger client // diff --git a/api/v1/gen/swagger/endpoints.go b/api/v1/gen/swagger/endpoints.go index 6931b7b94f..181310bdcb 100644 --- a/api/v1/gen/swagger/endpoints.go +++ b/api/v1/gen/swagger/endpoints.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger endpoints // diff --git a/api/v1/gen/swagger/service.go b/api/v1/gen/swagger/service.go index 754b62777f..818bab15cf 100644 --- a/api/v1/gen/swagger/service.go +++ b/api/v1/gen/swagger/service.go @@ -1,4 +1,4 @@ -// Code generated by goa v3.18.0, DO NOT EDIT. +// Code generated by goa v3.18.2, DO NOT EDIT. // // swagger service // diff --git a/go.mod b/go.mod index 84c66ae6c3..1b0f0f7b49 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( github.com/tektoncd/plumbing v0.0.0-20220817140952-3da8ce01aeeb go.uber.org/automaxprocs v1.5.3 go.uber.org/zap v1.27.0 - goa.design/goa/v3 v3.18.0 + goa.design/goa/v3 v3.18.2 goa.design/plugins/v3 v3.16.2 golang.org/x/term v0.22.0 golang.org/x/text v0.16.0 diff --git a/go.sum b/go.sum index 5cf8322b68..b69524cda0 100644 --- a/go.sum +++ b/go.sum @@ -1316,8 +1316,8 @@ go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo= go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8= go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E= -goa.design/goa/v3 v3.18.0 h1:rrayPNsJg8WEmgSzS+FFCO9Fv5VtTQ45Oh5rbfE/+4U= -goa.design/goa/v3 v3.18.0/go.mod h1:jS66/I2PCh9MPwXtFY8vWb4pGQDYz3qVK3TjjvRLEUM= +goa.design/goa/v3 v3.18.2 h1:2t3RHgc2tTYEExEwRlnkrSsFD82rsZ5mBkv5JUBvelY= +goa.design/goa/v3 v3.18.2/go.mod h1:jS66/I2PCh9MPwXtFY8vWb4pGQDYz3qVK3TjjvRLEUM= goa.design/plugins/v3 v3.16.2 h1:IuQtXEVPhtKf61XF0f4oMVvJnq7MXnFFAfp8r1N3HHg= goa.design/plugins/v3 v3.16.2/go.mod h1:aFvnjP0Y7hI9+OzOJCqx/bde9NLw3cetKuoyDpp3R2I= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= diff --git a/vendor/goa.design/goa/v3/codegen/service/service_data.go b/vendor/goa.design/goa/v3/codegen/service/service_data.go index a00e30ada1..f0a62f81cb 100644 --- a/vendor/goa.design/goa/v3/codegen/service/service_data.go +++ b/vendor/goa.design/goa/v3/codegen/service/service_data.go @@ -613,9 +613,11 @@ func (d ServicesData) analyze(service *expr.ServiceExpr) *Data { collectUserTypes(m.StreamingPayload) collectUserTypes(m.Result) // Collect projected types - types, umeths := collectProjectedTypes(expr.DupAtt(m.Result), m.Result, viewspkg, scope, viewScope, seenProj) - projTypes = append(projTypes, types...) - viewedUnionMeths = append(viewedUnionMeths, umeths...) + if hasResultType(m.Result) { + types, umeths := collectProjectedTypes(expr.DupAtt(m.Result), m.Result, viewspkg, scope, viewScope, seenProj) + projTypes = append(projTypes, types...) + viewedUnionMeths = append(viewedUnionMeths, umeths...) + } for _, er := range m.Errors { recordError(er) } @@ -1253,6 +1255,44 @@ func collectProjectedTypes(projected, att *expr.AttributeExpr, viewspkg string, return } +// hasResultType returns true if the given attribute has a result type recursively. +func hasResultType(att *expr.AttributeExpr, seens ...map[string]struct{}) bool { + if _, ok := att.Type.(*expr.ResultTypeExpr); ok { + return true + } + var seen map[string]struct{} + if len(seens) > 0 { + seen = seens[0] + } else { + seen = make(map[string]struct{}) + } + switch a := att.Type.(type) { + case expr.UserType: + if _, ok := seen[a.ID()]; ok { + return false + } + seen[a.ID()] = struct{}{} + return hasResultType(a.Attribute(), seen) + case *expr.Array: + return hasResultType(a.ElemType, seen) + case *expr.Map: + return hasResultType(a.KeyType, seen) || hasResultType(a.ElemType, seen) + case *expr.Object: + for _, nat := range *a { + if hasResultType(nat.Attribute, seen) { + return true + } + } + case *expr.Union: + for _, nat := range a.Values { + if hasResultType(nat.Attribute, seen) { + return true + } + } + } + return false +} + // buildProjectedType builds projected type for the given user type. // // viewspkg is the name of the views package diff --git a/vendor/goa.design/goa/v3/pkg/version.go b/vendor/goa.design/goa/v3/pkg/version.go index baf8c79d37..fbc21c503d 100644 --- a/vendor/goa.design/goa/v3/pkg/version.go +++ b/vendor/goa.design/goa/v3/pkg/version.go @@ -12,7 +12,7 @@ const ( // Minor version number Minor = 18 // Build number - Build = 0 + Build = 2 // Suffix - set to empty string in release tag commits. Suffix = "" ) diff --git a/vendor/modules.txt b/vendor/modules.txt index ea82180165..c9a91256e3 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -711,7 +711,7 @@ go.uber.org/zap/internal/stacktrace go.uber.org/zap/internal/ztest go.uber.org/zap/zapcore go.uber.org/zap/zaptest -# goa.design/goa/v3 v3.18.0 +# goa.design/goa/v3 v3.18.2 ## explicit; go 1.21.0 goa.design/goa/v3/codegen goa.design/goa/v3/codegen/cli