Added docs Signed-off-by: Anthony Shaw <anthony.p.s...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/2108caf6 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/2108caf6 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/2108caf6 Branch: refs/heads/trunk Commit: 2108caf6a2cd7354403153861dd92a4155e2d449 Parents: 0af6df0 Author: Anthony Shaw <anthony.p.s...@gmail.com> Authored: Fri Nov 27 14:51:45 2015 +1100 Committer: Anthony Shaw <anthony.p.s...@gmail.com> Committed: Fri Nov 27 17:30:12 2015 +1100 ---------------------------------------------------------------------- docs/dns/drivers/godaddy.rst | 22 ++++++++++++++++++++ docs/examples/dns/godaddy/instantiate_driver.py | 5 +++++ 2 files changed, 27 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/2108caf6/docs/dns/drivers/godaddy.rst ---------------------------------------------------------------------- diff --git a/docs/dns/drivers/godaddy.rst b/docs/dns/drivers/godaddy.rst new file mode 100644 index 0000000..fc3d2c4 --- /dev/null +++ b/docs/dns/drivers/godaddy.rst @@ -0,0 +1,22 @@ +GoDaddy DNS Driver Documentation +===================================== + +`GoDaddy`_ provide domain name registration and are the worlds largest with over 13 million customers. They also provide nameservers and DNS hosting as +well as cloud and website hosting. + +See more at https://www.godaddy.com/ + +Instantiating the driver +------------------------------------- + +.. literalinclude:: /examples/dns/godaddy/instantiate_driver.py + :language: python + +API Docs +-------- + +.. autoclass:: libcloud.dns.drivers.godaddy.GoDaddyDNSDriver + :members: + :inherited-members: + +.. _`GoDaddy`: https://godaddy.com/ http://git-wip-us.apache.org/repos/asf/libcloud/blob/2108caf6/docs/examples/dns/godaddy/instantiate_driver.py ---------------------------------------------------------------------- diff --git a/docs/examples/dns/godaddy/instantiate_driver.py b/docs/examples/dns/godaddy/instantiate_driver.py new file mode 100644 index 0000000..2b43f7a --- /dev/null +++ b/docs/examples/dns/godaddy/instantiate_driver.py @@ -0,0 +1,5 @@ +from libcloud.dns.types import Provider +from libcloud.dns.providers import get_driver + +cls = get_driver(Provider.GODADDY) +driver = cls('customer_id', 'api_key', 'api_secret')