This repository has been archived by the owner on Jul 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
blobstore.go
76 lines (58 loc) · 3.09 KB
/
blobstore.go
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
package aws_cpi
/*
* File Generated by enaml generator
* !!! Please do not edit this file !!!
*/
type Blobstore struct {
/*Port - Descr: Port of blobstore server used by simple blobstore plugin Default: 25250
*/
Port interface{} `yaml:"port,omitempty"`
/*Host - Descr: Host of agent blobstore server used by simple blobstore plugin Default: <nil>
*/
Host interface{} `yaml:"host,omitempty"`
/*S3ForcePathStyle - Descr: Whether the agent blobstore plugin will always use path style for bucket access Default: <nil>
*/
S3ForcePathStyle interface{} `yaml:"s3_force_path_style,omitempty"`
/*Address - Descr: Address for agent to connect to blobstore server used by simple blobstore plugin Default: <nil>
*/
Address interface{} `yaml:"address,omitempty"`
/*S3Port - Descr: Port of agent blobstore server used by s3 blobstore plugin Default: <nil>
*/
S3Port interface{} `yaml:"s3_port,omitempty"`
/*BucketName - Descr: AWS S3 Bucket used by s3 blobstore plugin Default: <nil>
*/
BucketName interface{} `yaml:"bucket_name,omitempty"`
/*S3MultipartThreshold - Descr: Agent blobstore threshold for multipart uploads Default: <nil>
*/
S3MultipartThreshold interface{} `yaml:"s3_multipart_threshold,omitempty"`
/*S3SignatureVersion - Descr: Signature version used to connect to an s3 blobstore Default: <nil>
*/
S3SignatureVersion interface{} `yaml:"s3_signature_version,omitempty"`
/*S3Region - Descr: AWS region for agent used by s3 blobstore plugin (Required when blobstore.credentials_source is set to `static`) Default: <nil>
*/
S3Region interface{} `yaml:"s3_region,omitempty"`
/*Path - Descr: local blobstore path Default: <nil>
*/
Path interface{} `yaml:"path,omitempty"`
/*AccessKeyId - Descr: AWS access_key_id for agent used by s3 blobstore plugin (Required when blobstore.credentials_source is set to `static`) Default: <nil>
*/
AccessKeyId interface{} `yaml:"access_key_id,omitempty"`
/*SslVerifyPeer - Descr: Whether the agent blobstore plugin should verify its peer when using SSL Default: <nil>
*/
SslVerifyPeer interface{} `yaml:"ssl_verify_peer,omitempty"`
/*Agent - Descr: Password agent uses to connect to blobstore used by simple blobstore plugin Default: <nil>
*/
Agent *Agent `yaml:"agent,omitempty"`
/*UseSsl - Descr: Whether the agent blobstore plugin should use SSL to connect to the blobstore server Default: <nil>
*/
UseSsl interface{} `yaml:"use_ssl,omitempty"`
/*Provider - Descr: Provider of the blobstore used by director and agent (dav|simple|s3) Default: dav
*/
Provider interface{} `yaml:"provider,omitempty"`
/*CredentialsSource - Descr: Where to get AWS credentials for the aws cpi. This can be set to `static` for to use an `access_key_id` and `secret_access_key` or `env_or_profile` to get the credentials from environment variables or an EC2 instance profile. Default: <nil>
*/
CredentialsSource interface{} `yaml:"credentials_source,omitempty"`
/*SecretAccessKey - Descr: AWS secret_access_key for agent used by s3 blobstore plugin (Required when blobstore.credentials_source is set to `static`) Default: <nil>
*/
SecretAccessKey interface{} `yaml:"secret_access_key,omitempty"`
}