Documentation
¶
Index ¶
- type Server
- func (s *Server) Allocate(ctx context.Context, req *v1beta1.AllocateRequest) (*v1beta1.AllocateResponse, error)
- func (s *Server) GetDevicePluginOptions(ctx context.Context, _ *v1beta1.Empty) (*v1beta1.DevicePluginOptions, error)
- func (s *Server) GetPreferredAllocation(ctx context.Context, req *v1beta1.PreferredAllocationRequest) (*v1beta1.PreferredAllocationResponse, error)
- func (s *Server) ListAndWatch(_ *v1beta1.Empty, lws v1beta1.DevicePlugin_ListAndWatchServer) error
- func (s *Server) Name() string
- func (s *Server) PreStartContainer(ctx context.Context, req *v1beta1.PreStartContainerRequest) (*v1beta1.PreStartContainerResponse, error)
- func (s *Server) Socket() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) Allocate ¶
func (s *Server) Allocate( ctx context.Context, req *v1beta1.AllocateRequest, ) (*v1beta1.AllocateResponse, error)
func (*Server) GetDevicePluginOptions ¶
func (*Server) GetPreferredAllocation ¶
func (s *Server) GetPreferredAllocation( ctx context.Context, req *v1beta1.PreferredAllocationRequest, ) (*v1beta1.PreferredAllocationResponse, error)
func (*Server) ListAndWatch ¶
func (*Server) PreStartContainer ¶
func (s *Server) PreStartContainer( ctx context.Context, req *v1beta1.PreStartContainerRequest, ) (*v1beta1.PreStartContainerResponse, error)
Click to show internal directories.
Click to hide internal directories.