MCPcopy Index your code

hub / github.com/banzaicloud/anchore-image-validator / functions

Functions31 in github.com/banzaicloud/anchore-image-validator

↓ 4 callersFunctionanchoreRequest
(path string, bodyParams map[string]string, method string)
pkg/anchore/client.go:32
↓ 3 callersMethodDeepCopyInto
DeepCopyInto Audit
pkg/apis/security/v1alpha1/deepcopy.go:56
↓ 2 callersFunctionNewApp
NewApp creates new application
internal/app/app.go:45
↓ 2 callersFunctioncheckImage
(pod *v1.Pod, logger logur.Logger, c client.Client, cache *ristretto.Cache, cacheTTL time.Duration, isWhi
internal/app/validate.go:104
↓ 2 callersFunctiongetReleaseName
(labels map[string]string, p string)
internal/app/handler.go:42
↓ 1 callersFunctionCheckImage
CheckImage checking Image with Anchore
pkg/anchore/client.go:186
↓ 1 callersMethodDeepCopyInto
DeepCopyInto for WhiteListItem
pkg/apis/security/v1alpha1/deepcopy.go:20
↓ 1 callersFunctionNewHTTPController
NewHTTPController returns a new HTTPController instance.
internal/app/app.go:75
↓ 1 callersFunctionNewLogger
NewLogger creates a new logger.
internal/log/logger.go:26
↓ 1 callersFunctionWithFields
WithFields returns a new contextual logger instance with context added to it.
internal/log/logger.go:51
↓ 1 callersFunctionaddImage
(imageRef string)
pkg/anchore/client.go:145
↓ 1 callersFunctioncheckWhiteList
(wl []v1alpha1.WhiteListItem, r string, f bool)
internal/app/handler.go:60
↓ 1 callersFunctionconfigure
(v *viper.Viper, p *pflag.FlagSet)
cmd/config.go:36
↓ 1 callersFunctioncreateOrUpdateAudit
(a auditInfo, c client.Client)
internal/app/handler.go:107
↓ 1 callersFunctiongetImage
(imageRef string)
pkg/anchore/client.go:124
↓ 1 callersFunctiongetImageDigest
(imageRef string, isCached bool)
pkg/anchore/client.go:167
↓ 1 callersFunctiongetImageLastUpdate
(digest string)
pkg/anchore/client.go:222
↓ 1 callersFunctiongetStatus
(digest string, tag string)
pkg/anchore/client.go:95
↓ 1 callersFunctionnewHTTPHandler
NewHTTPHandler returns a new HTTP handler for the greeter.
internal/app/app.go:62
↓ 1 callersFunctionregexpWhiteList
(wl v1alpha1.WhiteListItem)
internal/app/handler.go:89
↓ 1 callersFunctionvalidate
(ar *admissionv1beta1.AdmissionReview, logger logur.Logger, c client.Client, cache *ristretto.Cache, cache
internal/app/validate.go:34
MethodDeepCopyObject
DeepCopyObject for WhiteListItem
pkg/apis/security/v1alpha1/deepcopy.go:31
MethodDeepCopyObject
DeepCopyObject for WhiteList
pkg/apis/security/v1alpha1/deepcopy.go:39
MethodDeepCopyObject
DeepCopyObject for Audit
pkg/apis/security/v1alpha1/deepcopy.go:69
MethodDeepCopyObject
DeepCopyObject for AuditList
pkg/apis/security/v1alpha1/deepcopy.go:77
FunctionaddKnownTypes
(scheme *runtime.Scheme)
pkg/apis/security/v1alpha1/register.go:39
FunctiongetEnv
(key, fallback string)
cmd/main.go:138
Functioninit
nolint: gochecknoinits
cmd/main.go:37
FunctionlistAudits
(c client.Client)
internal/app/handler.go:153
Functionmain
()
cmd/main.go:43
MethodwebhookCTRL
(w http.ResponseWriter, r *http.Request)
internal/app/app.go:87