Documentation
¶
Index ¶
- Constants
- func ProcessCommonFlags(command *cobra.Command) (bool, error)
- func SetCheckVersionFlags(command *cobra.Command)
- func SetCommonFlags(command *cobra.Command)
- func SetForceFlags(command *cobra.Command, hiddenForce bool)
- func SetParallelTransferFlags(command *cobra.Command, showSingleThread bool)
- func SetProgressFlags(command *cobra.Command)
- func SetRetryFlags(command *cobra.Command)
- type CheckVersionFlagValues
- type CommonFlagValues
- type ForceFlagValues
- type ParallelTransferFlagValues
- type ProgressFlagValues
- type RetryFlagValues
Constants ¶
View Source
const (
IRODSEnvironmentFileEnvKey string = "IRODS_ENVIRONMENT_FILE"
)
Variables ¶
This section is empty.
Functions ¶
func SetCheckVersionFlags ¶
func SetCommonFlags ¶
func SetForceFlags ¶
func SetProgressFlags ¶
func SetRetryFlags ¶
Types ¶
type CheckVersionFlagValues ¶
type CheckVersionFlagValues struct {
Check bool
}
func GetCheckVersionFlagValues ¶
func GetCheckVersionFlagValues() *CheckVersionFlagValues
type CommonFlagValues ¶
type CommonFlagValues struct {
ShowVersion bool
ShowHelp bool
DebugMode bool
LogLevel log.Level
LogLevelUpdated bool
Password string
PlainTextTicket bool
// contains filtered or unexported fields
}
func GetCommonFlagValues ¶
func GetCommonFlagValues(command *cobra.Command) *CommonFlagValues
type ForceFlagValues ¶
type ForceFlagValues struct {
Force bool
}
func GetForceFlagValues ¶
func GetForceFlagValues() *ForceFlagValues
type ParallelTransferFlagValues ¶
type ParallelTransferFlagValues struct {
SingleTread bool
ThreadNumber int
TCPBufferSize int
// contains filtered or unexported fields
}
func GetParallelTransferFlagValues ¶
func GetParallelTransferFlagValues() *ParallelTransferFlagValues
type ProgressFlagValues ¶
type ProgressFlagValues struct {
NoProgress bool
}
func GetProgressFlagValues ¶
func GetProgressFlagValues() *ProgressFlagValues
type RetryFlagValues ¶
func GetRetryFlagValues ¶
func GetRetryFlagValues() *RetryFlagValues
Click to show internal directories.
Click to hide internal directories.