Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/keel-hq/keel
/ functions
Functions
1,060 in github.com/keel-hq/keel
⨍
Functions
1,060
◇
Types & classes
225
↓ 122 callers
Method
String
String returns full reference, like "ubuntu@sha256:abcdef..."
util/image/reference.go:44
↓ 52 callers
Method
Add
Add adds a function to the Group. Must be called before Run.
internal/workgroup/workgroup.go:11
↓ 48 callers
Function
New
New create new instance of default manager
approvals/approvals.go:85
↓ 48 callers
Function
Parse
Parse returns a Reference from analyzing the given remote identifier.
util/image/parse.go:76
↓ 47 callers
Function
NewSemverPolicy
(spt SemverPolicyType, matchPreRelease bool)
internal/policy/semver.go:47
↓ 44 callers
Method
Create
request approval for deployment/release/etc..
approvals/approvals.go:30
↓ 44 callers
Method
Tag
()
util/image/reference.go:56
↓ 38 callers
Method
Get
(image *types.TrackedImage)
secrets/secrets.go:32
↓ 35 callers
Method
Repository
Repository returns the image's repository. (ie: registry/name)
util/image/parse.go:47
↓ 32 callers
Function
MustParseGR
(obj interface{})
provider/kubernetes/kubernetes_test.go:179
↓ 32 callers
Function
New
New - new providers registry
provider/provider.go:29
↓ 32 callers
Method
Registry
Registry returns the image's registry. (ie: host[:port])
util/image/parse.go:37
↓ 32 callers
Method
Sleep
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 callers
Method
Join
(roomID, resource string)
bot/hipchat/client.go:13
↓ 27 callers
Method
Kind
Kind returns a type of resource that this structure represents
internal/k8s/resource.go:137
↓ 27 callers
Method
Remote
Remote returns the image's remote identifier. (ie: registry/name[:tag])
util/image/parse.go:52
↓ 25 callers
Method
Close
()
pkg/store/store.go:22
↓ 25 callers
Method
Contains
Contains returns true if the format contains the substring
bot/formatter/formatter.go:32
↓ 25 callers
Method
Run
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 callers
Function
NewForcePolicy
(matchTag bool)
internal/policy/force.go:9
↓ 23 callers
Function
NewProvider
NewProvider - create new kubernetes based provider
provider/kubernetes/kubernetes.go:97
↓ 22 callers
Function
approver
()
provider/kubernetes/kubernetes_test.go:132
↓ 21 callers
Function
MustParseGRS
(objs []*apps_v1.Deployment)
provider/kubernetes/kubernetes_test.go:187
↓ 21 callers
Method
Name
Name returns normalized repository name, like "ubuntu".
util/image/reference.go:42
↓ 21 callers
Method
Run
Run - main function to check schedule
trigger/poll/single_tag_watcher.go:30
↓ 20 callers
Method
requireAdminAuthorization
(next http.HandlerFunc)
pkg/http/auth.go:24
↓ 19 callers
Method
Decode
(data []byte, target interface{})
util/codecs/codecs.go:29
↓ 18 callers
Method
GetAnnotations
GetAnnotations - get resource annotations
internal/k8s/resource.go:222
↓ 18 callers
Function
testRunHelper
Helper function to factorize code
trigger/poll/multi_tags_watcher_test.go:70
↓ 15 callers
Method
Containers
Containers - returns containers managed by this resource
internal/k8s/resource.go:296
↓ 15 callers
Method
Deployments
(namespace string)
provider/kubernetes/implementer.go:24
↓ 15 callers
Function
delete
(url, request)
ui/src/api/index.js:24
↓ 15 callers
Function
mustParse
(img string, schedule string)
trigger/poll/watcher_test.go:19
↓ 15 callers
Function
newTestingUtils
()
trigger/poll/manager_test.go:32
↓ 14 callers
Method
GetName
()
provider/provider.go:16
↓ 14 callers
Method
ShortName
ShortName returns the image's name (ie: debian)
util/image/parse.go:24
↓ 14 callers
Method
Status
(s string)
bot/hipchat/client.go:12
↓ 14 callers
Method
Stop
()
provider/provider.go:17
↓ 13 callers
Function
New
New - new registry client
registry/registry.go:36
↓ 12 callers
Method
GetLabels
GetLabels - get resource labels
internal/k8s/resource.go:157
↓ 12 callers
Function
New
(opts *Opts)
pkg/auth/auth.go:43
↓ 12 callers
Function
NewTestingServer
(fp provider.Provider)
pkg/http/native_webhook_trigger_test.go:42
↓ 12 callers
Function
NewTriggerServer
NewTriggerServer - create new HTTP trigger based server
pkg/http/http.go:72
↓ 12 callers
Function
RegisterSender
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 callers
Function
getOrInitialise
(a map[string]string)
internal/k8s/resource.go:214
↓ 12 callers
Method
registerRoutes
(mux *mux.Router)
pkg/http/http.go:119
↓ 12 callers
Function
response
(obj interface{}, statusCode int, err error, resp http.ResponseWriter, req *http.Request)
pkg/http/http.go:232
↓ 11 callers
Function
NewGenericResource
NewGenericResource - create new generic k8s resource
internal/k8s/resource.go:41
↓ 11 callers
Function
NewTestingUtils
()
pkg/http/native_webhook_trigger_test.go:23
↓ 11 callers
Method
Send
Send informs the existence of the specified notification.
extension/notification/notification.go:46
↓ 11 callers
Method
Write
Write the template to the buffer using this Context
bot/formatter/formatter.go:105
↓ 11 callers
Method
createUpdatePlans
createUpdatePlans - impacted deployments by changed repository
provider/kubernetes/kubernetes.go:487
↓ 11 callers
Function
getKeelConfig
(vals chartutil.Values)
provider/helm3/helm3.go:439
↓ 10 callers
Method
AddHeader
(header string)
bot/formatter/custom.go:20
↓ 10 callers
Method
Get
(identifier string)
approvals/approvals.go:42
↓ 10 callers
Function
NewRepositoryWatcher
NewRepositoryWatcher - create new repository watcher
trigger/poll/watcher.go:72
↓ 10 callers
Function
NewTestingUtils
()
approvals/approvals_test.go:17
↓ 10 callers
Function
createNamespaceForTest
()
tests/helpers.go:51
↓ 10 callers
Function
deleteTestNamespace
(namespace string)
tests/helpers.go:69
↓ 10 callers
Function
resolve
(dir)
ui/vue.config.js:4
↓ 10 callers
Function
waitFor
(ctx context.Context, kcs *kubernetes.Clientset, namespace, name string, desired string)
tests/helpers.go:114
↓ 9 callers
Function
GetKeelVersion
GetKeelVersion returns version info.
version/keel.go:29
↓ 9 callers
Function
New
(opts Opts)
pkg/store/sql/sql.go:26
↓ 9 callers
Function
NewGetter
NewGetter - create new default getter
secrets/secrets.go:42
↓ 9 callers
Method
processEvent
(event *types.Event)
provider/kubernetes/kubernetes.go:318
↓ 9 callers
Method
remove
remove removes the named entry from the cache. invariant: cc.values should be sorted on entry.
internal/k8s/cache.go:76
↓ 8 callers
Method
Digest
(opts Opts)
registry/registry.go:32
↓ 8 callers
Method
SetAnnotations
SetAnnotations - set resource annotations
internal/k8s/resource.go:237
↓ 8 callers
Method
Update
(obj *k8s.GenericResource)
provider/kubernetes/implementer.go:25
↓ 8 callers
Method
UpdateContainer
UpdateContainer - updates container image
internal/k8s/resource.go:326
↓ 8 callers
Method
Values
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 callers
Method
Watch
Watch - starts watching repository for changes, if it's already watching - ignores, if details changed - updates details
trigger/poll/watcher.go:114
↓ 8 callers
Function
getContainerImages
(containers []core_v1.Container, filter ContainerFilter)
internal/k8s/converter.go:9
↓ 8 callers
Function
getKubernetesClient
()
tests/helpers.go:35
↓ 8 callers
Method
trigger
(event types.Event)
pkg/http/http.go:228
↓ 7 callers
Method
Approve
Increases Approval votes by 1
approvals/approvals.go:35
↓ 7 callers
Method
Get
(opts Opts)
registry/registry.go:31
↓ 7 callers
Function
RegisterCredentialsHelper
RegisterCredentialsHelper - registering new credentials helper
extension/credentialshelper/credentialshelper.go:31
↓ 7 callers
Method
Type
()
internal/policy/policy.go:17
↓ 7 callers
Function
getImageIdentifier
This identifier is used to key the watchers, so that only a watcher is setup per identifier
trigger/poll/watcher.go:95
↓ 7 callers
Function
testingStringToChart
helper function to generate chart.Chart object from string
provider/helm3/helm3_test.go:99
↓ 6 callers
Method
Delete
(*types.Approval)
approvals/approvals.go:44
↓ 6 callers
Method
Get
Get - get specified, not archived approval
approvals/approvals.go:338
↓ 6 callers
Method
GetResource
GetResource - get resource
internal/k8s/resource.go:152
↓ 6 callers
Method
Start
(ctx context.Context)
tests/helpers.go:83
↓ 6 callers
Method
Stop
()
tests/helpers.go:109
↓ 6 callers
Function
TrimFirstChar
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 callers
Method
Add
Add adds an entry to the cache. If a GenericResource with the same name exists, it is replaced.
internal/k8s/cache.go:33
↓ 5 callers
Method
Client
()
provider/kubernetes/implementer.go:95
↓ 5 callers
Method
Configure
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 callers
Method
Delta
()
bot/formatter/approvals.go:69
↓ 5 callers
Method
Expired
Expired - checks if approval is already expired
types/approvals.go:126
↓ 5 callers
Function
GetVersion
GetVersion - parse version
util/version/version.go:32
↓ 5 callers
Method
KeepTag
()
internal/policy/policy.go:19
↓ 5 callers
Method
Namespaces
()
provider/kubernetes/implementer.go:23
↓ 5 callers
Function
New
New - create new sender
extension/notification/notification.go:84
↓ 5 callers
Function
NewProvider
NewProvider - create new Helm provider
provider/helm3/helm3.go:146
↓ 5 callers
Function
NewWatchTagJob
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 callers
Method
Run
Run - main function to check schedule
trigger/poll/multi_tags_watcher.go:34
↓ 5 callers
Method
Submit
(event types.Event)
provider/provider.go:14
next →
1–100 of 1,060, ranked by callers