This repository was archived by the owner on Oct 18, 2021. It is now read-only.
generated from beyondstorage/go-service-example
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathservice.toml
81 lines (57 loc) · 2.06 KB
/
service.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name = "azblob"
[namespace.service]
[namespace.service.new]
required = ["credential", "endpoint"]
optional = ["service_features", "default_service_pairs", "http_client_options"]
[namespace.storage]
features = ["virtual_dir"]
implement = ["appender", "direr"]
[namespace.storage.new]
required = ["name"]
optional = ["storage_features", "default_storage_pairs", "work_dir"]
[namespace.storage.op.create]
optional = ["object_mode"]
[namespace.storage.op.delete]
optional = ["object_mode"]
[namespace.storage.op.list]
optional = ["list_mode"]
[namespace.storage.op.read]
optional = ["offset", "io_callback", "size", "encryption_key", "encryption_scope"]
[namespace.storage.op.write]
optional = ["content_md5", "content_type", "io_callback", "access_tier", "encryption_key", "encryption_scope"]
[namespace.storage.op.create_append]
optional = ["content_type", "encryption_key", "encryption_scope"]
[namespace.storage.op.write_append]
optional = ["content_md5", "encryption_key", "encryption_scope"]
[namespace.storage.op.stat]
optional = ["encryption_key", "encryption_scope", "object_mode"]
[namespace.storage.op.create_dir]
optional = ["access_tier"]
[pairs.service_features]
type = "ServiceFeatures"
description = "set service features"
[pairs.storage_features]
type = "StorageFeatures"
description = "set storage features"
[pairs.access_tier]
type = "string"
[pairs.default_service_pairs]
type = "DefaultServicePairs"
description = "set default pairs for service actions"
[pairs.default_storage_pairs]
type = "DefaultStoragePairs"
description = "set default pairs for storager actions"
[pairs.encryption_key]
type = "[]byte"
description = "is the customer's 32-byte AES-256 key"
[pairs.encryption_scope]
type = "string"
description = "Specifies the name of the encryption scope. See https://docs.microsoft.com/en-us/azure/storage/blobs/encryption-scope-overview for details."
[infos.object.meta.access-tier]
type = "string"
[infos.object.meta.encryption-key-sha256]
type = "string"
[infos.object.meta.encryption-scope]
type = "string"
[infos.object.meta.server-encrypted]
type = "bool"