- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createRemoteSecretFromTokenAndServer (0.14 sec)
-
istioctl/pkg/multicluster/remote_secret.go
} var ( errMissingRootCAKey = fmt.Errorf("no %q data found", v1.ServiceAccountRootCAKey) errMissingTokenKey = fmt.Errorf("no %q data found", v1.ServiceAccountTokenKey) ) func createRemoteSecretFromTokenAndServer(client kube.CLIClient, tokenSecret *v1.Secret, clusterName, server, secName string) (*v1.Secret, error) { caData, token, err := waitForTokenData(client, tokenSecret) if err != nil { return nil, err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
// fetching should give a different result than the token secret we pass in obj = []runtime.Object{c.updatedTokenSecret} } client := kube.NewFakeClient(obj...) got, err := createRemoteSecretFromTokenAndServer(client, c.haveTokenSecret, c.clusterName, c.server, secName) if c.wantErrStr != "" { if err == nil { tt.Fatalf("wanted error including %q but none", c.wantErrStr)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0)