mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
07b05616a0
Bumps [k8s.io/kubernetes](https://github.com/kubernetes/kubernetes) from 1.26.2 to 1.27.2. - [Release notes](https://github.com/kubernetes/kubernetes/releases) - [Commits](https://github.com/kubernetes/kubernetes/compare/v1.26.2...v1.27.2) --- updated-dependencies: - dependency-name: k8s.io/kubernetes dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
43 lines
1015 B
Protocol Buffer
43 lines
1015 B
Protocol Buffer
syntax = "proto3";
|
|
package membershippb;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
option (gogoproto.marshaler_all) = true;
|
|
option (gogoproto.sizer_all) = true;
|
|
option (gogoproto.unmarshaler_all) = true;
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
|
|
// RaftAttributes represents the raft related attributes of an etcd member.
|
|
message RaftAttributes {
|
|
// peerURLs is the list of peers in the raft cluster.
|
|
repeated string peer_urls = 1;
|
|
// isLearner indicates if the member is raft learner.
|
|
bool is_learner = 2;
|
|
}
|
|
|
|
// Attributes represents all the non-raft related attributes of an etcd member.
|
|
message Attributes {
|
|
string name = 1;
|
|
repeated string client_urls = 2;
|
|
}
|
|
|
|
message Member {
|
|
uint64 ID = 1;
|
|
RaftAttributes raft_attributes = 2;
|
|
Attributes member_attributes = 3;
|
|
}
|
|
|
|
message ClusterVersionSetRequest {
|
|
string ver = 1;
|
|
}
|
|
|
|
message ClusterMemberAttrSetRequest {
|
|
uint64 member_ID = 1;
|
|
Attributes member_attributes = 2;
|
|
}
|
|
|
|
message DowngradeInfoSetRequest {
|
|
bool enabled = 1;
|
|
string ver = 2;
|
|
} |