├── api └── api_test.go ├── cache └── cache_test.go ├── model ├── snapshot_test.go ├── vizceral_test.go └── snapshot.go ├── storage ├── chunk_test.go ├── storage_test.go └── interface.go ├── version ├── version_test.go └── version.go ├── .gitignore ├── cmd ├── k8s-config-reloader │ ├── .gitignore │ ├── vendor │ │ ├── golang.org │ │ │ └── x │ │ │ │ ├── sys │ │ │ │ ├── unix │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── endian_big.go │ │ │ │ │ ├── export_test.go │ │ │ │ │ ├── endian_little.go │ │ │ │ │ ├── constants.go │ │ │ │ │ ├── syscall_no_getwd.go │ │ │ │ │ ├── zsysnum_solaris_amd64.go │ │ │ │ │ ├── env_unset.go │ │ │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ │ │ ├── pagesize_unix.go │ │ │ │ │ ├── flock_linux_32bit.go │ │ │ │ │ ├── asm_solaris_amd64.s │ │ │ │ │ ├── gccgo_linux_amd64.go │ │ │ │ │ ├── race0.go │ │ │ │ │ ├── env_unix.go │ │ │ │ │ ├── syscall_unix_gc.go │ │ │ │ │ ├── asm_linux_arm64.s │ │ │ │ │ ├── str.go │ │ │ │ │ ├── file_unix.go │ │ │ │ │ ├── race.go │ │ │ │ │ ├── asm_linux_s390x.s │ │ │ │ │ ├── asm_linux_ppc64x.s │ │ │ │ │ ├── asm_linux_arm.s │ │ │ │ │ ├── asm_linux_mips64x.s │ │ │ │ │ ├── flock.go │ │ │ │ │ ├── asm_freebsd_arm.s │ │ │ │ │ ├── asm_netbsd_arm.s │ │ │ │ │ ├── asm_openbsd_arm.s │ │ │ │ │ ├── asm_darwin_386.s │ │ │ │ │ ├── asm_freebsd_386.s │ │ │ │ │ ├── asm_linux_amd64.s │ │ │ │ │ ├── asm_netbsd_386.s │ │ │ │ │ ├── asm_openbsd_386.s │ │ │ │ │ ├── asm_darwin_amd64.s │ │ │ │ │ ├── asm_freebsd_amd64.s │ │ │ │ │ ├── asm_netbsd_amd64.s │ │ │ │ │ ├── asm_openbsd_amd64.s │ │ │ │ │ ├── asm_dragonfly_amd64.s │ │ │ │ │ ├── asm_darwin_arm.s │ │ │ │ │ ├── asm_darwin_arm64.s │ │ │ │ │ └── bluetooth_linux.go │ │ │ │ ├── codereview.cfg │ │ │ │ ├── .gitignore │ │ │ │ ├── AUTHORS │ │ │ │ ├── CONTRIBUTORS │ │ │ │ ├── plan9 │ │ │ │ │ ├── asm.s │ │ │ │ │ ├── env_unset.go │ │ │ │ │ ├── pwd_go15_plan9.go │ │ │ │ │ ├── pwd_plan9.go │ │ │ │ │ ├── race0.go │ │ │ │ │ ├── mksysnum_plan9.sh │ │ │ │ │ ├── str.go │ │ │ │ │ ├── env_plan9.go │ │ │ │ │ ├── race.go │ │ │ │ │ ├── asm_plan9_386.s │ │ │ │ │ └── asm_plan9_amd64.s │ │ │ │ ├── windows │ │ │ │ │ ├── svc │ │ │ │ │ │ ├── go12.go │ │ │ │ │ │ ├── example │ │ │ │ │ │ │ └── beep.go │ │ │ │ │ │ └── go12.c │ │ │ │ │ ├── registry │ │ │ │ │ │ ├── mksyscall.go │ │ │ │ │ │ └── export_test.go │ │ │ │ │ ├── mksyscall.go │ │ │ │ │ ├── env_unset.go │ │ │ │ │ ├── asm_windows_386.s │ │ │ │ │ ├── asm_windows_amd64.s │ │ │ │ │ ├── race0.go │ │ │ │ │ ├── types_windows_386.go │ │ │ │ │ ├── types_windows_amd64.go │ │ │ │ │ ├── str.go │ │ │ │ │ ├── env_windows.go │ │ │ │ │ ├── race.go │ │ │ │ │ └── memory_windows.go │ │ │ │ ├── .gitattributes │ │ │ │ └── README.md │ │ │ │ └── net │ │ │ │ ├── http2 │ │ │ │ ├── .gitignore │ │ │ │ ├── h2demo │ │ │ │ │ ├── rootCA.srl │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── Makefile │ │ │ │ │ └── README │ │ │ │ ├── Makefile │ │ │ │ ├── go16.go │ │ │ │ ├── not_go19.go │ │ │ │ ├── go19.go │ │ │ │ ├── not_go16.go │ │ │ │ ├── errors_test.go │ │ │ │ ├── README │ │ │ │ └── not_go18.go │ │ │ │ ├── codereview.cfg │ │ │ │ ├── .gitignore │ │ │ │ ├── html │ │ │ │ ├── charset │ │ │ │ │ └── testdata │ │ │ │ │ │ ├── UTF-16BE-BOM.html │ │ │ │ │ │ ├── UTF-16LE-BOM.html │ │ │ │ │ │ └── README │ │ │ │ └── testdata │ │ │ │ │ └── webkit │ │ │ │ │ ├── pending-spec-changes-plain-text-unsafe.dat │ │ │ │ │ ├── scripted │ │ │ │ │ ├── adoption01.dat │ │ │ │ │ └── webkit01.dat │ │ │ │ │ ├── adoption02.dat │ │ │ │ │ ├── inbody01.dat │ │ │ │ │ └── isindex.dat │ │ │ │ ├── AUTHORS │ │ │ │ ├── CONTRIBUTORS │ │ │ │ ├── internal │ │ │ │ ├── socket │ │ │ │ │ ├── sys_darwin.go │ │ │ │ │ ├── sys_dragonfly.go │ │ │ │ │ ├── sys_linux_amd64.go │ │ │ │ │ ├── sys_linux_arm.go │ │ │ │ │ ├── sys_linux_arm64.go │ │ │ │ │ ├── sys_linux_mips.go │ │ │ │ │ ├── sys_linux_ppc64.go │ │ │ │ │ ├── sys_linux_ppc64le.go │ │ │ │ │ ├── sys_linux_mips64.go │ │ │ │ │ ├── sys_linux_mips64le.go │ │ │ │ │ ├── sys_linux_mipsle.go │ │ │ │ │ ├── iovec_stub.go │ │ │ │ │ ├── msghdr_openbsd.go │ │ │ │ │ ├── sys_linux_386.s │ │ │ │ │ ├── sys_linux_s390x.s │ │ │ │ │ ├── sys_bsdvar.go │ │ │ │ │ ├── sys_solaris_amd64.s │ │ │ │ │ ├── cmsghdr_bsd.go │ │ │ │ │ ├── cmsghdr_solaris_64bit.go │ │ │ │ │ ├── cmsghdr_linux_32bit.go │ │ │ │ │ ├── msghdr_bsdvar.go │ │ │ │ │ ├── cmsghdr_linux_64bit.go │ │ │ │ │ ├── cmsghdr.go │ │ │ │ │ ├── iovec_solaris_64bit.go │ │ │ │ │ ├── iovec_32bit.go │ │ │ │ │ ├── iovec_64bit.go │ │ │ │ │ ├── rawconn_nommsg.go │ │ │ │ │ ├── sys_bsd.go │ │ │ │ │ ├── cmsghdr_stub.go │ │ │ │ │ ├── rawconn_nomsg.go │ │ │ │ │ ├── msghdr_linux_32bit.go │ │ │ │ │ ├── msghdr_linux_64bit.go │ │ │ │ │ ├── mmsghdr_stub.go │ │ │ │ │ ├── msghdr_stub.go │ │ │ │ │ ├── error_windows.go │ │ │ │ │ ├── rawconn_stub.go │ │ │ │ │ ├── sys.go │ │ │ │ │ ├── sys_netbsd.go │ │ │ │ │ └── error_unix.go │ │ │ │ └── nettest │ │ │ │ │ ├── helper_nobsd.go │ │ │ │ │ ├── rlimit.go │ │ │ │ │ ├── helper_stub.go │ │ │ │ │ ├── helper_unix.go │ │ │ │ │ └── helper_posix.go │ │ │ │ ├── lif │ │ │ │ ├── sys_solaris_amd64.s │ │ │ │ ├── sys.go │ │ │ │ └── syscall.go │ │ │ │ ├── icmp │ │ │ │ ├── sys_freebsd.go │ │ │ │ └── ipv6.go │ │ │ │ ├── bpf │ │ │ │ ├── setter.go │ │ │ │ └── testdata │ │ │ │ │ └── all_instructions.bpf │ │ │ │ ├── ipv4 │ │ │ │ ├── sys_stub.go │ │ │ │ ├── sys_bpf_stub.go │ │ │ │ ├── control_windows.go │ │ │ │ ├── control_stub.go │ │ │ │ ├── icmp_stub.go │ │ │ │ ├── control_test.go │ │ │ │ ├── sys_asmreqn_stub.go │ │ │ │ ├── sys_ssmreq_stub.go │ │ │ │ ├── sys_bpf.go │ │ │ │ ├── icmp_linux.go │ │ │ │ ├── payload.go │ │ │ │ ├── sys_asmreq_stub.go │ │ │ │ ├── zsys_netbsd.go │ │ │ │ ├── zsys_openbsd.go │ │ │ │ └── zsys_dragonfly.go │ │ │ │ ├── ipv6 │ │ │ │ ├── sys_stub.go │ │ │ │ ├── sys_bpf_stub.go │ │ │ │ ├── control_windows.go │ │ │ │ ├── control_stub.go │ │ │ │ ├── sys_asmreq_stub.go │ │ │ │ ├── control_test.go │ │ │ │ ├── icmp_stub.go │ │ │ │ ├── sys_ssmreq_stub.go │ │ │ │ ├── icmp_windows.go │ │ │ │ ├── sys_bpf.go │ │ │ │ ├── payload.go │ │ │ │ ├── sys_asmreq.go │ │ │ │ ├── icmp_linux.go │ │ │ │ ├── mocktransponder_test.go │ │ │ │ ├── icmp_solaris.go │ │ │ │ └── icmp_bsd.go │ │ │ │ ├── webdav │ │ │ │ ├── file_go1.7.go │ │ │ │ ├── file_go1.6.go │ │ │ │ └── internal │ │ │ │ │ └── xml │ │ │ │ │ └── README │ │ │ │ ├── .gitattributes │ │ │ │ ├── proxy │ │ │ │ └── direct.go │ │ │ │ ├── README.md │ │ │ │ ├── websocket │ │ │ │ ├── dial.go │ │ │ │ ├── examplehandler_test.go │ │ │ │ └── exampledial_test.go │ │ │ │ ├── trace │ │ │ │ ├── trace_go17.go │ │ │ │ └── trace_go16.go │ │ │ │ └── context │ │ │ │ ├── go19.go │ │ │ │ └── ctxhttp │ │ │ │ └── ctxhttp_17_test.go │ │ ├── go.uber.org │ │ │ ├── multierr │ │ │ │ ├── .gitignore │ │ │ │ ├── glide.yaml │ │ │ │ ├── .travis.yml │ │ │ │ ├── glide.lock │ │ │ │ ├── CHANGELOG.md │ │ │ │ └── .codecov.yml │ │ │ ├── atomic │ │ │ │ ├── glide.yaml │ │ │ │ ├── .gitignore │ │ │ │ ├── .travis.yml │ │ │ │ ├── .github │ │ │ │ │ └── PULL_REQUEST_TEMPLATE.md │ │ │ │ ├── glide.lock │ │ │ │ └── scripts │ │ │ │ │ └── test-ubergo.sh │ │ │ └── zap │ │ │ │ ├── scripts │ │ │ │ └── cover.sh │ │ │ │ ├── check_license.sh │ │ │ │ ├── .gitignore │ │ │ │ └── .travis.yml │ │ ├── gopkg.in │ │ │ ├── fsnotify.v1 │ │ │ │ ├── .editorconfig │ │ │ │ ├── .github │ │ │ │ │ ├── PULL_REQUEST_TEMPLATE.md │ │ │ │ │ └── ISSUE_TEMPLATE.md │ │ │ │ ├── .gitignore │ │ │ │ ├── open_mode_bsd.go │ │ │ │ ├── open_mode_darwin.go │ │ │ │ └── .travis.yml │ │ │ └── alecthomas │ │ │ │ └── kingpin.v2 │ │ │ │ ├── .travis.yml │ │ │ │ ├── guesswidth.go │ │ │ │ └── _examples │ │ │ │ ├── ping │ │ │ │ └── main.go │ │ │ │ ├── chat1 │ │ │ │ └── main.go │ │ │ │ └── modular │ │ │ │ └── main.go │ │ └── github.com │ │ │ ├── alecthomas │ │ │ ├── template │ │ │ │ ├── testdata │ │ │ │ │ ├── tmpl1.tmpl │ │ │ │ │ ├── tmpl2.tmpl │ │ │ │ │ ├── file1.tmpl │ │ │ │ │ └── file2.tmpl │ │ │ │ └── README.md │ │ │ └── units │ │ │ │ ├── README.md │ │ │ │ ├── doc.go │ │ │ │ └── si.go │ │ │ └── cenkalti │ │ │ └── backoff │ │ │ ├── .travis.yml │ │ │ ├── .gitignore │ │ │ ├── context_test.go │ │ │ └── backoff_test.go │ ├── Dockerfile │ └── Makefile └── config-validator │ └── main.go ├── retrieval ├── generator_test.go ├── promquery_test.go └── retriever_test.go ├── example ├── prometheus-mock │ ├── vendor │ │ └── github.com │ │ │ ├── prometheus │ │ │ ├── procfs │ │ │ │ ├── fixtures │ │ │ │ │ ├── 584 │ │ │ │ │ │ └── stat │ │ │ │ │ ├── 26231 │ │ │ │ │ │ ├── comm │ │ │ │ │ │ ├── exe │ │ │ │ │ │ ├── cmdline │ │ │ │ │ │ ├── fd │ │ │ │ │ │ │ ├── 0 │ │ │ │ │ │ │ ├── 1 │ │ │ │ │ │ │ ├── 2 │ │ │ │ │ │ │ ├── 3 │ │ │ │ │ │ │ └── 10 │ │ │ │ │ │ ├── io │ │ │ │ │ │ └── stat │ │ │ │ │ ├── 26232 │ │ │ │ │ │ ├── cmdline │ │ │ │ │ │ ├── comm │ │ │ │ │ │ ├── fd │ │ │ │ │ │ │ ├── 0 │ │ │ │ │ │ │ ├── 1 │ │ │ │ │ │ │ ├── 2 │ │ │ │ │ │ │ ├── 3 │ │ │ │ │ │ │ └── 4 │ │ │ │ │ │ └── stat │ │ │ │ │ ├── self │ │ │ │ │ ├── symlinktargets │ │ │ │ │ │ ├── abc │ │ │ │ │ │ ├── def │ │ │ │ │ │ ├── ghi │ │ │ │ │ │ ├── uvw │ │ │ │ │ │ ├── xyz │ │ │ │ │ │ └── README │ │ │ │ │ ├── buddyinfo │ │ │ │ │ │ ├── short │ │ │ │ │ │ │ └── buddyinfo │ │ │ │ │ │ ├── valid │ │ │ │ │ │ │ └── buddyinfo │ │ │ │ │ │ └── sizemismatch │ │ │ │ │ │ │ └── buddyinfo │ │ │ │ │ └── net │ │ │ │ │ │ └── ip_vs_stats │ │ │ │ ├── sysfs │ │ │ │ │ ├── .gitignore │ │ │ │ │ └── doc.go │ │ │ │ ├── MAINTAINERS.md │ │ │ │ ├── .travis.yml │ │ │ │ ├── NOTICE │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ └── proc_limits_test.go │ │ │ ├── client_golang │ │ │ │ ├── VERSION │ │ │ │ ├── prometheus │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── README.md │ │ │ │ │ └── fnv.go │ │ │ │ ├── .travis.yml │ │ │ │ ├── .gitignore │ │ │ │ └── AUTHORS.md │ │ │ ├── client_model │ │ │ │ ├── .gitignore │ │ │ │ ├── ruby │ │ │ │ │ ├── Rakefile │ │ │ │ │ ├── .gitignore │ │ │ │ │ ├── lib │ │ │ │ │ │ └── prometheus │ │ │ │ │ │ │ └── client │ │ │ │ │ │ │ ├── model.rb │ │ │ │ │ │ │ └── model │ │ │ │ │ │ │ └── version.rb │ │ │ │ │ ├── Gemfile │ │ │ │ │ └── Makefile │ │ │ │ ├── MAINTAINERS.md │ │ │ │ ├── NOTICE │ │ │ │ └── python │ │ │ │ │ └── prometheus │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── client │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── model │ │ │ │ │ └── __init__.py │ │ │ └── common │ │ │ │ ├── expfmt │ │ │ │ ├── fuzz │ │ │ │ │ └── corpus │ │ │ │ │ │ ├── minimal │ │ │ │ │ │ ├── from_test_parse_0 │ │ │ │ │ │ ├── from_test_parse_error_0 │ │ │ │ │ │ ├── from_test_parse_error_18 │ │ │ │ │ │ ├── from_test_parse_error_3 │ │ │ │ │ │ ├── from_test_parse_error_1 │ │ │ │ │ │ ├── from_test_parse_error_16 │ │ │ │ │ │ ├── from_test_parse_error_5 │ │ │ │ │ │ ├── from_test_parse_error_6 │ │ │ │ │ │ ├── from_test_parse_error_8 │ │ │ │ │ │ ├── from_test_parse_error_11 │ │ │ │ │ │ ├── from_test_parse_error_15 │ │ │ │ │ │ ├── from_test_parse_error_4 │ │ │ │ │ │ ├── from_test_parse_error_10 │ │ │ │ │ │ ├── from_test_parse_error_17 │ │ │ │ │ │ ├── from_test_parse_error_9 │ │ │ │ │ │ ├── from_test_parse_error_2 │ │ │ │ │ │ ├── from_test_parse_error_12 │ │ │ │ │ │ ├── from_test_parse_error_14 │ │ │ │ │ │ ├── from_test_parse_error_13 │ │ │ │ │ │ ├── from_test_parse_error_7 │ │ │ │ │ │ ├── from_test_parse_error_19 │ │ │ │ │ │ ├── from_test_parse_1 │ │ │ │ │ │ ├── from_test_parse_2 │ │ │ │ │ │ ├── from_test_parse_4 │ │ │ │ │ │ └── from_test_parse_3 │ │ │ │ └── testdata │ │ │ │ │ ├── text.gz │ │ │ │ │ ├── protobuf │ │ │ │ │ └── protobuf.gz │ │ │ │ ├── config │ │ │ │ └── testdata │ │ │ │ │ ├── tls_config.empty.good.yml │ │ │ │ │ ├── tls_config.cert_no_key.bad.yml │ │ │ │ │ ├── tls_config.key_no_cert.bad.yml │ │ │ │ │ ├── tls_config.insecure.good.yml │ │ │ │ │ ├── tls_config.invalid_field.bad.yml │ │ │ │ │ ├── http.conf.invalid-bearer-token-file.bad.yml │ │ │ │ │ ├── http.conf.empty.bad.yml │ │ │ │ │ ├── http.conf.good.yml │ │ │ │ │ └── http.conf.bearer-token-and-file-set.bad.yml │ │ │ │ ├── MAINTAINERS.md │ │ │ │ ├── .travis.yml │ │ │ │ ├── NOTICE │ │ │ │ ├── README.md │ │ │ │ └── model │ │ │ │ └── model.go │ │ │ ├── beorn7 │ │ │ └── perks │ │ │ │ ├── .gitignore │ │ │ │ └── histogram │ │ │ │ ├── bench_test.go │ │ │ │ └── histogram_test.go │ │ │ ├── matttproud │ │ │ └── golang_protobuf_extensions │ │ │ │ ├── .travis.yml │ │ │ │ ├── NOTICE │ │ │ │ ├── ext │ │ │ │ └── moved.go │ │ │ │ ├── pbtest │ │ │ │ └── deleted.go │ │ │ │ └── pbutil │ │ │ │ └── doc.go │ │ │ └── golang │ │ │ └── protobuf │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── Dockerfile │ └── Gopkg.toml ├── prometheus.yml ├── README.md ├── simple.yaml ├── full-compose.yaml └── simple-compose.yaml ├── documentation ├── sample.png ├── architecture.png └── sample_filter.png ├── helm ├── promviz │ ├── Chart.yaml │ ├── templates │ │ ├── NOTES.txt │ │ ├── configmap.yaml │ │ ├── _helpers.tpl │ │ └── service.yaml │ └── .helmignore └── promviz-front │ ├── Chart.yaml │ ├── templates │ ├── NOTES.txt │ ├── _helpers.tpl │ └── service.yaml │ ├── .helmignore │ └── values.yaml ├── Dockerfile ├── .github └── workflows │ └── build.yaml ├── config └── config_test.go └── Makefile /api/api_test.go: -------------------------------------------------------------------------------- 1 | package api 2 | -------------------------------------------------------------------------------- /cache/cache_test.go: -------------------------------------------------------------------------------- 1 | package cache 2 | -------------------------------------------------------------------------------- /model/snapshot_test.go: -------------------------------------------------------------------------------- 1 | package model 2 | -------------------------------------------------------------------------------- /model/vizceral_test.go: -------------------------------------------------------------------------------- 1 | package model 2 | -------------------------------------------------------------------------------- /storage/chunk_test.go: -------------------------------------------------------------------------------- 1 | package storage 2 | -------------------------------------------------------------------------------- /storage/storage_test.go: -------------------------------------------------------------------------------- 1 | package storage 2 | -------------------------------------------------------------------------------- /version/version_test.go: -------------------------------------------------------------------------------- 1 | package version 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | .DS_Store 3 | vendor/ 4 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | -------------------------------------------------------------------------------- /retrieval/generator_test.go: -------------------------------------------------------------------------------- 1 | package retrieval 2 | -------------------------------------------------------------------------------- /retrieval/promquery_test.go: -------------------------------------------------------------------------------- 1 | package retrieval 2 | -------------------------------------------------------------------------------- /retrieval/retriever_test.go: -------------------------------------------------------------------------------- 1 | package retrieval 2 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/go.uber.org/multierr/.gitignore: -------------------------------------------------------------------------------- 1 | /vendor 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/self: -------------------------------------------------------------------------------- 1 | 26231 -------------------------------------------------------------------------------- /cmd/config-validator/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26232/cmdline: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/codereview.cfg: -------------------------------------------------------------------------------- 1 | issuerepo: golang/go 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/beorn7/perks/.gitignore: -------------------------------------------------------------------------------- 1 | *.test 2 | *.prof 3 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_golang/VERSION: -------------------------------------------------------------------------------- 1 | 0.8.0 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_model/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/comm: -------------------------------------------------------------------------------- 1 | vim 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/symlinktargets/abc: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/symlinktargets/def: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/symlinktargets/ghi: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/symlinktargets/uvw: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/symlinktargets/xyz: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/http2/h2demo/rootCA.srl: -------------------------------------------------------------------------------- 1 | E2CE26BF3285059C 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/exe: -------------------------------------------------------------------------------- 1 | /usr/bin/vim -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26232/comm: -------------------------------------------------------------------------------- 1 | ata_sff 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/sysfs/.gitignore: -------------------------------------------------------------------------------- 1 | fixtures/ 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/minimal: -------------------------------------------------------------------------------- 1 | m{} 0 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/cmdline: -------------------------------------------------------------------------------- 1 | vimtest.go+10 -------------------------------------------------------------------------------- /documentation/sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghialv/promviz/HEAD/documentation/sample.png -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/config/testdata/tls_config.empty.good.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/fd/0: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/abc -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/fd/1: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/def -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/fd/2: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/ghi -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/fd/3: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/uvw -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26232/fd/0: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/abc -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26232/fd/1: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/def -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26232/fd/2: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/ghi -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26232/fd/3: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/uvw -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26232/fd/4: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/xyz -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_0: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/fd/10: -------------------------------------------------------------------------------- 1 | ../../symlinktargets/xyz -------------------------------------------------------------------------------- /documentation/architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghialv/promviz/HEAD/documentation/architecture.png -------------------------------------------------------------------------------- /documentation/sample_filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghialv/promviz/HEAD/documentation/sample_filter.png -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/matttproud/golang_protobuf_extensions/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_model/ruby/Rakefile: -------------------------------------------------------------------------------- 1 | require "bundler/gem_tasks" 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_0: -------------------------------------------------------------------------------- 1 | bla 3.14 -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Tobias Schmidt 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_golang/prometheus/.gitignore: -------------------------------------------------------------------------------- 1 | command-line-arguments.test 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_18: -------------------------------------------------------------------------------- 1 | {label="bla"} 3.14 2 -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_3: -------------------------------------------------------------------------------- 1 | metric{@="bla"} 3.14 -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_model/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Björn Rabenstein 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/MAINTAINERS.md: -------------------------------------------------------------------------------- 1 | * Fabian Reinartz 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_1: -------------------------------------------------------------------------------- 1 | metric{label="\t"} 3.14 -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_16: -------------------------------------------------------------------------------- 1 | 2 | # TYPE met-ric 3 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_5: -------------------------------------------------------------------------------- 1 | metric{label+="bla"} 3.14 -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_6: -------------------------------------------------------------------------------- 1 | metric{label=bla} 3.14 -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_8: -------------------------------------------------------------------------------- 1 | metric{label="bla"+} 3.14 -------------------------------------------------------------------------------- /helm/promviz/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | description: A Helm chart for Kubernetes 3 | name: promviz 4 | version: 0.1.0 5 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/config/testdata/tls_config.cert_no_key.bad.yml: -------------------------------------------------------------------------------- 1 | cert_file: somefile 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/config/testdata/tls_config.key_no_cert.bad.yml: -------------------------------------------------------------------------------- 1 | key_file: somefile 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_11: -------------------------------------------------------------------------------- 1 | metric{label="bla"} blubb 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_15: -------------------------------------------------------------------------------- 1 | 2 | # TYPE metric bla 3 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_4: -------------------------------------------------------------------------------- 1 | metric{__name__="bla"} 3.14 -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/gopkg.in/fsnotify.v1/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/config/testdata/tls_config.insecure.good.yml: -------------------------------------------------------------------------------- 1 | insecure_skip_verify: true 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/config/testdata/tls_config.invalid_field.bad.yml: -------------------------------------------------------------------------------- 1 | something_invalid: true 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_10: -------------------------------------------------------------------------------- 1 | metric{label="bla"} 3.14 2 3 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_17: -------------------------------------------------------------------------------- 1 | @invalidmetric{label="bla"} 3.14 2 -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_9: -------------------------------------------------------------------------------- 1 | metric{label="bla"} 3.14 2.72 2 | -------------------------------------------------------------------------------- /helm/promviz-front/Chart.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | description: A Helm chart for Kubernetes 3 | name: promviz-front 4 | version: 0.1.0 5 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/github.com/alecthomas/template/testdata/tmpl1.tmpl: -------------------------------------------------------------------------------- 1 | template1 2 | {{define "x"}}x{{end}} 3 | {{template "y"}} 4 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/github.com/alecthomas/template/testdata/tmpl2.tmpl: -------------------------------------------------------------------------------- 1 | template2 2 | {{define "y"}}y{{end}} 3 | {{template "x"}} 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | go: 5 | - 1.7.5 6 | - tip 7 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/github.com/alecthomas/template/testdata/file1.tmpl: -------------------------------------------------------------------------------- 1 | {{define "x"}}TEXT{{end}} 2 | {{define "dotV"}}{{.V}}{{end}} 3 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_model/ruby/.gitignore: -------------------------------------------------------------------------------- 1 | *.gem 2 | .bundle 3 | Gemfile.lock 4 | pkg 5 | vendor/bundle 6 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/config/testdata/http.conf.invalid-bearer-token-file.bad.yml: -------------------------------------------------------------------------------- 1 | bearer_token_file: file 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_2: -------------------------------------------------------------------------------- 1 | 2 | metric{label="new 3 | line"} 3.14 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.7.6 5 | - 1.8.3 6 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/buddyinfo/short/buddyinfo: -------------------------------------------------------------------------------- 1 | Node 0, zone 2 | Node 0, zone 3 | Node 0, zone 4 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/http2/h2demo/.gitignore: -------------------------------------------------------------------------------- 1 | h2demo 2 | h2demo.linux 3 | client-id.dat 4 | client-secret.dat 5 | token.dat 6 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/.gitignore: -------------------------------------------------------------------------------- 1 | # Add no patterns to .hgignore except for files generated by the build. 2 | last-change 3 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/gopkg.in/alecthomas/kingpin.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | install: go get -t -v ./... 4 | go: 1.2 5 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_12: -------------------------------------------------------------------------------- 1 | 2 | # HELP metric one 3 | # HELP metric two 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_14: -------------------------------------------------------------------------------- 1 | 2 | metric 4.12 3 | # TYPE metric counter 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_13: -------------------------------------------------------------------------------- 1 | 2 | # TYPE metric counter 3 | # TYPE metric untyped 4 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/github.com/alecthomas/template/testdata/file2.tmpl: -------------------------------------------------------------------------------- 1 | {{define "dot"}}{{.}}{{end}} 2 | {{define "nested"}}{{template "dot" .}}{{end}} 3 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_7: -------------------------------------------------------------------------------- 1 | 2 | # TYPE metric summary 3 | metric{quantile="bla"} 3.14 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_error_19: -------------------------------------------------------------------------------- 1 | 2 | # TYPE metric histogram 3 | metric_bucket{le="bla"} 3.14 4 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.20 2 | 3 | RUN apk --update add ca-certificates atop 4 | 5 | ADD build/promviz /bin 6 | 7 | EXPOSE 9091 8 | 9 | ENTRYPOINT ["/bin/promviz"] 10 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine:3.5 2 | 3 | RUN apk --update add ca-certificates atop 4 | 5 | ADD build/k8s-config-reloader / 6 | 7 | ENTRYPOINT ["/k8s-config-reloader"] -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/config/testdata/http.conf.empty.bad.yml: -------------------------------------------------------------------------------- 1 | basic_auth: 2 | username: username 3 | password: mysecret 4 | bearer_token_file: file 5 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_model/ruby/lib/prometheus/client/model.rb: -------------------------------------------------------------------------------- 1 | require 'prometheus/client/model/metrics.pb' 2 | require 'prometheus/client/model/version' 3 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/config/testdata/http.conf.good.yml: -------------------------------------------------------------------------------- 1 | basic_auth: 2 | username: username 3 | password: "mysecret" 4 | proxy_url: "http://remote.host" 5 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/go.uber.org/atomic/glide.yaml: -------------------------------------------------------------------------------- 1 | package: go.uber.org/atomic 2 | testImport: 3 | - package: github.com/stretchr/testify 4 | subpackages: 5 | - assert 6 | - require 7 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_model/ruby/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # Specify your gem's dependencies in prometheus-client-model.gemspec 4 | gemspec 5 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/go.uber.org/atomic/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | /vendor 3 | /cover 4 | cover.out 5 | lint.log 6 | 7 | # Binaries 8 | *.test 9 | 10 | # Profiling output 11 | *.prof 12 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_golang/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | go: 5 | - 1.5.4 6 | - 1.6.2 7 | 8 | script: 9 | - go test -short ./... 10 | -------------------------------------------------------------------------------- /example/prometheus.yml: -------------------------------------------------------------------------------- 1 | global: 2 | scrape_interval: 10s 3 | evaluation_interval: 10s 4 | 5 | scrape_configs: 6 | - job_name: 'target' 7 | static_configs: 8 | - targets: ['target:30001'] -------------------------------------------------------------------------------- /model/snapshot.go: -------------------------------------------------------------------------------- 1 | package model 2 | 3 | import ( 4 | "time" 5 | ) 6 | 7 | type Snapshot struct { 8 | Timestamp time.Time `json:"timestamp"` 9 | GraphJSON string `json:"graphJSON"` 10 | } 11 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/matttproud/golang_protobuf_extensions/ext/moved.go: -------------------------------------------------------------------------------- 1 | // Package ext moved to a new location: github.com/matttproud/golang_protobuf_extensions/pbutil. 2 | package ext 3 | -------------------------------------------------------------------------------- /helm/promviz/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | 1. Get the list of pods by running the following command: 2 | 3 | kubectl -n {{ .Release.Namespace }} get pods -l "app={{ template "name" . }},release={{ .Release.Name }}" -o wide -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/testdata/text.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghialv/promviz/HEAD/example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/testdata/text.gz -------------------------------------------------------------------------------- /helm/promviz-front/templates/NOTES.txt: -------------------------------------------------------------------------------- 1 | 1. Get the list of pods by running the following command: 2 | 3 | kubectl -n {{ .Release.Namespace }} get pods -l "app={{ template "name" . }},release={{ .Release.Name }}" -o wide -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/testdata/protobuf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghialv/promviz/HEAD/example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/testdata/protobuf -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/io: -------------------------------------------------------------------------------- 1 | rchar: 750339 2 | wchar: 818609 3 | syscr: 7405 4 | syscw: 5245 5 | read_bytes: 1024 6 | write_bytes: 2048 7 | cancelled_write_bytes: -1024 8 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghialv/promviz/HEAD/cmd/k8s-config-reloader/vendor/golang.org/x/net/html/charset/testdata/UTF-16BE-BOM.html -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghialv/promviz/HEAD/cmd/k8s-config-reloader/vendor/golang.org/x/net/html/charset/testdata/UTF-16LE-BOM.html -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/testdata/protobuf.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nghialv/promviz/HEAD/example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/testdata/protobuf.gz -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_model/ruby/lib/prometheus/client/model/version.rb: -------------------------------------------------------------------------------- 1 | module Prometheus 2 | module Client 3 | module Model 4 | VERSION = '0.1.0' 5 | end 6 | end 7 | end 8 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/gopkg.in/fsnotify.v1/.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | #### What does this pull request do? 2 | 3 | 4 | #### Where should the reviewer start? 5 | 6 | 7 | #### How should this be manually tested? 8 | 9 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/config/testdata/http.conf.bearer-token-and-file-set.bad.yml: -------------------------------------------------------------------------------- 1 | basic_auth: 2 | username: username 3 | password: "mysecret" 4 | bearer_token: mysecret 5 | bearer_token_file: file 6 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/symlinktargets/README: -------------------------------------------------------------------------------- 1 | This directory contains some empty files that are the symlinks the files in the "fd" directory point to. 2 | They are otherwise ignored by the tests 3 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/go.uber.org/multierr/glide.yaml: -------------------------------------------------------------------------------- 1 | package: go.uber.org/multierr 2 | import: 3 | - package: go.uber.org/atomic 4 | version: ^1 5 | testImport: 6 | - package: github.com/stretchr/testify 7 | subpackages: 8 | - assert 9 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_golang/prometheus/README.md: -------------------------------------------------------------------------------- 1 | See [![go-doc](https://godoc.org/github.com/prometheus/client_golang/prometheus?status.svg)](https://godoc.org/github.com/prometheus/client_golang/prometheus). 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/expfmt/fuzz/corpus/from_test_parse_1: -------------------------------------------------------------------------------- 1 | 2 | minimal_metric 1.234 3 | another_metric -3e3 103948 4 | # Even that: 5 | no_labels{} 3 6 | # HELP line for non-existing metric will be ignored. 7 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26232/stat: -------------------------------------------------------------------------------- 1 | 33 (ata_sff) S 2 0 0 0 -1 69238880 0 0 0 0 0 0 0 0 0 -20 1 0 5 0 0 18446744073709551615 0 0 0 0 0 0 0 2147483647 0 18446744073709551615 0 0 17 1 0 0 0 0 0 0 0 0 0 0 0 0 0 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/common/NOTICE: -------------------------------------------------------------------------------- 1 | Common libraries shared by Prometheus Go components. 2 | Copyright 2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/html/testdata/webkit/pending-spec-changes-plain-text-unsafe.dat: -------------------------------------------------------------------------------- 1 | #data 2 | fillertext 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | "fillertext" 9 | |
10 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/gopkg.in/alecthomas/kingpin.v2/guesswidth.go: -------------------------------------------------------------------------------- 1 | // +build appengine !linux,!freebsd,!darwin,!dragonfly,!netbsd,!openbsd 2 | 3 | package kingpin 4 | 5 | import "io" 6 | 7 | func guessWidth(w io.Writer) int { 8 | return 80 9 | } 10 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/matttproud/golang_protobuf_extensions/pbtest/deleted.go: -------------------------------------------------------------------------------- 1 | // Package pbtest is deleted for the time being, because upstream Protocol Buffer 3 may have rendered quick.Value-based blackbox generation impossible. 2 | package pbtest 3 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/gopkg.in/fsnotify.v1/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/github.com/cenkalti/backoff/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.3.3 4 | - tip 5 | before_install: 6 | - go get github.com/mattn/goveralls 7 | - go get golang.org/x/tools/cmd/cover 8 | script: 9 | - $HOME/gopath/bin/goveralls -service=travis-ci 10 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/plan9/asm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·use(SB),NOSPLIT,$0 8 | RET 9 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/golang/protobuf/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | *.[568ao] 3 | *.ao 4 | *.so 5 | *.pyc 6 | ._* 7 | .nfs.* 8 | [568a].out 9 | *~ 10 | *.orig 11 | core 12 | _obj 13 | _test 14 | _testmain.go 15 | protoc-gen-go/testdata/multi/*.pb.go 16 | _conformance/_conformance 17 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_dragonfly.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func probeProtocolStack() int { return 4 } 8 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/go.uber.org/zap/scripts/cover.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > cover.out 5 | 6 | for d in $(go list $@); do 7 | go test -race -coverprofile=profile.out $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> cover.out 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/lif/sys_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 8 | JMP syscall·sysvicall6(SB) 9 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_linux_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x12b 9 | sysSENDMMSG = 0x133 10 | ) 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_linux_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x16d 9 | sysSENDMMSG = 0x176 10 | ) 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0xf3 9 | sysSENDMMSG = 0x10d 10 | ) 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_linux_mips.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_linux_ppc64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_linux_ppc64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x157 9 | sysSENDMMSG = 0x15d 10 | ) 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_linux_mips64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_linux_mips64le.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x14ae 9 | sysSENDMMSG = 0x14b6 10 | ) 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/sys_linux_mipsle.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | const ( 8 | sysRECVMMSG = 0x10ef 9 | sysSENDMMSG = 0x10f7 10 | ) 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/unix/export_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | var Itoa = itoa 10 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/http2/h2demo/Makefile: -------------------------------------------------------------------------------- 1 | h2demo.linux: h2demo.go 2 | GOOS=linux go build --tags=h2demo -o h2demo.linux . 3 | 4 | FORCE: 5 | 6 | upload: FORCE 7 | go install golang.org/x/build/cmd/upload 8 | upload --verbose --osarch=linux-amd64 --tags=h2demo --file=go:golang.org/x/net/http2/h2demo --public http2-demo-server-tls/h2demo 9 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/windows/svc/go12.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build !go1.3 7 | 8 | package svc 9 | 10 | // from go12.c 11 | func getServiceMain(r *uintptr) 12 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/windows/registry/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package registry 6 | 7 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go syscall.go 8 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/icmp/sys_freebsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package icmp 6 | 7 | import "syscall" 8 | 9 | func init() { 10 | freebsdVersion, _ = syscall.SysctlUint32("kern.osreldate") 11 | } 12 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/github.com/alecthomas/units/README.md: -------------------------------------------------------------------------------- 1 | # Units - Helpful unit multipliers and functions for Go 2 | 3 | The goal of this package is to have functionality similar to the [time](http://golang.org/pkg/time/) package. 4 | 5 | It allows for code like this: 6 | 7 | ```go 8 | n, err := ParseBase2Bytes("1KB") 9 | // n == 1024 10 | n = units.Mebibyte * 512 11 | ``` 12 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/buddyinfo/valid/buddyinfo: -------------------------------------------------------------------------------- 1 | Node 0, zone DMA 1 0 1 0 2 1 1 0 1 1 3 2 | Node 0, zone DMA32 759 572 791 475 194 45 12 0 0 0 0 3 | Node 0, zone Normal 4381 1093 185 1530 567 102 4 0 0 0 0 4 | -------------------------------------------------------------------------------- /example/prometheus-mock/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.8-alpine3.5 2 | 3 | EXPOSE 30001 4 | 5 | RUN mkdir -p /go/src \ 6 | && mkdir -p /go/bin \ 7 | && mkdir -p /go/pkg 8 | 9 | ENV GOPATH=/go 10 | ENV PATH=$GOPATH/bin:$PATH 11 | 12 | RUN mkdir -p $GOPATH/src/app 13 | ADD . $GOPATH/src/app 14 | 15 | WORKDIR $GOPATH/src/app 16 | RUN go build -o demo . 17 | 18 | ENTRYPOINT ["/go/src/app/demo"] 19 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/26231/stat: -------------------------------------------------------------------------------- 1 | 26231 (vim) R 5392 7446 5392 34835 7446 4218880 32533 309516 26 82 1677 44 158 99 20 0 1 0 82375 56274944 1981 18446744073709551615 4194304 6294284 140736914091744 140736914087944 139965136429984 0 0 12288 1870679807 0 0 0 17 0 0 0 31 0 0 8391624 8481048 16420864 140736914093252 140736914093279 140736914093279 140736914096107 0 2 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/buddyinfo/sizemismatch/buddyinfo: -------------------------------------------------------------------------------- 1 | Node 0, zone DMA 1 0 1 0 2 1 1 0 1 1 3 2 | Node 0, zone DMA32 759 572 791 475 194 45 12 0 0 0 0 0 3 | Node 0, zone Normal 4381 1093 185 1530 567 102 4 0 0 0 4 | -------------------------------------------------------------------------------- /storage/interface.go: -------------------------------------------------------------------------------- 1 | package storage 2 | 3 | import ( 4 | "github.com/nghialv/promviz/model" 5 | ) 6 | 7 | type Storage interface { 8 | Appender 9 | Querier 10 | Close() error 11 | } 12 | 13 | type Appender interface { 14 | Add(*model.Snapshot) error 15 | } 16 | 17 | type Querier interface { 18 | GetChunk(int64) (Chunk, error) 19 | GetLatestSnapshot() (*model.Snapshot, error) 20 | } 21 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/net/ip_vs_stats: -------------------------------------------------------------------------------- 1 | Total Incoming Outgoing Incoming Outgoing 2 | Conns Packets Packets Bytes Bytes 3 | 16AA370 E33656E5 0 51D8C8883AB3 0 4 | 5 | Conns/s Pkts/s Pkts/s Bytes/s Bytes/s 6 | 4 1FB3C 0 1282A8F 0 7 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/bpf/setter.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package bpf 6 | 7 | // A Setter is a type which can attach a compiled BPF filter to itself. 8 | type Setter interface { 9 | SetBPF(filter []RawInstruction) error 10 | } 11 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package windows 6 | 7 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go 8 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/gopkg.in/fsnotify.v1/open_mode_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd dragonfly 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY 12 | -------------------------------------------------------------------------------- /example/prometheus-mock/vendor/github.com/prometheus/procfs/fixtures/584/stat: -------------------------------------------------------------------------------- 1 | 1020 ((a b ) ( c d) ) R 28378 1020 28378 34842 1020 4218880 286 0 0 0 0 0 0 0 20 0 1 0 10839175 10395648 155 18446744073709551615 4194304 4238788 140736466511168 140736466511168 140609271124624 0 0 0 0 0 0 0 17 5 0 0 0 0 0 6336016 6337300 25579520 140736466515030 140736466515061 140736466515061 140736466518002 0 2 | #!/bin/cat /proc/self/stat 3 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/github.com/cenkalti/backoff/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/unix/syscall_no_getwd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build dragonfly freebsd netbsd openbsd 6 | 7 | package unix 8 | 9 | const ImplementsGetwd = false 10 | 11 | func Getwd() (string, error) { return "", ENOTSUP } 12 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/unix/zsysnum_solaris_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,solaris 6 | 7 | package unix 8 | 9 | // TODO(aram): remove these before Go 1.3. 10 | const ( 11 | SYS_EXECVE = 59 12 | SYS_FCNTL = 62 13 | ) 14 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/iovec_stub.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris 6 | 7 | package socket 8 | 9 | type iovec struct{} 10 | 11 | func (v *iovec) set(b []byte) {} 12 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/gopkg.in/fsnotify.v1/open_mode_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | // note: this constant is not defined on BSD 12 | const openMode = unix.O_EVTONLY 13 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/go.uber.org/zap/check_license.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | ERROR_COUNT=0 4 | while read -r file 5 | do 6 | case "$(head -1 "${file}")" in 7 | *"Copyright (c) "*" Uber Technologies, Inc.") 8 | # everything's cool 9 | ;; 10 | *) 11 | echo "$file is missing license header." 12 | (( ERROR_COUNT++ )) 13 | ;; 14 | esac 15 | done < <(git ls-files "*\.go") 16 | 17 | exit $ERROR_COUNT 18 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/unix/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,linux 6 | // +build !gccgo 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | import ( 4 | "fmt" 5 | "runtime" 6 | ) 7 | 8 | var ( 9 | Version = "" 10 | Branch = "" 11 | BuildTimestamp = "" 12 | GoVersion = runtime.Version() 13 | ) 14 | 15 | func String() string { 16 | return fmt.Sprintf("version: %s, branch: %s, build timestamp: %s, go version: %s", 17 | Version, 18 | Branch, 19 | BuildTimestamp, 20 | GoVersion) 21 | } 22 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/internal/socket/msghdr_openbsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package socket 6 | 7 | func (h *msghdr) setIov(vs []iovec) { 8 | l := len(vs) 9 | if l == 0 { 10 | return 11 | } 12 | h.Iov = &vs[0] 13 | h.Iovlen = uint32(l) 14 | } 15 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/plan9/env_unset.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.4 6 | 7 | package plan9 8 | 9 | import "syscall" 10 | 11 | func Unsetenv(key string) error { 12 | // This was added in Go 1.4. 13 | return syscall.Unsetenv(key) 14 | } 15 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/sys/windows/registry/export_test.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | 7 | package registry 8 | 9 | func (k Key) SetValue(name string, valtype uint32, data []byte) error { 10 | return k.setValue(name, valtype, data) 11 | } 12 | -------------------------------------------------------------------------------- /cmd/k8s-config-reloader/vendor/golang.org/x/net/html/testdata/webkit/scripted/adoption01.dat: -------------------------------------------------------------------------------- 1 | #data 2 |

TEXT 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | |

9 | | 10 | | id="B" 11 | | 3 3 | #errors 4 | #document 5 | | 6 | | 7 | | 8 | | "1" 9 | | 4 15 | #errors 16 | #document 17 | | 18 | | 19 | | 20 | | "1" 21 | |