cloud-foundation-fabric/blueprints/gke/binauthz/image
dependabot[bot] e64c043aaa
Bump semver and @google-cloud/storage in /blueprints/gke/binauthz/image (#1469)
Removes [semver](https://github.com/npm/node-semver). It's no longer used after updating ancestor dependency [@google-cloud/storage](https://github.com/googleapis/nodejs-storage). These dependencies need to be updated together.


Removes `semver`

Updates `@google-cloud/storage` from 5.18.3 to 6.11.0
- [Release notes](https://github.com/googleapis/nodejs-storage/releases)
- [Changelog](https://github.com/googleapis/nodejs-storage/blob/main/CHANGELOG.md)
- [Commits](https://github.com/googleapis/nodejs-storage/compare/v5.18.3...v6.11.0)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
- dependency-name: "@google-cloud/storage"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 15:03:47 +02:00
..
.dockerignore Move binautz to gke folder 2022-09-12 10:21:56 +02:00
.gitignore Move binautz to gke folder 2022-09-12 10:21:56 +02:00
Dockerfile Move binautz to gke folder 2022-09-12 10:21:56 +02:00
README.md Move binautz to gke folder 2022-09-12 10:21:56 +02:00
cloudbuild.yaml Move binautz to gke folder 2022-09-12 10:21:56 +02:00
index.js Move binautz to gke folder 2022-09-12 10:21:56 +02:00
package-lock.json Bump semver and @google-cloud/storage in /blueprints/gke/binauthz/image (#1469) 2023-06-26 15:03:47 +02:00
package.json Bump semver and @google-cloud/storage in /blueprints/gke/binauthz/image (#1469) 2023-06-26 15:03:47 +02:00

README.md

Storage API

This application it is a RESTful API that let's you manage the Google Cloud Storage buckets available is a project. In order to do so the application needs to authenticate with a service account that has been granted the Storage Admin (roles/storage.admin) role.

Find below the operations that can be performed using it:

  • Get buckets in project

      curl -v http://localhost:3000/buckets
    
  • Get files in bucket

      curl -v http://localhost:3000/buckets/BUCKET_NAME
    
  • Create a bucket

      curl -v http://localhost:3000/buckets \
      -H'Content-Type: application/json' \
      -d  @- <<EOF
      {
          "name": "BUCKET_NAME"
      }
      EOF
    
  • Delete bucket

      curl -v -X DELETE http://localhost:3000/buckets/BUCKET_NAME