Imported Upstream version 1.7.0
[platform/upstream/augeas.git] / lenses / openshift_quickstarts.aug
1 (*
2 Module: OpenShift_Quickstarts
3   Parses
4     - /etc/openshift/quickstarts.json
5
6 Author: Brian Redbeard <redbeard@dead-city.org>
7
8 About: License
9    This file is licenced under the LGPL v2+, conforming to the other components
10    of Augeas.
11
12 About: Lens Usage
13   Sample usage of this lens in augtool:
14
15     * Get your current setup
16       > print /files/etc/openshift/quickstarts.json
17       ...
18
19     * Delete the quickstart named WordPress
20       > rm /files/etc/openshift/quickstarts.json/array/dict[*]/entry/dict/entry[*][string = 'WordPress']/../../../
21
22   Saving your file:
23
24       > save
25
26 About: Configuration files
27         /etc/openshift/quickstarts.json - Quickstarts available via the
28             OpenShift Console.
29
30 About: Examples
31    The <Test_OpenShift_Quickstarts> file contains various examples and tests.
32 *)
33 module OpenShift_Quickstarts =
34     autoload xfm
35
36 (* View: lns *)
37 let lns = Json.lns
38
39 (* Variable: filter *)
40 let filter = incl "/etc/openshift/quickstarts.json"
41
42 let xfm = transform lns filter
43 (* vim: set ts=4  expandtab  sw=4: *)