Documentation
¶
Index ¶
- func ProcessCommonFlags(command *cobra.Command) (bool, error)
- func SetCheckVersionFlags(command *cobra.Command)
- func SetCommonFlags(command *cobra.Command)
- func SetForceFlags(command *cobra.Command, hideForce bool)
- func SetParallelTransferFlags(command *cobra.Command, hideParallelConfig bool, hideSingleThread bool, ...)
- func SetProgressFlags(command *cobra.Command)
- func SetRetryFlags(command *cobra.Command)
- func SetSubmissionFlags(command *cobra.Command)
- func SetSubmissionListFlags(command *cobra.Command)
- func SetTokenFlags(command *cobra.Command)
- func SetTransferReportFlags(command *cobra.Command)
- type CheckVersionFlagValues
- type CommonFlagValues
- type ForceFlagValues
- type ParallelTransferFlagValues
- type ProgressFlagValues
- type RetryFlagValues
- type SubmissionFlagValues
- type SubmissionListFlagValues
- type TokenFlagValues
- type TransferReportFlagValues
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCheckVersionFlags ¶
func SetCommonFlags ¶
func SetForceFlags ¶
func SetProgressFlags ¶
func SetRetryFlags ¶
func SetSubmissionFlags ¶ added in v0.1.4
func SetSubmissionListFlags ¶ added in v0.1.4
func SetTokenFlags ¶ added in v0.1.4
func SetTransferReportFlags ¶ added in v0.2.1
Types ¶
type CheckVersionFlagValues ¶
func GetCheckVersionFlagValues ¶
func GetCheckVersionFlagValues() *CheckVersionFlagValues
type CommonFlagValues ¶
type CommonFlagValues struct {
ShowVersion bool
ShowHelp bool
DebugMode bool
Quiet bool
LogLevel log.Level
LogLevelUpdated bool
LogFile string
LogTerminal 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 {
SingleThread bool
ThreadNumber int
ThreadNumberPerFile int
TCPBufferSize int
RedirectToResource bool
Icat bool
WebDAV bool
// contains filtered or unexported fields
}
func GetParallelTransferFlagValues ¶
func GetParallelTransferFlagValues() *ParallelTransferFlagValues
type ProgressFlagValues ¶
func GetProgressFlagValues ¶
func GetProgressFlagValues() *ProgressFlagValues
type RetryFlagValues ¶
func GetRetryFlagValues ¶
func GetRetryFlagValues() *RetryFlagValues
type SubmissionFlagValues ¶ added in v0.1.4
func GetSubmissionFlagValues ¶ added in v0.1.4
func GetSubmissionFlagValues() *SubmissionFlagValues
type SubmissionListFlagValues ¶ added in v0.1.4
type SubmissionListFlagValues struct {
OrcID string
}
func GetSubmissionListFlagValues ¶ added in v0.1.4
func GetSubmissionListFlagValues() *SubmissionListFlagValues
type TokenFlagValues ¶ added in v0.1.4
func GetTokenFlagValues ¶ added in v0.1.4
func GetTokenFlagValues() *TokenFlagValues
type TransferReportFlagValues ¶ added in v0.2.1
func GetTransferReportFlagValues ¶ added in v0.2.1
func GetTransferReportFlagValues(command *cobra.Command) *TransferReportFlagValues
Click to show internal directories.
Click to hide internal directories.