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
c2570acc
Unverified
Commit
c2570acc
authored
Feb 03, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 03, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #70936 from yanghaichao12/dev1112
correct some spelling wrong in DevicePlugin files
parents
6fb69d39
70c41803
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
api.pb.go
pkg/kubelet/apis/deviceplugin/v1beta1/api.pb.go
+3
-3
api.proto
pkg/kubelet/apis/deviceplugin/v1beta1/api.proto
+2
-2
No files found.
pkg/kubelet/apis/deviceplugin/v1beta1/api.pb.go
View file @
c2570acc
...
@@ -135,7 +135,7 @@ func (*Empty) ProtoMessage() {}
...
@@ -135,7 +135,7 @@ func (*Empty) ProtoMessage() {}
func
(
*
Empty
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptorApi
,
[]
int
{
2
}
}
func
(
*
Empty
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptorApi
,
[]
int
{
2
}
}
// ListAndWatch returns a stream of List of Devices
// ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch
// Whenever a Device state change or a Device disap
p
ears, ListAndWatch
// returns the new list
// returns the new list
type
ListAndWatchResponse
struct
{
type
ListAndWatchResponse
struct
{
Devices
[]
*
Device
`protobuf:"bytes,1,rep,name=devices" json:"devices,omitempty"`
Devices
[]
*
Device
`protobuf:"bytes,1,rep,name=devices" json:"devices,omitempty"`
...
@@ -482,7 +482,7 @@ type DevicePluginClient interface {
...
@@ -482,7 +482,7 @@ type DevicePluginClient interface {
// Manager
// Manager
GetDevicePluginOptions
(
ctx
context
.
Context
,
in
*
Empty
,
opts
...
grpc
.
CallOption
)
(
*
DevicePluginOptions
,
error
)
GetDevicePluginOptions
(
ctx
context
.
Context
,
in
*
Empty
,
opts
...
grpc
.
CallOption
)
(
*
DevicePluginOptions
,
error
)
// ListAndWatch returns a stream of List of Devices
// ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch
// Whenever a Device state change or a Device disap
p
ears, ListAndWatch
// returns the new list
// returns the new list
ListAndWatch
(
ctx
context
.
Context
,
in
*
Empty
,
opts
...
grpc
.
CallOption
)
(
DevicePlugin_ListAndWatchClient
,
error
)
ListAndWatch
(
ctx
context
.
Context
,
in
*
Empty
,
opts
...
grpc
.
CallOption
)
(
DevicePlugin_ListAndWatchClient
,
error
)
// Allocate is called during container creation so that the Device
// Allocate is called during container creation so that the Device
...
@@ -569,7 +569,7 @@ type DevicePluginServer interface {
...
@@ -569,7 +569,7 @@ type DevicePluginServer interface {
// Manager
// Manager
GetDevicePluginOptions
(
context
.
Context
,
*
Empty
)
(
*
DevicePluginOptions
,
error
)
GetDevicePluginOptions
(
context
.
Context
,
*
Empty
)
(
*
DevicePluginOptions
,
error
)
// ListAndWatch returns a stream of List of Devices
// ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch
// Whenever a Device state change or a Device disap
p
ears, ListAndWatch
// returns the new list
// returns the new list
ListAndWatch
(
*
Empty
,
DevicePlugin_ListAndWatchServer
)
error
ListAndWatch
(
*
Empty
,
DevicePlugin_ListAndWatchServer
)
error
// Allocate is called during container creation so that the Device
// Allocate is called during container creation so that the Device
...
...
pkg/kubelet/apis/deviceplugin/v1beta1/api.proto
View file @
c2570acc
...
@@ -51,7 +51,7 @@ service DevicePlugin {
...
@@ -51,7 +51,7 @@ service DevicePlugin {
rpc
GetDevicePluginOptions
(
Empty
)
returns
(
DevicePluginOptions
)
{}
rpc
GetDevicePluginOptions
(
Empty
)
returns
(
DevicePluginOptions
)
{}
// ListAndWatch returns a stream of List of Devices
// ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch
// Whenever a Device state change or a Device disap
p
ears, ListAndWatch
// returns the new list
// returns the new list
rpc
ListAndWatch
(
Empty
)
returns
(
stream
ListAndWatchResponse
)
{}
rpc
ListAndWatch
(
Empty
)
returns
(
stream
ListAndWatchResponse
)
{}
...
@@ -67,7 +67,7 @@ service DevicePlugin {
...
@@ -67,7 +67,7 @@ service DevicePlugin {
}
}
// ListAndWatch returns a stream of List of Devices
// ListAndWatch returns a stream of List of Devices
// Whenever a Device state change or a Device disapears, ListAndWatch
// Whenever a Device state change or a Device disap
p
ears, ListAndWatch
// returns the new list
// returns the new list
message
ListAndWatchResponse
{
message
ListAndWatchResponse
{
repeated
Device
devices
=
1
;
repeated
Device
devices
=
1
;
...
...
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