Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddUserAgent (0.14 sec)

  1. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/interface.go

    	config := *kubeconfig
    	timeout := renewDeadline / 2
    	if timeout < time.Second {
    		timeout = time.Second
    	}
    	config.Timeout = timeout
    	leaderElectionClient := clientset.NewForConfigOrDie(restclient.AddUserAgent(&config, "leader-election"))
    	return New(lockType, ns, name, leaderElectionClient.CoreV1(), leaderElectionClient.CoordinationV1(), rlc)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6K bytes
    - Viewed (0)
Back to top