RestoreRBAC()
This operation restores your RBAC settings from a backup.
func (c *Client) RestoreRBAC(ctx context.Context, option RestoreRBACOption, callOptions ...grpc.CallOption) error
Request Parameters
Parameter | Description | Type |
---|---|---|
| Context for the current call to work. |
|
| Optional parameters of the methods. |
|
| Optional parameters for calling the methods. |
|
RestoreRBACOption
This is an interface type. You can use NewRestoreRBACOption()
to get its concrete implementation
func NewRestoreRBACOption(meta *entity.RBACMeta) RestoreRBACOption
Parameter | Description | Type |
---|---|---|
| The RBAC settings to restore. |
|
Return
Null
Example