mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: replace /v3alpha with /v3beta in proto definitions
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
d01f3daf95
commit
ce6bb4f1c9
@ -19,21 +19,21 @@ service Election {
|
|||||||
// leadership still being held, and resign from the election.
|
// leadership still being held, and resign from the election.
|
||||||
rpc Campaign(CampaignRequest) returns (CampaignResponse) {
|
rpc Campaign(CampaignRequest) returns (CampaignResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/election/campaign"
|
post: "/v3beta/election/campaign"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// Proclaim updates the leader's posted value with a new value.
|
// Proclaim updates the leader's posted value with a new value.
|
||||||
rpc Proclaim(ProclaimRequest) returns (ProclaimResponse) {
|
rpc Proclaim(ProclaimRequest) returns (ProclaimResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/election/proclaim"
|
post: "/v3beta/election/proclaim"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// Leader returns the current election proclamation, if any.
|
// Leader returns the current election proclamation, if any.
|
||||||
rpc Leader(LeaderRequest) returns (LeaderResponse) {
|
rpc Leader(LeaderRequest) returns (LeaderResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/election/leader"
|
post: "/v3beta/election/leader"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -41,7 +41,7 @@ service Election {
|
|||||||
// elected leaders.
|
// elected leaders.
|
||||||
rpc Observe(LeaderRequest) returns (stream LeaderResponse) {
|
rpc Observe(LeaderRequest) returns (stream LeaderResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/election/observe"
|
post: "/v3beta/election/observe"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -49,7 +49,7 @@ service Election {
|
|||||||
// leadership on the election.
|
// leadership on the election.
|
||||||
rpc Resign(ResignRequest) returns (ResignResponse) {
|
rpc Resign(ResignRequest) returns (ResignResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/election/resign"
|
post: "/v3beta/election/resign"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ service Lock {
|
|||||||
// lease associate with the owner expires.
|
// lease associate with the owner expires.
|
||||||
rpc Lock(LockRequest) returns (LockResponse) {
|
rpc Lock(LockRequest) returns (LockResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/lock/lock"
|
post: "/v3beta/lock/lock"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -30,7 +30,7 @@ service Lock {
|
|||||||
// ownership of the lock.
|
// ownership of the lock.
|
||||||
rpc Unlock(UnlockRequest) returns (UnlockResponse) {
|
rpc Unlock(UnlockRequest) returns (UnlockResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/lock/unlock"
|
post: "/v3beta/lock/unlock"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ service KV {
|
|||||||
// Range gets the keys in the range from the key-value store.
|
// Range gets the keys in the range from the key-value store.
|
||||||
rpc Range(RangeRequest) returns (RangeResponse) {
|
rpc Range(RangeRequest) returns (RangeResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/kv/range"
|
post: "/v3beta/kv/range"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -25,7 +25,7 @@ service KV {
|
|||||||
// and generates one event in the event history.
|
// and generates one event in the event history.
|
||||||
rpc Put(PutRequest) returns (PutResponse) {
|
rpc Put(PutRequest) returns (PutResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/kv/put"
|
post: "/v3beta/kv/put"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -35,7 +35,7 @@ service KV {
|
|||||||
// and generates a delete event in the event history for every deleted key.
|
// and generates a delete event in the event history for every deleted key.
|
||||||
rpc DeleteRange(DeleteRangeRequest) returns (DeleteRangeResponse) {
|
rpc DeleteRange(DeleteRangeRequest) returns (DeleteRangeResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/kv/deleterange"
|
post: "/v3beta/kv/deleterange"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -46,7 +46,7 @@ service KV {
|
|||||||
// It is not allowed to modify the same key several times within one txn.
|
// It is not allowed to modify the same key several times within one txn.
|
||||||
rpc Txn(TxnRequest) returns (TxnResponse) {
|
rpc Txn(TxnRequest) returns (TxnResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/kv/txn"
|
post: "/v3beta/kv/txn"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -56,7 +56,7 @@ service KV {
|
|||||||
// indefinitely.
|
// indefinitely.
|
||||||
rpc Compact(CompactionRequest) returns (CompactionResponse) {
|
rpc Compact(CompactionRequest) returns (CompactionResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/kv/compaction"
|
post: "/v3beta/kv/compaction"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -70,7 +70,7 @@ service Watch {
|
|||||||
// last compaction revision.
|
// last compaction revision.
|
||||||
rpc Watch(stream WatchRequest) returns (stream WatchResponse) {
|
rpc Watch(stream WatchRequest) returns (stream WatchResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/watch"
|
post: "/v3beta/watch"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -82,7 +82,7 @@ service Lease {
|
|||||||
// deleted if the lease expires. Each expired key generates a delete event in the event history.
|
// deleted if the lease expires. Each expired key generates a delete event in the event history.
|
||||||
rpc LeaseGrant(LeaseGrantRequest) returns (LeaseGrantResponse) {
|
rpc LeaseGrant(LeaseGrantRequest) returns (LeaseGrantResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/lease/grant"
|
post: "/v3beta/lease/grant"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -90,7 +90,7 @@ service Lease {
|
|||||||
// LeaseRevoke revokes a lease. All keys attached to the lease will expire and be deleted.
|
// LeaseRevoke revokes a lease. All keys attached to the lease will expire and be deleted.
|
||||||
rpc LeaseRevoke(LeaseRevokeRequest) returns (LeaseRevokeResponse) {
|
rpc LeaseRevoke(LeaseRevokeRequest) returns (LeaseRevokeResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/kv/lease/revoke"
|
post: "/v3beta/kv/lease/revoke"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -99,7 +99,7 @@ service Lease {
|
|||||||
// to the server and streaming keep alive responses from the server to the client.
|
// to the server and streaming keep alive responses from the server to the client.
|
||||||
rpc LeaseKeepAlive(stream LeaseKeepAliveRequest) returns (stream LeaseKeepAliveResponse) {
|
rpc LeaseKeepAlive(stream LeaseKeepAliveRequest) returns (stream LeaseKeepAliveResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/lease/keepalive"
|
post: "/v3beta/lease/keepalive"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -107,7 +107,7 @@ service Lease {
|
|||||||
// LeaseTimeToLive retrieves lease information.
|
// LeaseTimeToLive retrieves lease information.
|
||||||
rpc LeaseTimeToLive(LeaseTimeToLiveRequest) returns (LeaseTimeToLiveResponse) {
|
rpc LeaseTimeToLive(LeaseTimeToLiveRequest) returns (LeaseTimeToLiveResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/kv/lease/timetolive"
|
post: "/v3beta/kv/lease/timetolive"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -115,7 +115,7 @@ service Lease {
|
|||||||
// LeaseLeases lists all existing leases.
|
// LeaseLeases lists all existing leases.
|
||||||
rpc LeaseLeases(LeaseLeasesRequest) returns (LeaseLeasesResponse) {
|
rpc LeaseLeases(LeaseLeasesRequest) returns (LeaseLeasesResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/kv/lease/leases"
|
post: "/v3beta/kv/lease/leases"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -125,7 +125,7 @@ service Cluster {
|
|||||||
// MemberAdd adds a member into the cluster.
|
// MemberAdd adds a member into the cluster.
|
||||||
rpc MemberAdd(MemberAddRequest) returns (MemberAddResponse) {
|
rpc MemberAdd(MemberAddRequest) returns (MemberAddResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/cluster/member/add"
|
post: "/v3beta/cluster/member/add"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -133,7 +133,7 @@ service Cluster {
|
|||||||
// MemberRemove removes an existing member from the cluster.
|
// MemberRemove removes an existing member from the cluster.
|
||||||
rpc MemberRemove(MemberRemoveRequest) returns (MemberRemoveResponse) {
|
rpc MemberRemove(MemberRemoveRequest) returns (MemberRemoveResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/cluster/member/remove"
|
post: "/v3beta/cluster/member/remove"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -141,7 +141,7 @@ service Cluster {
|
|||||||
// MemberUpdate updates the member configuration.
|
// MemberUpdate updates the member configuration.
|
||||||
rpc MemberUpdate(MemberUpdateRequest) returns (MemberUpdateResponse) {
|
rpc MemberUpdate(MemberUpdateRequest) returns (MemberUpdateResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/cluster/member/update"
|
post: "/v3beta/cluster/member/update"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -149,7 +149,7 @@ service Cluster {
|
|||||||
// MemberList lists all the members in the cluster.
|
// MemberList lists all the members in the cluster.
|
||||||
rpc MemberList(MemberListRequest) returns (MemberListResponse) {
|
rpc MemberList(MemberListRequest) returns (MemberListResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/cluster/member/list"
|
post: "/v3beta/cluster/member/list"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -159,7 +159,7 @@ service Maintenance {
|
|||||||
// Alarm activates, deactivates, and queries alarms regarding cluster health.
|
// Alarm activates, deactivates, and queries alarms regarding cluster health.
|
||||||
rpc Alarm(AlarmRequest) returns (AlarmResponse) {
|
rpc Alarm(AlarmRequest) returns (AlarmResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/maintenance/alarm"
|
post: "/v3beta/maintenance/alarm"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -167,7 +167,7 @@ service Maintenance {
|
|||||||
// Status gets the status of the member.
|
// Status gets the status of the member.
|
||||||
rpc Status(StatusRequest) returns (StatusResponse) {
|
rpc Status(StatusRequest) returns (StatusResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/maintenance/status"
|
post: "/v3beta/maintenance/status"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -175,7 +175,7 @@ service Maintenance {
|
|||||||
// Defragment defragments a member's backend database to recover storage space.
|
// Defragment defragments a member's backend database to recover storage space.
|
||||||
rpc Defragment(DefragmentRequest) returns (DefragmentResponse) {
|
rpc Defragment(DefragmentRequest) returns (DefragmentResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/maintenance/defragment"
|
post: "/v3beta/maintenance/defragment"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -185,7 +185,7 @@ service Maintenance {
|
|||||||
// are ongoing transactions.
|
// are ongoing transactions.
|
||||||
rpc Hash(HashRequest) returns (HashResponse) {
|
rpc Hash(HashRequest) returns (HashResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/maintenance/hash"
|
post: "/v3beta/maintenance/hash"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -193,7 +193,7 @@ service Maintenance {
|
|||||||
// HashKV computes the hash of all MVCC keys up to a given revision.
|
// HashKV computes the hash of all MVCC keys up to a given revision.
|
||||||
rpc HashKV(HashKVRequest) returns (HashKVResponse) {
|
rpc HashKV(HashKVRequest) returns (HashKVResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/maintenance/hash"
|
post: "/v3beta/maintenance/hash"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -201,7 +201,7 @@ service Maintenance {
|
|||||||
// Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
|
// Snapshot sends a snapshot of the entire backend from a member over a stream to a client.
|
||||||
rpc Snapshot(SnapshotRequest) returns (stream SnapshotResponse) {
|
rpc Snapshot(SnapshotRequest) returns (stream SnapshotResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/maintenance/snapshot"
|
post: "/v3beta/maintenance/snapshot"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -209,7 +209,7 @@ service Maintenance {
|
|||||||
// MoveLeader requests current leader node to transfer its leadership to transferee.
|
// MoveLeader requests current leader node to transfer its leadership to transferee.
|
||||||
rpc MoveLeader(MoveLeaderRequest) returns (MoveLeaderResponse) {
|
rpc MoveLeader(MoveLeaderRequest) returns (MoveLeaderResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/maintenance/transfer-leadership"
|
post: "/v3beta/maintenance/transfer-leadership"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -219,7 +219,7 @@ service Auth {
|
|||||||
// AuthEnable enables authentication.
|
// AuthEnable enables authentication.
|
||||||
rpc AuthEnable(AuthEnableRequest) returns (AuthEnableResponse) {
|
rpc AuthEnable(AuthEnableRequest) returns (AuthEnableResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/enable"
|
post: "/v3beta/auth/enable"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -227,7 +227,7 @@ service Auth {
|
|||||||
// AuthDisable disables authentication.
|
// AuthDisable disables authentication.
|
||||||
rpc AuthDisable(AuthDisableRequest) returns (AuthDisableResponse) {
|
rpc AuthDisable(AuthDisableRequest) returns (AuthDisableResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/disable"
|
post: "/v3beta/auth/disable"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -235,7 +235,7 @@ service Auth {
|
|||||||
// Authenticate processes an authenticate request.
|
// Authenticate processes an authenticate request.
|
||||||
rpc Authenticate(AuthenticateRequest) returns (AuthenticateResponse) {
|
rpc Authenticate(AuthenticateRequest) returns (AuthenticateResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/authenticate"
|
post: "/v3beta/auth/authenticate"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -243,7 +243,7 @@ service Auth {
|
|||||||
// UserAdd adds a new user.
|
// UserAdd adds a new user.
|
||||||
rpc UserAdd(AuthUserAddRequest) returns (AuthUserAddResponse) {
|
rpc UserAdd(AuthUserAddRequest) returns (AuthUserAddResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/user/add"
|
post: "/v3beta/auth/user/add"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -251,7 +251,7 @@ service Auth {
|
|||||||
// UserGet gets detailed user information.
|
// UserGet gets detailed user information.
|
||||||
rpc UserGet(AuthUserGetRequest) returns (AuthUserGetResponse) {
|
rpc UserGet(AuthUserGetRequest) returns (AuthUserGetResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/user/get"
|
post: "/v3beta/auth/user/get"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -259,7 +259,7 @@ service Auth {
|
|||||||
// UserList gets a list of all users.
|
// UserList gets a list of all users.
|
||||||
rpc UserList(AuthUserListRequest) returns (AuthUserListResponse) {
|
rpc UserList(AuthUserListRequest) returns (AuthUserListResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/user/list"
|
post: "/v3beta/auth/user/list"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -267,7 +267,7 @@ service Auth {
|
|||||||
// UserDelete deletes a specified user.
|
// UserDelete deletes a specified user.
|
||||||
rpc UserDelete(AuthUserDeleteRequest) returns (AuthUserDeleteResponse) {
|
rpc UserDelete(AuthUserDeleteRequest) returns (AuthUserDeleteResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/user/delete"
|
post: "/v3beta/auth/user/delete"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -275,7 +275,7 @@ service Auth {
|
|||||||
// UserChangePassword changes the password of a specified user.
|
// UserChangePassword changes the password of a specified user.
|
||||||
rpc UserChangePassword(AuthUserChangePasswordRequest) returns (AuthUserChangePasswordResponse) {
|
rpc UserChangePassword(AuthUserChangePasswordRequest) returns (AuthUserChangePasswordResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/user/changepw"
|
post: "/v3beta/auth/user/changepw"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -283,7 +283,7 @@ service Auth {
|
|||||||
// UserGrant grants a role to a specified user.
|
// UserGrant grants a role to a specified user.
|
||||||
rpc UserGrantRole(AuthUserGrantRoleRequest) returns (AuthUserGrantRoleResponse) {
|
rpc UserGrantRole(AuthUserGrantRoleRequest) returns (AuthUserGrantRoleResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/user/grant"
|
post: "/v3beta/auth/user/grant"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -291,7 +291,7 @@ service Auth {
|
|||||||
// UserRevokeRole revokes a role of specified user.
|
// UserRevokeRole revokes a role of specified user.
|
||||||
rpc UserRevokeRole(AuthUserRevokeRoleRequest) returns (AuthUserRevokeRoleResponse) {
|
rpc UserRevokeRole(AuthUserRevokeRoleRequest) returns (AuthUserRevokeRoleResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/user/revoke"
|
post: "/v3beta/auth/user/revoke"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -299,7 +299,7 @@ service Auth {
|
|||||||
// RoleAdd adds a new role.
|
// RoleAdd adds a new role.
|
||||||
rpc RoleAdd(AuthRoleAddRequest) returns (AuthRoleAddResponse) {
|
rpc RoleAdd(AuthRoleAddRequest) returns (AuthRoleAddResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/role/add"
|
post: "/v3beta/auth/role/add"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -307,7 +307,7 @@ service Auth {
|
|||||||
// RoleGet gets detailed role information.
|
// RoleGet gets detailed role information.
|
||||||
rpc RoleGet(AuthRoleGetRequest) returns (AuthRoleGetResponse) {
|
rpc RoleGet(AuthRoleGetRequest) returns (AuthRoleGetResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/role/get"
|
post: "/v3beta/auth/role/get"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -315,7 +315,7 @@ service Auth {
|
|||||||
// RoleList gets lists of all roles.
|
// RoleList gets lists of all roles.
|
||||||
rpc RoleList(AuthRoleListRequest) returns (AuthRoleListResponse) {
|
rpc RoleList(AuthRoleListRequest) returns (AuthRoleListResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/role/list"
|
post: "/v3beta/auth/role/list"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -323,7 +323,7 @@ service Auth {
|
|||||||
// RoleDelete deletes a specified role.
|
// RoleDelete deletes a specified role.
|
||||||
rpc RoleDelete(AuthRoleDeleteRequest) returns (AuthRoleDeleteResponse) {
|
rpc RoleDelete(AuthRoleDeleteRequest) returns (AuthRoleDeleteResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/role/delete"
|
post: "/v3beta/auth/role/delete"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -331,7 +331,7 @@ service Auth {
|
|||||||
// RoleGrantPermission grants a permission of a specified key or range to a specified role.
|
// RoleGrantPermission grants a permission of a specified key or range to a specified role.
|
||||||
rpc RoleGrantPermission(AuthRoleGrantPermissionRequest) returns (AuthRoleGrantPermissionResponse) {
|
rpc RoleGrantPermission(AuthRoleGrantPermissionRequest) returns (AuthRoleGrantPermissionResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/role/grant"
|
post: "/v3beta/auth/role/grant"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@ -339,7 +339,7 @@ service Auth {
|
|||||||
// RoleRevokePermission revokes a key or range permission of a specified role.
|
// RoleRevokePermission revokes a key or range permission of a specified role.
|
||||||
rpc RoleRevokePermission(AuthRoleRevokePermissionRequest) returns (AuthRoleRevokePermissionResponse) {
|
rpc RoleRevokePermission(AuthRoleRevokePermissionRequest) returns (AuthRoleRevokePermissionResponse) {
|
||||||
option (google.api.http) = {
|
option (google.api.http) = {
|
||||||
post: "/v3alpha/auth/role/revoke"
|
post: "/v3beta/auth/role/revoke"
|
||||||
body: "*"
|
body: "*"
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user