Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add scheme to ObjectStorage message in manager #168

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
336 changes: 174 additions & 162 deletions pkg/apis/manager/v1/manager.pb.go

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions pkg/apis/manager/v1/manager.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/apis/manager/v1/manager.proto
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ message ObjectStorage {
// (`http://BUCKET.s3.amazonaws.com/KEY`).
// Refer to https://github.com/aws/aws-sdk-go/blob/main/aws/config.go#L118.
bool s3_force_path_style = 6;
// Scheme is the scheme of the http client.
string scheme = 7 [(validate.rules).string = {in: ["http", "https"]}];
}

// GetObjectStorageRequest represents request of GetObjectStorage.
Expand Down
364 changes: 188 additions & 176 deletions pkg/apis/manager/v2/manager.pb.go

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions pkg/apis/manager/v2/manager.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pkg/apis/manager/v2/manager.proto
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ message ObjectStorage {
// (`http://BUCKET.s3.amazonaws.com/KEY`).
// Refer to https://github.com/aws/aws-sdk-go/blob/main/aws/config.go#L118.
bool s3_force_path_style = 6;
// Scheme is the scheme of the http client.
string scheme = 7 [(validate.rules).string = {in: ["http", "https"]}];
}

// GetObjectStorageRequest represents request of GetObjectStorage.
Expand Down
2 changes: 2 additions & 0 deletions proto/manager.proto
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ message ObjectStorage {
// (`http://BUCKET.s3.amazonaws.com/KEY`).
// Refer to https://github.com/aws/aws-sdk-go/blob/main/aws/config.go#L118.
bool s3_force_path_style = 6;
// Scheme is the scheme of the http client.
string scheme = 7;
}

// GetObjectStorageRequest represents request of GetObjectStorage.
Expand Down
Binary file modified src/descriptor.bin
Binary file not shown.
3 changes: 3 additions & 0 deletions src/manager.v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,9 @@ pub struct ObjectStorage {
/// Refer to <https://github.com/aws/aws-sdk-go/blob/main/aws/config.go#L118.>
#[prost(bool, tag = "6")]
pub s3_force_path_style: bool,
/// Scheme is the scheme of the http client.
#[prost(string, tag = "7")]
pub scheme: ::prost::alloc::string::String,
}
/// GetObjectStorageRequest represents request of GetObjectStorage.
#[allow(clippy::derive_partial_eq_without_eq)]
Expand Down
Loading