-
Notifications
You must be signed in to change notification settings - Fork 38
/
s3_blob_store_api_advanced_bucket_connection.go
59 lines (46 loc) · 1.91 KB
/
s3_blob_store_api_advanced_bucket_connection.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
// Code generated by go-swagger; DO NOT EDIT.
package models
// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command
import (
"context"
"github.com/go-openapi/strfmt"
"github.com/go-openapi/swag"
)
// S3BlobStoreAPIAdvancedBucketConnection s3 blob store Api advanced bucket connection
//
// swagger:model S3BlobStoreApiAdvancedBucketConnection
type S3BlobStoreAPIAdvancedBucketConnection struct {
// A custom endpoint URL for third party object stores using the S3 API.
Endpoint string `json:"endpoint,omitempty"`
// Setting this flag will result in path-style access being used for all requests.
ForcePathStyle bool `json:"forcePathStyle,omitempty"`
// Setting this value will override the default connection pool size of Nexus of the s3 client for this blobstore.
MaxConnectionPoolSize int32 `json:"maxConnectionPoolSize,omitempty"`
// An API signature version which may be required for third party object stores using the S3 API.
SignerType string `json:"signerType,omitempty"`
}
// Validate validates this s3 blob store Api advanced bucket connection
func (m *S3BlobStoreAPIAdvancedBucketConnection) Validate(formats strfmt.Registry) error {
return nil
}
// ContextValidate validates this s3 blob store Api advanced bucket connection based on context it is used
func (m *S3BlobStoreAPIAdvancedBucketConnection) ContextValidate(ctx context.Context, formats strfmt.Registry) error {
return nil
}
// MarshalBinary interface implementation
func (m *S3BlobStoreAPIAdvancedBucketConnection) MarshalBinary() ([]byte, error) {
if m == nil {
return nil, nil
}
return swag.WriteJSON(m)
}
// UnmarshalBinary interface implementation
func (m *S3BlobStoreAPIAdvancedBucketConnection) UnmarshalBinary(b []byte) error {
var res S3BlobStoreAPIAdvancedBucketConnection
if err := swag.ReadJSON(b, &res); err != nil {
return err
}
*m = res
return nil
}