Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand constructs a command sub-command with the specified logger
Types ¶
type Creator ¶
type Creator interface {
CreateLinks() error
}
Creator is an interface for creating symlinks to /dev/nv* devices in /dev/char.
func NewSymlinkCreator ¶
NewSymlinkCreator creates a new linkCreator.
type Option ¶
type Option func(*linkCreator)
Option is a functional option for configuring the linkCreator.
func WithCreateAll ¶
WithCreateAll sets the createAll flag for the linkCreator.
func WithDevCharPath ¶
WithDevCharPath sets the path at which the symlinks will be created.
func WithDriverRoot ¶
WithDriverRoot sets the driver root path.
Click to show internal directories.
Click to hide internal directories.