Groovy Documentation
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

addResponseHeader(String, def) - Method in BaseResource
addTags(Representation) - Method in TagsResource
add tags (ex: POST /tags/fruit;vegetable)
AgentConfigResource - Class in org.linkedin.glu.agent.rest.resources
@author ypujante@linkedin.com
AgentResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources to the agent directly (like the list of mount points)

B

BaseResource - Class in org.linkedin.glu.agent.rest.resources
Base class for resources to the agent

C

CommandBaseResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
CommandExitValueResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
commandId - Field in CommandBaseResource
CommandsResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
CommandStreamsResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
configure(Representation) - Method in AgentConfigResource
PUT: configuration (key/value pairs)

D

deleteTags() - Method in TagsResource
DELETE remove tags (ex: DELETE /tags/fruit;vegetable)
doInit() - Method in AgentConfigResource
doInit() - Method in BaseResource
doInit() - Method in CommandBaseResource

E

executeCommand(Representation) - Method in CommandsResource
Handle POST
executeOnMountPoint(Representation) - Method in MountPointResource
POST (execute action / execute action and wait / execute call / clear Error / interrupt action)

F

FileResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources of type files (tail / ls)

G

getAgent() - Method in BaseResource
getAgentHostInfo() - Method in HostResource
return information about the host
getExitValue() - Method in CommandExitValueResource
return the exit value of the command (blocking call with optional timeout)
getFileContent() - Method in FileResource
GET: get the content of the file/directory
getMountPoints() - Method in AgentResource
return the list of mount points
getMountPointsOrWaitForState() - Method in MountPointResource
GET: return the state + others (tbd) GET with query string: wait for state / action
getOrCheckTags() - Method in TagsResource
GET: /tags => 200: json array of tags HEAD: /tags => 200 if has tags, 204 otherwise (only match=any makes sense here...)
getPath() - Method in BaseResource
getRequestArgs() - Method in BaseResource
getRequestArgs() - Method in CommandBaseResource
getResourceMountPoint() - Method in BaseResource
getResponseHeader() - Method in BaseResource

H

HostResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources to get info about the host

I

installScript(Representation) - Method in MountPointResource
PUT (install script)
interruptCommand() - Method in CommandExitValueResource
interrupt the action if still running

J


K

kill(Representation) - Method in ProcessResource
PUT: send a signal to a process

L

log - Field in AgentConfigResource
log - Field in BaseResource
log - Field in MountPointResource
LogResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources to the agent logs

M

MODULE - Field in AgentConfigResource
MODULE - Field in BaseResource
MODULE - Field in MountPointResource
MountPointResource - Class in org.linkedin.glu.agent.rest.resources
Represents a script resource

N

noException(Closure) - Method in BaseResource

O


P

ProcessResource - Class in org.linkedin.glu.agent.rest.resources
Handles resources to get info about the processes
ps() - Method in ProcessResource
GET: return information about the process(es)

Q


R


S

streamCommandResults() - Method in CommandStreamsResource
return the stream(s) and information about the command
sync(Representation) - Method in AgentResource
sync

T

TAGS_SERIALIZER - Field in TagsResource
TagsResource - Class in org.linkedin.glu.agent.rest.resources
@author yan@pongasoft.com
tailAgentLog() - Method in LogResource
GET: return the log
toArgs(Form) - Method in BaseResource
toRepresentation(def) - Method in BaseResource

U

uninstallScript() - Method in MountPointResource
DELETE (uninstall script)
updateTags(Representation) - Method in TagsResource
set tags (ex: PUT /tags/fruit;vegetable)

V


W


X


Y


Z


_


Groovy Documentation