MCPcopy Create free account
hub / github.com/cloudbase/garm / InstallWebhook

Method InstallWebhook

runner/common/pool.go:59–59  ·  view source on GitHub ↗

InstallWebhook will create a webhook in github for the entity associated with this pool manager.

(ctx context.Context, param params.InstallWebhookParams)

Source from the content-addressed store, hash-verified

57
58 // InstallWebhook will create a webhook in github for the entity associated with this pool manager.
59 InstallWebhook(ctx context.Context, param params.InstallWebhookParams) (params.HookInfo, error)
60 // GetWebhookInfo will return information about the webhook installed in github for the entity associated
61 GetWebhookInfo(ctx context.Context) (params.HookInfo, error)
62 // UninstallWebhook will remove the webhook installed in github for the entity associated with this pool manager.

Callers 2

InstallRepoWebhookMethod · 0.65
InstallOrgWebhookMethod · 0.65

Implementers 3

basePoolManagerrunner/pool/pool.go
PoolManagerrunner/common/mocks/PoolManager.go
PoolManager_Expecterrunner/common/mocks/PoolManager.go

Calls

no outgoing calls

Tested by

no test coverage detected