Documentation
¶
Overview ¶
Package appdynamics is a generated GoMock package.
Index ¶
- func MakeHandler(service Service, logger kitlog.Logger, ml machineLearning.Service) http.Handler
- func MakeMqHandler(service MqService, logger kitlog.Logger, ml machineLearning.Service) http.Handler
- func NewDisableMqCommand(store Store, telegram telegram.Store, alert alert.Service) telegram.Command
- func NewEnableMqCommand(store Store, telegram telegram.Store, alert alert.Service) telegram.Command
- type AddAppdynamicsEndpointRequest
- type AddAppdynamicsQueueEndpointRequest
- type AppDynamics
- type AppdynamicsMessage
- type BusinessAlertRequest
- type Event
- type ExecuteAppDynamicsCommandRequest
- type MockStore
- type MockStoreMockRecorder
- type MqEndpoint
- type MqService
- type Name
- type Service
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeHandler ¶
MakeHandler returns a restful http handler for the appdynamics service the Machine Learning service can be set to nil if you do not wish to log the http requests
func MakeMqHandler ¶
func MakeMqHandler(service MqService, logger kitlog.Logger, ml machineLearning.Service) http.Handler
MakeHandler returns a restful http handler for the appdynamics service the Machine Learning service can be set to nil if you do not wish to log the http requests
func NewDisableMqCommand ¶
Types ¶
type AddAppdynamicsEndpointRequest ¶
type AddAppdynamicsEndpointRequest struct {
Endpoint string
}
type AddAppdynamicsQueueEndpointRequest ¶
type AddAppdynamicsQueueEndpointRequest struct { Name string Application string Metricpath string IgnorePrefix []string `json:"ignore_prefix"` }
Request object to add a new IBM MQ Queue to be monitored from App Dynamics swagger:model
type AppDynamics ¶
type AppDynamics struct { ChatId uint32 `json:"id" bson:"_id,omitempty"` Endpoint string MqEndpoints []*MqEndpoint }
swagger:model
type AppdynamicsMessage ¶
type AppdynamicsMessage struct { Environment string `json:"environment"` Policy struct { TriggerTime string `json:"triggerTime"` Name string `json:"name"` } Events []Event `json:"events"` InvokeCallout bool `json:"invoke_callout"` }
swagger:model
type BusinessAlertRequest ¶
type BusinessAlertRequest struct {
Severity, Type, DisplayName, SummaryMessage string
}
type ExecuteAppDynamicsCommandRequest ¶
type ExecuteAppDynamicsCommandRequest struct { CommandName string `json:"command_name"` NodeID string `json:"node_id"` ApplicationID string `json:"application_id"` }
swagger:model
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
MockStore is a mock of Store interface
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
NewMockStore creates a new mock instance
func (*MockStore) EXPECT ¶
func (m *MockStore) EXPECT() *MockStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStore) GetAppDynamics ¶
func (m *MockStore) GetAppDynamics(chat uint32) (*AppDynamics, error)
GetAppDynamics mocks base method
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) GetAppDynamics ¶
func (mr *MockStoreMockRecorder) GetAppDynamics(chat interface{}) *gomock.Call
GetAppDynamics indicates an expected call of GetAppDynamics
type MqEndpoint ¶
type MqEndpoint struct { Name string Application string MetricPath string Chat uint32 MaxMessageAge float64 `json:"max_message_age" bson:"max_message_age"` IgnorePrefix []string `json:"ignore_prefix"` Disabled bool }
swagger:model
type MqService ¶
type MqService interface {
// contains filtered or unexported methods
}
func NewMqInstrumentService ¶
type Service ¶
type Service interface {
// contains filtered or unexported methods
}
func NewInstrumentService ¶
type Store ¶
type Store interface { /* GetAppDynamics wll return the app dynamics object in the ob, Else, error if nothing exists. */ GetAppDynamics(chat uint32) (*AppDynamics, error) // contains filtered or unexported methods }
func NewMongoStore ¶
func NewMongoStore(mongo *mgo.Database) Store