-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(init): create initial documentation pages
- Loading branch information
Showing
20 changed files
with
334 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
.cards > ul { | ||
display: flex !important; | ||
align-items: stretch; | ||
align-content: stretch; | ||
flex-flow: row wrap; | ||
gap: 0.5rem; | ||
margin-left: 0 !important; | ||
} | ||
|
||
.cards.cols-1 > ul > li { | ||
flex-basis: 100%; | ||
} | ||
|
||
.cards.cols-2 > ul > li { | ||
flex-basis: calc(50% - 0.25rem); | ||
} | ||
|
||
.cards.cols-3 > ul > li { | ||
flex-basis: calc(33.3333333% - 0.3333333rem); | ||
} | ||
|
||
.cards.cols-4 > ul > li { | ||
flex-basis: calc(25% - 0.375rem); | ||
} | ||
|
||
@media screen and (max-width: 980px) { | ||
.cards.cols-2 > ul > li { flex-basis: 100%; } | ||
.cards.cols-3 > ul > li { flex-basis: 100%; } | ||
.cards.cols-4 > ul > li { flex-basis: 100%; } | ||
} | ||
|
||
.cards > ul > li { | ||
display: flex; | ||
flex-direction: column; | ||
margin: 0 !important; | ||
box-sizing: border-box; | ||
padding: 0.5rem; | ||
border: .05rem solid var(--md-default-fg-color--lightest); | ||
border-radius: .1rem; | ||
margin: 0; | ||
padding: .8rem; | ||
transition: border .25s, box-shadow .25s; | ||
} | ||
|
||
.cards > ul > li:hover { | ||
border-color: #0000; | ||
box-shadow: var(--md-shadow-z2); | ||
} | ||
|
||
.cards > ul > li > * { | ||
margin: 0.5em 0; | ||
} | ||
|
||
.cards > ul > li > :first-child { | ||
padding-top: 0; | ||
margin-top: 0; | ||
} | ||
|
||
.cards > ul > li > :last-child { | ||
padding-bottom: 0; | ||
margin-bottom: 0; | ||
} | ||
|
||
.cards > ul > li > :nth-child(3) { | ||
flex-grow: 100; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
--- | ||
title: Examples | ||
--- | ||
|
||
# Examples | ||
|
||
> To be developed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
title: Binaries | ||
--- | ||
|
||
# Running **GoosyMock** from binaries | ||
|
||
## Downloading pre-built binaries | ||
|
||
**GoosyMock** offers pre-build binaries for following operating systems and | ||
architectures: | ||
|
||
| Operating system | OS codename | Architectures | | ||
|-|-|-| | ||
| Linux | `linux` | `amd64`, `386`, `arm`, `arm64`, `ppc64le` | | ||
| Windows | `windows` | `amd64`, `386` | | ||
| MacOS | `darwin` | `arm64` | | ||
|
||
Properly named binaries are attached as release assets and can be downloaded | ||
from [*Releases* page on GitHub](https://github.com/Icikowski/GoosyMock/releases/latest). | ||
|
||
## Building binaries manually | ||
|
||
!!! info "Prerequisites" | ||
- **Git** 2.34+ | ||
- **Go** 1.19+ | ||
- **Taskfile** 3.17+ | ||
|
||
### Cloning the repository | ||
|
||
=== "Clone via HTTPS" | ||
|
||
```bash | ||
git clone https://github.com/Icikowski/GoosyMock.git | ||
``` | ||
|
||
=== "Clone via SSH" | ||
|
||
```bash | ||
git clone [email protected]:Icikowski/GoosyMock.git | ||
``` | ||
|
||
### Building the sources | ||
|
||
!!! tip "Using _Taskfile_" | ||
This project utilizes _[Taskfile](https://taskfile.dev)_ for build | ||
automatization. If you are willing to use `task` command for building | ||
binaries, please install _Taskfile_ as described in | ||
[official documentation](https://taskfile.dev/installation). | ||
|
||
Binary will be built for current OS & architecture and placed in | ||
`target/binaries` directory. | ||
|
||
=== "Building static binary" | ||
|
||
```bash | ||
task build:static | ||
``` | ||
|
||
=== "Building dynamic binary" | ||
|
||
```bash | ||
task build:dynamic | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Docker | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,33 @@ | ||
--- | ||
title: Installation | ||
--- | ||
|
||
# Installation Guide | ||
|
||
> To be developed | ||
<div class="cards cols-3" markdown> | ||
|
||
- :material-file-multiple:{ .lg .middle } **Binaries** | ||
|
||
--- | ||
|
||
Download or build **GoosyMock** binaries for direct use and jump start the adventure. | ||
|
||
[:material-arrow-right: Binaries](binaries.md) | ||
|
||
- :material-docker:{ .lg .middle } **Docker container image** | ||
|
||
--- | ||
|
||
Start **GoosyMock** starting Docker container and jump right into the action. | ||
|
||
[:material-arrow-right: Docker](docker.md) | ||
|
||
- :material-kubernetes:{ .lg .middle } **Kubernetes (via Helm)** | ||
|
||
--- | ||
|
||
Deploy **GoosyMock** instance on your Kubernetes cluster and don't worry about maintenance. | ||
|
||
[:material-arrow-right: Kubernetes (via Helm)](kubernetes.md) | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Kubernetes (via Helm) | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: Admin API | ||
--- | ||
|
||
# Admin API Guide | ||
|
||
<div class="cards cols-1" markdown> | ||
|
||
- :simple-openapiinitiative:{ .lg .middle } **OpenAPI Specification** | ||
|
||
--- | ||
|
||
Check the OpenAPI Specification of **GoosyMock**'s Admin API. | ||
|
||
|
||
[:material-arrow-right: OpenAPI Specification](https://elements-demo.stoplight.io/?spec=https://raw.githubusercontent.com/Icikowski/GoosyMock/main/api/spec_adminapi.yaml) | ||
|
||
</div> | ||
|
||
<div class="cards cols-3" markdown> | ||
|
||
- :material-list-status:{ .lg .middle } **Status** | ||
|
||
--- | ||
|
||
Check the documentation for `/` endpoint. | ||
|
||
[:material-arrow-right: Status](status.md) | ||
|
||
- :material-router:{ .lg .middle } **Routes** | ||
|
||
--- | ||
|
||
Check the documentation for `/routes` endpoint. | ||
|
||
[:material-arrow-right: Routes](routes.md) | ||
|
||
- :material-file-star:{ .lg .middle } **Payloads** | ||
|
||
--- | ||
|
||
Check the documentation for `/payloads` endpoint. | ||
|
||
[:material-arrow-right: Payloads](payloads.md) | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Payloads endpoint | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Routes endpoint | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Status endpoint | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
title: Configuration | ||
--- | ||
|
||
# Configuration Guide | ||
|
||
<div class="cards cols-2" markdown> | ||
|
||
- :material-code-braces:{ .lg .middle } **Configuration variables** | ||
|
||
--- | ||
|
||
Learn about environment variables used for **GoosyMock**'s configuration. | ||
|
||
[:material-arrow-right: Configuration variables](vars.md) | ||
|
||
- :material-lock:{ .lg .middle } **TLS configuration** | ||
|
||
--- | ||
|
||
Deep dive into **GoosyMock**'s TLS & SSL configuration. | ||
|
||
[:material-arrow-right: TLS configuration](tls.md) | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: TLS configuration | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Configuration variables | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
title: Health probes | ||
--- |
Oops, something went wrong.