MCPcopy Index your code

hub / github.com/keel-hq/keel / functions

Functions1,060 in github.com/keel-hq/keel

↓ 122 callersMethodString
String returns full reference, like "ubuntu@sha256:abcdef..."
util/image/reference.go:44
↓ 52 callersMethodAdd
Add adds a function to the Group. Must be called before Run.
internal/workgroup/workgroup.go:11
↓ 48 callersFunctionNew
New create new instance of default manager
approvals/approvals.go:85
↓ 48 callersFunctionParse
Parse returns a Reference from analyzing the given remote identifier.
util/image/parse.go:76
↓ 47 callersFunctionNewSemverPolicy
(spt SemverPolicyType, matchPreRelease bool)
internal/policy/semver.go:47
↓ 44 callersMethodCreate
request approval for deployment/release/etc..
approvals/approvals.go:30
↓ 44 callersMethodTag
()
util/image/reference.go:56
↓ 38 callersMethodGet
(image *types.TrackedImage)
secrets/secrets.go:32
↓ 35 callersMethodRepository
Repository returns the image's repository. (ie: registry/name)
util/image/parse.go:47
↓ 32 callersFunctionMustParseGR
(obj interface{})
provider/kubernetes/kubernetes_test.go:179
↓ 32 callersFunctionNew
New - new providers registry
provider/provider.go:29
↓ 32 callersMethodRegistry
Registry returns the image's registry. (ie: host[:port])
util/image/parse.go:37
↓ 32 callersMethodSleep
Sleep puts the current goroutine on sleep during a duration d Sleep could be interrupted in the case the goroutine should stop itself, in which case S
util/stopper/stopper.go:40
↓ 31 callersMethodJoin
(roomID, resource string)
bot/hipchat/client.go:13
↓ 27 callersMethodKind
Kind returns a type of resource that this structure represents
internal/k8s/resource.go:137
↓ 27 callersMethodRemote
Remote returns the image's remote identifier. (ie: registry/name[:tag])
util/image/parse.go:52
↓ 25 callersMethodClose
()
pkg/store/store.go:22
↓ 25 callersMethodContains
Contains returns true if the format contains the substring
bot/formatter/formatter.go:32
↓ 25 callersMethodRun
Run exectues each function registered with Add in its own goroutine. Run blocks until each function has returned. The first function to return will tr
internal/workgroup/workgroup.go:19
↓ 24 callersFunctionNewForcePolicy
(matchTag bool)
internal/policy/force.go:9
↓ 23 callersFunctionNewProvider
NewProvider - create new kubernetes based provider
provider/kubernetes/kubernetes.go:97
↓ 22 callersFunctionapprover
()
provider/kubernetes/kubernetes_test.go:132
↓ 21 callersFunctionMustParseGRS
(objs []*apps_v1.Deployment)
provider/kubernetes/kubernetes_test.go:187
↓ 21 callersMethodName
Name returns normalized repository name, like "ubuntu".
util/image/reference.go:42
↓ 21 callersMethodRun
Run - main function to check schedule
trigger/poll/single_tag_watcher.go:30
↓ 20 callersMethodrequireAdminAuthorization
(next http.HandlerFunc)
pkg/http/auth.go:24
↓ 19 callersMethodDecode
(data []byte, target interface{})
util/codecs/codecs.go:29
↓ 18 callersMethodGetAnnotations
GetAnnotations - get resource annotations
internal/k8s/resource.go:222
↓ 18 callersFunctiontestRunHelper
Helper function to factorize code
trigger/poll/multi_tags_watcher_test.go:70
↓ 15 callersMethodContainers
Containers - returns containers managed by this resource
internal/k8s/resource.go:296
↓ 15 callersMethodDeployments
(namespace string)
provider/kubernetes/implementer.go:24
↓ 15 callersFunctiondelete
(url, request)
ui/src/api/index.js:24
↓ 15 callersFunctionmustParse
(img string, schedule string)
trigger/poll/watcher_test.go:19
↓ 15 callersFunctionnewTestingUtils
()
trigger/poll/manager_test.go:32
↓ 14 callersMethodGetName
()
provider/provider.go:16
↓ 14 callersMethodShortName
ShortName returns the image's name (ie: debian)
util/image/parse.go:24
↓ 14 callersMethodStatus
(s string)
bot/hipchat/client.go:12
↓ 14 callersMethodStop
()
provider/provider.go:17
↓ 13 callersFunctionNew
New - new registry client
registry/registry.go:36
↓ 12 callersMethodGetLabels
GetLabels - get resource labels
internal/k8s/resource.go:157
↓ 12 callersFunctionNew
(opts *Opts)
pkg/auth/auth.go:43
↓ 12 callersFunctionNewTestingServer
(fp provider.Provider)
pkg/http/native_webhook_trigger_test.go:42
↓ 12 callersFunctionNewTriggerServer
NewTriggerServer - create new HTTP trigger based server
pkg/http/http.go:72
↓ 12 callersFunctionRegisterSender
RegisterSender makes a Sender available by the provided name. If called twice with the same name, the name is blank, or if the provided Sender is nil
extension/notification/notification.go:53
↓ 12 callersFunctiongetOrInitialise
(a map[string]string)
internal/k8s/resource.go:214
↓ 12 callersMethodregisterRoutes
(mux *mux.Router)
pkg/http/http.go:119
↓ 12 callersFunctionresponse
(obj interface{}, statusCode int, err error, resp http.ResponseWriter, req *http.Request)
pkg/http/http.go:232
↓ 11 callersFunctionNewGenericResource
NewGenericResource - create new generic k8s resource
internal/k8s/resource.go:41
↓ 11 callersFunctionNewTestingUtils
()
pkg/http/native_webhook_trigger_test.go:23
↓ 11 callersMethodSend
Send informs the existence of the specified notification.
extension/notification/notification.go:46
↓ 11 callersMethodWrite
Write the template to the buffer using this Context
bot/formatter/formatter.go:105
↓ 11 callersMethodcreateUpdatePlans
createUpdatePlans - impacted deployments by changed repository
provider/kubernetes/kubernetes.go:487
↓ 11 callersFunctiongetKeelConfig
(vals chartutil.Values)
provider/helm3/helm3.go:439
↓ 10 callersMethodAddHeader
(header string)
bot/formatter/custom.go:20
↓ 10 callersMethodGet
(identifier string)
approvals/approvals.go:42
↓ 10 callersFunctionNewRepositoryWatcher
NewRepositoryWatcher - create new repository watcher
trigger/poll/watcher.go:72
↓ 10 callersFunctionNewTestingUtils
()
approvals/approvals_test.go:17
↓ 10 callersFunctioncreateNamespaceForTest
()
tests/helpers.go:51
↓ 10 callersFunctiondeleteTestNamespace
(namespace string)
tests/helpers.go:69
↓ 10 callersFunctionresolve
(dir)
ui/vue.config.js:4
↓ 10 callersFunctionwaitFor
(ctx context.Context, kcs *kubernetes.Clientset, namespace, name string, desired string)
tests/helpers.go:114
↓ 9 callersFunctionGetKeelVersion
GetKeelVersion returns version info.
version/keel.go:29
↓ 9 callersFunctionNew
(opts Opts)
pkg/store/sql/sql.go:26
↓ 9 callersFunctionNewGetter
NewGetter - create new default getter
secrets/secrets.go:42
↓ 9 callersMethodprocessEvent
(event *types.Event)
provider/kubernetes/kubernetes.go:318
↓ 9 callersMethodremove
remove removes the named entry from the cache. invariant: cc.values should be sorted on entry.
internal/k8s/cache.go:76
↓ 8 callersMethodDigest
(opts Opts)
registry/registry.go:32
↓ 8 callersMethodSetAnnotations
SetAnnotations - set resource annotations
internal/k8s/resource.go:237
↓ 8 callersMethodUpdate
(obj *k8s.GenericResource)
provider/kubernetes/implementer.go:25
↓ 8 callersMethodUpdateContainer
UpdateContainer - updates container image
internal/k8s/resource.go:326
↓ 8 callersMethodValues
Values returns a copy of the contents of the cache. The slice and its contents should be treated as read-only.
provider/kubernetes/kubernetes.go:57
↓ 8 callersMethodWatch
Watch - starts watching repository for changes, if it's already watching - ignores, if details changed - updates details
trigger/poll/watcher.go:114
↓ 8 callersFunctiongetContainerImages
(containers []core_v1.Container, filter ContainerFilter)
internal/k8s/converter.go:9
↓ 8 callersFunctiongetKubernetesClient
()
tests/helpers.go:35
↓ 8 callersMethodtrigger
(event types.Event)
pkg/http/http.go:228
↓ 7 callersMethodApprove
Increases Approval votes by 1
approvals/approvals.go:35
↓ 7 callersMethodGet
(opts Opts)
registry/registry.go:31
↓ 7 callersFunctionRegisterCredentialsHelper
RegisterCredentialsHelper - registering new credentials helper
extension/credentialshelper/credentialshelper.go:31
↓ 7 callersMethodType
()
internal/policy/policy.go:17
↓ 7 callersFunctiongetImageIdentifier
This identifier is used to key the watchers, so that only a watcher is setup per identifier
trigger/poll/watcher.go:95
↓ 7 callersFunctiontestingStringToChart
helper function to generate chart.Chart object from string
provider/helm3/helm3_test.go:99
↓ 6 callersMethodDelete
(*types.Approval)
approvals/approvals.go:44
↓ 6 callersMethodGet
Get - get specified, not archived approval
approvals/approvals.go:338
↓ 6 callersMethodGetResource
GetResource - get resource
internal/k8s/resource.go:152
↓ 6 callersMethodStart
(ctx context.Context)
tests/helpers.go:83
↓ 6 callersMethodStop
()
tests/helpers.go:109
↓ 6 callersFunctionTrimFirstChar
Microsoft Teams expects the hexidecimal formatted color to not have a "#" at the front Source: https://stackoverflow.com/a/48798875/2199949
extension/notification/teams/teams.go:93
↓ 5 callersMethodAdd
Add adds an entry to the cache. If a GenericResource with the same name exists, it is replaced.
internal/k8s/cache.go:33
↓ 5 callersMethodClient
()
provider/kubernetes/implementer.go:95
↓ 5 callersMethodConfigure
Configure attempts to initialize the notifier with the provided configuration. It returns whether the notifier is enabled or not.
extension/notification/notification.go:43
↓ 5 callersMethodDelta
()
bot/formatter/approvals.go:69
↓ 5 callersMethodExpired
Expired - checks if approval is already expired
types/approvals.go:126
↓ 5 callersFunctionGetVersion
GetVersion - parse version
util/version/version.go:32
↓ 5 callersMethodKeepTag
()
internal/policy/policy.go:19
↓ 5 callersMethodNamespaces
()
provider/kubernetes/implementer.go:23
↓ 5 callersFunctionNew
New - create new sender
extension/notification/notification.go:84
↓ 5 callersFunctionNewProvider
NewProvider - create new Helm provider
provider/helm3/helm3.go:146
↓ 5 callersFunctionNewWatchTagJob
NewWatchTagJob - new watch tag job monitors specific tag by checking digest based on specified cron style schedule
trigger/poll/single_tag_watcher.go:21
↓ 5 callersMethodRun
Run - main function to check schedule
trigger/poll/multi_tags_watcher.go:34
↓ 5 callersMethodSubmit
(event types.Event)
provider/provider.go:14
next →1–100 of 1,060, ranked by callers