kube-migration-demo-1

module
v0.0.0-...-3ec19d7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2023 License: Apache-2.0

README

Kubernetes & The Multi-Cloud Myth

Microservice #1

Restful API

Description

This sample microservice is used as a support to the talk "Kubernetes & The Myth of Multi-Cloud"

References

This simple service is based upon the service available at https://github.com/ardanlabs/service

Directories

Path Synopsis
app
services/service/handlers
Package handlers manages the different versions of the API.
Package handlers manages the different versions of the API.
services/service/handlers/v1
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
services/service/handlers/v1/productgrp
Package productgrp maintains the group of handlers for product access.
Package productgrp maintains the group of handlers for product access.
tooling/logfmt
This program takes the structured log output and makes it readable.
This program takes the structured log output and makes it readable.
business
core/product
Package product provides an example of a core business API.
Package product provides an example of a core business API.
core/product/stores/productdb
Package productdb contains product related CRUD functionality.
Package productdb contains product related CRUD functionality.
data/dbschema
Package dbschema contains the database schema, migrations and seeding data.
Package dbschema contains the database schema, migrations and seeding data.
data/dbtest
Package dbtest contains supporting code for running tests that hit the DB.
Package dbtest contains supporting code for running tests that hit the DB.
data/order
Package order provides support for describing the ordering of data.
Package order provides support for describing the ordering of data.
sys/database
Package database provides support for access the database.
Package database provides support for access the database.
sys/validate
Package validate contains the support for validating models.
Package validate contains the support for validating models.
web/metrics
Package metrics constructs the metrics the application will track.
Package metrics constructs the metrics the application will track.
web/v1
Package v1 represents types used by the web application for v1.
Package v1 represents types used by the web application for v1.
web/v1/debug
Package debug provides handler support for the debugging endpoints.
Package debug provides handler support for the debugging endpoints.
web/v1/debug/checkgrp
Package checkgrp maintains the group of handlers for health checking.
Package checkgrp maintains the group of handlers for health checking.
web/v1/mid
Package mid contains the set of middleware functions.
Package mid contains the set of middleware functions.
foundation
docker
Package docker provides support for starting and stopping docker containers for running tests.
Package docker provides support for starting and stopping docker containers for running tests.
logger
Package logger provides a convenience function to constructing a logger for use.
Package logger provides a convenience function to constructing a logger for use.
web
Package web contains a small web framework extension.
Package web contains a small web framework extension.
worker
Package worker manages a set of registered jobs that execute on demand.
Package worker manages a set of registered jobs that execute on demand.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL