Skip to content
Tsuyoshi Ushio edited this page May 13, 2018 · 1 revision

Strikes

Currently this page is for the experimental spec.

Strikes Structure

.
├── Strike.hcl
├── strikes
├── templates
│   ├── NOTES.txt
│   ├── terraform.tf
│   └── terraform.tfvar
├── values.hcl
└── YOUR_PRODUCT_NAME_0.0.1.zip

Blob Structure

Project file is zipped file of the Strikes structure.

PROJECT_NAME_A
├── PROJECT_NAME_A_0.0.1.zip
└── PROJECT_NAME_A_0.0.2.zip
     :  
PROJECT_NAME_B
  :

Backend API

Backend Api manage the package information. It enable us to do these operations.

  • GET: Get an information of a project
  • POST: Create a project
  • PUT: Update a project
  • DELETE: Delete a project
  • LIST: List the projects
  • SEARCH: Search projects

Backend Service is written in Go and backend with MongoDB.

Backend API Schema

{
  "id": Unique Guid,
  "name": PROJECT_NAME,
  "latest": latest version,
  "description": description,
  "author": author,
  "downloadUrl": Blob Storage URL for zip file
  "repositoryUrl": GitHub page of this project 
}
Clone this wiki locally