Documentation
¶
Index ¶
- func ProcessCommonFlags(command *cobra.Command) (bool, error)
- func SetBundleFlags(command *cobra.Command)
- func SetBundleTransferFlags(command *cobra.Command, hideTempPathConfig bool, hideTransferConfig bool)
- func SetCheckVersionFlags(command *cobra.Command)
- func SetChecksumFlags(command *cobra.Command)
- func SetCommonFlags(command *cobra.Command, hideResource bool)
- func SetCommonFlagsWithoutResource(command *cobra.Command)
- func SetDecryptionFlags(command *cobra.Command)
- func SetDifferentialTransferFlags(command *cobra.Command, hideDiff bool)
- func SetDryRunFlags(command *cobra.Command)
- func SetEncryptionFlags(command *cobra.Command)
- func SetForceFlags(command *cobra.Command, hideForce bool)
- func SetHiddenFileFlags(command *cobra.Command)
- func SetInitFlags(command *cobra.Command)
- func SetListFlags(command *cobra.Command, hideHumanReadable bool, hideAccess bool)
- func SetMetadataByIDFlags(command *cobra.Command)
- func SetNoCreateFlags(command *cobra.Command)
- func SetNoRootFlags(command *cobra.Command)
- func SetOutputFormatFlags(command *cobra.Command, hideLegacy bool)
- func SetParallelTransferFlags(command *cobra.Command, hideParallelConfig bool, hideSingleThread bool)
- func SetParentsFlags(command *cobra.Command)
- func SetPostTransferFlagValues(command *cobra.Command)
- func SetProcessFilterFlags(command *cobra.Command)
- func SetProgressFlags(command *cobra.Command)
- func SetRecursiveFlags(command *cobra.Command, hideRecursive bool)
- func SetRetryFlags(command *cobra.Command)
- func SetSFTPIDFlags(command *cobra.Command)
- func SetSyncFlags(command *cobra.Command, hideBulkUpload bool)
- func SetTargetObjectFlags(command *cobra.Command)
- func SetTicketAccessFlags(command *cobra.Command)
- func SetTicketFlags(command *cobra.Command)
- func SetTicketUpdateFlags(command *cobra.Command)
- func SetTransferReportFlags(command *cobra.Command)
- func SetWildcardSearchFlags(command *cobra.Command)
- type BundleFlagValues
- type BundleTransferFlagValues
- type CheckVersionFlagValues
- type ChecksumFlagValues
- type CommonFlagValues
- type DecryptionFlagValues
- type DifferentialTransferFlagValues
- type DryRunFlagValues
- type EncryptionFlagValues
- type ForceFlagValues
- type HiddenFileFlagValues
- type InitFlagValues
- type ListFlagValues
- type MetadataByIDFlagValues
- type NoRootFlagValues
- type OutputFormatFlagValues
- type ParallelTransferFlagValues
- type ParentsFlagValues
- type PostTransferFlagValues
- type ProcessFilterFlagValues
- type ProcessGroupBy
- type ProgressFlagValues
- type RecursiveFlagValues
- type RetryFlagValues
- type SFTPIDFlagValues
- type SyncFlagValues
- type TargetObjectFlagValues
- type TicketAccessFlagValues
- type TicketFlagValues
- type TicketUpdateFlagValues
- type TouchFlagValues
- type TransferReportFlagValues
- type WildcardSearchFlagValues
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetBundleFlags ¶
func SetBundleTransferFlags ¶ added in v0.9.11
func SetCheckVersionFlags ¶
func SetChecksumFlags ¶ added in v0.9.10
func SetCommonFlags ¶
func SetCommonFlagsWithoutResource ¶ added in v0.10.8
func SetDecryptionFlags ¶ added in v0.8.3
func SetDryRunFlags ¶
func SetEncryptionFlags ¶ added in v0.8.2
func SetForceFlags ¶
func SetHiddenFileFlags ¶ added in v0.9.12
func SetInitFlags ¶ added in v0.9.0
func SetListFlags ¶
func SetMetadataByIDFlags ¶ added in v0.10.24
func SetNoCreateFlags ¶ added in v0.9.12
func SetNoRootFlags ¶ added in v0.7.12
func SetOutputFormatFlags ¶ added in v0.11.0
func SetParentsFlags ¶
func SetPostTransferFlagValues ¶ added in v0.8.5
func SetProcessFilterFlags ¶
func SetProgressFlags ¶
func SetRecursiveFlags ¶
func SetRetryFlags ¶
func SetSFTPIDFlags ¶
func SetSyncFlags ¶ added in v0.7.12
func SetTargetObjectFlags ¶ added in v0.9.3
func SetTicketAccessFlags ¶ added in v0.7.12
func SetTicketFlags ¶
func SetTicketUpdateFlags ¶
func SetTransferReportFlags ¶ added in v0.9.11
func SetWildcardSearchFlags ¶ added in v0.10.10
Types ¶
type BundleFlagValues ¶
func GetBundleFlagValues ¶
func GetBundleFlagValues() *BundleFlagValues
type BundleTransferFlagValues ¶ added in v0.9.11
type BundleTransferFlagValues struct {
LocalTempPath string
IRODSTempPath string
ClearOld bool
MinFileNumInBundle int
MaxFileNumInBundle int
MaxBundleFileSize int64
NoBulkRegistration bool
// contains filtered or unexported fields
}
func GetBundleTransferFlagValues ¶ added in v0.9.11
func GetBundleTransferFlagValues() *BundleTransferFlagValues
type CheckVersionFlagValues ¶
type CheckVersionFlagValues struct {
Check bool
}
func GetCheckVersionFlagValues ¶
func GetCheckVersionFlagValues() *CheckVersionFlagValues
type ChecksumFlagValues ¶ added in v0.9.10
type ChecksumFlagValues struct {
VerifyChecksum bool
}
func GetChecksumFlagValues ¶ added in v0.9.10
func GetChecksumFlagValues() *ChecksumFlagValues
type CommonFlagValues ¶
type CommonFlagValues struct {
ConfigFilePath string
ShowVersion bool
ShowHelp bool
DebugMode bool
Quiet bool
LogLevel log.Level
LogLevelUpdated bool
LogFile string
LogTerminal bool
SessionID int
Resource string
ResourceUpdated bool
Timeout int
TimeoutUpdated bool
YesAll bool
NoAll bool
// contains filtered or unexported fields
}
func GetCommonFlagValues ¶
func GetCommonFlagValues(command *cobra.Command) *CommonFlagValues
type DecryptionFlagValues ¶ added in v0.8.3
type DecryptionFlagValues struct {
Decryption bool
NoDecryption bool
Key string
PrivateKeyPath string
TempPath string
}
func GetDecryptionFlagValues ¶ added in v0.8.3
func GetDecryptionFlagValues(command *cobra.Command) *DecryptionFlagValues
type DifferentialTransferFlagValues ¶
func GetDifferentialTransferFlagValues ¶
func GetDifferentialTransferFlagValues() *DifferentialTransferFlagValues
type DryRunFlagValues ¶
type DryRunFlagValues struct {
DryRun bool
}
func GetDryRunFlagValues ¶
func GetDryRunFlagValues() *DryRunFlagValues
type EncryptionFlagValues ¶ added in v0.8.2
type EncryptionFlagValues struct {
Encryption bool
NoEncryption bool
IgnoreMeta bool
Mode encryption.EncryptionMode
Key string
PublicPrivateKeyPath string
TempPath string
// contains filtered or unexported fields
}
func GetEncryptionFlagValues ¶ added in v0.8.3
func GetEncryptionFlagValues(command *cobra.Command) *EncryptionFlagValues
type ForceFlagValues ¶
type ForceFlagValues struct {
Force bool
}
func GetForceFlagValues ¶
func GetForceFlagValues() *ForceFlagValues
type HiddenFileFlagValues ¶ added in v0.9.12
type HiddenFileFlagValues struct {
Exclude bool
}
func GetHiddenFileFlagValues ¶ added in v0.9.12
func GetHiddenFileFlagValues() *HiddenFileFlagValues
type InitFlagValues ¶ added in v0.9.0
type InitFlagValues struct {
PamTTL int
}
func GetInitFlagValues ¶ added in v0.9.0
func GetInitFlagValues() *InitFlagValues
type ListFlagValues ¶
type ListFlagValues struct {
Format format.ListFormat
Access bool
HumanReadableSizes bool
SortOrder format.ListSortOrder
SortReverse bool
// contains filtered or unexported fields
}
func GetListFlagValues ¶
func GetListFlagValues() *ListFlagValues
type MetadataByIDFlagValues ¶ added in v0.10.24
type MetadataByIDFlagValues struct {
ByID bool
}
func GetMetadataByIDFlagValues ¶ added in v0.10.24
func GetMetadataByIDFlagValues(command *cobra.Command) *MetadataByIDFlagValues
type NoRootFlagValues ¶ added in v0.7.12
type NoRootFlagValues struct {
NoRoot bool
}
func GetNoRootFlagValues ¶ added in v0.7.12
func GetNoRootFlagValues() *NoRootFlagValues
type OutputFormatFlagValues ¶ added in v0.11.0
type OutputFormatFlagValues struct {
Format format.OutputFormat
// contains filtered or unexported fields
}
func GetOutputFormatFlagValues ¶ added in v0.11.0
func GetOutputFormatFlagValues() *OutputFormatFlagValues
type ParallelTransferFlagValues ¶
type ParallelTransferFlagValues struct {
SingleThread bool
ThreadNumber int
ThreadNumberPerFile int
TCPBufferSize int
Icat bool
WebDAV bool
// contains filtered or unexported fields
}
func GetParallelTransferFlagValues ¶
func GetParallelTransferFlagValues() *ParallelTransferFlagValues
type ParentsFlagValues ¶
type ParentsFlagValues struct {
MakeParents bool
}
func GetParentsFlagValues ¶
func GetParentsFlagValues() *ParentsFlagValues
type PostTransferFlagValues ¶ added in v0.8.5
type PostTransferFlagValues struct {
DeleteOnSuccess bool
}
func GetPostTransferFlagValues ¶ added in v0.8.5
func GetPostTransferFlagValues() *PostTransferFlagValues
type ProcessFilterFlagValues ¶
type ProcessFilterFlagValues struct {
GroupBy ProcessGroupBy
Zone string
Address string
// contains filtered or unexported fields
}
func GetProcessFilterFlagValues ¶
func GetProcessFilterFlagValues() *ProcessFilterFlagValues
type ProcessGroupBy ¶
type ProcessGroupBy string
const ( ProcessGroupByNone ProcessGroupBy = "" ProcessGroupByUser ProcessGroupBy = "user" ProcessGroupByProgram ProcessGroupBy = "program" )
type ProgressFlagValues ¶
func GetProgressFlagValues ¶
func GetProgressFlagValues() *ProgressFlagValues
type RecursiveFlagValues ¶
type RecursiveFlagValues struct {
Recursive bool
}
func GetRecursiveFlagValues ¶
func GetRecursiveFlagValues() *RecursiveFlagValues
type RetryFlagValues ¶
func GetRetryFlagValues ¶
func GetRetryFlagValues() *RetryFlagValues
type SFTPIDFlagValues ¶
type SFTPIDFlagValues struct {
IdentityFilePath string
}
func GetSFTPIDFlagValues ¶
func GetSFTPIDFlagValues() *SFTPIDFlagValues
type SyncFlagValues ¶ added in v0.7.12
func GetSyncFlagValues ¶ added in v0.7.12
func GetSyncFlagValues() *SyncFlagValues
type TargetObjectFlagValues ¶ added in v0.9.3
func GetTargetObjectFlagValues ¶ added in v0.9.3
func GetTargetObjectFlagValues(command *cobra.Command) *TargetObjectFlagValues
type TicketAccessFlagValues ¶ added in v0.7.12
type TicketAccessFlagValues struct {
Name string
}
func GetTicketAccessFlagValues ¶ added in v0.7.12
func GetTicketAccessFlagValues() *TicketAccessFlagValues
type TicketFlagValues ¶
type TicketFlagValues struct {
Name string
Type irodsclient_types.TicketType
// contains filtered or unexported fields
}
func GetTicketFlagValues ¶
func GetTicketFlagValues() *TicketFlagValues
type TicketUpdateFlagValues ¶
type TicketUpdateFlagValues struct {
UseLimit int64
UseLimitUpdated bool
WriteFileLimit int64
WriteFileLimitUpdated bool
WriteByteLimit int64
WriteByteLimitUpdated bool
ExpirationTime time.Time
ExpirationTimeUpdated bool
AddAllowedUsers []string
RemoveAllwedUsers []string
AddAllowedGroups []string
RemoveAllowedGroups []string
AddAllowedHosts []string
RemoveAllowedHosts []string
// contains filtered or unexported fields
}
func GetTicketUpdateFlagValues ¶
func GetTicketUpdateFlagValues(command *cobra.Command) *TicketUpdateFlagValues
type TouchFlagValues ¶ added in v0.11.0
type TouchFlagValues struct {
NoCreate bool
ReplicaNumber int
ReplicaNumberUpdated bool
ReferencePath string
SecondsSinceEpoch int
SecondsSinceEpochUpdated bool
}
func GetTouchFlagValues ¶ added in v0.11.0
func GetTouchFlagValues(command *cobra.Command) *TouchFlagValues
type TransferReportFlagValues ¶ added in v0.9.11
func GetTransferReportFlagValues ¶ added in v0.9.11
func GetTransferReportFlagValues(command *cobra.Command) *TransferReportFlagValues
type WildcardSearchFlagValues ¶ added in v0.10.10
type WildcardSearchFlagValues struct {
WildcardSearch bool
}
func GetWildcardSearchFlagValues ¶ added in v0.10.10
func GetWildcardSearchFlagValues() *WildcardSearchFlagValues
Source Files
¶
- bundle.go
- bundle_transfer.go
- check_version.go
- checksum.go
- common.go
- diffrential_transfer.go
- dry_run.go
- encryption.go
- force.go
- hidden_file.go
- init.go
- list.go
- metadata_id.go
- no_root.go
- output_format.go
- parallel_transfer.go
- parents.go
- post_transfer.go
- process_filter.go
- progress.go
- recursive.go
- retry.go
- sftp_id.go
- sync.go
- target_object.go
- ticket.go
- touch.go
- transfer_report.go
- wildcard.go
Click to show internal directories.
Click to hide internal directories.