This file contains hidden or 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
ERROR: /home/cfcosta/Projects/go/src/github.com/kiali/kiali-ui/src/actions/GraphDataThunkActions.ts:35:80 - 'getState' is declared but its value is never read. | |
ERROR: /home/cfcosta/Projects/go/src/github.com/kiali/kiali-ui/src/app/App.tsx:33:20 - 'e' is declared but its value is never read. | |
ERROR: /home/cfcosta/Projects/go/src/github.com/kiali/kiali-ui/src/app/AuthenticationController.tsx:67:5 - 'prevState' is declared but its value is never read. | |
ERROR: /home/cfcosta/Projects/go/src/github.com/kiali/kiali-ui/src/components/BreadcrumbView/BreadcrumbView.tsx:65:5 - 'prevState' is declared but its value is never read. | |
ERROR: /home/cfcosta/Projects/go/src/github.com/kiali/kiali-ui/src/components/BreadcrumbView/BreadcrumbView.tsx:66:5 - 'snapshot' is declared but its value is never read. | |
ERROR: /home/cfcosta/Projects/go/src/github.com/kiali/kiali-ui/src/components/CytoscapeGraph/ContextMenu/NodeContextMenu.tsx:147:22 - 'e' is declared but its value is never read. | |
ERROR: /home/cfcosta/Projects/go/src/github.com/ki |
This file contains hidden or 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
$ npm run snyk-protect | |
> @kiali/[email protected] snyk-protect /home/cfcosta/Projects/go/src/github.com/kiali/kiali-ui | |
> snyk protect | |
<--- Last few GCs ---> | |
[1712:0x5568d38c50a0] 67669 ms: Mark-sweep 1280.0 (1416.8) -> 1279.9 (1360.8) MB, 122.0 / 0.0 ms (average mu = 0.197, current mu = 0.000) last resort GC in old space requested | |
[1712:0x5568d38c50a0] 67797 ms: Mark-sweep 1279.9 (1360.8) -> 1279.9 (1352.3) MB, 128.3 / 0.0 ms (average mu = 0.105, current mu = 0.000) last resort GC in old space requested |
This file contains hidden or 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
use nom::is_alphabetic; | |
use std::str; | |
#[derive(Debug, PartialEq, Eq)] | |
pub enum Keyword { | |
Unknown, | |
Help, | |
Echo, | |
} |
This file contains hidden or 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
" Indent configuration | |
autocmd BufRead neomutt-* setf mail | |
autocmd BufRead *.tsx setf typescript | |
autocmd FileType bash,zsh setlocal ts=2 sts=2 sw=2 expandtab | |
autocmd FileType c,cpp setlocal ts=4 sts=4 sw=4 expandtab | |
autocmd FileType css,html setlocal ts=2 sts=2 sw=2 expandtab | |
autocmd FileType elm setlocal ts=2 sts=2 sw=2 expandtab | |
autocmd FileType go setlocal ts=2 sts=2 sw=2 noexpandtab list | |
autocmd FileType ruby setlocal ts=2 sts=2 sw=2 re=1 expandtab | |
autocmd FileType sql setlocal ts=2 sts=2 sw=2 expandtab |
This file contains hidden or 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
FROM rhel7 as builder | |
ADD kiali /go/src/github.com/kiali/kiali | |
ADD kiali-ui /go/src/github.com/kiali/kiali-ui | |
ENV GOPATH=/go | |
WORKDIR /go/src/github.com/kiali/kiali | |
RUN yum upgrade -y |
This file contains hidden or 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
#set -xe | |
#docker-compose build | |
istioctl delete -f openshift/istio.yml | |
oc delete project poller | |
echo -n "Waiting until project is destroyed" | |
until ! oc get projects | grep "poller" &>/dev/null; do | |
echo -n . |
This file contains hidden or 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
FROM golang:alpine as golang-builder | |
ADD kiali /go/src/github.com/kiali/kiali | |
WORKDIR /go/src/github.com/kiali/kiali | |
RUN apk add make bash git && make build | |
FROM node:8-alpine as node-builder | |
ADD kiali-ui /opt/kiali-ui | |
WORKDIR /opt/kiali-ui | |
RUN apk update && apk add git && npm install -g yarn && yarn install && yarn build && ls -lah . |
This file contains hidden or 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
#!/usr/bin/bash | |
set -xe | |
SOURCE_ROOT="$(dirname "${BASH_SOURCE}")" | |
generate_mesh() | |
{ | |
deploy_pair kiali-test-composite-pingpong | |
deploy_pair kiali-test-composite-depth |
This file contains hidden or 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
generate_traffic.rb | |
test-service/deploy/openshift/generate-mesh.sh |
This file contains hidden or 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
[package] | |
name = "hello" | |
version = "0.1.0" | |
authors = ["Cainã Costa <[email protected]>"] | |
[dependencies] | |
rocket = { version = "*", features = ["testing"] } | |
rocket_codegen = "*" | |
[dev-dependencies] |