Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { // Endpoint is the server endpoint. Endpoint string // IDS is the IdentityServer. IDS csi.IdentityServer // CS is the ControllerServer. CS csi.ControllerServer // NS is the NodeServer. NS csi.NodeServer // RequireLeaderElection can be set to start the server after a leader // election. RequireLeaderElection bool // UnaryInterceptors are the interceptors to be added in the grpc server. // The order of the interceptors form a chain of unary interceptors. // By default a LogGRPC interceptor is used if no interceptor is provided. // To use LogGRPC interceptor with other interceptors, it should be // explicitly included when setting the value. UnaryInterceptors []grpc.UnaryServerInterceptor }
Options for the server.
type Server ¶
type Server struct { Options // Graceful runnable helps implement Runnable interface for starting the // server with graceful shutdown. // NOTE: Runnables are components that controller manager can manage. *runnable.Graceful // contains filtered or unexported fields }
Server is a CSI server.
Click to show internal directories.
Click to hide internal directories.