- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for fileName (0.16 sec)
-
cmd/admin-bucket-handlers.go
continue } bucket, fileName := slc[0], slc[1] if fileName == objectLockConfig { reader, err := file.Open() if err != nil { rpt.SetStatus(bucket, fileName, err) continue } config, err := objectlock.ParseObjectLockConfig(reader) if err != nil { rpt.SetStatus(bucket, fileName, fmt.Errorf("%s (%s)", errorCodes[ErrMalformedXML].Description, err))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:09:56 GMT 2024 - 32.5K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
) var configDumpFile string func readConfigFile(filename string) ([]byte, error) { file := os.Stdin if filename != "-" { var err error file, err = os.Open(filename) if err != nil { return nil, err } } defer func() { if err := file.Close(); err != nil { log.Errorf("failed to close %s: %s", filename, err) } }() data, err := io.ReadAll(file) if err != nil {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 6.2K bytes - Viewed (0) -
cni/pkg/install/cniconfig.go
// Or until cancelled by parent context func getCNIConfigFilepath(ctx context.Context, cfg pluginConfig) (string, error) { filename := cfg.cniConfName if !cfg.chainedCNIPlugin { if len(filename) == 0 { filename = "YYY-istio-cni.conf" } return filepath.Join(cfg.mountedCNINetDir, filename), nil } watcher, err := util.CreateFileWatcher(cfg.mountedCNINetDir) if err != nil { return "", err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/install/binaries.go
if err := file.AtomicCopy(srcFilepath, targetDir, filename); err != nil { installLog.Errorf("Failed file copy of %s to %s: %s", srcFilepath, targetDir, err.Error()) return copiedFilenames, err } installLog.Infof("Copied %s to %s.", filename, targetDir) } copiedFilenames.Insert(filename) } return copiedFilenames, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Dec 11 19:10:54 GMT 2023 - 1.5K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
apiVersion: install.istio.io/v1alpha1 kind: IstioOperator ` ) func addProfileDumpFlags(cmd *cobra.Command, args *profileDumpArgs) { cmd.PersistentFlags().StringSliceVarP(&args.inFilenames, "filename", "f", nil, filenameFlagHelpStr) cmd.PersistentFlags().StringVarP(&args.configPath, "config-path", "p", "", "The path the root of the configuration subtree to dump e.g. components.pilot. By default, dump whole tree")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
}, { description: "Invalid command args - valid filename input but missing output filename", args: strings.Split("entry configure -f file --clusterID cid", " "), expectedException: true, expectedOutput: "Error: expecting an output directory\n", }, { description: "Invalid command args - valid kubectl input but missing output filename",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
istioctl/pkg/workload/workload.go
kubeClient, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return err } wg := &clientv1alpha3.WorkloadGroup{} if filename != "" { if err := readWorkloadGroup(filename, wg); err != nil { return err } } else { wg, err = kubeClient.Istio().NetworkingV1alpha3().WorkloadGroups(namespace).Get(context.Background(), name, metav1.GetOptions{})
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Apr 17 20:06:41 GMT 2024 - 25.5K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
return setupConfigdumpZtunnelConfigWriter(debug, out) } func readFile(filename string) ([]byte, error) { file := os.Stdin if filename != "-" { var err error file, err = os.Open(filename) if err != nil { return nil, err } } defer func() { if err := file.Close(); err != nil { log.Errorf("failed to close %s: %s", filename, err) } }() return io.ReadAll(file) }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
cmd/post-policy_test.go
// Presign with V4 signature based on the policy. signature := postPresignSignatureV4(encodedPolicy, t, secretKey, region) // If there is no filename on multipart, get the filename from the key. key := objectName if noFilename { key += "/upload.txt" } else { key += "/${filename}" } formData := map[string]string{ "bucket": bucketName, "key": key, "x-amz-credential": credStr,
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 16:45:54 GMT 2024 - 29.6K bytes - Viewed (0) -
internal/disk/stat_linux.go
iostats.DiscardIOs = stats[11] iostats.DiscardMerges = stats[12] iostats.DiscardSectors = stats[13] iostats.DiscardTicks = stats[14] } return } func readStat(fileName string) (stats []uint64, err error) { file, err := os.Open(fileName) if err != nil { return nil, err } defer file.Close() s, err := bufio.NewReader(file).ReadString('\n') if err != nil && !errors.Is(err, io.EOF) {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Feb 26 19:34:50 GMT 2024 - 4.8K bytes - Viewed (0)