Angular: ajenti.augeas

Services

class augeas()
get(endpoint)

Reads an Augeas tree from server side.

Returns:promise → AugeasConfig
set(endpoint, config)

Overwrites an Augeas tree on the server side.

Returns:promise
class AugeasNode()
name
value
parent
children
fullPath()
class AugeasConfig()

This is a JS doppelganger of normal Augeas API. In particular, it doesn’t support advanced XPath syntax, and operates with regular expressions instead.

get(path)
Returns:AugeasNode
set(path, value)
model(path)
Returns:a getter/setter function suitable for use as a ngModel
insert(path, value, index)
remove(path)
match(path)
Returns:Array(string)
matchNodes(path)
Returns:Array(AugeasNode)

Comments

comments powered by Disqus