Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter interface {
PreVolumeCreate(req *csi.CreateVolumeRequest) (*csi.CreateVolumeRequest, error)
}
type FilterInterceptor ¶
type FilterInterceptor struct {
Filter
}
FilterInterceptor is a wrapper for the filter to be used an interceptor
func (*FilterInterceptor) SchedUnaryInterceptor ¶
func (fi *FilterInterceptor) SchedUnaryInterceptor( ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler, ) (interface{}, error)
SchedUnaryInterceptor calls the filter function based on the req
Click to show internal directories.
Click to hide internal directories.