fakeapi

package
v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 31, 2018 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

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 New

func New() *FakeApi

func (*FakeApi) Append

func (f *FakeApi) Append(pattern string, handler func(http.ResponseWriter, *http.Request))

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 (f *FakeApi) AppendConsulV1StatusLeader(xRemoteIP string)

func (*FakeApi) AppendManaged added in v1.4.0

func (f *FakeApi) AppendManaged()

func (*FakeApi) AppendPrometheusAPIV1Query

func (f *FakeApi) AppendPrometheusAPIV1Query()

func (*FakeApi) AppendQanAPIAgents

func (f *FakeApi) AppendQanAPIAgents(id string)

func (*FakeApi) AppendQanAPIInstances

func (f *FakeApi) AppendQanAPIInstances(protoInstances []*proto.Instance)

func (*FakeApi) AppendQanAPIInstancesId

func (f *FakeApi) AppendQanAPIInstancesId(id string, protoInstance *proto.Instance)

func (*FakeApi) AppendQanAPIPing

func (f *FakeApi) AppendQanAPIPing()

func (*FakeApi) AppendRoot

func (f *FakeApi) AppendRoot()

func (*FakeApi) Close

func (f *FakeApi) Close()

func (*FakeApi) Host

func (f *FakeApi) Host() string

Host of the fake api

func (*FakeApi) Port

func (f *FakeApi) Port() string

Port of the fake api

func (*FakeApi) URL

func (f *FakeApi) URL() string

URL for the fake api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL