Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newAuthInfo (0.1 sec)

  1. pkg/kube/client_config.go

    		APIVersion:  "v1",
    		Preferences: api.Preferences{},
    		Clusters: map[string]*api.Cluster{
    			clusterName: newCluster(&c.restConfig),
    		},
    		AuthInfos: map[string]*api.AuthInfo{
    			authInfoName: newAuthInfo(&c.restConfig),
    		},
    		Contexts: map[string]*api.Context{
    			contextName: {
    				Cluster:  clusterName,
    				AuthInfo: authInfoName,
    			},
    		},
    		CurrentContext: contextName,
    	}
    
    	return cfg, nil
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 17 16:52:06 UTC 2020
    - 3.1K bytes
    - Viewed (0)
Back to top