chore: fix dependabot alerts (#2869)

Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
This commit is contained in:
Ramkumar Chinchani
2025-01-13 01:20:29 -08:00
committed by GitHub
parent e410f3952c
commit 7f593b8896
4 changed files with 55 additions and 219 deletions
+41 -205
View File
@@ -2244,11 +2244,7 @@ func (ec *executionContext) field_Query_BaseImageList_argsImage(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["image"]
if !ok {
if _, ok := rawArgs["image"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -2266,11 +2262,7 @@ func (ec *executionContext) field_Query_BaseImageList_argsDigest(
ctx context.Context,
rawArgs map[string]any,
) (*string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["digest"]
if !ok {
if _, ok := rawArgs["digest"]; !ok {
var zeroVal *string
return zeroVal, nil
}
@@ -2288,11 +2280,7 @@ func (ec *executionContext) field_Query_BaseImageList_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -2320,11 +2308,7 @@ func (ec *executionContext) field_Query_BookmarkedRepos_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -2372,11 +2356,7 @@ func (ec *executionContext) field_Query_CVEDiffListForImages_argsMinuend(
ctx context.Context,
rawArgs map[string]any,
) (ImageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["minuend"]
if !ok {
if _, ok := rawArgs["minuend"]; !ok {
var zeroVal ImageInput
return zeroVal, nil
}
@@ -2394,11 +2374,7 @@ func (ec *executionContext) field_Query_CVEDiffListForImages_argsSubtrahend(
ctx context.Context,
rawArgs map[string]any,
) (ImageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["subtrahend"]
if !ok {
if _, ok := rawArgs["subtrahend"]; !ok {
var zeroVal ImageInput
return zeroVal, nil
}
@@ -2416,11 +2392,7 @@ func (ec *executionContext) field_Query_CVEDiffListForImages_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -2438,11 +2410,7 @@ func (ec *executionContext) field_Query_CVEDiffListForImages_argsSearchedCve(
ctx context.Context,
rawArgs map[string]any,
) (*string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["searchedCVE"]
if !ok {
if _, ok := rawArgs["searchedCVE"]; !ok {
var zeroVal *string
return zeroVal, nil
}
@@ -2460,11 +2428,7 @@ func (ec *executionContext) field_Query_CVEDiffListForImages_argsExcludedCve(
ctx context.Context,
rawArgs map[string]any,
) (*string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["excludedCVE"]
if !ok {
if _, ok := rawArgs["excludedCVE"]; !ok {
var zeroVal *string
return zeroVal, nil
}
@@ -2512,11 +2476,7 @@ func (ec *executionContext) field_Query_CVEListForImage_argsImage(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["image"]
if !ok {
if _, ok := rawArgs["image"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -2534,11 +2494,7 @@ func (ec *executionContext) field_Query_CVEListForImage_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -2556,11 +2512,7 @@ func (ec *executionContext) field_Query_CVEListForImage_argsSearchedCve(
ctx context.Context,
rawArgs map[string]any,
) (*string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["searchedCVE"]
if !ok {
if _, ok := rawArgs["searchedCVE"]; !ok {
var zeroVal *string
return zeroVal, nil
}
@@ -2578,11 +2530,7 @@ func (ec *executionContext) field_Query_CVEListForImage_argsExcludedCve(
ctx context.Context,
rawArgs map[string]any,
) (*string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["excludedCVE"]
if !ok {
if _, ok := rawArgs["excludedCVE"]; !ok {
var zeroVal *string
return zeroVal, nil
}
@@ -2600,11 +2548,7 @@ func (ec *executionContext) field_Query_CVEListForImage_argsSeverity(
ctx context.Context,
rawArgs map[string]any,
) (*string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["severity"]
if !ok {
if _, ok := rawArgs["severity"]; !ok {
var zeroVal *string
return zeroVal, nil
}
@@ -2642,11 +2586,7 @@ func (ec *executionContext) field_Query_DerivedImageList_argsImage(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["image"]
if !ok {
if _, ok := rawArgs["image"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -2664,11 +2604,7 @@ func (ec *executionContext) field_Query_DerivedImageList_argsDigest(
ctx context.Context,
rawArgs map[string]any,
) (*string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["digest"]
if !ok {
if _, ok := rawArgs["digest"]; !ok {
var zeroVal *string
return zeroVal, nil
}
@@ -2686,11 +2622,7 @@ func (ec *executionContext) field_Query_DerivedImageList_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -2718,11 +2650,7 @@ func (ec *executionContext) field_Query_ExpandedRepoInfo_argsRepo(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["repo"]
if !ok {
if _, ok := rawArgs["repo"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -2760,11 +2688,7 @@ func (ec *executionContext) field_Query_GlobalSearch_argsQuery(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["query"]
if !ok {
if _, ok := rawArgs["query"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -2782,11 +2706,7 @@ func (ec *executionContext) field_Query_GlobalSearch_argsFilter(
ctx context.Context,
rawArgs map[string]any,
) (*Filter, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["filter"]
if !ok {
if _, ok := rawArgs["filter"]; !ok {
var zeroVal *Filter
return zeroVal, nil
}
@@ -2804,11 +2724,7 @@ func (ec *executionContext) field_Query_GlobalSearch_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -2846,11 +2762,7 @@ func (ec *executionContext) field_Query_ImageListForCVE_argsID(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["id"]
if !ok {
if _, ok := rawArgs["id"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -2868,11 +2780,7 @@ func (ec *executionContext) field_Query_ImageListForCVE_argsFilter(
ctx context.Context,
rawArgs map[string]any,
) (*Filter, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["filter"]
if !ok {
if _, ok := rawArgs["filter"]; !ok {
var zeroVal *Filter
return zeroVal, nil
}
@@ -2890,11 +2798,7 @@ func (ec *executionContext) field_Query_ImageListForCVE_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -2927,11 +2831,7 @@ func (ec *executionContext) field_Query_ImageListForDigest_argsID(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["id"]
if !ok {
if _, ok := rawArgs["id"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -2949,11 +2849,7 @@ func (ec *executionContext) field_Query_ImageListForDigest_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -2996,11 +2892,7 @@ func (ec *executionContext) field_Query_ImageListWithCVEFixed_argsID(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["id"]
if !ok {
if _, ok := rawArgs["id"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -3018,11 +2910,7 @@ func (ec *executionContext) field_Query_ImageListWithCVEFixed_argsImage(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["image"]
if !ok {
if _, ok := rawArgs["image"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -3040,11 +2928,7 @@ func (ec *executionContext) field_Query_ImageListWithCVEFixed_argsFilter(
ctx context.Context,
rawArgs map[string]any,
) (*Filter, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["filter"]
if !ok {
if _, ok := rawArgs["filter"]; !ok {
var zeroVal *Filter
return zeroVal, nil
}
@@ -3062,11 +2946,7 @@ func (ec *executionContext) field_Query_ImageListWithCVEFixed_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -3099,11 +2979,7 @@ func (ec *executionContext) field_Query_ImageList_argsRepo(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["repo"]
if !ok {
if _, ok := rawArgs["repo"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -3121,11 +2997,7 @@ func (ec *executionContext) field_Query_ImageList_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -3153,11 +3025,7 @@ func (ec *executionContext) field_Query_Image_argsImage(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["image"]
if !ok {
if _, ok := rawArgs["image"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -3195,11 +3063,7 @@ func (ec *executionContext) field_Query_Referrers_argsRepo(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["repo"]
if !ok {
if _, ok := rawArgs["repo"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -3217,11 +3081,7 @@ func (ec *executionContext) field_Query_Referrers_argsDigest(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["digest"]
if !ok {
if _, ok := rawArgs["digest"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -3239,11 +3099,7 @@ func (ec *executionContext) field_Query_Referrers_argsType(
ctx context.Context,
rawArgs map[string]any,
) ([]string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["type"]
if !ok {
if _, ok := rawArgs["type"]; !ok {
var zeroVal []string
return zeroVal, nil
}
@@ -3271,11 +3127,7 @@ func (ec *executionContext) field_Query_RepoListWithNewestImage_argsRequestedPag
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -3303,11 +3155,7 @@ func (ec *executionContext) field_Query_StarredRepos_argsRequestedPage(
ctx context.Context,
rawArgs map[string]any,
) (*PageInput, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["requestedPage"]
if !ok {
if _, ok := rawArgs["requestedPage"]; !ok {
var zeroVal *PageInput
return zeroVal, nil
}
@@ -3335,11 +3183,7 @@ func (ec *executionContext) field_Query___type_argsName(
ctx context.Context,
rawArgs map[string]any,
) (string, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["name"]
if !ok {
if _, ok := rawArgs["name"]; !ok {
var zeroVal string
return zeroVal, nil
}
@@ -3367,11 +3211,7 @@ func (ec *executionContext) field___Type_enumValues_argsIncludeDeprecated(
ctx context.Context,
rawArgs map[string]any,
) (bool, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["includeDeprecated"]
if !ok {
if _, ok := rawArgs["includeDeprecated"]; !ok {
var zeroVal bool
return zeroVal, nil
}
@@ -3399,11 +3239,7 @@ func (ec *executionContext) field___Type_fields_argsIncludeDeprecated(
ctx context.Context,
rawArgs map[string]any,
) (bool, error) {
// We won't call the directive if the argument is null.
// Set call_argument_directives_with_null to true to call directives
// even if the argument is null.
_, ok := rawArgs["includeDeprecated"]
if !ok {
if _, ok := rawArgs["includeDeprecated"]; !ok {
var zeroVal bool
return zeroVal, nil
}
+1 -1
View File
@@ -2,7 +2,7 @@ package search
// This file will be automatically regenerated based on the schema, any resolver implementations
// will be copied through when generating and any unknown code will be moved to the end.
// Code generated by github.com/99designs/gqlgen version v0.17.61
// Code generated by github.com/99designs/gqlgen version v0.17.62
import (
"context"