Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for Infof (0.21 sec)

  1. cni/pkg/cmd/root.go

    		// Start controlz server
    		_, _ = ctrlz.Run(ctrlzOptions, nil)
    
    		var cfg *config.Config
    		if cfg, err = constructConfig(); err != nil {
    			return
    		}
    		log.Infof("CNI install configuration: \n%+v", cfg.InstallConfig)
    		log.Infof("CNI race repair configuration: \n%+v", cfg.RepairConfig)
    
    		// Start metrics server
    		monitoring.SetupMonitoring(cfg.InstallConfig.MonitoringPort, "/metrics", ctx.Done())
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. 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)
  3. istioctl/pkg/writer/pilot/status.go

    			rds = formatStatus(config)
    		case xdsresource.EndpointType:
    			eds = formatStatus(config)
    		case xdsresource.ExtensionConfigurationType:
    			ecds = formatStatus(config)
    		default:
    			log.Infof("GenericXdsConfig unexpected type %s\n", xdsresource.GetShortType(cfgType))
    		}
    	}
    	return
    }
    
    func handleAndGetXdsConfigs(clientConfig *xdsstatus.ClientConfig) []*xdsstatus.ClientConfig_GenericXdsConfig {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  4. cni/pkg/install/kubeconfig.go

    		if err := file.AtomicWrite(kubeconfigFilepath, []byte(kc.Full), os.FileMode(cfg.KubeconfigMode)); err != nil {
    			return err
    		}
    		installLog.Infof("wrote kubeconfig file %s with: \n%+v", kubeconfigFilepath, kc.Redacted)
    	}
    	return nil
    }
    
    // checkExistingKubeConfigFile returns an error if no kubeconfig exists at the configured path,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 01:19:03 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. istioctl/pkg/analyze/analyze.go

    	r, err := os.Open(f)
    	if err != nil {
    		return local.ReaderSource{}, err
    	}
    	runtime.SetFinalizer(r, func(x *os.File) {
    		err = x.Close()
    		if err != nil {
    			log.Infof("file : %s is not closed: %v", f, err)
    		}
    	})
    	return local.ReaderSource{Name: f, Reader: r}, nil
    }
    
    func gatherFilesInDirectory(cmd *cobra.Command, dir string) ([]local.ReaderSource, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. istioctl/pkg/validate/validate.go

    			}
    		}
    		warning, err := v.validateFile(path, istioNamespace, defaultNamespace, reader, writer)
    		if err != nil {
    			errs = multierror.Append(errs, err)
    		}
    		err = reader.Close()
    		if err != nil {
    			log.Infof("file: %s is not closed: %v", path, err)
    		}
    		warningsByFilename[path] = warning
    	}
    	processDirectory := func(directory string, processFile func(string)) error {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  7. istioctl/pkg/multicluster/remote_secret.go

    }
    
    func waitForTokenData(client kube.CLIClient, secret *v1.Secret) (ca, token []byte, err error) {
    	ca, token, err = tokenDataFromSecret(secret)
    	if err == nil {
    		return
    	}
    
    	log.Infof("Waiting for data to be populated in %s", secret.Name)
    	err = backoff.Retry(
    		func() error {
    			secret, err = client.Kube().CoreV1().Secrets(secret.Namespace).Get(context.TODO(), secret.Name, metav1.GetOptions{})
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/net.go

    // we actually may have them before K8S in the Pod object.
    func (s *NetServer) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error {
    	log.Infof("in pod mode - adding pod %s/%s to ztunnel ", pod.Namespace, pod.Name)
    	// make sure the cache is aware of the pod, even if we don't have the netns yet.
    	s.currentPodSnapshot.Ensure(string(pod.UID))
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.2K bytes
    - Viewed (1)
  9. cni/pkg/iptables/iptables.go

    	cmd := iptablesconstants.IPTablesRestore
    	var data string
    
    	if isIpv4 {
    		data = iptablesBuilder.BuildV4Restore()
    	} else {
    		data = iptablesBuilder.BuildV6Restore()
    	}
    
    	log.Infof("Running %s with the following input:\n%v", iptVer.CmdToString(cmd), strings.TrimSpace(data))
    	// --noflush to prevent flushing/deleting previous contents from table
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top