Documentation ¶
Overview ¶
Package server implements a grpc server to receive mount events
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct { UA string RuntimeVersion string KubeClient *kubernetes.Clientset // WriteSecrets controls whether to write the secrets directly (true) or // returns secrets in grpc response (false, requires driver v0.0.21+) WriteSecrets bool }
func (*Server) Mount ¶
func (s *Server) Mount(ctx context.Context, req *v1alpha1.MountRequest) (*v1alpha1.MountResponse, error)
Mount implements provider csi-provider method
func (*Server) Version ¶
func (s *Server) Version(ctx context.Context, req *v1alpha1.VersionRequest) (*v1alpha1.VersionResponse, error)
Version implements provider csi-provider method
Click to show internal directories.
Click to hide internal directories.