[{"title":"(72个子文件86KB)k2tf:KubernetesYAML到TerraformHCL转换器-源码","children":[{"title":"k2tf-master","children":[{"title":".goreleaser.yml <span style='color:#111;'>415B</span>","children":null,"spread":false},{"title":"pkg","children":[{"title":"k8sutils","children":[{"title":"k8sutils.go <span style='color:#111;'>557B</span>","children":null,"spread":false}],"spread":true},{"title":"testutils","children":[{"title":"yaml.go <span style='color:#111;'>371B</span>","children":null,"spread":false}],"spread":true},{"title":"tfkschema","children":[{"title":"schema.go <span style='color:#111;'>2.91KB</span>","children":null,"spread":false},{"title":"schema_test.go <span style='color:#111;'>3.08KB</span>","children":null,"spread":false},{"title":"name_mapper.go <span style='color:#111;'>4.87KB</span>","children":null,"spread":false},{"title":"name_mapper_test.go <span style='color:#111;'>6.20KB</span>","children":null,"spread":false}],"spread":true},{"title":"k8sparser","children":[{"title":"yaml_parser.go <span style='color:#111;'>1.63KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"log.go <span style='color:#111;'>1.66KB</span>","children":null,"spread":false},{"title":"hcl_writer.go <span style='color:#111;'>16.64KB</span>","children":null,"spread":false},{"title":"utils_test.go <span style='color:#111;'>696B</span>","children":null,"spread":false},{"title":"output.go <span style='color:#111;'>898B</span>","children":null,"spread":false},{"title":"input.go <span style='color:#111;'>2.20KB</span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'>16.33KB</span>","children":null,"spread":false},{"title":"Formula","children":[{"title":"k2tf.rb <span style='color:#111;'>482B</span>","children":null,"spread":false}],"spread":true},{"title":".drone.yml <span style='color:#111;'>862B</span>","children":null,"spread":false},{"title":"input_test.go <span style='color:#111;'>801B</span>","children":null,"spread":false},{"title":"hcl_block.go <span style='color:#111;'>3.64KB</span>","children":null,"spread":false},{"title":"main.go <span style='color:#111;'>2.42KB</span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'>50B</span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'>588B</span>","children":null,"spread":false},{"title":"go.sum <span style='color:#111;'>86.89KB</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>2.00KB</span>","children":null,"spread":false},{"title":"hcl_writer_test.go <span style='color:#111;'>2.62KB</span>","children":null,"spread":false},{"title":"utils.go <span style='color:#111;'>1.26KB</span>","children":null,"spread":false},{"title":"scripts","children":[{"title":"release.sh <span style='color:#111;'>107B</span>","children":null,"spread":false}],"spread":false},{"title":"test-fixtures","children":[{"title":"podDisruptionBudget.tf.golden <span style='color:#111;'>193B</span>","children":null,"spread":false},{"title":"service.yaml <span style='color:#111;'>205B</span>","children":null,"spread":false},{"title":"job.yaml <span style='color:#111;'>255B</span>","children":null,"spread":false},{"title":"cronJob.tf.golden <span style='color:#111;'>512B</span>","children":null,"spread":false},{"title":"namespace_w_spec.tf.golden <span style='color:#111;'>162B</span>","children":null,"spread":false},{"title":"service.tf.golden <span style='color:#111;'>275B</span>","children":null,"spread":false},{"title":"podNodeExporter.yaml <span style='color:#111;'>2.97KB</span>","children":null,"spread":false},{"title":"nested","children":[{"title":"kube-state-metrics-serviceaccount.yaml <span style='color:#111;'>313B</span>","children":null,"spread":false},{"title":"server-pvc.yaml <span style='color:#111;'>365B</span>","children":null,"spread":false},{"title":"server-clusterrole.yaml <span style='color:#111;'>790B</span>","children":null,"spread":false},{"title":"server-clusterrolebinding.yaml <span style='color:#111;'>521B</span>","children":null,"spread":false}],"spread":false},{"title":"ingress.tf.golden <span style='color:#111;'>435B</span>","children":null,"spread":false},{"title":"namespace_w_spec.yaml <span style='color:#111;'>153B</span>","children":null,"spread":false},{"title":"basicDeployment.yaml <span style='color:#111;'>566B</span>","children":null,"spread":false},{"title":"networkPolicy.yaml <span style='color:#111;'>484B</span>","children":null,"spread":false},{"title":"podDisruptionBudget.yaml <span style='color:#111;'>151B</span>","children":null,"spread":false},{"title":"daemonset.yaml <span style='color:#111;'>452B</span>","children":null,"spread":false},{"title":"networkPolicy.tf.golden <span style='color:#111;'>640B</span>","children":null,"spread":false},{"title":"job.tf.golden <span style='color:#111;'>357B</span>","children":null,"spread":false},{"title":"namespace.tf.golden <span style='color:#111;'>162B</span>","children":null,"spread":false},{"title":"deployment2Containers.yaml <span style='color:#111;'>555B</span>","children":null,"spread":false},{"title":"ingress.yaml <span style='color:#111;'>344B</span>","children":null,"spread":false},{"title":"cronJob.yaml <span style='color:#111;'>392B</span>","children":null,"spread":false},{"title":"daemonset.tf.golden <span style='color:#111;'>624B</span>","children":null,"spread":false},{"title":"replicationController.yml <span style='color:#111;'>1.57KB</span>","children":null,"spread":false},{"title":"statefulSet.yaml <span style='color:#111;'>746B</span>","children":null,"spread":false},{"title":"roleBinding.yaml <span style='color:#111;'>255B</span>","children":null,"spread":false},{"title":"endpoints.tf.golden <span style='color:#111;'>515B</span>","children":null,"spread":false},{"title":"multiple_wCRD","children":[{"title":"crd.yaml <span style='color:#111;'>1.30KB</span>","children":null,"spread":false},{"title":"pod.yaml <span style='color:#111;'>253B</span>","children":null,"spread":false}],"spread":false},{"title":"configMap.tf.golden <span style='color:#111;'>225B</span>","children":null,"spread":false},{"title":"configMap.yaml <span style='color:#111;'>161B</span>","children":null,"spread":false},{"title":"deployment.yaml <span style='color:#111;'>4.48KB</span>","children":null,"spread":false},{"title":"namespace.yaml <span style='color:#111;'>125B</span>","children":null,"spread":false},{"title":"issue-48.tf.golden <span style='color:#111;'>447B</span>","children":null,"spread":false},{"title":"podNodeExporter.tf.golden <span style='color:#111;'>1.96KB</span>","children":null,"spread":false},{"title":"deployment2Containers.tf.golden <span style='color:#111;'>673B</span>","children":null,"spread":false},{"title":"basicDeployment.tf.golden <span style='color:#111;'>727B</span>","children":null,"spread":false},{"title":"roleBinding.tf.golden <span style='color:#111;'>322B</span>","children":null,"spread":false},{"title":"deployment.tf.golden <span style='color:#111;'>4.10KB</span>","children":null,"spread":false},{"title":"statefulSet.tf.golden <span style='color:#111;'>958B</span>","children":null,"spread":false},{"title":"role.yaml <span style='color:#111;'>173B</span>","children":null,"spread":false},{"title":"endpoints.yaml <span style='color:#111;'>400B</span>","children":null,"spread":false},{"title":"role.tf.golden <span style='color:#111;'>182B</span>","children":null,"spread":false},{"title":"issue-48.yaml <span style='color:#111;'>372B</span>","children":null,"spread":false}],"spread":false},{"title":"go.mod <span style='color:#111;'>1.19KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]