Skip to content

Commit 751c0d8

Browse files
authored
feat: add insecure_skip_verify and plain_http fields (#615)
feat: add insecure_skip_verify and plain_http fileds in object_storage Signed-off-by: EvanCley <[email protected]>
1 parent 3feefef commit 751c0d8

File tree

8 files changed

+129
-81
lines changed

8 files changed

+129
-81
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "dragonfly-api"
3-
version = "2.2.11"
3+
version = "2.2.12"
44
authors = ["Gaius <[email protected]>"]
55
edition = "2021"
66
license = "Apache-2.0"

pkg/apis/common/v2/common.pb.go

Lines changed: 105 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/common/v2/common.pb.validate.go

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/apis/common/v2/common.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,10 @@ message ObjectStorage {
724724
min_len: 1
725725
ignore_empty: true
726726
}];
727+
// Insecure skip verify indicates whether to skip verifying the server's certificate chain.
728+
optional bool insecure_skip_verify = 9;
729+
// Plain http indicates whether to use plain HTTP for downloading.
730+
optional bool plain_http = 10;
727731
}
728732

729733
// HDFS related information.

proto/common.proto

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,10 @@ message ObjectStorage {
648648
optional string predefined_acl = 7;
649649
// Temporary STS security token for accessing OSS.
650650
optional string security_token = 8;
651+
// Insecure skip verify indicates whether to skip verifying the server's certificate chain.
652+
optional bool insecure_skip_verify = 9;
653+
// Plain http indicates whether to use plain HTTP for downloading.
654+
optional bool plain_http = 10;
651655
}
652656

653657
// HDFS related information.

src/common.v2.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,6 +768,12 @@ pub struct ObjectStorage {
768768
/// Temporary STS security token for accessing OSS.
769769
#[prost(string, optional, tag = "8")]
770770
pub security_token: ::core::option::Option<::prost::alloc::string::String>,
771+
/// Insecure skip verify indicates whether to skip verifying the server's certificate chain.
772+
#[prost(bool, optional, tag = "9")]
773+
pub insecure_skip_verify: ::core::option::Option<bool>,
774+
/// Plain http indicates whether to use plain HTTP for downloading.
775+
#[prost(bool, optional, tag = "10")]
776+
pub plain_http: ::core::option::Option<bool>,
771777
}
772778
/// HDFS related information.
773779
#[derive(serde::Serialize, serde::Deserialize)]

src/descriptor.bin

438 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)