Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for isFile (0.14 sec)

  1. operator/cmd/mesh/manifest_shared_test.go

    			}
    		case cmdApply:
    			objs, err = fakeApplyManifest(inFile, flags, chartSource)
    		case cmdController:
    			objs, err = fakeControllerReconcile(inFile, chartSource, nil)
    		default:
    		}
    		if err != nil {
    			return nil, err
    		}
    		out[cmd] = objs
    	}
    
    	return out, nil
    }
    
    // fakeApplyManifest runs istioctl install.
    func fakeApplyManifest(inFile, flags string, chartSource chartSourceType) (*ObjectSet, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  2. common/scripts/kind_provisioner.sh

    from ipaddress import ip_network, IPv6Network;
    from itertools import islice;
    
    net = ip_network('$CIDR')
    net_bits = 128 if type(net) == IPv6Network else 32;
    net_len = pow(2, net_bits - net.prefixlen)
    start, end = int(net_len / 4 * 3), net_len
    if net_len > 2000:
      start, end = 1000, 2000
    
    [print(str(ip) + "/" + str(ip.max_prefixlen)) for ip in islice(ip_network('$CIDR').hosts(), start, end)]
    EOF
    }
    
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 08 19:12:55 GMT 2024
    - 17.3K bytes
    - Viewed (1)
  3. operator/cmd/mesh/manifest-generate_test.go

    				}
    				t.Fatalf(cmp.Diff(got, want))
    			}
    		})
    	}
    }
    
    // nolint: unparam
    func generateManifest(inFile, flags string, chartSource chartSourceType, fileSelect []string) (string, object.K8sObjects, error) {
    	inPath := filepath.Join(testDataDir, "input", inFile+".yaml")
    	manifest, err := runManifestGenerate([]string{inPath}, flags, chartSource, fileSelect)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top