(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] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:OPENAPI_ROOT_DIR) op: Equal rhs: {(DQ (${ VSub_Name KUBE_ROOT) (/federation/apis/openapi-spec))} spids: [82] ) ] spids: [82] ) (C {(source)} {(DQ (${ VSub_Name KUBE_ROOT) (/hack/lib/init.sh))}) (C {(kube) (Lit_Other ":") (Lit_Other ":") (golang) (Lit_Other ":") (Lit_Other ":") (setup_env)}) (C {(make)} {(-C)} {(DQ (${ VSub_Name KUBE_ROOT))} {(Lit_VarLike "WHAT=") (DQ (cmd/hyperkube))}) (FuncDef name: cleanup body: (BraceGroup children: [ (AndOr children: [ (DBracket expr: (BoolUnary op_id: BoolUnary_n child: { (DQ (BracedVarSub token: <VSub_Name APISERVER_PID> suffix_op: (StringUnary op_id:VTest_Hyphen arg_word:{(SQ )}) spids: [139 142] ) ) } ) ) (SimpleCommand words: [{(kill)} {(${ VSub_Name APISERVER_PID)}] redirects: [ (Redir op_id:Redir_GreatAnd fd:1 arg_word:{(2)} spids:[155]) (Redir op_id: Redir_Great fd: 2 arg_word: {(/dev/null)} spids: [158] ) ] ) ] op_id: Op_DAmp ) (C {(kube) (Lit_Other ":") (Lit_Other ":") (etcd) (Lit_Other ":") (Lit_Other ":") (cleanup)} ) (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} {(DQ ("Clean up complete"))} ) ] spids: [131] ) spids: [125 130] ) (C {(trap)} {(cleanup)} {(EXIT)} {(SIGINT)}) (C {(kube) (Lit_Other ":") (Lit_Other ":") (golang) (Lit_Other ":") (Lit_Other ":") (setup_env)}) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:TMP_DIR) op: Equal rhs: { (CommandSubPart command_list: (CommandList children: [(C {(mktemp)} {(-d)} {(/tmp/update-federation-openapi-spec.XXXX)})] ) left_token: <Left_CommandSub "$("> spids: [207 213] ) } spids: [206] ) ] spids: [206] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ETCD_HOST) op: Equal rhs: { (BracedVarSub token: <VSub_Name ETCD_HOST> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(127.0.0.1)}) spids: [216 220] ) } spids: [215] ) ] spids: [215] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:ETCD_PORT) op: Equal rhs: { (BracedVarSub token: <VSub_Name ETCD_PORT> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(2379)}) spids: [223 227] ) } spids: [222] ) ] spids: [222] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:API_PORT) op: Equal rhs: { (BracedVarSub token: <VSub_Name API_PORT> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(8050)}) spids: [230 234] ) } spids: [229] ) ] spids: [229] ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:API_HOST) op: Equal rhs: { (BracedVarSub token: <VSub_Name API_HOST> suffix_op: (StringUnary op_id:VTest_ColonHyphen arg_word:{(127.0.0.1)}) spids: [237 241] ) } spids: [236] ) ] spids: [236] ) (C {(kube) (Lit_Other ":") (Lit_Other ":") (etcd) (Lit_Other ":") (Lit_Other ":") (start)}) (SimpleCommand words: [{(echo)} {(DQ ("dummy_token,admin,admin"))}] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {($ VSub_Name "$TMP_DIR") (/tokenauth.csv)} spids: [259] ) ] ) (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} {(DQ ("Starting federation-apiserver"))} ) (Sentence child: (SimpleCommand words: [ {(DQ (${ VSub_Name KUBE_OUTPUT_HOSTBIN) (/hyperkube))} {(federation-apiserver)} {(--insecure-bind-address) (Lit_Other "=") (DQ (${ VSub_Name API_HOST))} {(--bind-address) (Lit_Other "=") (DQ (${ VSub_Name API_HOST))} {(--insecure-port) (Lit_Other "=") (DQ (${ VSub_Name API_PORT))} {(--etcd-servers) (Lit_Other "=") (DQ ("http://") (${ VSub_Name ETCD_HOST) (":") (${ VSub_Name ETCD_PORT)) } {(--advertise-address) (Lit_Other "=") (DQ (10.10.10.10))} {(--cert-dir) (Lit_Other "=") (DQ (${ VSub_Name TMP_DIR) (/certs))} {(--token-auth-file) (Lit_Other "=") ($ VSub_Name "$TMP_DIR") (/tokenauth.csv)} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(/tmp/openapi-federation-api-server.log)} spids: [360] ) (Redir op_id:Redir_GreatAnd fd:2 arg_word:{(1)} spids:[363]) ] ) terminator: <Op_Amp "&"> ) (Assignment keyword: Assign_None pairs: [ (assign_pair lhs: (LhsName name:APISERVER_PID) op: Equal rhs: {($ VSub_Bang "$!")} spids: [368] ) ] spids: [368] ) (C {(kube) (Lit_Other ":") (Lit_Other ":") (util) (Lit_Other ":") (Lit_Other ":") (wait_for_url)} {(DQ (${ VSub_Name API_HOST) (":") (${ VSub_Name API_PORT) (/healthz))} {(DQ ("apiserver: "))} ) (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} {(DQ ("Updating "))} {(${ VSub_Name OPENAPI_ROOT_DIR)} ) (SimpleCommand words: [ {(curl)} {(-w)} {(DQ (EscapedLiteralPart token:<Lit_EscapedChar "\\n">))} {(-fs)} {(DQ (${ VSub_Name API_HOST) (":") (${ VSub_Name API_PORT) (/swagger.json))} ] redirects: [ (Redir op_id: Redir_Great fd: -1 arg_word: {(DQ (${ VSub_Name OPENAPI_ROOT_DIR) (/swagger.json))} spids: [433] ) ] ) (C {(kube) (Lit_Other ":") (Lit_Other ":") (log) (Lit_Other ":") (Lit_Other ":") (status)} {(DQ (SUCCESS))} ) ] )