Skip to content

Commit 7b0c013

Browse files
committed
Document generated using pydoc-markdown
Signed-off-by: Aravinda Vishwanathapura <[email protected]>
1 parent 641b4e5 commit 7b0c013

26 files changed

+1415
-686
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ pycscope.*
88
build
99
dist
1010
docs/_build
11-
.DS_Store
11+
.DS_Store
12+
_build

Makefile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
docgen:
2+
pydocmd simple glustercli.cli.volume++ > docs/volume.md
3+
pydocmd simple glustercli.cli.bitrot++ > docs/bitrot.md
4+
pydocmd simple glustercli.cli.bricks++ > docs/bricks.md
5+
pydocmd simple glustercli.cli.georep++ > docs/georep.md
6+
pydocmd simple glustercli.cli.peer++ > docs/peer.md
7+
pydocmd simple glustercli.cli.quota++ > docs/quota.md
8+
pydocmd simple glustercli.cli.snapshot++ > docs/snapshot.md
9+
pydocmd simple glustercli.cli.heal++ > docs/heal.md
10+
pydocmd simple glustercli.cli.nfs_ganesha++ > docs/nfs_ganesha.md
11+
pydocmd simple glustercli.cli.rebalance++ > docs/rebalance.md
12+
pydocmd simple glustercli.cli.set_gluster_path > docs/utils.md
13+
pydocmd simple glustercli.cli.set_gluster_socket >> docs/utils.md
14+
pydocmd simple glustercli.cli.set_ssh_host >> docs/utils.md
15+
pydocmd simple glustercli.cli.set_ssh_pem_file >> docs/utils.md
16+
pydocmd simple glustercli.cli.ssh_connection >> docs/utils.md
17+
pydocmd simple glustercli.cli.GlusterCmdException >> docs/utils.md
18+
19+
pydocmd simple glustercli.metrics.local_processes++ > docs/local_processes.md
20+
pydocmd simple glustercli.metrics.local_utilization++ > docs/local_utilization.md
21+
pydocmd simple glustercli.metrics.local_diskstats++ > docs/local_diskstats.md

README.md

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# glustercli-python
2+
3+
Python bindings for [GlusterFS](http://www.gluster.org) CLI and Metrics.
4+
5+
## Hello World
6+
7+
```python
8+
from glustercli.cli import volume
9+
10+
# Create a Volume
11+
volume.create("gv1", ["fvm1:/bricks/b1", "fvm2:/bricks/b2"],
12+
force=True)
13+
14+
# Start Volume
15+
volume.start("gv1")
16+
17+
# Read Volume Info
18+
volume.info("gv1")
19+
```
20+
21+
## Documentation
22+
23+
See [Documentation](docs/README.md)
24+
25+
Install `pydoc-markdown` package to generate Documentation.
26+
27+
```
28+
sudo pip3 install pydoc-markdown
29+
```

README.rst

-11
This file was deleted.

docs/Makefile

-225
This file was deleted.

docs/README.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Python bindings for Gluster Commands and Metrics
2+
3+
## CLI bindings
4+
5+
* [Volume Commands](docs/volume.md)
6+
* [Bitrot Commands](docs/bitrot.md)
7+
* [Brick Commands](docs/bricks.md)
8+
* [Geo-replication Commands](docs/georep.md)
9+
* [Peer Commands](docs/peer.md)
10+
* [Quota Commands](docs/quota.md)
11+
* [Snapshot Commands](docs/snapshot.md)
12+
* [Heal Commands](docs/heal.md)
13+
* [NFS Ganesha Commands](docs/nfs_ganesha.md)
14+
* [Rebalance Commands](docs/rebalance.md)
15+
* [Utilities](docs/utils.md)
16+
17+
## Metrics
18+
19+
* [Local Processes](docs/local_processes.md)
20+
* [Local Utilization](docs/local_utilization.md)
21+
* [Local DiskStats](docs/local_diskstats.md)

docs/api-reference.rst

-62
This file was deleted.

0 commit comments

Comments
 (0)