Documentation ¶
Index ¶
- type FakeApi
- func (f *FakeApi) Append(pattern string, handler func(http.ResponseWriter, *http.Request))
- func (f *FakeApi) AppendConsulV1CatalogNode(name string, node *api.CatalogNode)
- func (f *FakeApi) AppendConsulV1CatalogRegister()
- func (f *FakeApi) AppendConsulV1CatalogService()
- func (f *FakeApi) AppendConsulV1KV()
- func (f *FakeApi) AppendConsulV1StatusLeader(xRemoteIP string)
- func (f *FakeApi) AppendManaged()
- func (f *FakeApi) AppendPrometheusAPIV1Query()
- func (f *FakeApi) AppendQanAPIAgents(id string)
- func (f *FakeApi) AppendQanAPIInstances(protoInstances []*proto.Instance)
- func (f *FakeApi) AppendQanAPIInstancesId(id string, protoInstance *proto.Instance)
- func (f *FakeApi) AppendQanAPIPing()
- func (f *FakeApi) AppendRoot()
- func (f *FakeApi) Close()
- func (f *FakeApi) Host() string
- func (f *FakeApi) Port() string
- func (f *FakeApi) URL() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApi ¶
type FakeApi struct {
// contains filtered or unexported fields
}
func (*FakeApi) AppendConsulV1CatalogNode ¶
func (f *FakeApi) AppendConsulV1CatalogNode(name string, node *api.CatalogNode)
func (*FakeApi) AppendConsulV1CatalogRegister ¶
func (f *FakeApi) AppendConsulV1CatalogRegister()
func (*FakeApi) AppendConsulV1CatalogService ¶
func (f *FakeApi) AppendConsulV1CatalogService()
func (*FakeApi) AppendConsulV1KV ¶ added in v1.4.0
func (f *FakeApi) AppendConsulV1KV()
func (*FakeApi) AppendConsulV1StatusLeader ¶
func (*FakeApi) AppendManaged ¶ added in v1.4.0
func (f *FakeApi) AppendManaged()
func (*FakeApi) AppendPrometheusAPIV1Query ¶
func (f *FakeApi) AppendPrometheusAPIV1Query()
func (*FakeApi) AppendQanAPIAgents ¶
func (*FakeApi) AppendQanAPIInstances ¶
func (*FakeApi) AppendQanAPIInstancesId ¶
func (*FakeApi) AppendQanAPIPing ¶
func (f *FakeApi) AppendQanAPIPing()
func (*FakeApi) AppendRoot ¶
func (f *FakeApi) AppendRoot()
Click to show internal directories.
Click to hide internal directories.