Categorygithub.com/rashedkvm/bct-service
module
0.0.1-build.11
Repository: https://github.com/rashedkvm/bct-service.git
Documentation: pkg.go.dev

# README

bct-service

BCT Service examples

APP_PORT

Default to 8080

heatlhz endpoint

Request:

curl bct-service.bct-service.svc.cluster.local:8080/api/healthz

Response:

{"etag":"8a906761-6ce4-4f7a-a981-6100dd6b93d0","status":"ok:","time":"2024-10-01T21:25:45.031615-04:00"}

upload endpoint (uploads a file to http server)

Request:

 curl -X POST 0.0.0.0:8080/api/upload -H "Content-Type: multipart/form-data" -F "file=@/Users/johnny-goat/temp/values.yml"

Response:

{"etag":"d41ee712-4573-410c-bdc2-30bb80c6fd4b","file":"'/tmp/values.yml' uploaded!","size":4225,"status":"ok","time":"2024-10-01T21:42:39.303881-04:00"}

Deploy from source

Set export KO_CONFIG=some.registry.io

Deploy make deploy To undeploy make undeploy

# Packages

No description provided by the author
No description provided by the author