Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for Cluster feature #342

Merged
merged 19 commits into from
Dec 13, 2018
Merged

Conversation

felix-engelmann
Copy link
Contributor

As the cluster is now upstream, some documentation on how to use it might be helpful

Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
…eate

Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Adapted it that the class directly exposes .members
@Property of members with getter to _members did not work

missing tests

Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
@codecov-io
Copy link

codecov-io commented Dec 12, 2018

Codecov Report

Merging #342 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master    #342   +/-   ##
======================================
  Coverage    96.8%   96.8%           
======================================
  Files          12      12           
  Lines         970     970           
  Branches      108     108           
======================================
  Hits          939     939           
  Misses         12      12           
  Partials       19      19
Impacted Files Coverage Δ
pylxd/models/cluster.py 94.59% <ø> (ø) ⬆️
pylxd/models/container.py 91.1% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dcff036...4657823. Read the comment docs.

Copy link
Contributor

@ajkavanagh ajkavanagh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few tiny typos and then it's good to go.

doc/source/api.rst Outdated Show resolved Hide resolved
doc/source/clustering.rst Outdated Show resolved Hide resolved
@@ -63,7 +63,7 @@ def get(cls, client, server_name):

@classmethod
def all(cls, client, *args):
"""Get all certificates."""
"""Get all cluster members."""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I missed this in my review on the code; good catch!

Signed-off-by: Felix Engelmann <fe-github@nlogn.org>
@ajkavanagh
Copy link
Contributor

Thanks very much for the PR - good addition to the docs, and thanks for also 'code gardening' and filling out the docstring for the container's method.

@ajkavanagh ajkavanagh merged commit 575c102 into canonical:master Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants