Skip to content

Commit

Permalink
Add v1alpha1 system API
Browse files Browse the repository at this point in the history
  • Loading branch information
ksubrmnn committed Sep 29, 2020
1 parent 25491d0 commit f93e13f
Show file tree
Hide file tree
Showing 14 changed files with 637 additions and 0 deletions.
303 changes: 303 additions & 0 deletions client/api/system/v1alpha1/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions client/api/system/v1alpha1/api.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
syntax = "proto3";

package v1alpha1;

option go_package = "github.com/kubernetes-csi/csi-proxy/client/api/system/v1alpha1";

service System {
// GetSerialNumber returns the device's serial number
rpc GetSerialNumber(GetSerialNumberRequest) returns (GetSerialNumberResponse) {}
}

message GetSerialNumberRequest {
// Intentionally empty
}

message GetSerialNumberResponse {
// Serial number
string serial_number = 1;
}
56 changes: 56 additions & 0 deletions client/groups/system/v1alpha1/client_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f93e13f

Please sign in to comment.