Skip to content

avnes/test-persistence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test persistence

Build and deploy

make build
kubectl apply --kustomize k8s

Create files

curl -k -X 'POST' \
  'https://rancher-lb/persistence/api/v1/files' \
  -H 'accept: application/json' \
  -H 'Content-Type: multipart/form-data' \
  -F 'number_of_files=5' \
  -F 'size_in_bytes=10485760'

List files

curl -k -X 'GET' \
  'https://rancher-lb/persistence/api/v1/files' \
  -H 'accept: application/json'

Count files

curl -k -X 'GET' \
  'https://rancher-lb/persistence/api/v1/files/count' \
  -H 'accept: application/json'

Delete files

curl -k -X 'DELETE' \
  'https://rancher-lb/persistence/api/v1/files' \
  -H 'accept: application/json'

Create random data

curl -k -X 'POST' \
  'https://rancher-lb/persistence/api/v1/database' \
  -H 'accept: application/json' \
  -H 'Content-Type: multipart/form-data' \
  -F 'number_of_inserts=10'

List random data

curl -k -X 'GET' \
  'https://rancher-lb/persistence/api/v1/database' \
  -H 'accept: application/json'

Count random data

curl -k -X 'GET' \
  'https://rancher-lb/persistence/api/v1/database/count' \
  -H 'accept: application/json'

Delete random data

curl -k -X 'DELETE' \
  'https://rancher-lb/persistence/api/v1/database' \
  -H 'accept: application/json'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published