Documentation ¶
Index ¶
- type FileCreationSubCommandWrapper
- func NewCloneCommandWrapper() *FileCreationSubCommandWrapper
- func NewFileCreationSubCommand(commandName string, strategy proxyfile.FileCreationStrategy) *FileCreationSubCommandWrapper
- func NewHardlinkCommandWrapper() *FileCreationSubCommandWrapper
- func NewSymlinkCommandWrapper() *FileCreationSubCommandWrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileCreationSubCommandWrapper ¶
type FileCreationSubCommandWrapper struct {
// contains filtered or unexported fields
}
FileCreationSubCommandWrapper wraps a cobra command fields to hold parse flag options
func NewCloneCommandWrapper ¶
func NewCloneCommandWrapper() *FileCreationSubCommandWrapper
NewCloneCommandWrapper creates and returns clones sub-command
func NewFileCreationSubCommand ¶
func NewFileCreationSubCommand(commandName string, strategy proxyfile.FileCreationStrategy) *FileCreationSubCommandWrapper
NewFileCreationSubCommand creates a subcommand which will execute proxy file creation
func NewHardlinkCommandWrapper ¶
func NewHardlinkCommandWrapper() *FileCreationSubCommandWrapper
NewHardlinkCommandWrapper creates and returns hardlinks sub-command
func NewSymlinkCommandWrapper ¶
func NewSymlinkCommandWrapper() *FileCreationSubCommandWrapper
NewSymlinkCommandWrapper creates and returns symlinks sub-command
func (*FileCreationSubCommandWrapper) GetCommand ¶
func (w *FileCreationSubCommandWrapper) GetCommand() *cobra.Command
GetCommand returns the wrapped cobra command
Click to show internal directories.
Click to hide internal directories.