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

Method GetWebhookInfo

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

GetWebhookInfo will return information about the webhook installed in github for the entity associated

(ctx context.Context)

Source from the content-addressed store, hash-verified

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.
63 UninstallWebhook(ctx context.Context) error
64

Callers 2

GetRepoWebhookInfoMethod · 0.65
GetOrgWebhookInfoMethod · 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