Kui API Documentation - v11.0.0 / @kui-shell/plugin-s3
Ƭ ProviderInitializer: Object
Name | Type |
---|---|
mountName |
string |
init |
(repl : default , reinit? : () => void ) => S3Provider | Promise <S3Provider > | Promise <S3Provider []> |
plugins/plugin-s3/src/providers/model.ts:43
Ƭ S3Provider: ClientOptions
& { bucketFilter?
: BucketFilter
; directEndPoint?
: string
; error?
: Error
; isDefault?
: boolean
; listBuckets?
: ClientOptions
; mountName
: string
; publicOnly?
: boolean
; region?
: string
; subdir?
: string
; understandsFolders?
: boolean
}
plugins/plugin-s3/src/providers/model.ts:23
• eventBus: EventBus
▸ addProviderInitializer(providerInitializers
): void
Name | Type |
---|---|
providerInitializers |
ProviderInitializer [] |
void
plugins/plugin-s3/src/providers/index.ts:35
▸ getCurrentMounts(): Mount
[]
Mount
[]
a list of the providers, with info about mount status for each
plugins/plugin-s3/src/vfs/responders.ts:39
▸ minioConfig(direct?
): Promise
<MinioConfig
>
This takes the S3 providers that we know about, and produces a
model that can be fed into mc alias set
. Special case: if this
user does not have a configured AWS provider (i.e. we have no AWS
S3 credentials for them), we will create an auth-less entry; this
will allow access to public AWS s3 buckets.
Name | Type | Default value |
---|---|---|
direct |
boolean |
false |
Promise
<MinioConfig
>