diff options
| author | Baitinq <[email protected]> | 2024-04-28 23:25:49 +0200 |
|---|---|---|
| committer | Baitinq <[email protected]> | 2024-04-28 23:26:34 +0200 |
| commit | 5d76adc2b7f655bdc2a61cada09ce2730b2158d0 (patch) | |
| tree | bda621f552a72d7712eb070cca0f60a2b778da8c | |
| download | fs-tracer-backend-5d76adc2b7f655bdc2a61cada09ce2730b2158d0.tar.gz fs-tracer-backend-5d76adc2b7f655bdc2a61cada09ce2730b2158d0.tar.bz2 fs-tracer-backend-5d76adc2b7f655bdc2a61cada09ce2730b2158d0.zip | |
Initial commit
51 files changed, 914 insertions, 0 deletions
diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..3550a30 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9b42106 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.direnv/ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..7373c72 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,6 @@ +services: + cloud-provider-kind: + build: https://github.com/kubernetes-sigs/cloud-provider-kind.git#main + volumes: + - /var/run/docker.sock:/var/run/docker.sock + network_mode: kind diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..f6b4c77 --- /dev/null +++ b/flake.lock @@ -0,0 +1,61 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1714253743, + "narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": "nixpkgs" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..1396bcc --- /dev/null +++ b/flake.nix @@ -0,0 +1,25 @@ +{ + description = "FS Tracer Devshell"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { self, nixpkgs, flake-utils, ... }: + flake-utils.lib.eachDefaultSystem (system: + let + pkgs = import nixpkgs { + inherit system; + }; + in + with pkgs; + { + devShells.default = mkShell { + buildInputs = [ + cargo + ]; + }; + } + ); +} diff --git a/k8s/payloads-processor/.helmignore b/k8s/payloads-processor/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/k8s/payloads-processor/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/k8s/payloads-processor/Chart.yaml b/k8s/payloads-processor/Chart.yaml new file mode 100644 index 0000000..f07f67a --- /dev/null +++ b/k8s/payloads-processor/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +name: payloads-processor +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "1.16.0" diff --git a/k8s/payloads-processor/templates/NOTES.txt b/k8s/payloads-processor/templates/NOTES.txt new file mode 100644 index 0000000..75b1008 --- /dev/null +++ b/k8s/payloads-processor/templates/NOTES.txt @@ -0,0 +1,22 @@ +1. Get the application URL by running these commands: +{{- if .Values.ingress.enabled }} +{{- range $host := .Values.ingress.hosts }} + {{- range .paths }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} + {{- end }} +{{- end }} +{{- else if contains "NodePort" .Values.service.type }} + export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "payloads-processor.fullname" . }}) + export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") + echo http://$NODE_IP:$NODE_PORT +{{- else if contains "LoadBalancer" .Values.service.type }} + NOTE: It may take a few minutes for the LoadBalancer IP to be available. + You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "payloads-processor.fullname" . }}' + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "payloads-processor.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") + echo http://$SERVICE_IP:{{ .Values.service.port }} +{{- else if contains "ClusterIP" .Values.service.type }} + export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "payloads-processor.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") + export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") + echo "Visit http://127.0.0.1:8080 to use your application" + kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT +{{- end }} diff --git a/k8s/payloads-processor/templates/_helpers.tpl b/k8s/payloads-processor/templates/_helpers.tpl new file mode 100644 index 0000000..5afe85a --- /dev/null +++ b/k8s/payloads-processor/templates/_helpers.tpl @@ -0,0 +1,62 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "payloads-processor.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "payloads-processor.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "payloads-processor.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "payloads-processor.labels" -}} +helm.sh/chart: {{ include "payloads-processor.chart" . }} +{{ include "payloads-processor.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "payloads-processor.selectorLabels" -}} +app.kubernetes.io/name: {{ include "payloads-processor.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "payloads-processor.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "payloads-processor.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} diff --git a/k8s/payloads-processor/templates/deployment.yaml b/k8s/payloads-processor/templates/deployment.yaml new file mode 100644 index 0000000..585c443 --- /dev/null +++ b/k8s/payloads-processor/templates/deployment.yaml @@ -0,0 +1,61 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "payloads-processor.fullname" . }} + labels: + {{- include "payloads-processor.labels" . | nindent 4 }} +spec: + {{- if not .Values.autoscaling.enabled }} + replicas: {{ .Values.replicaCount }} + {{- end }} + selector: + matchLabels: + {{- include "payloads-processor.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "payloads-processor.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + serviceAccountName: {{ include "payloads-processor.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} + containers: + - name: {{ .Chart.Name }} + securityContext: + {{- toYaml .Values.securityContext | nindent 12 }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + ports: + - name: http + containerPort: {{ .Values.service.port }} + protocol: TCP + livenessProbe: + httpGet: + path: / + port: http + readinessProbe: + httpGet: + path: / + port: http + resources: + {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/k8s/payloads-processor/templates/hpa.yaml b/k8s/payloads-processor/templates/hpa.yaml new file mode 100644 index 0000000..65025c9 --- /dev/null +++ b/k8s/payloads-processor/templates/hpa.yaml @@ -0,0 +1,28 @@ +{{- if .Values.autoscaling.enabled }} +apiVersion: autoscaling/v2beta1 +kind: HorizontalPodAutoscaler +metadata: + name: {{ include "payloads-processor.fullname" . }} + labels: + {{- include "payloads-processor.labels" . | nindent 4 }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ include "payloads-processor.fullname" . }} + minReplicas: {{ .Values.autoscaling.minReplicas }} + maxReplicas: {{ .Values.autoscaling.maxReplicas }} + metrics: + {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} + - type: Resource + resource: + name: cpu + targetAverageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} + {{- end }} + {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} + - type: Resource + resource: + name: memory + targetAverageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} + {{- end }} +{{- end }} diff --git a/k8s/payloads-processor/templates/ingress.yaml b/k8s/payloads-processor/templates/ingress.yaml new file mode 100644 index 0000000..44dff68 --- /dev/null +++ b/k8s/payloads-processor/templates/ingress.yaml @@ -0,0 +1,61 @@ +{{- if .Values.ingress.enabled -}} +{{- $fullName := include "payloads-processor.fullname" . -}} +{{- $svcPort := .Values.service.port -}} +{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} + {{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }} + {{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}} + {{- end }} +{{- end }} +{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1 +{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1beta1 +{{- else -}} +apiVersion: extensions/v1beta1 +{{- end }} +kind: Ingress +metadata: + name: {{ $fullName }} + labels: + {{- include "payloads-processor.labels" . | nindent 4 }} + {{- with .Values.ingress.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} + ingressClassName: {{ .Values.ingress.className }} + {{- end }} + {{- if .Values.ingress.tls }} + tls: + {{- range .Values.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . | quote }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} + {{- end }} + rules: + {{- range .Values.ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: + {{- range .paths }} + - path: {{ .path }} + {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} + pathType: {{ .pathType }} + {{- end }} + backend: + {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} + service: + name: {{ $fullName }} + port: + number: {{ $svcPort }} + {{- else }} + serviceName: {{ $fullName }} + servicePort: {{ $svcPort }} + {{- end }} + {{- end }} + {{- end }} +{{- end }} diff --git a/k8s/payloads-processor/templates/service.yaml b/k8s/payloads-processor/templates/service.yaml new file mode 100644 index 0000000..ac0708e --- /dev/null +++ b/k8s/payloads-processor/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "payloads-processor.fullname" . }} + labels: + {{- include "payloads-processor.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + {{- include "payloads-processor.selectorLabels" . | nindent 4 }} diff --git a/k8s/payloads-processor/templates/serviceaccount.yaml b/k8s/payloads-processor/templates/serviceaccount.yaml new file mode 100644 index 0000000..5bc090b --- /dev/null +++ b/k8s/payloads-processor/templates/serviceaccount.yaml @@ -0,0 +1,12 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "payloads-processor.serviceAccountName" . }} + labels: + {{- include "payloads-processor.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/k8s/payloads-processor/templates/tests/test-connection.yaml b/k8s/payloads-processor/templates/tests/test-connection.yaml new file mode 100644 index 0000000..279e613 --- /dev/null +++ b/k8s/payloads-processor/templates/tests/test-connection.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "payloads-processor.fullname" . }}-test-connection" + labels: + {{- include "payloads-processor.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": test +spec: + containers: + - name: wget + image: busybox + command: ['wget'] + args: ['{{ include "payloads-processor.fullname" . }}:{{ .Values.service.port }}'] + restartPolicy: Never diff --git a/k8s/payloads-processor/values.yaml b/k8s/payloads-processor/values.yaml new file mode 100644 index 0000000..9ea2cd9 --- /dev/null +++ b/k8s/payloads-processor/values.yaml @@ -0,0 +1,82 @@ +# Default values for payloads-processor. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +replicaCount: 1 + +image: + repository: nginx + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "" + +imagePullSecrets: [] +nameOverride: "" +fullnameOverride: "" + +serviceAccount: + # Specifies whether a service account should be created + create: true + # Annotations to add to the service account + annotations: {} + # The name of the service account to use. + # If not set and create is true, a name is generated using the fullname template + name: "" + +podAnnotations: {} + +podSecurityContext: {} + # fsGroup: 2000 + +securityContext: {} + # capabilities: + # drop: + # - ALL + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsUser: 1000 + +service: + type: ClusterIP + port: 80 + +ingress: + enabled: false + className: "" + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + hosts: + - host: chart-example.local + paths: + - path: / + pathType: ImplementationSpecific + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 100 + targetCPUUtilizationPercentage: 80 + # targetMemoryUtilizationPercentage: 80 + +nodeSelector: {} + +tolerations: [] + +affinity: {} diff --git a/k8s/rest-api/.helmignore b/k8s/rest-api/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/k8s/rest-api/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/k8s/rest-api/Chart.yaml b/k8s/rest-api/Chart.yaml new file mode 100644 index 0000000..0023fe9 --- /dev/null +++ b/k8s/rest-api/Chart.yaml @@ -0,0 +1,24 @@ +apiVersion: v2 +name: rest-api +description: A Helm chart for Kubernetes + +# A chart can be either an 'application' or a 'library' chart. +# +# Application charts are a collection of templates that can be packaged into versioned archives +# to be deployed. +# +# Library charts provide useful utilities or functions for the chart developer. They're included as +# a dependency of application charts to inject those utilities and functions into the rendering +# pipeline. Library charts do not define any templates and therefore cannot be deployed. +type: application + +# This is the chart version. This version number should be incremented each time you make changes +# to the chart and its templates, including the app version. +# Versions are expected to follow Semantic Versioning (https://semver.org/) +version: 0.1.0 + +# This is the version number of the application being deployed. This version number should be +# incremented each time you make changes to the application. Versions are not expected to +# follow Semantic Versioning. They should reflect the version the application is using. +# It is recommended to use it with quotes. +appVersion: "1.16.0" diff --git a/k8s/rest-api/templates/NOTES.txt b/k8s/rest-api/templates/NOTES.txt new file mode 100644 index 0000000..343c764 --- /dev/null +++ b/k8s/rest-api/templates/NOTES.txt @@ -0,0 +1,22 @@ +1. Get the application URL by running these commands: +{{- if .Values.ingress.enabled }} +{{- range $host := .Values.ingress.hosts }} + {{- range .paths }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} + {{- end }} +{{- end }} +{{- else if contains "NodePort" .Values.service.type }} + export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "rest-api.fullname" . }}) + export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") + echo http://$NODE_IP:$NODE_PORT +{{- else if contains "LoadBalancer" .Values.service.type }} + NOTE: It may take a few minutes for the LoadBalancer IP to be available. + You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "rest-api.fullname" . }}' + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "rest-api.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") + echo http://$SERVICE_IP:{{ .Values.service.port }} +{{- else if contains "ClusterIP" .Values.service.type }} + export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "rest-api.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") + export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") + echo "Visit http://127.0.0.1:8080 to use your application" + kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT +{{- end }} diff --git a/k8s/rest-api/templates/_helpers.tpl b/k8s/rest-api/templates/_helpers.tpl new file mode 100644 index 0000000..0883353 --- /dev/null +++ b/k8s/rest-api/templates/_helpers.tpl @@ -0,0 +1,62 @@ +{{/* +Expand the name of the chart. +*/}} +{{- define "rest-api.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "rest-api.fullname" -}} +{{- if .Values.fullnameOverride }} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- $name := default .Chart.Name .Values.nameOverride }} +{{- if contains $name .Release.Name }} +{{- .Release.Name | trunc 63 | trimSuffix "-" }} +{{- else }} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} +{{- end }} +{{- end }} +{{- end }} + +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "rest-api.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} +{{- end }} + +{{/* +Common labels +*/}} +{{- define "rest-api.labels" -}} +helm.sh/chart: {{ include "rest-api.chart" . }} +{{ include "rest-api.selectorLabels" . }} +{{- if .Chart.AppVersion }} +app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} +{{- end }} +app.kubernetes.io/managed-by: {{ .Release.Service }} +{{- end }} + +{{/* +Selector labels +*/}} +{{- define "rest-api.selectorLabels" -}} +app.kubernetes.io/name: {{ include "rest-api.name" . }} +app.kubernetes.io/instance: {{ .Release.Name }} +{{- end }} + +{{/* +Create the name of the service account to use +*/}} +{{- define "rest-api.serviceAccountName" -}} +{{- if .Values.serviceAccount.create }} +{{- default (include "rest-api.fullname" .) .Values.serviceAccount.name }} +{{- else }} +{{- default "default" .Values.serviceAccount.name }} +{{- end }} +{{- end }} diff --git a/k8s/rest-api/templates/deployment.yaml b/k8s/rest-api/templates/deployment.yaml new file mode 100644 index 0000000..6e58bc5 --- /dev/null +++ b/k8s/rest-api/templates/deployment.yaml @@ -0,0 +1,61 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ include "rest-api.fullname" . }} + labels: + {{- include "rest-api.labels" . | nindent 4 }} +spec: + {{- if not .Values.autoscaling.enabled }} + replicas: {{ .Values.replicaCount }} + {{- end }} + selector: + matchLabels: + {{- include "rest-api.selectorLabels" . | nindent 6 }} + template: + metadata: + {{- with .Values.podAnnotations }} + annotations: + {{- toYaml . | nindent 8 }} + {{- end }} + labels: + {{- include "rest-api.selectorLabels" . | nindent 8 }} + spec: + {{- with .Values.imagePullSecrets }} + imagePullSecrets: + {{- toYaml . | nindent 8 }} + {{- end }} + serviceAccountName: {{ include "rest-api.serviceAccountName" . }} + securityContext: + {{- toYaml .Values.podSecurityContext | nindent 8 }} + containers: + - name: {{ .Chart.Name }} + securityContext: + {{- toYaml .Values.securityContext | nindent 12 }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + ports: + - name: http + containerPort: {{ .Values.service.port }} + protocol: TCP + livenessProbe: + httpGet: + path: / + port: http + readinessProbe: + httpGet: + path: / + port: http + resources: + {{- toYaml .Values.resources | nindent 12 }} + {{- with .Values.nodeSelector }} + nodeSelector: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.affinity }} + affinity: + {{- toYaml . | nindent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: + {{- toYaml . | nindent 8 }} + {{- end }} diff --git a/k8s/rest-api/templates/ingress.yaml b/k8s/rest-api/templates/ingress.yaml new file mode 100644 index 0000000..63c77d2 --- /dev/null +++ b/k8s/rest-api/templates/ingress.yaml @@ -0,0 +1,61 @@ +{{- if .Values.ingress.enabled -}} +{{- $fullName := include "rest-api.fullname" . -}} +{{- $svcPort := .Values.service.port -}} +{{- if and .Values.ingress.className (not (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion)) }} + {{- if not (hasKey .Values.ingress.annotations "kubernetes.io/ingress.class") }} + {{- $_ := set .Values.ingress.annotations "kubernetes.io/ingress.class" .Values.ingress.className}} + {{- end }} +{{- end }} +{{- if semverCompare ">=1.19-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1 +{{- else if semverCompare ">=1.14-0" .Capabilities.KubeVersion.GitVersion -}} +apiVersion: networking.k8s.io/v1beta1 +{{- else -}} +apiVersion: extensions/v1beta1 +{{- end }} +kind: Ingress +metadata: + name: {{ $fullName }} + labels: + {{- include "rest-api.labels" . | nindent 4 }} + {{- with .Values.ingress.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +spec: + {{- if and .Values.ingress.className (semverCompare ">=1.18-0" .Capabilities.KubeVersion.GitVersion) }} + ingressClassName: {{ .Values.ingress.className }} + {{- end }} + {{- if .Values.ingress.tls }} + tls: + {{- range .Values.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . | quote }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} + {{- end }} + rules: + {{- range .Values.ingress.hosts }} + - host: {{ .host | quote }} + http: + paths: + {{- range .paths }} + - path: {{ .path }} + {{- if and .pathType (semverCompare ">=1.18-0" $.Capabilities.KubeVersion.GitVersion) }} + pathType: {{ .pathType }} + {{- end }} + backend: + {{- if semverCompare ">=1.19-0" $.Capabilities.KubeVersion.GitVersion }} + service: + name: {{ $fullName }} + port: + number: {{ $svcPort }} + {{- else }} + serviceName: {{ $fullName }} + servicePort: {{ $svcPort }} + {{- end }} + {{- end }} + {{- end }} +{{- end }} diff --git a/k8s/rest-api/templates/service.yaml b/k8s/rest-api/templates/service.yaml new file mode 100644 index 0000000..4942d60 --- /dev/null +++ b/k8s/rest-api/templates/service.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Service +metadata: + name: {{ include "rest-api.fullname" . }} + labels: + {{- include "rest-api.labels" . | nindent 4 }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + nodePort: 30124 + protocol: TCP + name: http + selector: + {{- include "rest-api.selectorLabels" . | nindent 4 }} diff --git a/k8s/rest-api/templates/serviceaccount.yaml b/k8s/rest-api/templates/serviceaccount.yaml new file mode 100644 index 0000000..84dd6dd --- /dev/null +++ b/k8s/rest-api/templates/serviceaccount.yaml @@ -0,0 +1,12 @@ +{{- if .Values.serviceAccount.create -}} +apiVersion: v1 +kind: ServiceAccount +metadata: + name: {{ include "rest-api.serviceAccountName" . }} + labels: + {{- include "rest-api.labels" . | nindent 4 }} + {{- with .Values.serviceAccount.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} +{{- end }} diff --git a/k8s/rest-api/templates/tests/test-connection.yaml b/k8s/rest-api/templates/tests/test-connection.yaml new file mode 100644 index 0000000..96fd9f2 --- /dev/null +++ b/k8s/rest-api/templates/tests/test-connection.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +kind: Pod +metadata: + name: "{{ include "rest-api.fullname" . }}-test-connection" + labels: + {{- include "rest-api.labels" . | nindent 4 }} + annotations: + "helm.sh/hook": test +spec: + containers: + - name: wget + image: busybox + command: ['wget'] + args: ['{{ include "rest-api.fullname" . }}:{{ .Values.service.port }}'] + restartPolicy: Never diff --git a/k8s/rest-api/values.yaml b/k8s/rest-api/values.yaml new file mode 100644 index 0000000..63d7d5c --- /dev/null +++ b/k8s/rest-api/values.yaml @@ -0,0 +1,82 @@ +# Default values for rest-api. +# This is a YAML-formatted file. +# Declare variables to be passed into your templates. + +replicaCount: 1 + +image: + repository: nginx + pullPolicy: IfNotPresent + # Overrides the image tag whose default is the chart appVersion. + tag: "" + +imagePullSecrets: [] +nameOverride: "" +fullnameOverride: "" + +serviceAccount: + # Specifies whether a service account should be created + create: true + # Annotations to add to the service account + annotations: {} + # The name of the service account to use. + # If not set and create is true, a name is generated using the fullname template + name: "" + +podAnnotations: {} + +podSecurityContext: {} + # fsGroup: 2000 + +securityContext: {} + # capabilities: + # drop: + # - ALL + # readOnlyRootFilesystem: true + # runAsNonRoot: true + # runAsUser: 1000 + +service: + type: NodePort + port: 80 + +ingress: + enabled: false + className: "" + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + hosts: + - host: chart-example.local + paths: + - path: / + pathType: ImplementationSpecific + tls: [] + # - secretName: chart-example-tls + # hosts: + # - chart-example.local + +resources: {} + # We usually recommend not to specify default resources and to leave this as a conscious + # choice for the user. This also increases chances charts run on environments with little + # resources, such as Minikube. If you do want to specify resources, uncomment the following + # lines, adjust them as necessary, and remove the curly braces after 'resources:'. + # limits: + # cpu: 100m + # memory: 128Mi + # requests: + # cpu: 100m + # memory: 128Mi + +autoscaling: + enabled: false + minReplicas: 1 + maxReplicas: 100 + targetCPUUtilizationPercentage: 80 + # targetMemoryUtilizationPercentage: 80 + +nodeSelector: {} + +tolerations: [] + +affinity: {} diff --git a/kind-config.yml b/kind-config.yml new file mode 100644 index 0000000..3d1ee7f --- /dev/null +++ b/kind-config.yml @@ -0,0 +1,7 @@ +kind: Cluster +apiVersion: kind.x-k8s.io/v1alpha4 +nodes: +- role: control-plane + extraPortMappings: + - containerPort: 30124 + hostPort: 9999 diff --git a/src/rest-api/Cargo.lock b/src/rest-api/Cargo.lock new file mode 100644 index 0000000..3d8d04d --- /dev/null +++ b/src/rest-api/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "rest-api" +version = "0.1.0" diff --git a/src/rest-api/Cargo.toml b/src/rest-api/Cargo.toml new file mode 100644 index 0000000..c6dfc49 --- /dev/null +++ b/src/rest-api/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "rest-api" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/src/rest-api/src/main.rs b/src/rest-api/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/rest-api/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +} diff --git a/src/rest-api/target/.rustc_info.json b/src/rest-api/target/.rustc_info.json new file mode 100644 index 0000000..f790e3a --- /dev/null +++ b/src/rest-api/target/.rustc_info.json @@ -0,0 +1 @@ +{"rustc_fingerprint":18197252195977925520,"outputs":{"4614504638168534921":{"success":true,"status":"","code":0,"stdout":"rustc 1.77.1 (7cf61ebde 2024-03-27) (built from a source tarball)\nbinary: rustc\ncommit-hash: 7cf61ebde7b22796c69757901dd346d0fe70bd97\ncommit-date: 2024-03-27\nhost: aarch64-unknown-linux-gnu\nrelease: 1.77.1\nLLVM version: 17.0.6\n","stderr":""},"15729799797837862367":{"success":true,"status":"","code":0,"stdout":"___\nlib___.rlib\nlib___.so\nlib___.so\nlib___.a\nlib___.so\n/nix/store/02dlziqvbp0jqp2gnxnrjwvplxpn188k-rustc-1.77.1\noff\npacked\nunpacked\n___\ndebug_assertions\npanic=\"unwind\"\nproc_macro\ntarget_arch=\"aarch64\"\ntarget_endian=\"little\"\ntarget_env=\"gnu\"\ntarget_family=\"unix\"\ntarget_feature=\"neon\"\ntarget_has_atomic=\"128\"\ntarget_has_atomic=\"16\"\ntarget_has_atomic=\"32\"\ntarget_has_atomic=\"64\"\ntarget_has_atomic=\"8\"\ntarget_has_atomic=\"ptr\"\ntarget_os=\"linux\"\ntarget_pointer_width=\"64\"\ntarget_vendor=\"unknown\"\nunix\n","stderr":""}},"successes":{}} \ No newline at end of file diff --git a/src/rest-api/target/CACHEDIR.TAG b/src/rest-api/target/CACHEDIR.TAG new file mode 100644 index 0000000..20d7c31 --- /dev/null +++ b/src/rest-api/target/CACHEDIR.TAG @@ -0,0 +1,3 @@ +Signature: 8a477f597d28d172789f06886806bc55 +# This file is a cache directory tag created by cargo. +# For information about cache directory tags see https://bford.info/cachedir/ diff --git a/src/rest-api/target/debug/.cargo-lock b/src/rest-api/target/debug/.cargo-lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/rest-api/target/debug/.cargo-lock diff --git a/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/bin-rest-api b/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/bin-rest-api new file mode 100644 index 0000000..d5ba635 --- /dev/null +++ b/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/bin-rest-api @@ -0,0 +1 @@ +e5301c7bf9cfef0e \ No newline at end of file diff --git a/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/bin-rest-api.json b/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/bin-rest-api.json new file mode 100644 index 0000000..9a142ca --- /dev/null +++ b/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/bin-rest-api.json @@ -0,0 +1 @@ +{"rustc":9972386620672059169,"features":"[]","declared_features":"","target":10654235538814443343,"profile":11597332650809196192,"path":1684066648322511884,"deps":[],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/rest-api-21ca80b7de66cea6/dep-bin-rest-api"}}],"rustflags":[],"metadata":7797948686568424061,"config":2202906307356721367,"compile_kind":0} \ No newline at end of file diff --git a/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/dep-bin-rest-api b/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/dep-bin-rest-api new file mode 100644 index 0000000..5fdf103 --- /dev/null +++ b/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/dep-bin-rest-api Binary files differdiff --git a/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/invoked.timestamp b/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/invoked.timestamp new file mode 100644 index 0000000..e00328d --- /dev/null +++ b/src/rest-api/target/debug/.fingerprint/rest-api-21ca80b7de66cea6/invoked.timestamp @@ -0,0 +1 @@ +This file has an mtime of when this was started. \ No newline at end of file diff --git a/src/rest-api/target/debug/deps/rest_api-21ca80b7de66cea6 b/src/rest-api/target/debug/deps/rest_api-21ca80b7de66cea6 new file mode 100755 index 0000000..e266cc8 --- /dev/null +++ b/src/rest-api/target/debug/deps/rest_api-21ca80b7de66cea6 Binary files differdiff --git a/src/rest-api/target/debug/deps/rest_api-21ca80b7de66cea6.d b/src/rest-api/target/debug/deps/rest_api-21ca80b7de66cea6.d new file mode 100644 index 0000000..b5a25f7 --- /dev/null +++ b/src/rest-api/target/debug/deps/rest_api-21ca80b7de66cea6.d @@ -0,0 +1,5 @@ +/home/baitinq/src/fs-tracer-backend/src/rest-api/target/debug/deps/rest_api-21ca80b7de66cea6: src/main.rs + +/home/baitinq/src/fs-tracer-backend/src/rest-api/target/debug/deps/rest_api-21ca80b7de66cea6.d: src/main.rs + +src/main.rs: diff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/1ku9486dxozplxe6.o b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/1ku9486dxozplxe6.o new file mode 100644 index 0000000..4259310 --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/1ku9486dxozplxe6.o Binary files differdiff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/2gqo56abo1j1sfm7.o b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/2gqo56abo1j1sfm7.o new file mode 100644 index 0000000..3119544 --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/2gqo56abo1j1sfm7.o Binary files differdiff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/2omj9vns5sl3sjap.o b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/2omj9vns5sl3sjap.o new file mode 100644 index 0000000..11d27eb --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/2omj9vns5sl3sjap.o Binary files differdiff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/3somj29yybankm0o.o b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/3somj29yybankm0o.o new file mode 100644 index 0000000..45d20ed --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/3somj29yybankm0o.o Binary files differdiff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/4wcp979luwlipy0p.o b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/4wcp979luwlipy0p.o new file mode 100644 index 0000000..61a1420 --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/4wcp979luwlipy0p.o Binary files differdiff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/bdumlxby0lqgpz.o b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/bdumlxby0lqgpz.o new file mode 100644 index 0000000..108b4df --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/bdumlxby0lqgpz.o Binary files differdiff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/dep-graph.bin b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/dep-graph.bin new file mode 100644 index 0000000..8d29453 --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/dep-graph.bin Binary files differdiff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/query-cache.bin b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/query-cache.bin new file mode 100644 index 0000000..e71b344 --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/query-cache.bin Binary files differdiff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/work-products.bin b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/work-products.bin new file mode 100644 index 0000000..6a24792 --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd-a1qk46p75y3uwtb2c4sgd9jhi/work-products.bin Binary files differdiff --git a/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd.lock b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd.lock new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/rest-api/target/debug/incremental/rest_api-swpfr0qworf1/s-gvokox8yse-1jmjvvd.lock diff --git a/src/rest-api/target/debug/rest-api b/src/rest-api/target/debug/rest-api new file mode 100755 index 0000000..e266cc8 --- /dev/null +++ b/src/rest-api/target/debug/rest-api Binary files differdiff --git a/src/rest-api/target/debug/rest-api.d b/src/rest-api/target/debug/rest-api.d new file mode 100644 index 0000000..85c01ba --- /dev/null +++ b/src/rest-api/target/debug/rest-api.d @@ -0,0 +1 @@ +/home/baitinq/src/fs-tracer-backend/src/rest-api/target/debug/rest-api: /home/baitinq/src/fs-tracer-backend/src/rest-api/src/main.rs |