Documentation ¶
Index ¶
- func JsonToKVMap(jsonStr string) (map[string]string, error)
- type APIErr
- type AgentClient
- type AgentInterface
- type JMXRequestOperationType
- type JXMInterface
- type JolokiaClient
- func (client *JolokiaClient) ExecuteMbeanOperation(mbean string, operation string, arguments []interface{}) (interface{}, error)
- func (client *JolokiaClient) GetMbeanAttribute(mbean string, attribute string, path string) (interface{}, error)
- func (client *JolokiaClient) ListMbean(mbean string) (interface{}, error)
- func (client *JolokiaClient) SearchMbeans(pattern string) (interface{}, error)
- func (client *JolokiaClient) SetMbeanAttribute(mbean string, attribute string, path string, value interface{}) (interface{}, error)
- type JolokiaResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentClient ¶
func NewAgentClient ¶
func NewAgentClient(host, port string) *AgentClient
func (*AgentClient) UpdateCanary ¶
func (agent *AgentClient) UpdateCanary(globalHeaders *spec.GlobalCanaryHeaders, version int64) error
func (*AgentClient) UpdateService ¶
func (agent *AgentClient) UpdateService(newService *spec.Service, version int64) error
type AgentInterface ¶
type JMXRequestOperationType ¶
type JMXRequestOperationType string
type JXMInterface ¶
type JXMInterface interface { GetMbeanAttribute(mbean string, attribute string, path string) (interface{}, error) SetMbeanAttribute(mbean string, attribute string, path string, value interface{}) (interface{}, error) ExecuteMbeanOperation(mbean string, operation string, arguments []interface{}) (interface{}, error) ListMbean(mbean string) (interface{}, error) SearchMbeans(pattern string) (interface{}, error) }
type JolokiaClient ¶
func NewJolokiaClient ¶
func NewJolokiaClient(host, port, path string) *JolokiaClient
func (*JolokiaClient) ExecuteMbeanOperation ¶
func (client *JolokiaClient) ExecuteMbeanOperation(mbean string, operation string, arguments []interface{}) (interface{}, error)
func (*JolokiaClient) GetMbeanAttribute ¶
func (client *JolokiaClient) GetMbeanAttribute(mbean string, attribute string, path string) (interface{}, error)
func (*JolokiaClient) ListMbean ¶
func (client *JolokiaClient) ListMbean(mbean string) (interface{}, error)
func (*JolokiaClient) SearchMbeans ¶
func (client *JolokiaClient) SearchMbeans(pattern string) (interface{}, error)
func (*JolokiaClient) SetMbeanAttribute ¶
func (client *JolokiaClient) SetMbeanAttribute(mbean string, attribute string, path string, value interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.