Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(jolokiaURL string, username, password string, logr *zap.SugaredLogger) *Client
func (*Client) Post ¶
func (j *Client) Post(ctx context.Context, jmxReq JMXRequest, ip string) (JMXResponse, error)
type JMXRequest ¶
type JMXResponse ¶
type JMXResponse struct {
Request json.RawMessage `json:"request"`
Value json.RawMessage `json:"value"`
Status int `json:"status"`
Error string `json:"error"`
}
Click to show internal directories.
Click to hide internal directories.