Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 1.03 KB

File metadata and controls

24 lines (19 loc) · 1.03 KB

Installation

Install csc CLI tool for testing CSI RPCs locally.

Pre-requisite

  • Your application should start a gRPC server on a specific port.
  • Refer CSI spec for getting details on functions to be implemented.

Start running your app

For running your application locally without any setup, you may directly run your binary/code like -

go run cmd/main.go

Note: The port number on which the gRPC server is running is needed while running csc commands.

Testing your driver

Sample for testing GetPluginInfo() identity function -

csc identity plugin-info --endpoint tcp://127.0.0.1:50052

Note: In the above command 50052 is the port where the server is running for this application. You may replace it the port number noted in Start running your app section

Next, test different identity, node and controller RPC methods by updating the above command.