MCPcopy Create free account
hub / github.com/SignTools/SignTools / Trigger

Method Trigger

src/builders/selfhosted.go:32–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32func (g *SelfHosted) Trigger() error {
33 resp, err := g.Client.New().Post("/trigger").ReceiveSuccess(nil)
34 if err != nil {
35 return err
36 }
37 return util.Check2xxCode(resp.StatusCode)
38}
39
40func (g *SelfHosted) GetStatusUrl() (string, error) {
41 return util.JoinUrls(g.Url, "/status")

Callers

nothing calls this directly

Calls 2

Check2xxCodeFunction · 0.92
NewMethod · 0.80

Tested by

no test coverage detected