(List (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS errexit]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS nounset]} ) (Com {[LIT_CHARS set]} {[LIT_CHARS -o]} {[LIT_CHARS pipefail]} ) (= scope= flags=0 words=[] bindings=[('ZONE', {[VarSub ZONE test_op=VS_TEST_COLON_HYPHEN {}]})]) (= scope= flags=0 words=[] bindings=[('REGION', {[VarSub ZONE transform_ops=[VS_UNARY_PERCENT {[LIT_CHARS "-*"]}]]})]) (= scope= flags=0 words=[] bindings=[('INSTANCE_PREFIX', {[VarSub KUBE_GCE_INSTANCE_PREFIX test_op=VS_TEST_COLON_HYPHEN {[VarSub CLUSTER_NAME test_op=VS_TEST_COLON_HYPHEN {}]}]})]) (= scope= flags=0 words=[] bindings=[('NETWORK', {[VarSub KUBE_GCE_NETWORK test_op=VS_TEST_COLON_HYPHEN {[VarSub KUBE_GKE_NETWORK test_op=VS_TEST_COLON_HYPHEN {}]}]})]) (If (DBracket {B2 BINARY_STRING_EQUAL {[DQ [VarSub KUBERNETES_PROVIDER test_op=VS_TEST_COLON_HYPHEN {}]]} {[DQ [LIT_CHARS gke]]}}) (List (= scope= flags=0 words=[] bindings=[('INSTANCE_PREFIX', {[DQ [LIT_CHARS gke-][VarSub CLUSTER_NAME]]})]) (= scope= flags=0 words=[] bindings=[('INSTANCE_PREFIX', {[DQ [VarSub INSTANCE_PREFIX transform_ops=[Slice {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 0]}} {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 26]}}]]]})]) ) ) (= scope= flags=0 words=[] bindings=[('GREP_REGEX', {[DQ ]})]) (FunctionDef gcloud-compute-list [] (List (= scope= flags=0 words=[{[LIT_CHARS -r]}] bindings=[('resource', {[VarSub 1]})]) (Com {[LIT_CHARS echo]} {[LIT_CHARS -e]} {[DQ [\ LIT_ESCAPED_CHAR "\\n"][\ LIT_ESCAPED_CHAR "\\n"][LIT_CHARS "[ "][VarSub resource][LIT_CHARS " ]"]]} ) (= scope= flags=0 words=[] bindings=[('attempt', {[LIT_CHARS 1]})]) (= scope= flags=0 words=[] bindings=[('result', {[DQ ]})]) (While (Com {[LIT_CHARS true]} ) (List (If (= scope= flags=0 words=[] bindings=[('result', {[ComSub (Com {[LIT_CHARS gcloud]} {[LIT_CHARS compute]} {[VarSub resource]} {[LIT_CHARS list]} {[LIT_CHARS --project] [LIT_DBRACKET_LIKE "="] [VarSub PROJECT]} {[VarSub @ transform_ops=[Slice {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 2]}} None]]})]})]) (List (If (DBracket {B! {B1 UNARY_STRING_z {[DQ [VarSub GREP_REGEX]]}}}) (= scope= flags=0 words=[] bindings=[('result', {[ComSub (Pipeline (Com {[LIT_CHARS echo]} {[DQ [VarSub result]]}) (Com {[LIT_CHARS grep]} {[DQ [VarSub GREP_REGEX]]}) )]})]) ) (Com {[LIT_CHARS echo]} {[DQ [VarSub result]]} ) (Com {[LIT_CHARS return]} ) ) ) (Com {[LIT_CHARS echo]} {[LIT_CHARS -e]} {[DQ [LIT_CHARS "Attempt "][VarSub attempt][LIT_CHARS " failed to list "][VarSub resource][LIT_CHARS ". Retrying."]]} < (DescriptorRedirectNode target={[LIT_CHARS 2]} &"> 1), > ) (= scope= flags=0 words=[] bindings=[('attempt', {[ArithSub {A2 AS_OP_PLUS {A Atom NODE_ARITH_WORD {[VarSub attempt]}} {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 1]}}}]})]) (If (DBracket {B2 BINARY_STRING_GREAT {[VarSub attempt]} {[LIT_CHARS 5]}}) (List (Com {[LIT_CHARS echo]} {[LIT_CHARS -e]} {[DQ [LIT_CHARS "List "][VarSub resource][LIT_CHARS " failed!"]]} < (DescriptorRedirectNode target={[LIT_CHARS 2]} &"> 1), > ) (Com {[LIT_CHARS exit]} {[LIT_CHARS 2]} ) ) ) (Com {[LIT_CHARS sleep]} {[ArithSub {A2 AS_OP_STAR {A Atom NODE_ARITH_WORD {[AS_NUM_LITERAL 5]}} {A Atom NODE_ARITH_WORD {[VarSub attempt]}}}]} ) ) ) ) ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Project: "][VarSub PROJECT]]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Region: "][VarSub REGION]]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Zone: "][VarSub ZONE]]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Instance prefix: "][VarSub INSTANCE_PREFIX test_op=VS_TEST_COLON_HYPHEN {}]]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Network: "][VarSub NETWORK]]} ) (Com {[LIT_CHARS echo]} {[DQ [LIT_CHARS "Provider: "][VarSub KUBERNETES_PROVIDER test_op=VS_TEST_COLON_HYPHEN {}]]} ) (Com {[LIT_CHARS gcloud-compute-list]} {[LIT_CHARS instance-templates]} {[LIT_CHARS --regexp] [LIT_DBRACKET_LIKE "="] [DQ [VarSub INSTANCE_PREFIX][LIT_CHARS ".*"]]} ) (Com {[LIT_CHARS gcloud-compute-list]} {[LIT_CHARS instance-groups]} {[VarSub ZONE test_op=VS_TEST_COLON_PLUS {[DQ [LIT_CHARS "--zones="][VarSub ZONE]]}]} {[LIT_CHARS --regexp] [LIT_DBRACKET_LIKE "="] [DQ [VarSub INSTANCE_PREFIX][LIT_CHARS ".*"]]} ) (Com {[LIT_CHARS gcloud-compute-list]} {[LIT_CHARS instances]} {[VarSub ZONE test_op=VS_TEST_COLON_PLUS {[DQ [LIT_CHARS "--zones="][VarSub ZONE]]}]} {[LIT_CHARS --regexp] [LIT_DBRACKET_LIKE "="] [DQ [VarSub INSTANCE_PREFIX][LIT_CHARS ".*"]]} ) (Com {[LIT_CHARS gcloud-compute-list]} {[LIT_CHARS disks]} {[VarSub ZONE test_op=VS_TEST_COLON_PLUS {[DQ [LIT_CHARS "--zones="][VarSub ZONE]]}]} {[LIT_CHARS --regexp] [LIT_DBRACKET_LIKE "="] [DQ [VarSub INSTANCE_PREFIX][LIT_CHARS ".*"]]} ) (Com {[LIT_CHARS gcloud-compute-list]} {[LIT_CHARS addresses]} {[VarSub REGION test_op=VS_TEST_COLON_PLUS {[DQ [LIT_CHARS "--regions="][VarSub REGION]]}]} {[LIT_CHARS --regexp] [LIT_DBRACKET_LIKE "="] [DQ [LIT_CHARS "a.*|"][VarSub INSTANCE_PREFIX][LIT_CHARS ".*"]]} ) (= scope= flags=0 words=[] bindings=[('GREP_REGEX', {[DQ [LIT_CHARS "^NAME"][\ LIT_ESCAPED_CHAR "\\|"][LIT_CHARS "^[^ ]"][\ LIT_ESCAPED_CHAR "\\+"][LIT_CHARS "[ ]"][\ LIT_ESCAPED_CHAR "\\+"][\ LIT_ESCAPED_CHAR "\\("][LIT_CHARS default][\ LIT_ESCAPED_CHAR "\\|"][VarSub NETWORK][\ LIT_ESCAPED_CHAR "\\)"][LIT_CHARS " "]]})]) (Com {[LIT_CHARS gcloud-compute-list]} {[LIT_CHARS routes]} {[LIT_CHARS --regexp] [LIT_DBRACKET_LIKE "="] [DQ [LIT_CHARS "default.*|"][VarSub INSTANCE_PREFIX][LIT_CHARS ".*"]]} ) (Com {[LIT_CHARS gcloud-compute-list]} {[LIT_CHARS firewall-rules]} {[LIT_CHARS --regexp] [LIT_DBRACKET_LIKE "="] [DQ [LIT_CHARS "default.*|k8s-fw.*|"][VarSub INSTANCE_PREFIX][LIT_CHARS ".*"]]} ) (= scope= flags=0 words=[] bindings=[('GREP_REGEX', {[DQ ]})]) (Com {[LIT_CHARS gcloud-compute-list]} {[LIT_CHARS forwarding-rules]} {[VarSub REGION test_op=VS_TEST_COLON_PLUS {[DQ [LIT_CHARS "--regions="][VarSub REGION]]}]} ) (Com {[LIT_CHARS gcloud-compute-list]} {[LIT_CHARS target-pools]} {[VarSub REGION test_op=VS_TEST_COLON_PLUS {[DQ [LIT_CHARS "--regions="][VarSub REGION]]}]} ) )