Documentation ¶
Index ¶
- type FakeApi
- func (f *FakeApi) Append(pattern string, handler func(http.ResponseWriter, *http.Request))
- func (f *FakeApi) AppendAgents(agent *proto.Agent)
- func (f *FakeApi) AppendAgentsUuid(agent *proto.Agent)
- func (f *FakeApi) AppendConfigsMmDefaultMysql()
- func (f *FakeApi) AppendConfigsMmDefaultServer()
- func (f *FakeApi) AppendConfigsQanDefault()
- func (f *FakeApi) AppendInstancesMysql(mysqlInstance *proto.MySQLInstance)
- func (f *FakeApi) AppendInstancesMysqlId(mysqlInstance *proto.MySQLInstance)
- func (f *FakeApi) AppendInstancesServer(serverInstance *proto.ServerInstance)
- func (f *FakeApi) AppendInstancesServerId(serverInstance *proto.ServerInstance)
- func (f *FakeApi) AppendPing()
- func (f *FakeApi) AppendSysconfigDefaultMysql()
- func (f *FakeApi) Close()
- 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 NewFakeApi ¶
func NewFakeApi() *FakeApi
func (*FakeApi) AppendAgents ¶
func (*FakeApi) AppendAgentsUuid ¶
func (*FakeApi) AppendConfigsMmDefaultMysql ¶
func (f *FakeApi) AppendConfigsMmDefaultMysql()
func (*FakeApi) AppendConfigsMmDefaultServer ¶
func (f *FakeApi) AppendConfigsMmDefaultServer()
func (*FakeApi) AppendConfigsQanDefault ¶
func (f *FakeApi) AppendConfigsQanDefault()
func (*FakeApi) AppendInstancesMysql ¶
func (f *FakeApi) AppendInstancesMysql(mysqlInstance *proto.MySQLInstance)
func (*FakeApi) AppendInstancesMysqlId ¶
func (f *FakeApi) AppendInstancesMysqlId(mysqlInstance *proto.MySQLInstance)
func (*FakeApi) AppendInstancesServer ¶
func (f *FakeApi) AppendInstancesServer(serverInstance *proto.ServerInstance)
func (*FakeApi) AppendInstancesServerId ¶
func (f *FakeApi) AppendInstancesServerId(serverInstance *proto.ServerInstance)
func (*FakeApi) AppendPing ¶
func (f *FakeApi) AppendPing()
func (*FakeApi) AppendSysconfigDefaultMysql ¶
func (f *FakeApi) AppendSysconfigDefaultMysql()
Click to show internal directories.
Click to hide internal directories.