Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/banzaicloud/anchore-image-validator
/ functions
Functions
31 in github.com/banzaicloud/anchore-image-validator
⨍
Functions
31
◇
Types & classes
16
↓ 4 callers
Function
anchoreRequest
(path string, bodyParams map[string]string, method string)
pkg/anchore/client.go:32
↓ 3 callers
Method
DeepCopyInto
DeepCopyInto Audit
pkg/apis/security/v1alpha1/deepcopy.go:56
↓ 2 callers
Function
NewApp
NewApp creates new application
internal/app/app.go:45
↓ 2 callers
Function
checkImage
(pod *v1.Pod, logger logur.Logger, c client.Client, cache *ristretto.Cache, cacheTTL time.Duration, isWhi
internal/app/validate.go:104
↓ 2 callers
Function
getReleaseName
(labels map[string]string, p string)
internal/app/handler.go:42
↓ 1 callers
Function
CheckImage
CheckImage checking Image with Anchore
pkg/anchore/client.go:186
↓ 1 callers
Method
DeepCopyInto
DeepCopyInto for WhiteListItem
pkg/apis/security/v1alpha1/deepcopy.go:20
↓ 1 callers
Function
NewHTTPController
NewHTTPController returns a new HTTPController instance.
internal/app/app.go:75
↓ 1 callers
Function
NewLogger
NewLogger creates a new logger.
internal/log/logger.go:26
↓ 1 callers
Function
WithFields
WithFields returns a new contextual logger instance with context added to it.
internal/log/logger.go:51
↓ 1 callers
Function
addImage
(imageRef string)
pkg/anchore/client.go:145
↓ 1 callers
Function
checkWhiteList
(wl []v1alpha1.WhiteListItem, r string, f bool)
internal/app/handler.go:60
↓ 1 callers
Function
configure
(v *viper.Viper, p *pflag.FlagSet)
cmd/config.go:36
↓ 1 callers
Function
createOrUpdateAudit
(a auditInfo, c client.Client)
internal/app/handler.go:107
↓ 1 callers
Function
getImage
(imageRef string)
pkg/anchore/client.go:124
↓ 1 callers
Function
getImageDigest
(imageRef string, isCached bool)
pkg/anchore/client.go:167
↓ 1 callers
Function
getImageLastUpdate
(digest string)
pkg/anchore/client.go:222
↓ 1 callers
Function
getStatus
(digest string, tag string)
pkg/anchore/client.go:95
↓ 1 callers
Function
newHTTPHandler
NewHTTPHandler returns a new HTTP handler for the greeter.
internal/app/app.go:62
↓ 1 callers
Function
regexpWhiteList
(wl v1alpha1.WhiteListItem)
internal/app/handler.go:89
↓ 1 callers
Function
validate
(ar *admissionv1beta1.AdmissionReview, logger logur.Logger, c client.Client, cache *ristretto.Cache, cache
internal/app/validate.go:34
Method
DeepCopyObject
DeepCopyObject for WhiteListItem
pkg/apis/security/v1alpha1/deepcopy.go:31
Method
DeepCopyObject
DeepCopyObject for WhiteList
pkg/apis/security/v1alpha1/deepcopy.go:39
Method
DeepCopyObject
DeepCopyObject for Audit
pkg/apis/security/v1alpha1/deepcopy.go:69
Method
DeepCopyObject
DeepCopyObject for AuditList
pkg/apis/security/v1alpha1/deepcopy.go:77
Function
addKnownTypes
(scheme *runtime.Scheme)
pkg/apis/security/v1alpha1/register.go:39
Function
getEnv
(key, fallback string)
cmd/main.go:138
Function
init
nolint: gochecknoinits
cmd/main.go:37
Function
listAudits
(c client.Client)
internal/app/handler.go:153
Function
main
()
cmd/main.go:43
Method
webhookCTRL
(w http.ResponseWriter, r *http.Request)
internal/app/app.go:87