logical/testing: rollback/revoke secrets, error dangling secrets

This commit is contained in:
Mitchell Hashimoto
2015-03-20 17:20:55 +01:00
parent 2c7343854f
commit 92e200f150
2 changed files with 45 additions and 0 deletions

View File

@@ -65,6 +65,14 @@ func RevokeRequest(
}
}
// RollbackRequest creates the structure of the revoke request.
func RollbackRequest(path string) *Request {
return &Request{
Operation: RollbackOperation,
Path: path,
}
}
// Operation is an enum that is used to specify the type
// of request being made
type Operation string