# Functions
No description provided by the author
No description provided by the author
BuildTagResourceName builds the Tencent Cloud specific name of a resource description.
No description provided by the author
CheckResourceNameKeep check whether to keep resource name.
CheckResourcePersist check whether to persist resource.
CurrentTimeMillisecond get the current millisecond timestamp.
DataFromContext 从上下文获取 data.
DaysSinceCreation compute resource creation duration.
No description provided by the author
No description provided by the author
GenerateCsvFile generate when csv file does not exist.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetLogId get logId for trace, return a new logId if ctx is nil.
GetResourceCreatorAccountInfo get resource creator user info.
GetSubAccountUserName get sub account user name.
InconsistentCheck for Provider produced inconsistent result after apply.
IsContains returns whether value is within array.
IsDefaultSearchLogStartTimestampAfter check whether the resource creation time is after the default search log start time.
IsExpectError returns whether error is expected error.
IsNil Determine whether i is empty.
IsString Determine whether data is a string.
LogElapsed log func elapsed time, using in defer.
No description provided by the author
No description provided by the author
No description provided by the author
NewResourceLifeCycleHandleFuncContext 创建一个资源生命周期处理方法上下文.
ParsedTime parse time.
No description provided by the author
No description provided by the author
ProcessNonKeepResources Processing scanned non-keep cloud resources.
ProcessResources Process all scanned cloud resources.
No description provided by the author
ProviderMetaFromContext 从上下文获取 provider meta.
ReadFromFile return file content.
No description provided by the author
ResourceDataFromContext 从上下文获取资源数据.
RetryError returns retry error.
RetryWithContext retries the function `f` when the error it returns satisfies `predicate`.
No description provided by the author
No description provided by the author
StringToTime string to time.Time.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
validateCIDRNetworkAddress ensures that the string value is a valid CIDR that represents a network address - it adds an error otherwise.
No description provided by the author
Only support lowercase letters, numbers and "-".
No description provided by the author
No description provided by the author
NOTE not exactly strict, but ok for now.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
check if string has given prefix, if no one prefix matches, errors will have error.
check if string has given suffix, if no one suffix matches, errors will have error.
No description provided by the author
No description provided by the author
No description provided by the author
WriteCsvFileData write data to csv file.
WriteToFile write data to file.
YamlParser yaml syntax Parser.
# Constants
No description provided by the author
DefaultSearchLogStartTimestamp sync logs start time 2023-11-07 16:41:00.
No description provided by the author
No description provided by the author
InternalError common internalError, do not add in retryableErrorCode, because when some product return this error, retry won't fix anything.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
NeedProtect ..
No description provided by the author
No description provided by the author
No description provided by the author
TimeFormats add all possible time formats.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
ContextData 上下文临时数据.
GoRoutineLimit ...
ResourceAccountInfo 资源账户信息.
No description provided by the author
# Interfaces
ProviderMeta Provider 元信息.