Home
last modified time | relevance | path

Searched refs:checkID (Results 76 – 100 of 359) sorted by relevance

12345678910>>...15

/dports/sysutils/gomplate/gomplate-3.9.0/vendor/github.com/hashicorp/consul/command/connect/proxy/
H A Dregister_test.go53 require.Contains(r, checks, m.checkID())
54 require.Equal(r, "passing", checks[m.checkID()].Status)
56 require.NoError(r, client.Agent().FailTTL(m.checkID(), ""))
66 check, ok := checks[m.checkID()]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/hashicorp/consul/command/connect/proxy/
H A Dregister_test.go61 require.Contains(r, checks, m.checkID())
62 require.Equal(r, "passing", checks[m.checkID()].Status)
64 require.NoError(r, client.Agent().FailTTL(m.checkID(), ""))
74 check, ok := checks[m.checkID()]
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/hashicorp/consul/command/connect/proxy/
H A Dregister_test.go61 require.Contains(r, checks, m.checkID())
62 require.Equal(r, "passing", checks[m.checkID()].Status)
64 require.NoError(r, client.Agent().FailTTL(m.checkID(), ""))
74 check, ok := checks[m.checkID()]
/dports/www/fabio/fabio-1.5.14/vendor/github.com/hashicorp/consul/consul-1.4.2/command/connect/proxy/
H A Dregister_test.go53 require.Contains(checks, m.checkID())
54 require.Equal("passing", checks[m.checkID()].Status)
56 require.NoError(client.Agent().FailTTL(m.checkID(), ""))
66 check, ok := checks[m.checkID()]
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/consul/command/connect/proxy/
H A Dregister_test.go53 require.Contains(r, checks, m.checkID())
54 require.Equal(r, "passing", checks[m.checkID()].Status)
56 require.NoError(r, client.Agent().FailTTL(m.checkID(), ""))
66 check, ok := checks[m.checkID()]
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/hashicorp/consul/api/
H A Dagent.go491 func (a *Agent) PassTTL(checkID, note string) error {
492 return a.updateTTL(checkID, note, "pass")
500 func (a *Agent) WarnTTL(checkID, note string) error {
501 return a.updateTTL(checkID, note, "warn")
509 func (a *Agent) FailTTL(checkID, note string) error {
510 return a.updateTTL(checkID, note, "fail")
522 func (a *Agent) updateTTL(checkID, note, status string) error {
530 endpoint := fmt.Sprintf("/v1/agent/check/%s/%s", status, checkID)
559 func (a *Agent) UpdateTTL(checkID, output, status string) error {
571 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
[all …]
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/hashicorp/vault/vendor/github.com/hashicorp/consul/api/
H A Dagent.go509 func (a *Agent) PassTTL(checkID, note string) error {
510 return a.updateTTL(checkID, note, "pass")
518 func (a *Agent) WarnTTL(checkID, note string) error {
519 return a.updateTTL(checkID, note, "warn")
527 func (a *Agent) FailTTL(checkID, note string) error {
528 return a.updateTTL(checkID, note, "fail")
540 func (a *Agent) updateTTL(checkID, note, status string) error {
548 endpoint := fmt.Sprintf("/v1/agent/check/%s/%s", status, checkID)
577 func (a *Agent) UpdateTTL(checkID, output, status string) error {
589 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
[all …]
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/hashicorp/consul/api/
H A Dagent.go491 func (a *Agent) PassTTL(checkID, note string) error {
492 return a.updateTTL(checkID, note, "pass")
500 func (a *Agent) WarnTTL(checkID, note string) error {
501 return a.updateTTL(checkID, note, "warn")
509 func (a *Agent) FailTTL(checkID, note string) error {
510 return a.updateTTL(checkID, note, "fail")
522 func (a *Agent) updateTTL(checkID, note, status string) error {
530 endpoint := fmt.Sprintf("/v1/agent/check/%s/%s", status, checkID)
559 func (a *Agent) UpdateTTL(checkID, output, status string) error {
571 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/github.com/hashicorp/consul/api/
H A Dagent.go769 func (a *Agent) PassTTL(checkID, note string) error {
770 return a.updateTTL(checkID, note, "pass")
778 func (a *Agent) WarnTTL(checkID, note string) error {
779 return a.updateTTL(checkID, note, "warn")
787 func (a *Agent) FailTTL(checkID, note string) error {
788 return a.updateTTL(checkID, note, "fail")
800 func (a *Agent) updateTTL(checkID, note, status string) error {
838 return a.UpdateTTLOpts(checkID, output, status, nil)
853 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
884 func (a *Agent) CheckDeregister(checkID string) error {
[all …]
/dports/sysutils/consul/consul-1.10.3/api/
H A Dagent.go769 func (a *Agent) PassTTL(checkID, note string) error {
770 return a.updateTTL(checkID, note, "pass")
778 func (a *Agent) WarnTTL(checkID, note string) error {
779 return a.updateTTL(checkID, note, "warn")
787 func (a *Agent) FailTTL(checkID, note string) error {
788 return a.updateTTL(checkID, note, "fail")
800 func (a *Agent) updateTTL(checkID, note, status string) error {
838 return a.UpdateTTLOpts(checkID, output, status, nil)
853 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
884 func (a *Agent) CheckDeregister(checkID string) error {
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/hashicorp/consul/api/
H A Dagent.go769 func (a *Agent) PassTTL(checkID, note string) error {
770 return a.updateTTL(checkID, note, "pass")
778 func (a *Agent) WarnTTL(checkID, note string) error {
779 return a.updateTTL(checkID, note, "warn")
787 func (a *Agent) FailTTL(checkID, note string) error {
788 return a.updateTTL(checkID, note, "fail")
800 func (a *Agent) updateTTL(checkID, note, status string) error {
838 return a.UpdateTTLOpts(checkID, output, status, nil)
853 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
884 func (a *Agent) CheckDeregister(checkID string) error {
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/vendor/github.com/hashicorp/consul/api/
H A Dagent.go769 func (a *Agent) PassTTL(checkID, note string) error {
770 return a.updateTTL(checkID, note, "pass")
778 func (a *Agent) WarnTTL(checkID, note string) error {
779 return a.updateTTL(checkID, note, "warn")
787 func (a *Agent) FailTTL(checkID, note string) error {
788 return a.updateTTL(checkID, note, "fail")
800 func (a *Agent) updateTTL(checkID, note, status string) error {
838 return a.UpdateTTLOpts(checkID, output, status, nil)
853 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
884 func (a *Agent) CheckDeregister(checkID string) error {
[all …]
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/hashicorp/consul/api/
H A Dagent.go768 func (a *Agent) PassTTL(checkID, note string) error {
769 return a.updateTTL(checkID, note, "pass")
777 func (a *Agent) WarnTTL(checkID, note string) error {
778 return a.updateTTL(checkID, note, "warn")
786 func (a *Agent) FailTTL(checkID, note string) error {
787 return a.updateTTL(checkID, note, "fail")
799 func (a *Agent) updateTTL(checkID, note, status string) error {
837 return a.UpdateTTLOpts(checkID, output, status, nil)
852 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
883 func (a *Agent) CheckDeregister(checkID string) error {
[all …]
/dports/sysutils/nomad/nomad-1.1.0/vendor/github.com/hashicorp/consul/api/
H A Dagent.go763 func (a *Agent) PassTTL(checkID, note string) error {
764 return a.updateTTL(checkID, note, "pass")
772 func (a *Agent) WarnTTL(checkID, note string) error {
773 return a.updateTTL(checkID, note, "warn")
781 func (a *Agent) FailTTL(checkID, note string) error {
782 return a.updateTTL(checkID, note, "fail")
794 func (a *Agent) updateTTL(checkID, note, status string) error {
832 return a.UpdateTTLOpts(checkID, output, status, nil)
847 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
878 func (a *Agent) CheckDeregister(checkID string) error {
[all …]
/dports/net/concourse-fly/concourse-6.7.1/fly/commands/
H A Dcheck_resource_type.go56 var checkID = strconv.Itoa(check.ID)
62 check, found, err = target.Client().Check(checkID)
68 return fmt.Errorf("check '%s' not found\n", checkID)
83 {Contents: checkID},
H A Dcheck_resource.go55 var checkID = strconv.Itoa(check.ID)
61 check, found, err = target.Client().Check(checkID)
67 return fmt.Errorf("check '%s' not found\n", checkID)
82 {Contents: checkID},
/dports/misc/concourse/concourse-6.7.2/fly/commands/
H A Dcheck_resource_type.go56 var checkID = strconv.Itoa(check.ID)
62 check, found, err = target.Client().Check(checkID)
68 return fmt.Errorf("check '%s' not found\n", checkID)
83 {Contents: checkID},
H A Dcheck_resource.go55 var checkID = strconv.Itoa(check.ID)
61 check, found, err = target.Client().Check(checkID)
67 return fmt.Errorf("check '%s' not found\n", checkID)
82 {Contents: checkID},
/dports/sysutils/consul/consul-1.10.3/agent/
H A Dacl.go156 func (a *Agent) vetCheckUpdate(token string, checkID structs.CheckID) error {
163 return a.vetCheckUpdateWithAuthorizer(authz, checkID)
166 func (a *Agent) vetCheckUpdateWithAuthorizer(authz acl.Authorizer, checkID structs.CheckID) error {
172 checkID.FillAuthzContext(&authzContext)
175 if existing := a.State.Check(checkID); existing != nil {
186 return fmt.Errorf("Unknown check %q", checkID.String())
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/hashicorp/consul/agent/
H A Dacl.go156 func (a *Agent) vetCheckUpdate(token string, checkID structs.CheckID) error {
163 return a.vetCheckUpdateWithAuthorizer(authz, checkID)
166 func (a *Agent) vetCheckUpdateWithAuthorizer(authz acl.Authorizer, checkID structs.CheckID) error {
172 checkID.FillAuthzContext(&authzContext)
175 if existing := a.State.Check(checkID); existing != nil {
186 return fmt.Errorf("Unknown check %q", checkID.String())
/dports/net-mgmt/prometheus2/prometheus-2.30.3/vendor/github.com/hashicorp/consul/agent/
H A Dacl.go156 func (a *Agent) vetCheckUpdate(token string, checkID structs.CheckID) error {
163 return a.vetCheckUpdateWithAuthorizer(authz, checkID)
166 func (a *Agent) vetCheckUpdateWithAuthorizer(authz acl.Authorizer, checkID structs.CheckID) error {
172 checkID.FillAuthzContext(&authzContext)
175 if existing := a.State.Check(checkID); existing != nil {
186 return fmt.Errorf("Unknown check %q", checkID.String())
/dports/sysutils/nomad/nomad-1.1.0/command/agent/consul/
H A Dservice_client.go844 checkID := MakeCheckID(id, check)
1028 checkID := MakeCheckID(serviceID, check)
1033 sreg.CheckOnUpdate[checkID] = check.OnUpdate
1076 checkID := MakeCheckID(serviceID, check)
1141 checkID := MakeCheckID(existingID, check)
1145 delete(existingChecks, checkID)
1146 sreg.checkIDs[checkID] = struct{}{}
1199 checkID := MakeCheckID(serviceID, check)
1292 for checkID := range sreg.checkIDs {
1293 if check, ok := checks[checkID]; ok {
[all …]
/dports/www/fabio/fabio-1.5.14/vendor/github.com/hashicorp/consul/api/
H A Dagent.go585 func (a *Agent) PassTTL(checkID, note string) error {
586 return a.updateTTL(checkID, note, "pass")
594 func (a *Agent) WarnTTL(checkID, note string) error {
595 return a.updateTTL(checkID, note, "warn")
603 func (a *Agent) FailTTL(checkID, note string) error {
604 return a.updateTTL(checkID, note, "fail")
616 func (a *Agent) updateTTL(checkID, note, status string) error {
624 endpoint := fmt.Sprintf("/v1/agent/check/%s/%s", status, checkID)
653 func (a *Agent) UpdateTTL(checkID, output, status string) error {
665 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
[all …]
/dports/www/fabio/fabio-1.5.14/vendor/github.com/hashicorp/consul/consul-1.4.2/api/
H A Dagent.go585 func (a *Agent) PassTTL(checkID, note string) error {
586 return a.updateTTL(checkID, note, "pass")
594 func (a *Agent) WarnTTL(checkID, note string) error {
595 return a.updateTTL(checkID, note, "warn")
603 func (a *Agent) FailTTL(checkID, note string) error {
604 return a.updateTTL(checkID, note, "fail")
616 func (a *Agent) updateTTL(checkID, note, status string) error {
624 endpoint := fmt.Sprintf("/v1/agent/check/%s/%s", status, checkID)
653 func (a *Agent) UpdateTTL(checkID, output, status string) error {
665 endpoint := fmt.Sprintf("/v1/agent/check/update/%s", checkID)
[all …]
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/github.com/hashicorp/consul/agent/
H A Dacl.go215 func (a *Agent) vetCheckUpdate(token string, checkID structs.CheckID) error {
222 return a.vetCheckUpdateWithAuthorizer(authz, checkID)
225 func (a *Agent) vetCheckUpdateWithAuthorizer(authz acl.Authorizer, checkID structs.CheckID) error {
231 checkID.FillAuthzContext(&authzContext)
234 if existing := a.State.Check(checkID); existing != nil {
245 return fmt.Errorf("Unknown check %q", checkID.String())

12345678910>>...15