toggle menu
http4k
6.9.0.0
jvm
switch theme
search in API
http4k-connect-amazon-kms-fake
/
org.http4k.connect.amazon.kms
/
FakeKMS
Fake
KMS
class
FakeKMS
(
val
keys
:
Storage
<
StoredCMK
>
=
Storage.InMemory()
)
:
ChaoticHttpHandler
Members
Constructors
Fake
KMS
Link copied to clipboard
constructor
(
keys
:
Storage
<
StoredCMK
>
=
Storage.InMemory()
)
Properties
keys
Link copied to clipboard
val
keys
:
Storage
<
StoredCMK
>
Functions
behave
Link copied to clipboard
fun
behave
(
)
:
ChaosEngine
client
Link copied to clipboard
fun
client
(
)
:
KMS
Convenience function to get a KMS client
invoke
Link copied to clipboard
open
operator override
fun
invoke
(
request
:
Request
)
:
Response
misbehave
Link copied to clipboard
fun
misbehave
(
stage
:
Stage
)
:
ChaosEngine
fun
misbehave
(
behaviour
:
Behaviour
)
:
ChaosEngine
return
Status
Link copied to clipboard
fun
returnStatus
(
status
:
Status
)
:
ChaosEngine