(CommandList
  children: [
    (C {(set)} {(-o)} {(errexit)})
    (C {(set)} {(-o)} {(nounset)})
    (C {(set)} {(-o)} {(pipefail)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:KUBE_ROOT)
          op: Equal
          rhs: 
            {
              (CommandSubPart
                command_list: 
                  (CommandList
                    children: [(C {(dirname)} {(DQ (${ VSub_Name BASH_SOURCE))})]
                  )
                left_token: <Left_CommandSub '$('>
                spids: [71 79]
              ) (/../..)
            }
          spids: [70]
        )
      ]
      spids: [70]
    )
    (C {(source)} {(DQ (${ VSub_Name KUBE_ROOT) (/hack/lib/init.sh))})
    (C {(source)} {(DQ (${ VSub_Name KUBE_ROOT) (/hack/lib/test.sh))})
    (C {(source)} {(DQ (${ VSub_Name KUBE_ROOT) (/hack/make-rules/test-cmd-util.sh))})
    (FuncDef
      name: run_federation_apiserver
      body: 
        (BraceGroup
          children: [
            (C {(kube) (Lit_Other ':') (Lit_Other ':') (log) (Lit_Other ':') (Lit_Other ':') (status)} 
              {(DQ ('Building federation-apiserver'))}
            )
            (C {(make)} {(-C)} {(DQ (${ VSub_Name KUBE_ROOT))} 
              {(Lit_VarLike 'WHAT=') (DQ (federation/cmd/federation-apiserver))}
            )
            (C {(kube) (Lit_Other ':') (Lit_Other ':') (log) (Lit_Other ':') (Lit_Other ':') (status)} 
              {(DQ ('Starting federation-apiserver'))}
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:ADMISSION_CONTROL)
                  op: Equal
                  rhs: {(DQ (NamespaceLifecycle))}
                  spids: [171]
                )
              ]
              spids: [171]
            )
            (Sentence
              child: 
                (SimpleCommand
                  words: [
                    {(DQ (${ VSub_Name KUBE_OUTPUT_HOSTBIN) (/federation-apiserver))}
                    {(--insecure-port) (Lit_Other '=') (DQ (${ VSub_Name API_PORT))}
                    {(--secure-port) (Lit_Other '=') (DQ (${ VSub_Name SECURE_API_PORT))}
                    {(--admission-control) (Lit_Other '=') (DQ (${ VSub_Name ADMISSION_CONTROL))}
                    {(--etcd-servers) (Lit_Other '=') 
                      (DQ ('http://') (${ VSub_Name ETCD_HOST) (':') (${ VSub_Name ETCD_PORT))
                    }
                    {(--storage-media-type) (Lit_Other '=') 
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name KUBE_TEST_API_STORAGE_TYPE>
                          suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )})
                          spids: [235 238]
                        )
                      )
                    }
                    {(--cert-dir) (Lit_Other '=') 
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name TMPDIR>
                          suffix_op: 
                            (StringUnary
                              op_id: VTest_ColonHyphen
                              arg_word: {(Lit_Slash /) (tmp) (Lit_Slash /)}
                            )
                          spids: [246 252]
                        )
                      )
                    }
                    {(--token-auth-file) (Lit_Other '=') (hack/testdata/auth-tokens.csv)}
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[261])]
                )
              terminator: <Op_Amp '&'>
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:APISERVER_PID)
                  op: Equal
                  rhs: {($ VSub_Bang '$!')}
                  spids: [267]
                )
              ]
              spids: [267]
            )
            (C 
              {(kube) (Lit_Other ':') (Lit_Other ':') (util) (Lit_Other ':') (Lit_Other ':') 
                (wait_for_url)
              } {(DQ ('http://127.0.0.1:') (${ VSub_Name API_PORT) (/healthz))} {(DQ (apiserver))}
            )
          ]
          spids: [116]
        )
      spids: [110 115]
    )
    (FuncDef
      name: run_federation_controller_manager
      body: 
        (BraceGroup
          children: [
            (C {(kube) (Lit_Other ':') (Lit_Other ':') (log) (Lit_Other ':') (Lit_Other ':') (status)} 
              {(DQ ('Building federation-controller-manager'))}
            )
            (C {(make)} {(-C)} {(DQ (${ VSub_Name KUBE_ROOT))} 
              {(Lit_VarLike 'WHAT=') (DQ (federation/cmd/federation-controller-manager))}
            )
            (Assignment
              keyword: Assign_Local
              pairs: [
                (assign_pair
                  lhs: (LhsName name:kubeconfig)
                  op: Equal
                  rhs: {(DQ (${ VSub_Name KUBE_TEMP) (/kubeconfig))}
                  spids: [340]
                )
              ]
              spids: [338]
            )
            (C {(touch)} {(DQ (${ VSub_Name kubeconfig))})
            (C {(kubectl)} {(config)} {(set-cluster)} {(DQ (apiserver))} 
              {(--server) (Lit_Other '=') (DQ ('http://127.0.0.1:') (${ VSub_Name API_PORT))} {(--insecure-skip-tls-verify) (Lit_Other '=') (true)} 
              {(--kubeconfig) (Lit_Other '=') (DQ (${ VSub_Name kubeconfig))}
            )
            (C {(kubectl)} {(config)} {(set-context)} {(DQ (context))} 
              {(--cluster) (Lit_Other '=') (DQ (apiserver))} {(--kubeconfig) (Lit_Other '=') (DQ (${ VSub_Name kubeconfig))}
            )
            (C {(kubectl)} {(config)} {(use-context)} {(DQ (context))} 
              {(--kubeconfig) (Lit_Other '=') (DQ (${ VSub_Name kubeconfig))}
            )
            (C {(kube) (Lit_Other ':') (Lit_Other ':') (log) (Lit_Other ':') (Lit_Other ':') (status)} 
              {(DQ ('Starting federation-controller-manager'))}
            )
            (Sentence
              child: 
                (SimpleCommand
                  words: [
                    {(DQ (${ VSub_Name KUBE_OUTPUT_HOSTBIN) (/federation-controller-manager))}
                    {(--port) (Lit_Other '=') (DQ (${ VSub_Name CTLRMGR_PORT))}
                    {(--kubeconfig) (Lit_Other '=') (DQ (${ VSub_Name kubeconfig))}
                    {(--kube-api-content-type) (Lit_Other '=') 
                      (DQ 
                        (BracedVarSub
                          token: <VSub_Name KUBE_TEST_API_TYPE>
                          suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )})
                          spids: [484 487]
                        )
                      )
                    }
                    {(--controllers) (Lit_Other '=') (DQ ('service-dns=false'))}
                    {(--master) (Lit_Other '=') (DQ ('127.0.0.1:') (${ VSub_Name API_PORT))}
                  ]
                  redirects: [(Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[509])]
                )
              terminator: <Op_Amp '&'>
            )
            (Assignment
              keyword: Assign_None
              pairs: [
                (assign_pair
                  lhs: (LhsName name:CTLRMGR_PID)
                  op: Equal
                  rhs: {($ VSub_Bang '$!')}
                  spids: [515]
                )
              ]
              spids: [515]
            )
            (C 
              {(kube) (Lit_Other ':') (Lit_Other ':') (util) (Lit_Other ':') (Lit_Other ':') 
                (wait_for_url)
              } {(DQ ('http://127.0.0.1:') (${ VSub_Name CTLRMGR_PORT) (/healthz))} {(DQ (controller-manager))}
            )
          ]
          spids: [301]
        )
      spids: [295 300]
    )
    (C {(kube) (Lit_Other ':') (Lit_Other ':') (log) (Lit_Other ':') (Lit_Other ':') (status)} 
      {(DQ ('Running kubectl tests for federation-apiserver'))}
    )
    (C {(setup)})
    (C {(run_federation_apiserver)})
    (C {(run_federation_controller_manager)})
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:SUPPORTED_RESOURCES)
          op: Equal
          rhs: 
            {
              (ArrayLiteralPart
                words: [
                  {(DQ (configmaps))}
                  {(DQ (daemonsets))}
                  {(DQ (events))}
                  {(DQ (ingress))}
                  {(DQ (namespaces))}
                  {(DQ (services))}
                  {(DQ (secrets))}
                ]
              )
            }
          spids: [565]
        )
      ]
      spids: [565]
    )
    (Assignment
      keyword: Assign_None
      pairs: [
        (assign_pair
          lhs: (LhsName name:WAIT_FOR_DELETION)
          op: Equal
          rhs: {(DQ (true))}
          spids: [605]
        )
      ]
      spids: [605]
    )
    (C {(runTests)})
    (C {(kube) (Lit_Other ':') (Lit_Other ':') (log) (Lit_Other ':') (Lit_Other ':') (status)} 
      {(DQ ('TESTS PASSED'))}
    )
  ]
)