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

Add k8s get node by name and list nodes #18

Merged
merged 4 commits into from
Jun 21, 2018
Merged

Conversation

chenyunchen
Copy link
Contributor

No description provided.

@hwchiu
Copy link
Contributor

hwchiu commented Jun 20, 2018

Fix Travis

@hwchiu
Copy link
Contributor

hwchiu commented Jun 20, 2018

src/kubernetes/nodes_test.go:37:2: nodes declared and not used

@codecov-io
Copy link

codecov-io commented Jun 20, 2018

Codecov Report

Merging #18 into develop will increase coverage by 0.72%.
The diff coverage is 80%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop      #18      +/-   ##
===========================================
+ Coverage    57.18%   57.91%   +0.72%     
===========================================
  Files           11       12       +1     
  Lines          306      316      +10     
===========================================
+ Hits           175      183       +8     
- Misses         121      122       +1     
- Partials        10       11       +1
Impacted Files Coverage Δ
src/kubernetes/nodes.go 80% <80%> (ø)

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 6f5c10f...7429dc8. Read the comment docs.

Copy link
Contributor

@hwchiu hwchiu left a comment

Choose a reason for hiding this comment

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

rebase, thanks.

@@ -2,6 +2,24 @@
"comment": "",
"ignore": "test",
"package": [
{
"path": "appengine",
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this

"revision": ""
},
{
"path": "appengine_internal",
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this

"revision": ""
},
{
"path": "appengine_internal/base",
Copy link
Contributor

Choose a reason for hiding this comment

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

remove this

Copy link
Contributor

Choose a reason for hiding this comment

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

我猜都是govendor自己加的

package kubernetes

import (
v1 "k8s.io/api/core/v1"
Copy link
Contributor

Choose a reason for hiding this comment

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

use corev1 to distinguish metav1

@chenyunchen chenyunchen force-pushed the alex/AddK8sGetNode branch 2 times, most recently from 560580c to 7af24e1 Compare June 21, 2018 07:43
@chenyunchen chenyunchen force-pushed the alex/AddK8sGetNode branch 2 times, most recently from 30c92de to e6276eb Compare June 21, 2018 08:39
Copy link
Contributor

@hwchiu hwchiu left a comment

Choose a reason for hiding this comment

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

LGTM

@hwchiu hwchiu merged commit 8e1bb4e into develop Jun 21, 2018
@hwchiu hwchiu deleted the alex/AddK8sGetNode branch June 21, 2018 09:23
John-Lin pushed a commit that referenced this pull request Jul 25, 2018
Add k8s get node by name and list nodes

Former-commit-id: 8d78279f58c0e36f13a6d2786f305ebaa15289fe [formerly 8e1bb4e]
Former-commit-id: 8273163606cb4e2807d6cdf263c6f3dd52fd4d2a
John-Lin pushed a commit that referenced this pull request Jul 25, 2018
Add k8s get node by name and list nodes

Former-commit-id: 8d78279f58c0e36f13a6d2786f305ebaa15289fe [formerly 8d78279f58c0e36f13a6d2786f305ebaa15289fe [formerly 8e1bb4e]]
Former-commit-id: 8273163606cb4e2807d6cdf263c6f3dd52fd4d2a
Former-commit-id: 8d00c78
John-Lin pushed a commit that referenced this pull request Jul 25, 2018
Add k8s get node by name and list nodes
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.

4 participants