Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
cbe8cd58
Commit
cbe8cd58
authored
Jul 23, 2016
by
k8s-merge-robot
Committed by
GitHub
Jul 23, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #29490 from justinsb/fix_cloudprovider_contract_comments
Automatic merge from submit-queue Correctly document cloudprovider Instances contract
parents
0ad153c7
29e95431
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
cloud.go
pkg/cloudprovider/cloud.go
+1
-2
No files found.
pkg/cloudprovider/cloud.go
View file @
cbe8cd58
...
...
@@ -106,12 +106,11 @@ type Instances interface {
// make this clearer.
NodeAddresses
(
name
string
)
([]
api
.
NodeAddress
,
error
)
// ExternalID returns the cloud provider ID of the specified instance (deprecated).
// Note that if the instance does not exist or is no longer running, we must return ("", cloudprovider.InstanceNotFound)
ExternalID
(
name
string
)
(
string
,
error
)
// InstanceID returns the cloud provider ID of the specified instance.
// Note that if the instance does not exist or is no longer running, we must return ("", cloudprovider.InstanceNotFound)
InstanceID
(
name
string
)
(
string
,
error
)
// InstanceType returns the type of the specified instance.
// Note that if the instance does not exist or is no longer running, we must return ("", cloudprovider.InstanceNotFound)
InstanceType
(
name
string
)
(
string
,
error
)
// List lists instances that match 'filter' which is a regular expression which must match the entire instance name (fqdn)
List
(
filter
string
)
([]
string
,
error
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment