Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultEndpoint = "unix:///var/lib/cosi/cosi.sock"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type COSIGRPCServer ¶
type COSIGRPCServer struct {
// contains filtered or unexported fields
}
func RunNoSignals ¶
func RunNoSignals(endpoint, driverName string, provisionerServer spec.ProvisionerServer) (*COSIGRPCServer, error)
Run a COSI GRPC service, without setting up any signal handlers.
func (*COSIGRPCServer) GracefulStop ¶
func (s *COSIGRPCServer) GracefulStop()
func (*COSIGRPCServer) Stop ¶
func (s *COSIGRPCServer) Stop()
func (*COSIGRPCServer) Wait ¶
func (s *COSIGRPCServer) Wait()
Click to show internal directories.
Click to hide internal directories.