Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for retrieveValidatedConfigInfo (0.34 sec)

  1. cmd/kubeadm/app/discovery/token/token.go

    	return retrieveValidatedConfigInfo(nil, cfg, constants.DiscoveryRetryInterval, timeout)
    }
    
    // retrieveValidatedConfigInfo is a private implementation of RetrieveValidatedConfigInfo.
    // It accepts an optional clientset that can be used for testing purposes.
    func retrieveValidatedConfigInfo(client clientset.Interface, cfg *kubeadmapi.Discovery, interval, timeout time.Duration) (*clientcmdapi.Config, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/discovery/token/token_test.go

    						t.Errorf("could not update the cluster-info ConfigMap with a JWS signature: %v", err)
    					}
    				}()
    			}
    
    			// Retrieve validated configuration
    			kubeconfig, err = retrieveValidatedConfigInfo(client, test.cfg, interval, timeout)
    			if (err != nil) != test.expectedError {
    				t.Errorf("expected error %v, got %v, error: %v", test.expectedError, err != nil, err)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top