├── algorithm ├── README ├── stack_pop.php └── printListFromTailToHead.php ├── baike_spider ├── __init__.py ├── html_downloader.py ├── url_manager.py └── html_outputer.py ├── experiment ├── gitHook │ ├── README │ ├── show.php │ └── ruleset.xml ├── sftp │ ├── README │ ├── 1.jpeg │ ├── 2.jpeg │ ├── 3.jpeg │ └── 上传一次项目.jpeg └── tools │ ├── k8s-dashboard-backend │ ├── vendor │ │ ├── github.com │ │ │ ├── modern-go │ │ │ │ ├── reflect2 │ │ │ │ │ ├── reflect2_amd64.s │ │ │ │ │ ├── relfect2_386.s │ │ │ │ │ ├── relfect2_arm.s │ │ │ │ │ ├── relfect2_arm64.s │ │ │ │ │ ├── relfect2_mipsx.s │ │ │ │ │ ├── relfect2_ppc64x.s │ │ │ │ │ ├── relfect2_s390x.s │ │ │ │ │ ├── relfect2_amd64p32.s │ │ │ │ │ ├── relfect2_mips64x.s │ │ │ │ │ ├── go_below_17.go │ │ │ │ │ ├── go_above_17.go │ │ │ │ │ ├── go_below_19.go │ │ │ │ │ ├── go_above_19.go │ │ │ │ │ ├── test.sh │ │ │ │ │ └── Gopkg.lock │ │ │ │ └── concurrent │ │ │ │ │ ├── go_above_19.go │ │ │ │ │ ├── test.sh │ │ │ │ │ ├── log.go │ │ │ │ │ ├── executor.go │ │ │ │ │ └── go_below_19.go │ │ │ ├── emicklei │ │ │ │ └── go-restful │ │ │ │ │ ├── Srcfile │ │ │ │ │ ├── coverage.sh │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── json.go │ │ │ │ │ ├── jsoniter.go │ │ │ │ │ ├── bench_test.sh │ │ │ │ │ ├── service_error.go │ │ │ │ │ └── log │ │ │ │ │ └── log.go │ │ │ ├── googleapis │ │ │ │ └── gnostic │ │ │ │ │ ├── compiler │ │ │ │ │ ├── README.md │ │ │ │ │ └── main.go │ │ │ │ │ ├── extensions │ │ │ │ │ ├── COMPILE-EXTENSION.sh │ │ │ │ │ └── README.md │ │ │ │ │ └── OpenAPIv2 │ │ │ │ │ └── README.md │ │ │ ├── docker │ │ │ │ └── spdystream │ │ │ │ │ ├── utils.go │ │ │ │ │ └── CONTRIBUTING.md │ │ │ ├── gorilla │ │ │ │ └── websocket │ │ │ │ │ ├── AUTHORS │ │ │ │ │ ├── trace_17.go │ │ │ │ │ ├── mask_safe.go │ │ │ │ │ ├── conn_write.go │ │ │ │ │ ├── client_clone.go │ │ │ │ │ ├── trace.go │ │ │ │ │ └── conn_write_legacy.go │ │ │ ├── json-iterator │ │ │ │ └── go │ │ │ │ │ ├── test.sh │ │ │ │ │ ├── build.sh │ │ │ │ │ ├── Gopkg.lock │ │ │ │ │ └── Gopkg.toml │ │ │ ├── ghodss │ │ │ │ └── yaml │ │ │ │ │ └── yaml_go110.go │ │ │ └── google │ │ │ │ ├── btree │ │ │ │ └── README.md │ │ │ │ └── gofuzz │ │ │ │ └── doc.go │ │ ├── golang.org │ │ │ └── x │ │ │ │ ├── net │ │ │ │ ├── http2 │ │ │ │ │ ├── Makefile │ │ │ │ │ ├── go16.go │ │ │ │ │ ├── not_go19.go │ │ │ │ │ ├── go19.go │ │ │ │ │ ├── not_go16.go │ │ │ │ │ ├── not_go111.go │ │ │ │ │ ├── README │ │ │ │ │ ├── go111.go │ │ │ │ │ └── not_go18.go │ │ │ │ └── context │ │ │ │ │ └── go19.go │ │ │ │ ├── oauth2 │ │ │ │ ├── AUTHORS │ │ │ │ ├── CONTRIBUTORS │ │ │ │ └── internal │ │ │ │ │ ├── doc.go │ │ │ │ │ └── client_appengine.go │ │ │ │ ├── sys │ │ │ │ ├── unix │ │ │ │ │ ├── endian_big.go │ │ │ │ │ ├── endian_little.go │ │ │ │ │ ├── constants.go │ │ │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ │ │ ├── aliases.go │ │ │ │ │ ├── pagesize_unix.go │ │ │ │ │ ├── fcntl_linux_32bit.go │ │ │ │ │ ├── asm_solaris_amd64.s │ │ │ │ │ ├── gccgo_linux_amd64.go │ │ │ │ │ ├── syscall_linux_gc.go │ │ │ │ │ ├── race0.go │ │ │ │ │ ├── syscall_solaris_amd64.go │ │ │ │ │ ├── syscall_linux_gc_386.go │ │ │ │ │ ├── syscall_unix_gc.go │ │ │ │ │ ├── dirent.go │ │ │ │ │ ├── syscall_linux_gccgo_arm.go │ │ │ │ │ ├── str.go │ │ │ │ │ ├── race.go │ │ │ │ │ ├── env_unix.go │ │ │ │ │ ├── asm_freebsd_arm.s │ │ │ │ │ ├── asm_netbsd_arm.s │ │ │ │ │ ├── asm_openbsd_arm.s │ │ │ │ │ ├── asm_darwin_386.s │ │ │ │ │ ├── asm_freebsd_386.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 │ │ │ │ └── windows │ │ │ │ │ ├── aliases.go │ │ │ │ │ ├── mksyscall.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 │ │ │ │ ├── crypto │ │ │ │ └── ssh │ │ │ │ │ └── terminal │ │ │ │ │ ├── util_linux.go │ │ │ │ │ └── util_bsd.go │ │ │ │ ├── text │ │ │ │ └── secure │ │ │ │ │ └── bidirule │ │ │ │ │ ├── bidirule10.0.0.go │ │ │ │ │ └── bidirule9.0.0.go │ │ │ │ └── time │ │ │ │ └── rate │ │ │ │ ├── rate_go17.go │ │ │ │ └── rate_go16.go │ │ ├── gopkg.in │ │ │ ├── yaml.v2 │ │ │ │ ├── go.mod │ │ │ │ ├── NOTICE │ │ │ │ └── writerc.go │ │ │ └── igm │ │ │ │ └── sockjs-go.v2 │ │ │ │ └── sockjs │ │ │ │ ├── doc.go │ │ │ │ ├── frame.go │ │ │ │ ├── utils.go │ │ │ │ └── sockjs.go │ │ ├── k8s.io │ │ │ ├── client-go │ │ │ │ ├── tools │ │ │ │ │ ├── metrics │ │ │ │ │ │ └── OWNERS │ │ │ │ │ └── clientcmd │ │ │ │ │ │ └── api │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ └── v1 │ │ │ │ │ │ └── doc.go │ │ │ │ ├── transport │ │ │ │ │ └── OWNERS │ │ │ │ ├── rest │ │ │ │ │ └── OWNERS │ │ │ │ ├── kubernetes │ │ │ │ │ ├── typed │ │ │ │ │ │ ├── authentication │ │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── authorization │ │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── certificates │ │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── batch │ │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ │ └── v2alpha1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── apps │ │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ │ └── v1beta2 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── core │ │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── rbac │ │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── storage │ │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ │ ├── v1alpha1 │ │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── events │ │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── networking │ │ │ │ │ │ │ └── v1 │ │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ ├── autoscaling │ │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ │ ├── v2beta1 │ │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ │ └── v2beta2 │ │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ ├── coordination │ │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── settings │ │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ │ ├── generated_expansion.go │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── extensions │ │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── policy │ │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ ├── scheduling │ │ │ │ │ │ │ ├── v1beta1 │ │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ │ └── v1alpha1 │ │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ └── admissionregistration │ │ │ │ │ │ │ ├── v1alpha1 │ │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ │ └── generated_expansion.go │ │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── import.go │ │ │ │ │ └── scheme │ │ │ │ │ │ └── doc.go │ │ │ │ ├── discovery │ │ │ │ │ └── doc.go │ │ │ │ └── pkg │ │ │ │ │ ├── apis │ │ │ │ │ └── clientauthentication │ │ │ │ │ │ └── doc.go │ │ │ │ │ └── version │ │ │ │ │ └── doc.go │ │ │ ├── apimachinery │ │ │ │ └── pkg │ │ │ │ │ ├── api │ │ │ │ │ ├── resource │ │ │ │ │ │ └── OWNERS │ │ │ │ │ ├── errors │ │ │ │ │ │ ├── OWNERS │ │ │ │ │ │ └── doc.go │ │ │ │ │ └── meta │ │ │ │ │ │ ├── OWNERS │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── apis │ │ │ │ │ └── meta │ │ │ │ │ │ ├── v1 │ │ │ │ │ │ ├── OWNERS │ │ │ │ │ │ └── doc.go │ │ │ │ │ │ └── v1beta1 │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── util │ │ │ │ │ ├── sets │ │ │ │ │ │ └── doc.go │ │ │ │ │ └── errors │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── types │ │ │ │ │ └── doc.go │ │ │ │ │ ├── fields │ │ │ │ │ └── doc.go │ │ │ │ │ ├── labels │ │ │ │ │ └── doc.go │ │ │ │ │ ├── version │ │ │ │ │ └── doc.go │ │ │ │ │ ├── runtime │ │ │ │ │ └── serializer │ │ │ │ │ │ └── protobuf │ │ │ │ │ │ └── doc.go │ │ │ │ │ ├── watch │ │ │ │ │ └── doc.go │ │ │ │ │ └── conversion │ │ │ │ │ └── queryparams │ │ │ │ │ └── doc.go │ │ │ └── api │ │ │ │ ├── apps │ │ │ │ ├── v1 │ │ │ │ │ └── doc.go │ │ │ │ ├── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ └── v1beta2 │ │ │ │ │ └── doc.go │ │ │ │ ├── batch │ │ │ │ ├── v1 │ │ │ │ │ └── doc.go │ │ │ │ ├── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ └── v2alpha1 │ │ │ │ │ └── doc.go │ │ │ │ ├── storage │ │ │ │ ├── v1 │ │ │ │ │ └── doc.go │ │ │ │ ├── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ └── v1alpha1 │ │ │ │ │ └── doc.go │ │ │ │ ├── autoscaling │ │ │ │ ├── v1 │ │ │ │ │ └── doc.go │ │ │ │ ├── v2beta1 │ │ │ │ │ └── doc.go │ │ │ │ └── v2beta2 │ │ │ │ │ └── doc.go │ │ │ │ ├── extensions │ │ │ │ └── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ ├── networking │ │ │ │ └── v1 │ │ │ │ │ └── doc.go │ │ │ │ ├── rbac │ │ │ │ ├── v1 │ │ │ │ │ └── doc.go │ │ │ │ ├── v1alpha1 │ │ │ │ │ └── doc.go │ │ │ │ └── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ ├── events │ │ │ │ └── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ ├── authentication │ │ │ │ ├── v1 │ │ │ │ │ └── doc.go │ │ │ │ └── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ ├── authorization │ │ │ │ ├── v1 │ │ │ │ │ └── doc.go │ │ │ │ └── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ ├── core │ │ │ │ └── v1 │ │ │ │ │ └── doc.go │ │ │ │ ├── settings │ │ │ │ └── v1alpha1 │ │ │ │ │ └── doc.go │ │ │ │ ├── scheduling │ │ │ │ ├── v1alpha1 │ │ │ │ │ └── doc.go │ │ │ │ └── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ ├── certificates │ │ │ │ └── v1beta1 │ │ │ │ │ └── doc.go │ │ │ │ └── coordination │ │ │ │ └── v1beta1 │ │ │ │ └── doc.go │ │ └── google.golang.org │ │ │ └── appengine │ │ │ └── internal │ │ │ ├── main.go │ │ │ ├── identity.go │ │ │ ├── base │ │ │ └── api_base.proto │ │ │ └── app_id.go │ ├── README │ ├── kill.sh │ ├── restart.sh │ ├── main.go │ ├── main-8283.go │ ├── main-8284.go │ ├── main-8285.go │ ├── main-8286.go │ ├── main-8287.go │ ├── main-8288.go │ └── response │ │ └── response.go │ ├── zabbix │ ├── README │ ├── 1.创建主机.png │ ├── 2-1.现有的模板链接到主机.png │ ├── 2-2.现有的模板创建链接.png │ ├── zabbix查看一天的情况.jpeg │ └── zabbix-agent │ ├── elk │ ├── ES │ │ ├── plugins │ │ │ ├── README │ │ │ ├── sql转换成ES的语法.png │ │ │ ├── ElasticHQ │ │ │ ├── cerebro │ │ │ └── bigdesk │ │ └── README │ └── logstash │ │ ├── 匹配没有格式的数据.jpeg │ │ ├── kibana自带的Timelion.png │ │ ├── kibana自带的Timelion-查看系统压力高的时间段.png │ │ └── 6.x elk-server端 │ │ ├── input_file_output_kafka.conf │ │ ├── api_log.conf │ │ ├── api_request_log.conf │ │ └── nginx_access_log_out_es.conf │ ├── walle │ ├── 检测权限.png │ ├── 邮箱配置.png │ ├── 正确的设置项目配置.png │ └── 项目上线流程 │ ├── grafana │ ├── 导入数据源.png │ ├── 自带的报警功能.png │ ├── 导入数据源中的全部数据.png │ ├── 导入数据源中全部的index.png │ └── kibana的visualize.png │ ├── supervisor │ ├── 安装成功的截图.png │ └── phpcs.conf │ ├── ansible │ ├── module │ │ └── setup.jpeg │ └── playbook │ │ ├── copy.png │ │ ├── hello.png │ │ ├── hello.yaml │ │ ├── copy.yaml │ │ ├── clearLog.yml │ │ ├── clean-common-log.yml │ │ ├── restart.yaml │ │ └── clean-service-log.yml │ ├── redis-cluster │ ├── 哈希槽 │ │ ├── 数据分区.jpg │ │ └── 虚拟槽分区.jpg │ ├── 集群成功截图.jpeg │ ├── Redis集群-连接加-c.png │ ├── redis集群-设置数据.png │ └── redis-benchmark压测不了集群.jpg │ ├── kafka │ ├── plugin │ │ └── kafka manager设置.png │ └── phpClient │ │ └── README │ ├── gzip │ ├── README │ └── gzip.go │ ├── README.md │ ├── jenkins │ └── README │ └── api │ └── README ├── JavaScript原型和闭包 ├── image ├── html.png ├── saas.jpg ├── 显性画像.png ├── 用户画像.png ├── 隐性画像.png ├── server.png ├── 用户画像数据流程.jpg ├── COLLATIONS.png ├── tcp_status.png ├── create_image.png └── CHARACTER_SETS.png ├── 架构设计_分布式服务.png ├── advanced-php └── daemon.log ├── spider └── images │ ├── 0xc0de4f.jpg │ └── a-rui-50.jpg ├── nfs.me └── plane └── 计划中的想法 /algorithm/README: -------------------------------------------------------------------------------- 1 | 作为索引目录 2 | -------------------------------------------------------------------------------- /baike_spider/__init__.py: -------------------------------------------------------------------------------- 1 | # coding:utf8 -------------------------------------------------------------------------------- /experiment/gitHook/README: -------------------------------------------------------------------------------- 1 | 在测试服务器上部署钩子代码,对测试服务器上的代码进行质量检测 2 | -------------------------------------------------------------------------------- /experiment/sftp/README: -------------------------------------------------------------------------------- 1 | 在服务器把sftp安装好之后 2 | 配置phpstorm 保存直接提交到服务器 3 | -------------------------------------------------------------------------------- /JavaScript原型和闭包: -------------------------------------------------------------------------------- 1 | 参考链接: 2 | http://www.cnblogs.com/wangfupeng1988/p/3977924.html 3 | -------------------------------------------------------------------------------- /image/html.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/html.png -------------------------------------------------------------------------------- /image/saas.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/saas.jpg -------------------------------------------------------------------------------- /image/显性画像.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/显性画像.png -------------------------------------------------------------------------------- /image/用户画像.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/用户画像.png -------------------------------------------------------------------------------- /image/隐性画像.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/隐性画像.png -------------------------------------------------------------------------------- /架构设计_分布式服务.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/架构设计_分布式服务.png -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/reflect2_amd64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/relfect2_386.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/relfect2_arm.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/relfect2_arm64.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/relfect2_mipsx.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/relfect2_ppc64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/relfect2_s390x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiment/tools/zabbix/README: -------------------------------------------------------------------------------- 1 | 权限控制 2 | 3 | 先创建一个群组,给群组赋予权限(只读权限) 4 | 创建用户,加入到创建的群组中去 -------------------------------------------------------------------------------- /image/server.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/server.png -------------------------------------------------------------------------------- /image/用户画像数据流程.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/用户画像数据流程.jpg -------------------------------------------------------------------------------- /advanced-php/daemon.log: -------------------------------------------------------------------------------- 1 | 1234567891011121314151617181920212223242526272829303132333435363738394041 -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/relfect2_amd64p32.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/relfect2_mips64x.s: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /image/COLLATIONS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/COLLATIONS.png -------------------------------------------------------------------------------- /image/tcp_status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/tcp_status.png -------------------------------------------------------------------------------- /experiment/sftp/1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/sftp/1.jpeg -------------------------------------------------------------------------------- /experiment/sftp/2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/sftp/2.jpeg -------------------------------------------------------------------------------- /experiment/sftp/3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/sftp/3.jpeg -------------------------------------------------------------------------------- /image/create_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/create_image.png -------------------------------------------------------------------------------- /experiment/tools/elk/ES/plugins/README: -------------------------------------------------------------------------------- 1 | https://www.mnstory.net/2017/09/27/install-elasticsearch-and-plugins/ -------------------------------------------------------------------------------- /image/CHARACTER_SETS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/image/CHARACTER_SETS.png -------------------------------------------------------------------------------- /experiment/sftp/上传一次项目.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/sftp/上传一次项目.jpeg -------------------------------------------------------------------------------- /spider/images/0xc0de4f.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/spider/images/0xc0de4f.jpg -------------------------------------------------------------------------------- /spider/images/a-rui-50.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/spider/images/a-rui-50.jpg -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/emicklei/go-restful/Srcfile: -------------------------------------------------------------------------------- 1 | {"SkipDirs": ["examples"]} 2 | -------------------------------------------------------------------------------- /experiment/tools/walle/检测权限.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/walle/检测权限.png -------------------------------------------------------------------------------- /experiment/tools/walle/邮箱配置.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/walle/邮箱配置.png -------------------------------------------------------------------------------- /experiment/tools/grafana/导入数据源.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/grafana/导入数据源.png -------------------------------------------------------------------------------- /experiment/tools/zabbix/1.创建主机.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/zabbix/1.创建主机.png -------------------------------------------------------------------------------- /experiment/tools/grafana/自带的报警功能.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/grafana/自带的报警功能.png -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /experiment/tools/walle/正确的设置项目配置.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/walle/正确的设置项目配置.png -------------------------------------------------------------------------------- /experiment/tools/grafana/导入数据源中的全部数据.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/grafana/导入数据源中的全部数据.png -------------------------------------------------------------------------------- /experiment/tools/supervisor/安装成功的截图.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/supervisor/安装成功的截图.png -------------------------------------------------------------------------------- /experiment/tools/ansible/module/setup.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/ansible/module/setup.jpeg -------------------------------------------------------------------------------- /experiment/tools/ansible/playbook/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/ansible/playbook/copy.png -------------------------------------------------------------------------------- /experiment/tools/ansible/playbook/hello.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/ansible/playbook/hello.png -------------------------------------------------------------------------------- /experiment/tools/grafana/导入数据源中全部的index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/grafana/导入数据源中全部的index.png -------------------------------------------------------------------------------- /experiment/tools/redis-cluster/哈希槽/数据分区.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/redis-cluster/哈希槽/数据分区.jpg -------------------------------------------------------------------------------- /experiment/tools/redis-cluster/集群成功截图.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/redis-cluster/集群成功截图.jpeg -------------------------------------------------------------------------------- /experiment/tools/zabbix/2-1.现有的模板链接到主机.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/zabbix/2-1.现有的模板链接到主机.png -------------------------------------------------------------------------------- /experiment/tools/zabbix/2-2.现有的模板创建链接.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/zabbix/2-2.现有的模板创建链接.png -------------------------------------------------------------------------------- /experiment/tools/zabbix/zabbix查看一天的情况.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/zabbix/zabbix查看一天的情况.jpeg -------------------------------------------------------------------------------- /experiment/tools/elk/logstash/匹配没有格式的数据.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/elk/logstash/匹配没有格式的数据.jpeg -------------------------------------------------------------------------------- /experiment/tools/grafana/kibana的visualize.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/grafana/kibana的visualize.png -------------------------------------------------------------------------------- /experiment/tools/redis-cluster/哈希槽/虚拟槽分区.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/redis-cluster/哈希槽/虚拟槽分区.jpg -------------------------------------------------------------------------------- /experiment/tools/elk/ES/plugins/sql转换成ES的语法.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/elk/ES/plugins/sql转换成ES的语法.png -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/README: -------------------------------------------------------------------------------- 1 | 这个是k8s的web终端的后端代码。 2 | 提供给前端使用,前后端代码都是扒的开源的k8s-dashboard。 3 | https://github.com/kubernetes/dashboard 4 | -------------------------------------------------------------------------------- /experiment/tools/redis-cluster/Redis集群-连接加-c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/redis-cluster/Redis集群-连接加-c.png -------------------------------------------------------------------------------- /experiment/tools/redis-cluster/redis集群-设置数据.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/redis-cluster/redis集群-设置数据.png -------------------------------------------------------------------------------- /experiment/tools/kafka/plugin/kafka manager设置.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/kafka/plugin/kafka manager设置.png -------------------------------------------------------------------------------- /experiment/tools/elk/logstash/kibana自带的Timelion.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/elk/logstash/kibana自带的Timelion.png -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/emicklei/go-restful/coverage.sh: -------------------------------------------------------------------------------- 1 | go test -coverprofile=coverage.out 2 | go tool cover -html=coverage.out -------------------------------------------------------------------------------- /experiment/tools/ansible/playbook/hello.yaml: -------------------------------------------------------------------------------- 1 | - hosts: es 2 | tasks: 3 | - name: say hello task 4 | shell: echo hello world `date` by `hostname` > /tmp/hello.log -------------------------------------------------------------------------------- /experiment/tools/redis-cluster/redis-benchmark压测不了集群.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/redis-cluster/redis-benchmark压测不了集群.jpg -------------------------------------------------------------------------------- /experiment/tools/elk/logstash/kibana自带的Timelion-查看系统压力高的时间段.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/youngperson/study-100/HEAD/experiment/tools/elk/logstash/kibana自带的Timelion-查看系统压力高的时间段.png -------------------------------------------------------------------------------- /experiment/tools/gzip/README: -------------------------------------------------------------------------------- 1 | 对于文章内容,进行压缩后放到Redis等缓存中,利用go自带的gzip 2 | 3 | 对比下github.com/vmihailenco/msgpack,msgpack有更好的性能 4 | 5 | - 参考:https://www.cnblogs.com/xingxueliao/p/3984567.html -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/gopkg.in/yaml.v2/go.mod: -------------------------------------------------------------------------------- 1 | module "gopkg.in/yaml.v2" 2 | 3 | require ( 4 | "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 5 | ) 6 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/tools/metrics/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - wojtek-t 3 | - eparis 4 | - krousey 5 | - jayunit100 6 | - fgrzadkowski 7 | - tmrts 8 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/transport/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - smarterclayton 3 | - wojtek-t 4 | - deads2k 5 | - liggitt 6 | - krousey 7 | - caesarxuchao 8 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/gopkg.in/igm/sockjs-go.v2/sockjs/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package sockjs is a server side implementation of sockjs protocol. 3 | */ 4 | 5 | package sockjs 6 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/emicklei/go-restful/Makefile: -------------------------------------------------------------------------------- 1 | all: test 2 | 3 | test: 4 | go test -v . 5 | 6 | ex: 7 | cd examples && ls *.go | xargs go build -o /tmp/ignore -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/googleapis/gnostic/compiler/README.md: -------------------------------------------------------------------------------- 1 | # Compiler support code 2 | 3 | This directory contains compiler support code used by Gnostic and Gnostic extensions. -------------------------------------------------------------------------------- /experiment/tools/ansible/playbook/copy.yaml: -------------------------------------------------------------------------------- 1 | - hosts: es 2 | tasks: 3 | - name: echo date 4 | command: /bin/date 5 | - name: copy conf to /tmp 6 | copy: src=/etc/ansible/conf/test.conf dest=/tmp -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/kill.sh: -------------------------------------------------------------------------------- 1 | echo 'kill command' 2 | echo "ps -ef | grep 'go run main*' | grep -v 'grep' | cut -c 9-15" 3 | echo "ps -ef | grep 'go run main*' | grep -v 'grep' | cut -c 9-15 | xargs kill -9" 4 | -------------------------------------------------------------------------------- /experiment/tools/elk/ES/plugins/ElasticHQ: -------------------------------------------------------------------------------- 1 | ElasticHQ 2 | 3 | ElasticHQ is an open source application that offers a simplified interface for managing and monitoring Elasticsearch clusters. 4 | https://github.com/ElasticHQ/elasticsearch-HQ -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/oauth2/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 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/oauth2/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 | -------------------------------------------------------------------------------- /experiment/tools/ansible/playbook/clearLog.yml: -------------------------------------------------------------------------------- 1 | - name: clean server request log 2 | hosts: ebao-api 3 | user: root 4 | gather_facts: false 5 | vars: 6 | - user: "root" 7 | tasks: 8 | - name: job 9 | shell: "echo '' > /data/wwwlogs/php-api-request.log" -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/googleapis/gnostic/extensions/COMPILE-EXTENSION.sh: -------------------------------------------------------------------------------- 1 | go get github.com/golang/protobuf/protoc-gen-go 2 | 3 | protoc \ 4 | --go_out=Mgoogle/protobuf/any.proto=github.com/golang/protobuf/ptypes/any:. *.proto 5 | 6 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/go_below_17.go: -------------------------------------------------------------------------------- 1 | //+build !go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer { 8 | return nil 9 | } 10 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/go_above_17.go: -------------------------------------------------------------------------------- 1 | //+build go1.7 2 | 3 | package reflect2 4 | 5 | import "unsafe" 6 | 7 | //go:linkname resolveTypeOff reflect.resolveTypeOff 8 | func resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer 9 | -------------------------------------------------------------------------------- /experiment/tools/README.md: -------------------------------------------------------------------------------- 1 | analysis 2 | ES kibana logstash 是最新版的 3 | 4 | 5 | analysis02 analysis03 6 | ES和analysis集群 没有安装kibana logstash 7 | 部署了kafka集群 8 | 9 | 10 | kafka的监控工具 11 | kafka-manager http://blog.csdn.net/lsshlsw/article/details/47300145 12 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/emicklei/go-restful/json.go: -------------------------------------------------------------------------------- 1 | // +build !jsoniter 2 | 3 | package restful 4 | 5 | import "encoding/json" 6 | 7 | var ( 8 | MarshalIndent = json.MarshalIndent 9 | NewDecoder = json.NewDecoder 10 | NewEncoder = json.NewEncoder 11 | ) 12 | -------------------------------------------------------------------------------- /experiment/tools/ansible/playbook/clean-common-log.yml: -------------------------------------------------------------------------------- 1 | - name: clean service logs 2 | hosts: common-live 3 | user: root 4 | gather_facts: false 5 | vars: 6 | - user: "root" 7 | tasks: 8 | - name: clean common log 9 | command: find /data/wwwlogs/service-logs/common/ -mtime +0 -name "*.log" -exec rm -rf {} \; -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/googleapis/gnostic/extensions/README.md: -------------------------------------------------------------------------------- 1 | # Extensions 2 | 3 | This directory contains support code for building Gnostic extensions and associated examples. 4 | 5 | Extensions are used to compile vendor or specification extensions into protocol buffer structures. 6 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/oauth2/internal/doc.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 internal contains support packages for oauth2 package. 6 | package internal 7 | -------------------------------------------------------------------------------- /experiment/tools/ansible/playbook/restart.yaml: -------------------------------------------------------------------------------- 1 | - name: release ebao-api 2 | hosts: ebao-api 3 | user: root 4 | gather_facts: false 5 | vars: 6 | - user: "root" 7 | tasks: 8 | - name: restart php fpm 9 | command: systemctl restart php-fpm.service 10 | - name: restart nginx 11 | command: systemctl restart nginx.service -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/docker/spdystream/utils.go: -------------------------------------------------------------------------------- 1 | package spdystream 2 | 3 | import ( 4 | "log" 5 | "os" 6 | ) 7 | 8 | var ( 9 | DEBUG = os.Getenv("DEBUG") 10 | ) 11 | 12 | func debugMessage(fmt string, args ...interface{}) { 13 | if DEBUG != "" { 14 | log.Printf(fmt, args...) 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/gopkg.in/igm/sockjs-go.v2/sockjs/frame.go: -------------------------------------------------------------------------------- 1 | package sockjs 2 | 3 | import ( 4 | "encoding/json" 5 | "fmt" 6 | ) 7 | 8 | func closeFrame(status uint32, reason string) string { 9 | bytes, _ := json.Marshal([]interface{}{status, reason}) 10 | return fmt.Sprintf("c%s", string(bytes)) 11 | } 12 | -------------------------------------------------------------------------------- /baike_spider/html_downloader.py: -------------------------------------------------------------------------------- 1 | # coding:utf8 2 | import urllib2 3 | 4 | class htmlDownloader(object): 5 | 6 | def download(self, url): 7 | if url is None: 8 | return None 9 | 10 | 11 | response = urllib2.urlopen(url) 12 | 13 | if response.getcode() != 200: 14 | return None 15 | 16 | 17 | return response.read() 18 | 19 | 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/gorilla/websocket/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of Gorilla WebSocket authors for copyright 2 | # purposes. 3 | # 4 | # Please keep the list sorted. 5 | 6 | Gary Burd 7 | Google LLC (https://opensource.google.com/) 8 | Joachim Bauch 9 | 10 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/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 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/api/resource/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - lavalamp 4 | - smarterclayton 5 | - wojtek-t 6 | - derekwaynecarr 7 | - mikedanese 8 | - saad-ali 9 | - janetkuo 10 | - tallclair 11 | - eparis 12 | - jbeda 13 | - xiang90 14 | - mbohlool 15 | - david-mcmahon 16 | - goltermann 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/gorilla/websocket/trace_17.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package websocket 4 | 5 | import ( 6 | "crypto/tls" 7 | "net/http/httptrace" 8 | ) 9 | 10 | func doHandshakeWithTrace(trace *httptrace.ClientTrace, tlsConn *tls.Conn, cfg *tls.Config) error { 11 | return doHandshake(tlsConn, cfg) 12 | } 13 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/concurrent/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map is a wrapper for sync.Map introduced in go1.9 8 | type Map struct { 9 | sync.Map 10 | } 11 | 12 | // NewMap creates a thread safe Map 13 | func NewMap() *Map { 14 | return &Map{} 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/supervisor/phpcs.conf: -------------------------------------------------------------------------------- 1 | [program:phpcsServer] 2 | command = /usr/bin/php /data/wwwroot/test.php 3 | autostart = true 4 | startsecs = 5 5 | autorestart = true 6 | startretries = 3 7 | user = root 8 | redirect_stderr = true 9 | stdout_logfile_maxbytes = 20MB 10 | stdout_logfile_backups = 10 11 | stdout_logfile = /var/log/supervisor/phpcsServer.log 12 | stopasgroup=true -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/emicklei/go-restful/jsoniter.go: -------------------------------------------------------------------------------- 1 | // +build jsoniter 2 | 3 | package restful 4 | 5 | import "github.com/json-iterator/go" 6 | 7 | var ( 8 | json = jsoniter.ConfigCompatibleWithStandardLibrary 9 | MarshalIndent = json.MarshalIndent 10 | NewDecoder = json.NewDecoder 11 | NewEncoder = json.NewEncoder 12 | ) 13 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/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 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/restart.sh: -------------------------------------------------------------------------------- 1 | echo 'start online...' 2 | nohup go run ./main.go >> nohup.txt & 3 | nohup go run ./main-8283.go >> nohup.txt & 4 | nohup go run ./main-8284.go >> nohup.txt & 5 | nohup go run ./main-8285.go >> nohup.txt & 6 | nohup go run ./main-8286.go >> nohup.txt & 7 | nohup go run ./main-8287.go >> nohup.txt & 8 | nohup go run ./main-8288.go >> nohup.txt & 9 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/go_below_19.go: -------------------------------------------------------------------------------- 1 | //+build !go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype) 14 | } 15 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/go_above_19.go: -------------------------------------------------------------------------------- 1 | //+build go1.9 2 | 3 | package reflect2 4 | 5 | import ( 6 | "unsafe" 7 | ) 8 | 9 | //go:linkname makemap reflect.makemap 10 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) 11 | 12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { 13 | return makemap(rtype, cap) 14 | } 15 | -------------------------------------------------------------------------------- /experiment/tools/walle/项目上线流程: -------------------------------------------------------------------------------- 1 | 基于git clone一份到本机去开发 2 | 每次开发一个功能的时候,可以新建一个自己的分支去开发 8316_wanrenliang_sql 端口号_名字_功能描述 3 | 开发完成后,把分支部署到测试分支上面去进行测试 8316_wanrenliang_sql 合并到 test-branch分支 4 | 测试完成之后,我们把分支发起合并请求到master,做好合并权限控制,assign给相关的同事进行代码检查 8316_wanrenliang_sql 发起merge request到 master 5 | 6 | 7 | 相关的同事把代码合并到master之后 使用瓦力去部署 8 | 创建上线单 - 选择对应的项目 - 选择分支(上线环境选master) - 选择版本 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/json-iterator/go/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/json-iterator/go $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/crypto/ssh/terminal/util_linux.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 | package terminal 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | const ioctlReadTermios = unix.TCGETS 10 | const ioctlWriteTermios = unix.TCSETS 11 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/concurrent/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/concurrent $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/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 aix 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 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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.9 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/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 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/google.golang.org/appengine/internal/main.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appengine 6 | 7 | package internal 8 | 9 | import ( 10 | "appengine_internal" 11 | ) 12 | 13 | func Main() { 14 | appengine_internal.Main() 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/concurrent/log.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import ( 4 | "os" 5 | "log" 6 | "io/ioutil" 7 | ) 8 | 9 | // ErrorLogger is used to print out error, can be set to writer other than stderr 10 | var ErrorLogger = log.New(os.Stderr, "", 0) 11 | 12 | // InfoLogger is used to print informational message, default to off 13 | var InfoLogger = log.New(ioutil.Discard, "", 0) -------------------------------------------------------------------------------- /experiment/tools/elk/ES/plugins/cerebro: -------------------------------------------------------------------------------- 1 | cerebro提供的功能和head差不多,但是UI设计要好一些,直接到这里下载二进制 2 | https://github.com/lmenezes/cerebro/releases 3 | 4 | Java环境(要求至少JAVA 1.8) 5 | 6 | 下载tgz包 7 | wget https://github.com/lmenezes/cerebro/releases/download/v0.7.2/cerebro-0.7.2.tgz 8 | 9 | tar zxvf cerebro-0.7.2.tgz 10 | 11 | 进入到解压的目录运行服务 12 | nohup ./bin/cerebro & 13 | 14 | 访问ip:9000端口即可(内网搭建的插件需要用能被访问的机器做个Nginx反向代理) 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | 7 | "gitlab.luojilab.com/k8s-dashboard/client" 8 | ) 9 | 10 | func main() { 11 | http.Handle("/api/sockjs/", client.CreateAttachHandler("/api/sockjs")) 12 | http.HandleFunc("/container/shell", client.HandleExecShell) 13 | log.Println("Server started on port: 8282") 14 | log.Fatal(http.ListenAndServe(":8282", nil)) 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/main-8283.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | 7 | "gitlab.luojilab.com/k8s-dashboard/client" 8 | ) 9 | 10 | func main() { 11 | http.Handle("/api/sockjs/", client.CreateAttachHandler("/api/sockjs")) 12 | http.HandleFunc("/container/shell", client.HandleExecShell) 13 | log.Println("Server started on port: 8283") 14 | log.Fatal(http.ListenAndServe(":8283", nil)) 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/main-8284.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | 7 | "gitlab.luojilab.com/k8s-dashboard/client" 8 | ) 9 | 10 | func main() { 11 | http.Handle("/api/sockjs/", client.CreateAttachHandler("/api/sockjs")) 12 | http.HandleFunc("/container/shell", client.HandleExecShell) 13 | log.Println("Server started on port: 8284") 14 | log.Fatal(http.ListenAndServe(":8284", nil)) 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/main-8285.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | 7 | "gitlab.luojilab.com/k8s-dashboard/client" 8 | ) 9 | 10 | func main() { 11 | http.Handle("/api/sockjs/", client.CreateAttachHandler("/api/sockjs")) 12 | http.HandleFunc("/container/shell", client.HandleExecShell) 13 | log.Println("Server started on port: 8285") 14 | log.Fatal(http.ListenAndServe(":8285", nil)) 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/main-8286.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | 7 | "gitlab.luojilab.com/k8s-dashboard/client" 8 | ) 9 | 10 | func main() { 11 | http.Handle("/api/sockjs/", client.CreateAttachHandler("/api/sockjs")) 12 | http.HandleFunc("/container/shell", client.HandleExecShell) 13 | log.Println("Server started on port: 8286") 14 | log.Fatal(http.ListenAndServe(":8286", nil)) 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/main-8287.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | 7 | "gitlab.luojilab.com/k8s-dashboard/client" 8 | ) 9 | 10 | func main() { 11 | http.Handle("/api/sockjs/", client.CreateAttachHandler("/api/sockjs")) 12 | http.HandleFunc("/container/shell", client.HandleExecShell) 13 | log.Println("Server started on port: 8287") 14 | log.Fatal(http.ListenAndServe(":8287", nil)) 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/main-8288.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "log" 5 | "net/http" 6 | 7 | "gitlab.luojilab.com/k8s-dashboard/client" 8 | ) 9 | 10 | func main() { 11 | http.Handle("/api/sockjs/", client.CreateAttachHandler("/api/sockjs")) 12 | http.HandleFunc("/container/shell", client.HandleExecShell) 13 | log.Println("Server started on port: 8288") 14 | log.Fatal(http.ListenAndServe(":8288", nil)) 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/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 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/oauth2/internal/client_appengine.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 appengine 6 | 7 | package internal 8 | 9 | import "google.golang.org/appengine/urlfetch" 10 | 11 | func init() { 12 | appengineClientHook = urlfetch.Client 13 | } 14 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list github.com/modern-go/reflect2-tests/... | grep -v vendor); do 7 | go test -coverprofile=profile.out -coverpkg=github.com/modern-go/reflect2 $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.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 go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 11 | } 12 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/rest/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - smarterclayton 4 | - caesarxuchao 5 | - wojtek-t 6 | - deads2k 7 | - brendandburns 8 | - liggitt 9 | - nikhiljindal 10 | - gmarek 11 | - erictune 12 | - sttts 13 | - luxas 14 | - dims 15 | - errordeveloper 16 | - hongchaodeng 17 | - krousey 18 | - resouer 19 | - cjcullen 20 | - rmmh 21 | - lixiaobing10051267 22 | - asalkeld 23 | - juanvallejo 24 | - lojies 25 | -------------------------------------------------------------------------------- /experiment/tools/kafka/phpClient/README: -------------------------------------------------------------------------------- 1 | Kafka-php 2 | https://github.com/weiboad/kafka-php/blob/master/README_CH.md 3 | 4 | 使用 PHP 语言编写所以不用编译任何的扩展就可以使用,降低了接入与维护成本 5 | 6 | 7 | rdkafka 8 | 9 | # 依赖 10 | https://github.com/arnaud-lb/php-rdkafka/issues/38 11 | 12 | # 安装 13 | https://arnaud-lb.github.io/php-rdkafka/phpdoc/rdkafka.installation.manual.html 14 | 15 | C语言写的PHP扩展,需要先安装扩展,再去使用 16 | 17 | 18 | 19 | 生产环境建议使用rdkafka,360也在用这个 -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/gopkg.in/igm/sockjs-go.v2/sockjs/utils.go: -------------------------------------------------------------------------------- 1 | package sockjs 2 | 3 | import "encoding/json" 4 | 5 | func quote(in string) string { 6 | quoted, _ := json.Marshal(in) 7 | return string(quoted) 8 | } 9 | 10 | func transform(values []string, transformFn func(string) string) []string { 11 | ret := make([]string, len(values)) 12 | for i, msg := range values { 13 | ret[i] = transformFn(msg) 14 | } 15 | return ret 16 | } 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/http2/go16.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 go1.6 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | "time" 12 | ) 13 | 14 | func transportExpectContinueTimeout(t1 *http.Transport) time.Duration { 15 | return t1.ExpectContinueTimeout 16 | } 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/http2/not_go19.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 !go1.9 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func configureServer19(s *http.Server, conf *Server) error { 14 | // not supported prior to go1.9 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/crypto/ssh/terminal/util_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 darwin dragonfly freebsd netbsd openbsd 6 | 7 | package terminal 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TIOCGETA 12 | const ioctlWriteTermios = unix.TIOCSETA 13 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/emicklei/go-restful/bench_test.sh: -------------------------------------------------------------------------------- 1 | #go test -run=none -file bench_test.go -test.bench . -cpuprofile=bench_test.out 2 | 3 | go test -c 4 | ./go-restful.test -test.run=none -test.cpuprofile=tmp.prof -test.bench=BenchmarkMany 5 | ./go-restful.test -test.run=none -test.cpuprofile=curly.prof -test.bench=BenchmarkManyCurly 6 | 7 | #go tool pprof go-restful.test tmp.prof 8 | go tool pprof go-restful.test curly.prof 9 | 10 | 11 | -------------------------------------------------------------------------------- /nfs.me: -------------------------------------------------------------------------------- 1 | 操作系统 2 | Linux version 2.6.32-431.3.1.el6.x86_64 (mockbuild@c6b10.bsys.dev.centos.org) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Jan 3 21:39:27 UTC 2014 3 | 4 | 实验 5 | nfs服务器ip:192.168.44.12 6 | nfs客户端ip:192.168.44.13 7 | 8 | NFS的基本原则是“容许不同的客户端及服务端通过一组RPC分享相同的文件系统”,它是独立于操作系统,容许不同硬件及操作系统的系统共同进行文件的分享。 9 | 10 | 了解一下nfs服务运行在哪些端口上,它默认需要使用5个端口,其中有4个端口是动态的,所以如果服务器和客户端之间有iptables,就要先把这4个动态端口设置成静态的,然后加入进防火墙规则里 11 | 12 | 应用 13 | 实现多台机器的图片文件共享,共享session文件。 14 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/gorilla/websocket/mask_safe.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Gorilla WebSocket Authors. All rights reserved. Use of 2 | // this source code is governed by a BSD-style license that can be found in the 3 | // LICENSE file. 4 | 5 | // +build appengine 6 | 7 | package websocket 8 | 9 | func maskBytes(key [4]byte, pos int, b []byte) int { 10 | for i := range b { 11 | b[i] ^= key[pos&3] 12 | pos++ 13 | } 14 | return pos & 3 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - lavalamp 4 | - smarterclayton 5 | - wojtek-t 6 | - deads2k 7 | - brendandburns 8 | - derekwaynecarr 9 | - caesarxuchao 10 | - mikedanese 11 | - liggitt 12 | - nikhiljindal 13 | - gmarek 14 | - erictune 15 | - saad-ali 16 | - janetkuo 17 | - tallclair 18 | - eparis 19 | - dims 20 | - hongchaodeng 21 | - krousey 22 | - cjcullen 23 | - david-mcmahon 24 | - goltermann 25 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/api/meta/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - smarterclayton 4 | - wojtek-t 5 | - deads2k 6 | - brendandburns 7 | - derekwaynecarr 8 | - caesarxuchao 9 | - mikedanese 10 | - liggitt 11 | - nikhiljindal 12 | - gmarek 13 | - janetkuo 14 | - ncdc 15 | - eparis 16 | - dims 17 | - krousey 18 | - markturansky 19 | - fabioy 20 | - resouer 21 | - david-mcmahon 22 | - mfojtik 23 | - jianhuiz 24 | - feihujiang 25 | - ghodss 26 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/gorilla/websocket/conn_write.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Gorilla WebSocket 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.8 6 | 7 | package websocket 8 | 9 | import "net" 10 | 11 | func (c *Conn) writeBufs(bufs ...[]byte) error { 12 | b := net.Buffers(bufs) 13 | _, err := b.WriteTo(c.conn) 14 | return err 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/http2/go19.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 go1.9 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func configureServer19(s *http.Server, conf *Server) error { 14 | s.RegisterOnShutdown(conf.state.startGracefulShutdown) 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/gorilla/websocket/client_clone.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Gorilla WebSocket 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.8 6 | 7 | package websocket 8 | 9 | import "crypto/tls" 10 | 11 | func cloneTLSConfig(cfg *tls.Config) *tls.Config { 12 | if cfg == nil { 13 | return &tls.Config{} 14 | } 15 | return cfg.Clone() 16 | } 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | // +build go1.9 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | type Signal = syscall.Signal 13 | type Errno = syscall.Errno 14 | type SysProcAttr = syscall.SysProcAttr 15 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/ghodss/yaml/yaml_go110.go: -------------------------------------------------------------------------------- 1 | // This file contains changes that are only compatible with go 1.10 and onwards. 2 | 3 | // +build go1.10 4 | 5 | package yaml 6 | 7 | import "encoding/json" 8 | 9 | // DisallowUnknownFields configures the JSON decoder to error out if unknown 10 | // fields come along, instead of dropping them by default. 11 | func DisallowUnknownFields(d *json.Decoder) *json.Decoder { 12 | d.DisallowUnknownFields() 13 | return d 14 | } 15 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/json-iterator/go/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | set -x 4 | 5 | if [ ! -d /tmp/build-golang/src/github.com/json-iterator ]; then 6 | mkdir -p /tmp/build-golang/src/github.com/json-iterator 7 | ln -s $PWD /tmp/build-golang/src/github.com/json-iterator/go 8 | fi 9 | export GOPATH=/tmp/build-golang 10 | go get -u github.com/golang/dep/cmd/dep 11 | cd /tmp/build-golang/src/github.com/json-iterator/go 12 | exec $GOPATH/bin/dep ensure -update 13 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/pagesize_unix.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 aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | // For Unix, get the pagesize from the runtime. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getpagesize() int { 14 | return syscall.Getpagesize() 15 | } 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.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 !go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | if !t.isRTL() { 11 | return true 12 | } 13 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 14 | } 15 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/asm_windows_386.s: -------------------------------------------------------------------------------- 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 | // 6 | // System calls for 386, Windows are implemented in runtime/syscall_windows.goc 7 | // 8 | 9 | TEXT ·getprocaddress(SB), 7, $0-16 10 | JMP syscall·getprocaddress(SB) 11 | 12 | TEXT ·loadlibrary(SB), 7, $0-12 13 | JMP syscall·loadlibrary(SB) 14 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/gopkg.in/igm/sockjs-go.v2/sockjs/sockjs.go: -------------------------------------------------------------------------------- 1 | package sockjs 2 | 3 | // Session represents a connection between server and client. 4 | type Session interface { 5 | // Id returns a session id 6 | ID() string 7 | // Recv reads one text frame from session 8 | Recv() (string, error) 9 | // Send sends one text frame to session 10 | Send(string) error 11 | // Close closes the session with provided code and reason. 12 | Close(status uint32, reason string) error 13 | } 14 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/asm_windows_amd64.s: -------------------------------------------------------------------------------- 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 | // 6 | // System calls for amd64, Windows are implemented in runtime/syscall_windows.goc 7 | // 8 | 9 | TEXT ·getprocaddress(SB), 7, $0-32 10 | JMP syscall·getprocaddress(SB) 11 | 12 | TEXT ·loadlibrary(SB), 7, $0-24 13 | JMP syscall·loadlibrary(SB) 14 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // +build linux,386 linux,arm linux,mips linux,mipsle 2 | 3 | // Copyright 2014 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | package unix 8 | 9 | func init() { 10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 12 | fcntl64Syscall = SYS_FCNTL64 13 | } 14 | -------------------------------------------------------------------------------- /experiment/tools/jenkins/README: -------------------------------------------------------------------------------- 1 | - 版本 2 | - Jenkins ver. 2.60.3 3 | - 安装官方教程部署好Jenkins https://jenkins.io/download/ 4 | 5 | - 应用 6 | - 结合jitlab做持续集成、持续部署的事情 7 | - 在gitlab中的每个项目的特定目录下面会放置好docker file文件 8 | - 每个项目一开始会在Jenkins中对应一个job 9 | - 每个job我们对它进行多次的build,根据branch生成不同的docker_image 10 | - 然后就是把这个docker_image部署到k8s中去 11 | 12 | - API 13 | - 这些api就是替代了Jenkins的图形化操作 14 | - Jenkins部署好后的域名我们叫做 https://jenkins.xxx.com 15 | 16 | - job build 17 | 18 | - job create 19 | 20 | - last build info 21 | 22 | - buil log 23 | 24 | - delete job 25 | 26 | 27 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/gorilla/websocket/trace.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package websocket 4 | 5 | import ( 6 | "crypto/tls" 7 | "net/http/httptrace" 8 | ) 9 | 10 | func doHandshakeWithTrace(trace *httptrace.ClientTrace, tlsConn *tls.Conn, cfg *tls.Config) error { 11 | if trace.TLSHandshakeStart != nil { 12 | trace.TLSHandshakeStart() 13 | } 14 | err := doHandshake(tlsConn, cfg) 15 | if trace.TLSHandshakeDone != nil { 16 | trace.TLSHandshakeDone(tlsConn.ConnectionState(), err) 17 | } 18 | return err 19 | } 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/gorilla/websocket/conn_write_legacy.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Gorilla WebSocket 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.8 6 | 7 | package websocket 8 | 9 | func (c *Conn) writeBufs(bufs ...[]byte) error { 10 | for _, buf := range bufs { 11 | if len(buf) > 0 { 12 | if _, err := c.conn.Write(buf); err != nil { 13 | return err 14 | } 15 | } 16 | } 17 | return nil 18 | } 19 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/docker/spdystream/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to SpdyStream 2 | 3 | Want to hack on spdystream? Awesome! Here are instructions to get you 4 | started. 5 | 6 | SpdyStream is a part of the [Docker](https://docker.io) project, and follows 7 | the same rules and principles. If you're already familiar with the way 8 | Docker does things, you'll feel right at home. 9 | 10 | Otherwise, go read 11 | [Docker's contributions guidelines](https://github.com/dotcloud/docker/blob/master/CONTRIBUTING.md). 12 | 13 | Happy hacking! 14 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/google/btree/README.md: -------------------------------------------------------------------------------- 1 | # BTree implementation for Go 2 | 3 | ![Travis CI Build Status](https://api.travis-ci.org/google/btree.svg?branch=master) 4 | 5 | This package provides an in-memory B-Tree implementation for Go, useful as 6 | an ordered, mutable data structure. 7 | 8 | The API is based off of the wonderful 9 | http://godoc.org/github.com/petar/GoLLRB/llrb, and is meant to allow btree to 10 | act as a drop-in replacement for gollrb trees. 11 | 12 | See http://godoc.org/github.com/google/btree for documentation. 13 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/http2/not_go16.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 !go1.6 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | "time" 12 | ) 13 | 14 | func configureTransport(t1 *http.Transport) (*Transport, error) { 15 | return nil, errTransportVersion 16 | } 17 | 18 | func transportExpectContinueTimeout(t1 *http.Transport) time.Duration { 19 | return 0 20 | 21 | } 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_solaris_amd64.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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 11 | // 12 | 13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 14 | JMP syscall·sysvicall6(SB) 15 | 16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSysvicall6(SB) 18 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/google.golang.org/appengine/internal/identity.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | package internal 6 | 7 | import netcontext "golang.org/x/net/context" 8 | 9 | // These functions are implementations of the wrapper functions 10 | // in ../appengine/identity.go. See that file for commentary. 11 | 12 | func AppID(c netcontext.Context) string { 13 | return appID(FullyQualifiedAppID(c)) 14 | } 15 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/reflect2/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [[projects]] 5 | name = "github.com/modern-go/concurrent" 6 | packages = ["."] 7 | revision = "e0a39a4cb4216ea8db28e22a69f4ec25610d513a" 8 | version = "1.0.0" 9 | 10 | [solve-meta] 11 | analyzer-name = "dep" 12 | analyzer-version = 1 13 | inputs-digest = "daee8a88b3498b61c5640056665b8b9eea062006f5e596bbb6a3ed9119a11ec7" 14 | solver-name = "gps-cdcl" 15 | solver-version = 1 16 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS: -------------------------------------------------------------------------------- 1 | reviewers: 2 | - thockin 3 | - smarterclayton 4 | - wojtek-t 5 | - deads2k 6 | - brendandburns 7 | - caesarxuchao 8 | - liggitt 9 | - nikhiljindal 10 | - gmarek 11 | - erictune 12 | - davidopp 13 | - sttts 14 | - quinton-hoole 15 | - luxas 16 | - janetkuo 17 | - justinsb 18 | - ncdc 19 | - soltysh 20 | - dims 21 | - madhusudancs 22 | - hongchaodeng 23 | - krousey 24 | - mml 25 | - mbohlool 26 | - david-mcmahon 27 | - therc 28 | - mqliang 29 | - kevin-wangzefeng 30 | - jianhuiz 31 | - feihujiang 32 | -------------------------------------------------------------------------------- /experiment/tools/ansible/playbook/clean-service-log.yml: -------------------------------------------------------------------------------- 1 | - name: clean service logs 2 | hosts: service-live 3 | user: root 4 | gather_facts: false 5 | vars: 6 | - user: "root" 7 | tasks: 8 | - name: clean mutual log 9 | command: find /data/wwwlogs/service-logs/mutual/ -mtime +0 -name "*.log" -exec rm -rf {} \; 10 | - name: clean checkin log 11 | command: find /data/wwwlogs/service-logs/checkin/ -mtime +0 -name "*.log" -exec rm -rf {} \; 12 | - name: clean diagnose log 13 | command: find /data/wwwlogs/service-logs/diagnose/ -mtime +0 -name "*.log" -exec rm -rf {} \; -------------------------------------------------------------------------------- /experiment/tools/elk/logstash/6.x elk-server端/input_file_output_kafka.conf: -------------------------------------------------------------------------------- 1 | input { 2 | file { 3 | type => "worker_log" 4 | path => "/data/wwwlogs/service-logs/qshz_worker/qshz_worker-*.log" 5 | } 6 | } 7 | 8 | # 对json数据进行格式 9 | filter { 10 | json { 11 | source => "message" 12 | remove_field => ["message"] 13 | } 14 | } 15 | 16 | output { 17 | if [type] == "worker_log" { 18 | kafka { 19 | bootstrap_servers => "10.111.11.122:9092,10.111.11.123:9092" 20 | topic_id => "worker_log" 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/gccgo_linux_amd64.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 gccgo,linux,amd64 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | //extern gettimeofday 12 | func realGettimeofday(*Timeval, *byte) int32 13 | 14 | func gettimeofday(tv *Timeval) (err syscall.Errno) { 15 | r := realGettimeofday(tv, nil) 16 | if r < 0 { 17 | return syscall.GetErrno() 18 | } 19 | return 0 20 | } 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/http2/not_go111.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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.11 6 | 7 | package http2 8 | 9 | import "net/textproto" 10 | 11 | func traceHasWroteHeaderField(trace *clientTrace) bool { return false } 12 | 13 | func traceWroteHeaderField(trace *clientTrace, k, v string) {} 14 | 15 | func traceGot1xxResponseFunc(trace *clientTrace) func(int, textproto.MIMEHeader) error { 16 | return nil 17 | } 18 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/syscall_linux_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 linux,!gccgo 6 | 7 | package unix 8 | 9 | // SyscallNoError may be used instead of Syscall for syscalls that don't fail. 10 | func SyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 11 | 12 | // RawSyscallNoError may be used instead of RawSyscall for syscalls that don't 13 | // fail. 14 | func RawSyscallNoError(trap, a1, a2, a3 uintptr) (r1, r2 uintptr) 15 | -------------------------------------------------------------------------------- /algorithm/stack_pop.php: -------------------------------------------------------------------------------- 1 | 3,2,1 6 | 队列:先进先出,两端操作 1,2,3 => 1,2,3 7 | 2个栈捣腾一下实现队列的效果 8 | */ 9 | $stack = []; 10 | function mypush($node) 11 | { 12 | global $stack; 13 | $stack[] = $node; 14 | } 15 | function mypop() 16 | { 17 | global $stack; 18 | // 队列是先进的先出(把栈中第一个元素弹出去) 19 | $newstack = []; 20 | $length = count($stack) - 1; 21 | for ($i=1;$i<=$length;$i++) { 22 | $newstack[] = $stack[$i]; 23 | } 24 | $popvalue = $stack[0]; 25 | $stack = $newstack; 26 | return $popvalue; 27 | } -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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,!race 6 | 7 | package windows 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/types_windows_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 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 | type WSAData struct { 8 | Version uint16 9 | HighVersion uint16 10 | Description [WSADESCRIPTION_LEN + 1]byte 11 | SystemStatus [WSASYS_STATUS_LEN + 1]byte 12 | MaxSockets uint16 13 | MaxUdpDg uint16 14 | VendorInfo *byte 15 | } 16 | 17 | type Servent struct { 18 | Name *byte 19 | Aliases **byte 20 | Port uint16 21 | Proto *byte 22 | } 23 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/types_windows_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 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 | type WSAData struct { 8 | Version uint16 9 | HighVersion uint16 10 | MaxSockets uint16 11 | MaxUdpDg uint16 12 | VendorInfo *byte 13 | Description [WSADESCRIPTION_LEN + 1]byte 14 | SystemStatus [WSASYS_STATUS_LEN + 1]byte 15 | } 16 | 17 | type Servent struct { 18 | Name *byte 19 | Aliases **byte 20 | Proto *byte 21 | Port uint16 22 | } 23 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/str.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 | // +build windows 6 | 7 | package windows 8 | 9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 10 | if val < 0 { 11 | return "-" + itoa(-val) 12 | } 13 | var buf [32]byte // big enough for int64 14 | i := len(buf) - 1 15 | for val >= 10 { 16 | buf[i] = byte(val%10 + '0') 17 | i-- 18 | val /= 10 19 | } 20 | buf[i] = byte(val + '0') 21 | return string(buf[i:]) 22 | } 23 | -------------------------------------------------------------------------------- /plane/计划中的想法: -------------------------------------------------------------------------------- 1 | 2 | 学习 3 | 自己参照着实现下slide插件 4 | https://segmentfault.com/u/kodo/articles 5 | http://1ke.co/course/760?from=singlemessage&isappinstalled=0 6 | 7 | 8 | python的继续学习 9 | 老男孩8期视频 10 | 11 | 12 | 学习下ES 13 | 公司电脑上的2个pdf+相关文章 14 | 15 | 16 | 学习react 17 | 参照微信公众号 18 | 19 | 20 | 补充: 21 | 【并发 并行】 soa 四脚猫的php高级特性+大网站开发的资料 22 | 看百度云上面的大型网站设计的pdf书籍 23 | 单线程 单进程 多线程 多进程 cdn 异步 同步 锁(自旋锁、死锁、悲观锁、乐观锁) 协程 阻塞、非阻塞 minhash simhash 单元测试(yii2) 24 | http://mp.weixin.qq.com/s?__biz=MzAwMDU1MTE1OQ==&mid=403619448&idx=1&sn=df29fcbeb5a229b98379b86b162d916c&mpshare=1&scene=1&srcid=1010x5DH4HifEtkneIH0f3ss#rd 25 | https://laravel-china.org/index.php/topics/384 26 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/gopkg.in/yaml.v2/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2011-2016 Canonical Ltd. 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | -------------------------------------------------------------------------------- /experiment/gitHook/show.php: -------------------------------------------------------------------------------- 1 | getCheckMsg($_GET['iid']); 14 | $this->display($data); 15 | } 16 | 17 | protected function display($msg, $type = 'application/json') { 18 | header('Content-type: '. $type .'; charset=utf-8'); 19 | header('Cache-Control: max-age=0'); 20 | print $msg; 21 | die; 22 | } 23 | } 24 | 25 | $show = new showInfo(); 26 | $show->errorInfo(); -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/race0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 aix darwin,!race linux,!race freebsd,!race netbsd openbsd solaris dragonfly 6 | 7 | package unix 8 | 9 | import ( 10 | "unsafe" 11 | ) 12 | 13 | const raceenabled = false 14 | 15 | func raceAcquire(addr unsafe.Pointer) { 16 | } 17 | 18 | func raceReleaseMerge(addr unsafe.Pointer) { 19 | } 20 | 21 | func raceReadRange(addr unsafe.Pointer, len int) { 22 | } 23 | 24 | func raceWriteRange(addr unsafe.Pointer, len int) { 25 | } 26 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.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 | // +build amd64,solaris 6 | 7 | package unix 8 | 9 | func setTimespec(sec, nsec int64) Timespec { 10 | return Timespec{Sec: sec, Nsec: nsec} 11 | } 12 | 13 | func setTimeval(sec, usec int64) Timeval { 14 | return Timeval{Sec: sec, Usec: usec} 15 | } 16 | 17 | func (iov *Iovec) SetLen(length int) { 18 | iov.Len = uint64(length) 19 | } 20 | 21 | func (cmsg *Cmsghdr) SetLen(length int) { 22 | cmsg.Len = uint32(length) 23 | } 24 | -------------------------------------------------------------------------------- /experiment/tools/elk/logstash/6.x elk-server端/api_log.conf: -------------------------------------------------------------------------------- 1 | input { 2 | kafka { 3 | bootstrap_servers => "10.111.11.122:9092,10.111.11.123:9092" 4 | type => "api_log" 5 | topics => ["api_log"] 6 | auto_offset_reset => "latest" 7 | connections_max_idle_ms => "10000" 8 | client_id => "api_log_logstash" 9 | group_id => "api_log_logstash" 10 | } 11 | } 12 | 13 | # 对json数据进行格式 14 | filter { 15 | json { 16 | source => "message" 17 | remove_field => ["message"] 18 | } 19 | } 20 | 21 | output { 22 | elasticsearch { 23 | hosts => ["10.111.11.120:9200"] 24 | index => "api_log_%{+YYYY.MM.dd}" 25 | } 26 | } -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/syscall_linux_gc_386.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 linux,!gccgo,386 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | // Underlying system call writes to newoffset via pointer. 12 | // Implemented in assembly to avoid allocation. 13 | func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno) 14 | 15 | func socketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 16 | func rawsocketcall(call int, a0, a1, a2, a3, a4, a5 uintptr) (n int, err syscall.Errno) 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/syscall_unix_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 darwin dragonfly freebsd linux netbsd openbsd solaris 6 | // +build !gccgo 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 13 | func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 14 | func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err syscall.Errno) 15 | func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) 16 | -------------------------------------------------------------------------------- /experiment/tools/elk/logstash/6.x elk-server端/api_request_log.conf: -------------------------------------------------------------------------------- 1 | input { 2 | kafka { 3 | bootstrap_servers => "10.111.11.122:9092,10.111.11.123:9092" 4 | type => "api_request_log" 5 | topics => ["api_request_log"] 6 | auto_offset_reset => "latest" 7 | connections_max_idle_ms => "10000" 8 | client_id => "api_request_log_logstash" 9 | group_id => "api_request_log_logstash" 10 | } 11 | } 12 | 13 | # 对json数据进行格式 14 | filter { 15 | json { 16 | source => "message" 17 | remove_field => ["message"] 18 | } 19 | } 20 | 21 | output { 22 | elasticsearch { 23 | hosts => ["10.111.11.120:9200"] 24 | index => "api_request_log_%{+YYYY.MM.dd}" 25 | } 26 | } -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/concurrent/executor.go: -------------------------------------------------------------------------------- 1 | package concurrent 2 | 3 | import "context" 4 | 5 | // Executor replace go keyword to start a new goroutine 6 | // the goroutine should cancel itself if the context passed in has been cancelled 7 | // the goroutine started by the executor, is owned by the executor 8 | // we can cancel all executors owned by the executor just by stop the executor itself 9 | // however Executor interface does not Stop method, the one starting and owning executor 10 | // should use the concrete type of executor, instead of this interface. 11 | type Executor interface { 12 | // Go starts a new goroutine controlled by the context 13 | Go(handler func(ctx context.Context)) 14 | } 15 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/google.golang.org/appengine/internal/base/api_base.proto: -------------------------------------------------------------------------------- 1 | // Built-in base types for API calls. Primarily useful as return types. 2 | 3 | syntax = "proto2"; 4 | option go_package = "base"; 5 | 6 | package appengine.base; 7 | 8 | message StringProto { 9 | required string value = 1; 10 | } 11 | 12 | message Integer32Proto { 13 | required int32 value = 1; 14 | } 15 | 16 | message Integer64Proto { 17 | required int64 value = 1; 18 | } 19 | 20 | message BoolProto { 21 | required bool value = 1; 22 | } 23 | 24 | message DoubleProto { 25 | required double value = 1; 26 | } 27 | 28 | message BytesProto { 29 | required bytes value = 1 [ctype=CORD]; 30 | } 31 | 32 | message VoidProto { 33 | } 34 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/json-iterator/go/Gopkg.lock: -------------------------------------------------------------------------------- 1 | # This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. 2 | 3 | 4 | [[projects]] 5 | name = "github.com/modern-go/concurrent" 6 | packages = ["."] 7 | revision = "e0a39a4cb4216ea8db28e22a69f4ec25610d513a" 8 | version = "1.0.0" 9 | 10 | [[projects]] 11 | name = "github.com/modern-go/reflect2" 12 | packages = ["."] 13 | revision = "4b7aa43c6742a2c18fdef89dd197aaae7dac7ccd" 14 | version = "1.0.1" 15 | 16 | [solve-meta] 17 | analyzer-name = "dep" 18 | analyzer-version = 1 19 | inputs-digest = "ea54a775e5a354cb015502d2e7aa4b74230fc77e894f34a838b268c25ec8eeb8" 20 | solver-name = "gps-cdcl" 21 | solver-version = 1 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/dirent.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 | // +build aix darwin dragonfly freebsd linux nacl netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | import "syscall" 10 | 11 | // ParseDirent parses up to max directory entries in buf, 12 | // appending the names to names. It returns the number of 13 | // bytes consumed from buf, the number of entries added 14 | // to names, and the new names slice. 15 | func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) { 16 | return syscall.ParseDirent(buf, max, names) 17 | } 18 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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 linux,gccgo,arm 6 | 7 | package unix 8 | 9 | import ( 10 | "syscall" 11 | "unsafe" 12 | ) 13 | 14 | func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { 15 | var newoffset int64 16 | offsetLow := uint32(offset & 0xffffffff) 17 | offsetHigh := uint32((offset >> 32) & 0xffffffff) 18 | _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0) 19 | return newoffset, err 20 | } 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/env_windows.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 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 | // Windows environment variables. 6 | 7 | package windows 8 | 9 | import "syscall" 10 | 11 | func Getenv(key string) (value string, found bool) { 12 | return syscall.Getenv(key) 13 | } 14 | 15 | func Setenv(key, value string) error { 16 | return syscall.Setenv(key, value) 17 | } 18 | 19 | func Clearenv() { 20 | syscall.Clearenv() 21 | } 22 | 23 | func Environ() []string { 24 | return syscall.Environ() 25 | } 26 | 27 | func Unsetenv(key string) error { 28 | return syscall.Unsetenv(key) 29 | } 30 | -------------------------------------------------------------------------------- /algorithm/printListFromTailToHead.php: -------------------------------------------------------------------------------- 1 | val = $x; 11 | } 12 | }*/ 13 | function printListFromTailToHead($head) 14 | { 15 | /* 16 | 思路 17 | 遍历链表中的每个节点,从头节点开始直到null。null表示到链表的结尾 18 | 每个不为null的节点都会有值和指向下个位置的指针值 19 | */ 20 | $list = []; 21 | while($head!=NULL) { 22 | $list[] = $head->val; 23 | $head = $head->next; 24 | } 25 | 26 | // 把数组反转 27 | $newlist = []; 28 | $length = count($list) - 1; 29 | for ($i=0;$i<=$length;$i++) { 30 | $newlist[$i] = $list[$length-$i]; 31 | } 32 | return $newlist; 33 | } -------------------------------------------------------------------------------- /experiment/tools/elk/ES/plugins/bigdesk: -------------------------------------------------------------------------------- 1 | bigdesk和前面两个的作用不太一样, 2 | 主要用来将 3 | _cluster/stats,_cluster/health, _cluster/state/nodes,routing_table,routing_nodes几个API的几个可视化展示出来, 4 | 包括CPU/内存/Indices/Thread Pools/OS & JVM & Process & Transport,这个版本支持5.x系列 5 | 6 | 7 | 8 | git clone https://github.com/hlstudio/bigdesk 9 | 10 | 11 | 直接用Python创建一个简单web服务器都可以运行 12 | nohup python -m SimpleHTTPServer & 13 | 14 | 默认启动在8000端口,如果你的防火墙阻止了8000端口,还需要放开防火墙 15 | 16 | # Failed to load http://139.199.248.196:9200/_cluster/health: No 'Access-Control-Allow-Origin' header is present on the requested resource. 17 | Origin 'http://139.199.248.196:8696' is therefore not allowed access. 18 | 19 | ElasticSearch配置文件,添加head需要的选项: 20 | http.cors.enabled: true 21 | http.cors.allow-origin: "*" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/response/response.go: -------------------------------------------------------------------------------- 1 | package response 2 | 3 | import ( 4 | "encoding/json" 5 | "net/http" 6 | ) 7 | 8 | func Rfail(w http.ResponseWriter, errorReason string) http.ResponseWriter { 9 | mapInstance := make(map[string]interface{}, 0) 10 | mapInstance["code"] = 1 11 | mapInstance["msg"] = errorReason 12 | mapInstance["data"] = nil 13 | jsonStr, _ := json.Marshal(mapInstance) 14 | w.Write([]byte(jsonStr)) 15 | return w 16 | } 17 | 18 | func Rsucc(w http.ResponseWriter, value interface{}) http.ResponseWriter { 19 | mapInstance := make(map[string]interface{}, 0) 20 | mapInstance["code"] = 0 21 | mapInstance["data"] = value 22 | jsonStr, _ := json.Marshal(mapInstance) 23 | w.Write([]byte(jsonStr)) 24 | return w 25 | } 26 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/tools/clientcmd/api/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | package api 19 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/tools/clientcmd/api/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | package v1 19 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/http2/README: -------------------------------------------------------------------------------- 1 | This is a work-in-progress HTTP/2 implementation for Go. 2 | 3 | It will eventually live in the Go standard library and won't require 4 | any changes to your code to use. It will just be automatic. 5 | 6 | Status: 7 | 8 | * The server support is pretty good. A few things are missing 9 | but are being worked on. 10 | * The client work has just started but shares a lot of code 11 | is coming along much quicker. 12 | 13 | Docs are at https://godoc.org/golang.org/x/net/http2 14 | 15 | Demo test server at https://http2.golang.org/ 16 | 17 | Help & bug reports welcome! 18 | 19 | Contributing: https://golang.org/doc/contribute.html 20 | Bugs: https://golang.org/issue/new?title=x/net/http2:+ 21 | -------------------------------------------------------------------------------- /experiment/tools/elk/ES/README: -------------------------------------------------------------------------------- 1 | 10.111.11.120 2 | 3 | 注意:kafka不要和ELK机器放在同一台,会导致ES的性能下降很厉害(可能java共用缓存内存,不够用) 4 | 这个机器是32核 64G 挂载了2T的硬盘 目前只部署ELK 5 | 6 | 给ES启动的时候分配20G 7 | -Xms20g 8 | -Xmx20g 9 | 10 | 接入全量的日志,QPS在500-1500,目前单机没问题 11 | 12 | 13 | 默认ES的日志模式是调试的,修改log4j2.properties 14 | 放在消费kafka的的数据因为debug模式全部刷到日志目录去 15 | status = error 16 | logger.action.level = error 17 | 18 | 19 | QA 20 | bootstrap.memory_lock: true打开后发现ES启动失败 21 | 解决: 22 | /etc/elasticsearch/elasticsearch.yml 23 | bootstrap.memory_lock: true 24 | 25 | /usr/lib/systemd/system/elasticsearch.service 26 | LimitMEMLOCK=infinity 27 | 28 | /etc/sysconfig/elasticsearch 29 | MAX_LOCKED_MEMORY=unlimited 30 | 31 | /etc/security/limits.conf 32 | * soft memlock unlimited 33 | * hard memlock unlimited -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/race.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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,race 6 | 7 | package windows 8 | 9 | import ( 10 | "runtime" 11 | "unsafe" 12 | ) 13 | 14 | const raceenabled = true 15 | 16 | func raceAcquire(addr unsafe.Pointer) { 17 | runtime.RaceAcquire(addr) 18 | } 19 | 20 | func raceReleaseMerge(addr unsafe.Pointer) { 21 | runtime.RaceReleaseMerge(addr) 22 | } 23 | 24 | func raceReadRange(addr unsafe.Pointer, len int) { 25 | runtime.RaceReadRange(addr, len) 26 | } 27 | 28 | func raceWriteRange(addr unsafe.Pointer, len int) { 29 | runtime.RaceWriteRange(addr, len) 30 | } 31 | -------------------------------------------------------------------------------- /experiment/tools/zabbix/zabbix-agent: -------------------------------------------------------------------------------- 1 | 在需要监控的机器上面安装zabbix-agent 2 | 3 | 官网 4 | https://www.zabbix.com/download 5 | 6 | # rpm -i http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-2.el7.noarch.rpm 7 | 8 | # yum install zabbix-agent 9 | 10 | 监控机器的状况,配置文件的IP指向zabbix-server的 11 | # vim /etc/zabbix/zabbix_agentd.conf 12 | 13 | 14 | #改下面这三个地方 15 | ##zabbix_server的地址 16 | Server=10.111.11.120 17 | ##跟上面一致就好了 18 | ServerActive=10.111.11.120 19 | ##这个填写本机IP 20 | Hostname=10.111.11.79 21 | 22 | 23 | 启动agent 24 | # systemctl start zabbix-agent 25 | 26 | 27 | 28 | 回到server的界面中 29 | 配置----主机----创建主机群组 30 | 配置----主机----创建主机 31 | 配置----主机----某一个具体的机器----选择自带的模板---映射到当前机器 就能继续该模板的全部监控项目 32 | 33 | 34 | 个性化的创建监控-图形 35 | 找到某个主机下面 选择创建监控项 36 | 找到某个主机下面 选择创建图形 选择某个监控项去创建图形 37 | 38 | -------------------------------------------------------------------------------- /baike_spider/url_manager.py: -------------------------------------------------------------------------------- 1 | # coding:utf8 2 | 3 | class urlManager(object): 4 | def __init__(self): 5 | self.new_urls = set() 6 | self.old_urls = set() 7 | 8 | #添加一个待抓取的url 9 | def add_new_url(self, url): 10 | if url is None: 11 | return 12 | if url not in self.new_urls and url not in self.old_urls: 13 | self.new_urls.add(url) 14 | 15 | #批量添加待抓取的url 16 | def add_new_urls(self, urls): 17 | if urls is None or len(urls) == 0: 18 | return 19 | for url in urls: 20 | self.add_new_url(url) 21 | 22 | #是否有待抓取的url 23 | def has_new_url(self): 24 | return len(self.new_urls) != 0 25 | 26 | #获取一个待抓取的url,集合有pop方法 27 | def get_new_url(self): 28 | new_url = self.new_urls.pop() 29 | self.old_urls.add(new_url) 30 | return new_url 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/str.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 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | func itoa(val int) string { // do it here rather than with fmt to avoid dependency 10 | if val < 0 { 11 | return "-" + uitoa(uint(-val)) 12 | } 13 | return uitoa(uint(val)) 14 | } 15 | 16 | func uitoa(val uint) string { 17 | var buf [32]byte // big enough for int64 18 | i := len(buf) - 1 19 | for val >= 10 { 20 | buf[i] = byte(val%10 + '0') 21 | i-- 22 | val /= 10 23 | } 24 | buf[i] = byte(val + '0') 25 | return string(buf[i:]) 26 | } 27 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/time/rate/rate_go17.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 go1.7 6 | 7 | package rate 8 | 9 | import "context" 10 | 11 | // Wait is shorthand for WaitN(ctx, 1). 12 | func (lim *Limiter) Wait(ctx context.Context) (err error) { 13 | return lim.waitN(ctx, 1) 14 | } 15 | 16 | // WaitN blocks until lim permits n events to happen. 17 | // It returns an error if n exceeds the Limiter's burst size, the Context is 18 | // canceled, or the expected wait time exceeds the Context's Deadline. 19 | func (lim *Limiter) WaitN(ctx context.Context, n int) (err error) { 20 | return lim.waitN(ctx, n) 21 | } 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/googleapis/gnostic/OpenAPIv2/README.md: -------------------------------------------------------------------------------- 1 | # OpenAPI v2 Protocol Buffer Models 2 | 3 | This directory contains a Protocol Buffer-language model 4 | and related code for supporting OpenAPI v2. 5 | 6 | Gnostic applications and plugins can use OpenAPIv2.proto 7 | to generate Protocol Buffer support code for their preferred languages. 8 | 9 | OpenAPIv2.go is used by Gnostic to read JSON and YAML OpenAPI 10 | descriptions into the Protocol Buffer-based datastructures 11 | generated from OpenAPIv2.proto. 12 | 13 | OpenAPIv2.proto and OpenAPIv2.go are generated by the Gnostic 14 | compiler generator, and OpenAPIv2.pb.go is generated by 15 | protoc, the Protocol Buffer compiler, and protoc-gen-go, the 16 | Protocol Buffer Go code generation plugin. 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/race.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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,race linux,race freebsd,race 6 | 7 | package unix 8 | 9 | import ( 10 | "runtime" 11 | "unsafe" 12 | ) 13 | 14 | const raceenabled = true 15 | 16 | func raceAcquire(addr unsafe.Pointer) { 17 | runtime.RaceAcquire(addr) 18 | } 19 | 20 | func raceReleaseMerge(addr unsafe.Pointer) { 21 | runtime.RaceReleaseMerge(addr) 22 | } 23 | 24 | func raceReadRange(addr unsafe.Pointer, len int) { 25 | runtime.RaceReadRange(addr, len) 26 | } 27 | 28 | func raceWriteRange(addr unsafe.Pointer, len int) { 29 | runtime.RaceWriteRange(addr, len) 30 | } 31 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/google/gofuzz/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 Google Inc. All rights reserved. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package fuzz is a library for populating go objects with random values. 18 | package fuzz 19 | -------------------------------------------------------------------------------- /experiment/tools/gzip/gzip.go: -------------------------------------------------------------------------------- 1 | package utils 2 | 3 | import ( 4 | "bytes" 5 | "compress/gzip" 6 | "io/ioutil" 7 | ) 8 | 9 | // gzip压缩 10 | func GzipEncode(in []byte) ([]byte, error) { 11 | var ( 12 | buffer bytes.Buffer 13 | out []byte 14 | err error 15 | ) 16 | writer := gzip.NewWriter(&buffer) 17 | _, err = writer.Write(in) 18 | if err != nil { 19 | writer.Close() 20 | return out, err 21 | } 22 | err = writer.Close() 23 | if err != nil { 24 | return out, err 25 | } 26 | 27 | return buffer.Bytes(), nil 28 | } 29 | 30 | // gzip解码 31 | func GzipDecode(in []byte) ([]byte, error) { 32 | reader, err := gzip.NewReader(bytes.NewReader(in)) 33 | if err != nil { 34 | var out []byte 35 | return out, err 36 | } 37 | defer reader.Close() 38 | 39 | return ioutil.ReadAll(reader) 40 | } 41 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/time/rate/rate_go16.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 !go1.7 6 | 7 | package rate 8 | 9 | import "golang.org/x/net/context" 10 | 11 | // Wait is shorthand for WaitN(ctx, 1). 12 | func (lim *Limiter) Wait(ctx context.Context) (err error) { 13 | return lim.waitN(ctx, 1) 14 | } 15 | 16 | // WaitN blocks until lim permits n events to happen. 17 | // It returns an error if n exceeds the Limiter's burst size, the Context is 18 | // canceled, or the expected wait time exceeds the Context's Deadline. 19 | func (lim *Limiter) WaitN(ctx context.Context, n int) (err error) { 20 | return lim.waitN(ctx, n) 21 | } 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/apps/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v1 // import "k8s.io/api/apps/v1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/batch/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v1 // import "k8s.io/api/batch/v1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/storage/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +groupName=storage.k8s.io 19 | // +k8s:openapi-gen=true 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/env_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2010 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 aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | // Unix environment variables. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getenv(key string) (value string, found bool) { 14 | return syscall.Getenv(key) 15 | } 16 | 17 | func Setenv(key, value string) error { 18 | return syscall.Setenv(key, value) 19 | } 20 | 21 | func Clearenv() { 22 | syscall.Clearenv() 23 | } 24 | 25 | func Environ() []string { 26 | return syscall.Environ() 27 | } 28 | 29 | func Unsetenv(key string) error { 30 | return syscall.Unsetenv(key) 31 | } 32 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/context/go19.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 go1.9 6 | 7 | package context 8 | 9 | import "context" // standard library's context, as of Go 1.7 10 | 11 | // A Context carries a deadline, a cancelation signal, and other values across 12 | // API boundaries. 13 | // 14 | // Context's methods may be called by multiple goroutines simultaneously. 15 | type Context = context.Context 16 | 17 | // A CancelFunc tells an operation to abandon its work. 18 | // A CancelFunc does not wait for the work to stop. 19 | // After the first call, subsequent calls to a CancelFunc do nothing. 20 | type CancelFunc = context.CancelFunc 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/http2/go111.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 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.11 6 | 7 | package http2 8 | 9 | import "net/textproto" 10 | 11 | func traceHasWroteHeaderField(trace *clientTrace) bool { 12 | return trace != nil && trace.WroteHeaderField != nil 13 | } 14 | 15 | func traceWroteHeaderField(trace *clientTrace, k, v string) { 16 | if trace != nil && trace.WroteHeaderField != nil { 17 | trace.WroteHeaderField(k, []string{v}) 18 | } 19 | } 20 | 21 | func traceGot1xxResponseFunc(trace *clientTrace) func(int, textproto.MIMEHeader) error { 22 | if trace != nil { 23 | return trace.Got1xxResponse 24 | } 25 | return nil 26 | } 27 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/net/http2/not_go18.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 !go1.8 6 | 7 | package http2 8 | 9 | import ( 10 | "io" 11 | "net/http" 12 | ) 13 | 14 | func configureServer18(h1 *http.Server, h2 *Server) error { 15 | // No IdleTimeout to sync prior to Go 1.8. 16 | return nil 17 | } 18 | 19 | func shouldLogPanic(panicValue interface{}) bool { 20 | return panicValue != nil 21 | } 22 | 23 | func reqGetBody(req *http.Request) func() (io.ReadCloser, error) { 24 | return nil 25 | } 26 | 27 | func reqBodyIsNoBody(io.ReadCloser) bool { return false } 28 | 29 | func go18httpNoBody() io.ReadCloser { return nil } // for tests only 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/apps/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v1beta1 // import "k8s.io/api/apps/v1beta1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/apps/v1beta2/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v1beta2 // import "k8s.io/api/apps/v1beta2" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/autoscaling/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v1 // import "k8s.io/api/autoscaling/v1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/batch/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v1beta1 // import "k8s.io/api/batch/v1beta1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/util/sets/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by set-gen. DO NOT EDIT. 18 | 19 | // Package sets has auto-generated set types. 20 | package sets 21 | -------------------------------------------------------------------------------- /experiment/tools/api/README: -------------------------------------------------------------------------------- 1 | - Api请求的规范 2 | - get:对于获取资源的,用get。如果是搜索的传参较多用post 3 | - post:修改变更数据的、表单、有敏感数据的用post 4 | - request:获取数据流的 5 | 6 | 7 | - statuc code的规范 8 | 9 | **参考** 10 | 11 | http://xiaochutian.github.io/2017/08/01/design-of-server-status-code-1/ 12 | 13 | **返回统一格式** 14 | 15 | | 编号 | 属性 | 说明 | 16 | | ------------ | ------------ | ------------ | 17 | | 1 |code|状态码(0表示OK) | 18 | | 2 |msg|状态码对应的解释 | 19 | | 3 |data|返回的数据 | 20 | 21 | 22 | 23 | { 24 | "msg": "success", 25 | "code": 0, 26 | "data": [ 27 | { 28 | "type": 1, 29 | "date": "2017-06-23", 30 | "rightCount": 15, 31 | "wrongCount": 6, 32 | "duration": 300 33 | } 34 | ] 35 | } 36 | 37 | 38 | **不关心状态码** 39 | 40 | 非0都是有问题的,详情可以看后端返回的msg字段 41 | 42 | 43 | **开源根工具* 44 | 45 | https://yapi.ymfe.org/ 46 | 47 | 48 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/batch/v2alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v2alpha1 // import "k8s.io/api/batch/v2alpha1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/extensions/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v1beta1 // import "k8s.io/api/extensions/v1beta1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/discovery/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package discovery provides ways to discover server-supported 18 | // API groups, versions and resources. 19 | package discovery 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/gopkg.in/yaml.v2/writerc.go: -------------------------------------------------------------------------------- 1 | package yaml 2 | 3 | // Set the writer error and return false. 4 | func yaml_emitter_set_writer_error(emitter *yaml_emitter_t, problem string) bool { 5 | emitter.error = yaml_WRITER_ERROR 6 | emitter.problem = problem 7 | return false 8 | } 9 | 10 | // Flush the output buffer. 11 | func yaml_emitter_flush(emitter *yaml_emitter_t) bool { 12 | if emitter.write_handler == nil { 13 | panic("write handler not set") 14 | } 15 | 16 | // Check if the buffer is empty. 17 | if emitter.buffer_pos == 0 { 18 | return true 19 | } 20 | 21 | if err := emitter.write_handler(emitter, emitter.buffer[:emitter.buffer_pos]); err != nil { 22 | return yaml_emitter_set_writer_error(emitter, "write error: "+err.Error()) 23 | } 24 | emitter.buffer_pos = 0 25 | return true 26 | } 27 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/autoscaling/v2beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v2beta1 // import "k8s.io/api/autoscaling/v2beta1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/autoscaling/v2beta2/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | package v2beta2 // import "k8s.io/api/autoscaling/v2beta2" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated clientset. 20 | package kubernetes 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | type JobExpansion interface{} 22 | -------------------------------------------------------------------------------- /baike_spider/html_outputer.py: -------------------------------------------------------------------------------- 1 | # coding:utf8 2 | 3 | class htmlOutputer(object): 4 | def __init__(self): 5 | self.datas = [] 6 | 7 | def collect_data(self, data): 8 | if data is None: 9 | return 10 | self.datas.append(data) 11 | 12 | 13 | def output_html(self): 14 | fout = open('output.html', 'w') 15 | 16 | fout.write("") 17 | fout.write("") 18 | fout.write("") 19 | fout.write("") 20 | 21 | for data in self.datas: 22 | fout.write("") 23 | fout.write("" % data['url']) 24 | fout.write("" % data['title'].encode('utf-8')) 25 | fout.write("" % data['summary'].encode('utf-8')) 26 | fout.write("") 27 | 28 | fout.write("
%s%s%s
") 29 | fout.write("") 30 | fout.write("") 31 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/googleapis/gnostic/compiler/main.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Google Inc. All Rights Reserved. 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | // Package compiler provides support functions to generated compiler code. 16 | package compiler 17 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/types/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package types implements various generic types used throughout kubernetes. 18 | package types // import "k8s.io/apimachinery/pkg/types" 19 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/import.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // This file exists to enforce this clientset's vanity import path. 18 | 19 | package kubernetes // import "k8s.io/client-go/kubernetes" 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/networking/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | // +groupName=networking.k8s.io 20 | package v1 // import "k8s.io/api/networking/v1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/apps/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/batch/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/core/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | type StorageClassExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_freebsd_arm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2012 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 !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for ARM, FreeBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | B syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | B syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | B syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | B syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | B syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_netbsd_arm.s: -------------------------------------------------------------------------------- 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 !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for ARM, NetBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | B syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | B syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | B syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | B syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | B syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_openbsd_arm.s: -------------------------------------------------------------------------------- 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 !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for ARM, OpenBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | B syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | B syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | B syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | B syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | B syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/rbac/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=rbac.authorization.k8s.io 21 | package v1 // import "k8s.io/api/rbac/v1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/api/errors/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package errors provides detailed error types for api field validation. 18 | package errors // import "k8s.io/apimachinery/pkg/api/errors" 19 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | 21 | type CronJobExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v2alpha1 20 | 21 | type CronJobExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | 21 | type EventExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/networking/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | type NetworkPolicyExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/storage/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/elk/logstash/6.x elk-server端/nginx_access_log_out_es.conf: -------------------------------------------------------------------------------- 1 | input { 2 | kafka { 3 | bootstrap_servers => "10.111.11.122:9092,10.111.11.123:9092,10.111.11.139:9092,10.111.11.140:9092,10.111.11.141:9092" 4 | type => "nginx_access_log" 5 | topics => ["nginx_access_log"] 6 | auto_offset_reset => "latest" 7 | connections_max_idle_ms => "10000" 8 | client_id => "nginx_access_log_logstash" 9 | group_id => "nginx_access_log_logstash" 10 | } 11 | } 12 | 13 | filter { 14 | json { 15 | source => "message" 16 | } 17 | } 18 | 19 | output { 20 | if [type] == "nginx_access_log" { 21 | elasticsearch { 22 | hosts => ["10.111.11.120:9200"] 23 | index => "nginx_access_log_%{+YYYY.MM.dd}" 24 | } 25 | } 26 | # stdout {codec => rubydebug} 27 | } -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/events/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=events.k8s.io 21 | package v1beta1 // import "k8s.io/api/events/v1beta1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/storage/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +groupName=storage.k8s.io 19 | // +k8s:openapi-gen=true 20 | package v1beta1 // import "k8s.io/api/storage/v1beta1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/util/errors/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package errors implements various utility functions and types around errors. 18 | package errors // import "k8s.io/apimachinery/pkg/util/errors" 19 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/apps/v1beta2/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta2 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/batch/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | 21 | type LeaseExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1alpha1 20 | 21 | type PodPresetExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_darwin_386.s: -------------------------------------------------------------------------------- 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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for 386, Darwin 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_freebsd_386.s: -------------------------------------------------------------------------------- 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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for 386, FreeBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_netbsd_386.s: -------------------------------------------------------------------------------- 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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for 386, NetBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_openbsd_386.s: -------------------------------------------------------------------------------- 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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for 386, OpenBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-28 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/authentication/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +groupName=authentication.k8s.io 19 | // +k8s:openapi-gen=true 20 | package v1 // import "k8s.io/api/authentication/v1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/authorization/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=authorization.k8s.io 21 | package v1 // import "k8s.io/api/authorization/v1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/core/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:openapi-gen=true 18 | // +k8s:deepcopy-gen=package 19 | 20 | // Package v1 is the v1 version of the core API. 21 | package v1 // import "k8s.io/api/core/v1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/scheme/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package contains the scheme of the automatically generated clientset. 20 | package scheme 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1 20 | 21 | type HorizontalPodAutoscalerExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/batch/v2alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v2alpha1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/events/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/extensions/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/policy/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/rbac/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1alpha1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1beta1 20 | 21 | type PriorityClassExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/settings/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1alpha1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1alpha1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/storage/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/modern-go/concurrent/go_below_19.go: -------------------------------------------------------------------------------- 1 | //+build !go1.9 2 | 3 | package concurrent 4 | 5 | import "sync" 6 | 7 | // Map implements a thread safe map for go version below 1.9 using mutex 8 | type Map struct { 9 | lock sync.RWMutex 10 | data map[interface{}]interface{} 11 | } 12 | 13 | // NewMap creates a thread safe map 14 | func NewMap() *Map { 15 | return &Map{ 16 | data: make(map[interface{}]interface{}, 32), 17 | } 18 | } 19 | 20 | // Load is same as sync.Map Load 21 | func (m *Map) Load(key interface{}) (elem interface{}, found bool) { 22 | m.lock.RLock() 23 | elem, found = m.data[key] 24 | m.lock.RUnlock() 25 | return 26 | } 27 | 28 | // Load is same as sync.Map Store 29 | func (m *Map) Store(key interface{}, elem interface{}) { 30 | m.lock.Lock() 31 | m.data[key] = elem 32 | m.lock.Unlock() 33 | } 34 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_darwin_amd64.s: -------------------------------------------------------------------------------- 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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, Darwin 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_freebsd_amd64.s: -------------------------------------------------------------------------------- 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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, FreeBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_netbsd_amd64.s: -------------------------------------------------------------------------------- 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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, NetBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_openbsd_amd64.s: -------------------------------------------------------------------------------- 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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, OpenBSD 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/rbac/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=rbac.authorization.k8s.io 21 | package v1alpha1 // import "k8s.io/api/rbac/v1alpha1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/rbac/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=rbac.authorization.k8s.io 21 | package v1beta1 // import "k8s.io/api/rbac/v1beta1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/settings/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=settings.k8s.io 21 | package v1alpha1 // import "k8s.io/api/settings/v1alpha1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/storage/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package,register 18 | // +groupName=storage.k8s.io 19 | // +k8s:openapi-gen=true 20 | package v1alpha1 // import "k8s.io/api/storage/v1alpha1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/authentication/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/authorization/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v2beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v2beta2 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/certificates/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/coordination/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1alpha1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/scheduling/v1alpha1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1alpha1 20 | 21 | type PriorityClassExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/storage/v1alpha1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1alpha1 20 | 21 | type VolumeAttachmentExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s: -------------------------------------------------------------------------------- 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 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System call support for AMD64, DragonFly 11 | // 12 | 13 | // Just jump to package syscall's implementation for all these functions. 14 | // The runtime may know about them. 15 | 16 | TEXT ·Syscall(SB),NOSPLIT,$0-56 17 | JMP syscall·Syscall(SB) 18 | 19 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 20 | JMP syscall·Syscall6(SB) 21 | 22 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 23 | JMP syscall·Syscall9(SB) 24 | 25 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 26 | JMP syscall·RawSyscall(SB) 27 | 28 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 29 | JMP syscall·RawSyscall6(SB) 30 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/scheduling/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=scheduling.k8s.io 21 | package v1alpha1 // import "k8s.io/api/scheduling/v1alpha1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/scheduling/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=scheduling.k8s.io 21 | package v1beta1 // import "k8s.io/api/scheduling/v1beta1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/apis/meta/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2017 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | // +k8s:defaulter-gen=TypeMeta 20 | 21 | // +groupName=meta.k8s.io 22 | package v1beta1 23 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v2beta1 20 | 21 | type HorizontalPodAutoscalerExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/autoscaling/v2beta2/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v2beta2 20 | 21 | type HorizontalPodAutoscalerExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_darwin_arm.s: -------------------------------------------------------------------------------- 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 !gccgo 6 | // +build arm,darwin 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System call support for ARM, Darwin 12 | // 13 | 14 | // Just jump to package syscall's implementation for all these functions. 15 | // The runtime may know about them. 16 | 17 | TEXT ·Syscall(SB),NOSPLIT,$0-28 18 | B syscall·Syscall(SB) 19 | 20 | TEXT ·Syscall6(SB),NOSPLIT,$0-40 21 | B syscall·Syscall6(SB) 22 | 23 | TEXT ·Syscall9(SB),NOSPLIT,$0-52 24 | B syscall·Syscall9(SB) 25 | 26 | TEXT ·RawSyscall(SB),NOSPLIT,$0-28 27 | B syscall·RawSyscall(SB) 28 | 29 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-40 30 | B syscall·RawSyscall6(SB) 31 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/google.golang.org/appengine/internal/app_id.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | package internal 6 | 7 | import ( 8 | "strings" 9 | ) 10 | 11 | func parseFullAppID(appid string) (partition, domain, displayID string) { 12 | if i := strings.Index(appid, "~"); i != -1 { 13 | partition, appid = appid[:i], appid[i+1:] 14 | } 15 | if i := strings.Index(appid, ":"); i != -1 { 16 | domain, appid = appid[:i], appid[i+1:] 17 | } 18 | return partition, domain, appid 19 | } 20 | 21 | // appID returns "appid" or "domain.com:appid". 22 | func appID(fullAppID string) string { 23 | _, dom, dis := parseFullAppID(fullAppID) 24 | if dom != "" { 25 | return dom + ":" + dis 26 | } 27 | return dis 28 | } 29 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/authentication/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +groupName=authentication.k8s.io 19 | // +k8s:openapi-gen=true 20 | package v1beta1 // import "k8s.io/api/authentication/v1beta1" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/authorization/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=authorization.k8s.io 21 | package v1beta1 // import "k8s.io/api/authorization/v1beta1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/certificates/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=certificates.k8s.io 21 | package v1beta1 // import "k8s.io/api/certificates/v1beta1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/api/coordination/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | 20 | // +groupName=coordination.k8s.io 21 | package v1beta1 // import "k8s.io/api/coordination/v1beta1" 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1alpha1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1beta1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | // This package has the automatically generated typed clients. 20 | package v1beta1 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/emicklei/go-restful/service_error.go: -------------------------------------------------------------------------------- 1 | package restful 2 | 3 | // Copyright 2013 Ernest Micklei. All rights reserved. 4 | // Use of this source code is governed by a license 5 | // that can be found in the LICENSE file. 6 | 7 | import "fmt" 8 | 9 | // ServiceError is a transport object to pass information about a non-Http error occurred in a WebService while processing a request. 10 | type ServiceError struct { 11 | Code int 12 | Message string 13 | } 14 | 15 | // NewError returns a ServiceError using the code and reason 16 | func NewError(code int, message string) ServiceError { 17 | return ServiceError{Code: code, Message: message} 18 | } 19 | 20 | // Error returns a text representation of the service error 21 | func (s ServiceError) Error() string { 22 | return fmt.Sprintf("[ServiceError:%v] %v", s.Code, s.Message) 23 | } 24 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/asm_darwin_arm64.s: -------------------------------------------------------------------------------- 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 !gccgo 6 | // +build arm64,darwin 7 | 8 | #include "textflag.h" 9 | 10 | // 11 | // System call support for AMD64, Darwin 12 | // 13 | 14 | // Just jump to package syscall's implementation for all these functions. 15 | // The runtime may know about them. 16 | 17 | TEXT ·Syscall(SB),NOSPLIT,$0-56 18 | B syscall·Syscall(SB) 19 | 20 | TEXT ·Syscall6(SB),NOSPLIT,$0-80 21 | B syscall·Syscall6(SB) 22 | 23 | TEXT ·Syscall9(SB),NOSPLIT,$0-104 24 | B syscall·Syscall9(SB) 25 | 26 | TEXT ·RawSyscall(SB),NOSPLIT,$0-56 27 | B syscall·RawSyscall(SB) 28 | 29 | TEXT ·RawSyscall6(SB),NOSPLIT,$0-80 30 | B syscall·RawSyscall6(SB) 31 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/unix/bluetooth_linux.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 | // Bluetooth sockets and messages 6 | 7 | package unix 8 | 9 | // Bluetooth Protocols 10 | const ( 11 | BTPROTO_L2CAP = 0 12 | BTPROTO_HCI = 1 13 | BTPROTO_SCO = 2 14 | BTPROTO_RFCOMM = 3 15 | BTPROTO_BNEP = 4 16 | BTPROTO_CMTP = 5 17 | BTPROTO_HIDP = 6 18 | BTPROTO_AVDTP = 7 19 | ) 20 | 21 | const ( 22 | HCI_CHANNEL_RAW = 0 23 | HCI_CHANNEL_USER = 1 24 | HCI_CHANNEL_MONITOR = 2 25 | HCI_CHANNEL_CONTROL = 3 26 | ) 27 | 28 | // Socketoption Level 29 | const ( 30 | SOL_BLUETOOTH = 0x112 31 | SOL_HCI = 0x0 32 | SOL_L2CAP = 0x6 33 | SOL_RFCOMM = 0x12 34 | SOL_SCO = 0x11 35 | ) 36 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/fields/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package fields implements a simple field system, parsing and matching 18 | // selectors with sets of fields. 19 | package fields // import "k8s.io/apimachinery/pkg/fields" 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/labels/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package labels implements a simple label system, parsing and matching 18 | // selectors with sets of labels. 19 | package labels // import "k8s.io/apimachinery/pkg/labels" 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/api/meta/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package meta provides functions for retrieving API metadata from objects 18 | // belonging to the Kubernetes API 19 | package meta // import "k8s.io/apimachinery/pkg/api/meta" 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/version/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package version supplies the type for version information collected at build time. 18 | // +k8s:openapi-gen=true 19 | package version // import "k8s.io/apimachinery/pkg/version" 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/kubernetes/typed/admissionregistration/v1alpha1/generated_expansion.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Code generated by client-gen. DO NOT EDIT. 18 | 19 | package v1alpha1 20 | 21 | type InitializerConfigurationExpansion interface{} 22 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/json-iterator/go/Gopkg.toml: -------------------------------------------------------------------------------- 1 | # Gopkg.toml example 2 | # 3 | # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md 4 | # for detailed Gopkg.toml documentation. 5 | # 6 | # required = ["github.com/user/thing/cmd/thing"] 7 | # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"] 8 | # 9 | # [[constraint]] 10 | # name = "github.com/user/project" 11 | # version = "1.0.0" 12 | # 13 | # [[constraint]] 14 | # name = "github.com/user/project2" 15 | # branch = "dev" 16 | # source = "github.com/myfork/project2" 17 | # 18 | # [[override]] 19 | # name = "github.com/x/y" 20 | # version = "2.4.0" 21 | 22 | ignored = ["github.com/davecgh/go-spew*","github.com/google/gofuzz*","github.com/stretchr/testify*"] 23 | 24 | [[constraint]] 25 | name = "github.com/modern-go/reflect2" 26 | version = "1.0.1" 27 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/golang.org/x/sys/windows/memory_windows.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 windows 6 | 7 | const ( 8 | MEM_COMMIT = 0x00001000 9 | MEM_RESERVE = 0x00002000 10 | MEM_DECOMMIT = 0x00004000 11 | MEM_RELEASE = 0x00008000 12 | MEM_RESET = 0x00080000 13 | MEM_TOP_DOWN = 0x00100000 14 | MEM_WRITE_WATCH = 0x00200000 15 | MEM_PHYSICAL = 0x00400000 16 | MEM_RESET_UNDO = 0x01000000 17 | MEM_LARGE_PAGES = 0x20000000 18 | 19 | PAGE_NOACCESS = 0x01 20 | PAGE_READONLY = 0x02 21 | PAGE_READWRITE = 0x04 22 | PAGE_WRITECOPY = 0x08 23 | PAGE_EXECUTE_READ = 0x20 24 | PAGE_EXECUTE_READWRITE = 0x40 25 | PAGE_EXECUTE_WRITECOPY = 0x80 26 | ) 27 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/runtime/serializer/protobuf/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2015 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package protobuf provides a Kubernetes serializer for the protobuf format. 18 | package protobuf // import "k8s.io/apimachinery/pkg/runtime/serializer/protobuf" 19 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/watch/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package watch contains a generic watchable interface, and a fake for 18 | // testing code that uses the watch interface. 19 | package watch // import "k8s.io/apimachinery/pkg/watch" 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/pkg/apis/clientauthentication/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2018 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +groupName=client.authentication.k8s.io 19 | package clientauthentication // import "k8s.io/client-go/pkg/apis/clientauthentication" 20 | -------------------------------------------------------------------------------- /experiment/gitHook/ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/client-go/pkg/version/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package version supplies version information collected at build time to 18 | // kubernetes components. 19 | // +k8s:openapi-gen=true 20 | package version // import "k8s.io/client-go/pkg/version" 21 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/apis/meta/v1/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2016 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // +k8s:deepcopy-gen=package 18 | // +k8s:openapi-gen=true 19 | // +k8s:defaulter-gen=TypeMeta 20 | 21 | // +groupName=meta.k8s.io 22 | package v1 // import "k8s.io/apimachinery/pkg/apis/meta/v1" 23 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/k8s.io/apimachinery/pkg/conversion/queryparams/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright 2014 The Kubernetes Authors. 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | 17 | // Package queryparams provides conversion from versioned 18 | // runtime objects to URL query values 19 | package queryparams // import "k8s.io/apimachinery/pkg/conversion/queryparams" 20 | -------------------------------------------------------------------------------- /experiment/tools/k8s-dashboard-backend/vendor/github.com/emicklei/go-restful/log/log.go: -------------------------------------------------------------------------------- 1 | package log 2 | 3 | import ( 4 | stdlog "log" 5 | "os" 6 | ) 7 | 8 | // StdLogger corresponds to a minimal subset of the interface satisfied by stdlib log.Logger 9 | type StdLogger interface { 10 | Print(v ...interface{}) 11 | Printf(format string, v ...interface{}) 12 | } 13 | 14 | var Logger StdLogger 15 | 16 | func init() { 17 | // default Logger 18 | SetLogger(stdlog.New(os.Stderr, "[restful] ", stdlog.LstdFlags|stdlog.Lshortfile)) 19 | } 20 | 21 | // SetLogger sets the logger for this package 22 | func SetLogger(customLogger StdLogger) { 23 | Logger = customLogger 24 | } 25 | 26 | // Print delegates to the Logger 27 | func Print(v ...interface{}) { 28 | Logger.Print(v...) 29 | } 30 | 31 | // Printf delegates to the Logger 32 | func Printf(format string, v ...interface{}) { 33 | Logger.Printf(format, v...) 34 | } 35 | --------------------------------------------------------------------------------