Documentation ¶
Index ¶
- func Run(servers ...Server) error
- type HealthServer
- type PluginServer
- func NewControllerPluginServer(addr string, controllerServer csi.ControllerServer, ...) (*PluginServer, error)
- func NewNodePluginServer(addr string, nodeServer csi.NodeServer, identity csi.IdentityServer, ...) (*PluginServer, error)
- func NewPluginServer(addr string, controllerServer csi.ControllerServer, nodeServer csi.NodeServer, ...) (*PluginServer, error)
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HealthServer ¶
type HealthServer struct {
// contains filtered or unexported fields
}
func NewHealthServer ¶
func NewHealthServer(addr string, l *logrus.Entry) (*HealthServer, error)
func (*HealthServer) Run ¶
func (s *HealthServer) Run() error
func (*HealthServer) Stop ¶
func (s *HealthServer) Stop(sig os.Signal)
type PluginServer ¶
type PluginServer struct {
// contains filtered or unexported fields
}
func NewControllerPluginServer ¶
func NewControllerPluginServer(addr string, controllerServer csi.ControllerServer, identity csi.IdentityServer, l *logrus.Entry) (*PluginServer, error)
func NewNodePluginServer ¶
func NewNodePluginServer(addr string, nodeServer csi.NodeServer, identity csi.IdentityServer, l *logrus.Entry) (*PluginServer, error)
func NewPluginServer ¶
func NewPluginServer(addr string, controllerServer csi.ControllerServer, nodeServer csi.NodeServer, identity csi.IdentityServer, l *logrus.Entry) (*PluginServer, error)
func (*PluginServer) GetServiceInfo ¶
func (s *PluginServer) GetServiceInfo() map[string]grpc.ServiceInfo
func (*PluginServer) Run ¶
func (s *PluginServer) Run() error
Click to show internal directories.
Click to hide internal directories.