Documentation ¶
Index ¶
- type FakeApi
- func (f *FakeApi) AddAnnotation()
- 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()
- 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) Start() (string, string, string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApi ¶
func (*FakeApi) AddAnnotation ¶
func (f *FakeApi) AddAnnotation()
AddAnnotation allows test annotation endpoint.
func (*FakeApi) AppendConsulV1CatalogNode ¶
func (f *FakeApi) AppendConsulV1CatalogNode(name string, node api.CatalogNode)
AppendConsulV1CatalogNode adds "/v1/catalog/node/<name>" route to API.
func (*FakeApi) AppendConsulV1CatalogRegister ¶
func (f *FakeApi) AppendConsulV1CatalogRegister()
func (*FakeApi) AppendConsulV1CatalogService ¶
func (f *FakeApi) AppendConsulV1CatalogService()
func (*FakeApi) AppendConsulV1KV ¶
func (f *FakeApi) AppendConsulV1KV()
func (*FakeApi) AppendConsulV1StatusLeader ¶
func (f *FakeApi) AppendConsulV1StatusLeader()
AppendConsulV1StatusLeader adds "/v1/status/leader" route to API.
func (*FakeApi) AppendManaged ¶
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()
AppendQanAPIPing adds "/qan-api/ping" route to API.
Click to show internal directories.
Click to hide internal directories.