kcl-lang.io/kpm@v0.8.7-0.20240520061008-9fc4c5efc8c7/pkg/client/test_data/resolve_dep_with_kclmod/main.k (about)

     1  import k8s.api.core.v1 as k8core
     2  
     3  k8core.Pod {
     4      metadata.name = "web-app"
     5      spec.containers = [{
     6          name = "main-container"
     7          image = "nginx"
     8          ports = [{containerPort = 80}]
     9      }]
    10  }