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

Method CreateEntityHook

runner/common/util.go:29–29  ·  view source on GitHub ↗
(ctx context.Context, hook *github.Hook)

Source from the content-addressed store, hash-verified

27 ListEntityHooks(ctx context.Context, opts *github.ListOptions) (ret []*github.Hook, response *github.Response, err error)
28 GetEntityHook(ctx context.Context, id int64) (ret *github.Hook, err error)
29 CreateEntityHook(ctx context.Context, hook *github.Hook) (ret *github.Hook, err error)
30 DeleteEntityHook(ctx context.Context, id int64) (ret *github.Response, err error)
31 PingEntityHook(ctx context.Context, id int64) (ret *github.Response, err error)
32 ListEntityRunners(ctx context.Context, opts *github.ListRunnersOptions) (*github.Runners, *github.Response, error)

Callers 1

InstallHookMethod · 0.65

Implementers 6

stubGithubClientrunner/pool/stub_client.go
GithubEntityOperationsrunner/common/mocks/GithubEntityOperat
GithubEntityOperations_Expecterrunner/common/mocks/GithubEntityOperat
GithubClientrunner/common/mocks/GithubClient.go
GithubClient_Expecterrunner/common/mocks/GithubClient.go
githubClientutil/github/client.go

Calls

no outgoing calls

Tested by

no test coverage detected