- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 536 for contexts (0.19 sec)
-
internal/kms/single-key.go
} } return plaintext, nil } func (kms secretKey) DecryptAll(_ context.Context, keyID string, ciphertexts [][]byte, contexts []Context) ([][]byte, error) { plaintexts := make([][]byte, 0, len(ciphertexts)) for i := range ciphertexts { plaintext, err := kms.DecryptKey(keyID, ciphertexts[i], contexts[i]) if err != nil { return nil, err } plaintexts = append(plaintexts, plaintext) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 7.9K bytes - Viewed (0) -
istioctl/pkg/cli/option.go
return } // If a specific context was specified, use that. Otherwise, just use the current context from the kube config. selectedContext := config.CurrentContext if *r.configContext != "" { selectedContext = *r.configContext } // Use the namespace associated with the selected context as default, if the context has one context, ok := config.Contexts[selectedContext] if !ok {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 18:01:27 GMT 2024 - 3.1K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
name: {cluster} contexts: - context: cluster: {cluster} user: {cluster} name: {cluster} current-context: {cluster} kind: Config preferences: {} users: - name: {cluster} user: token: token `, "{cluster}", fakeClusterName) cases := []struct { name string clusterName string context string server string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 20.6K bytes - Viewed (0) -
internal/kms/kms.go
// by the key ID. The context must match the context value // used to generate the ciphertext. DecryptKey(keyID string, ciphertext []byte, context Context) ([]byte, error) // DecryptAll decrypts all ciphertexts with the key referenced // by the key ID. The contexts must match the context value // used to generate the ciphertexts. DecryptAll(ctx context.Context, keyID string, ciphertext [][]byte, context []Context) ([][]byte, error)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Mar 01 21:09:42 GMT 2024 - 4.6K bytes - Viewed (0) -
internal/grid/handlers.go
func setCaller(ctx context.Context, cl *RemoteClient) context.Context { return context.WithValue(ctx, ctxCallerKey{}, cl) } func setSubroute(ctx context.Context, s string) context.Context { return context.WithValue(ctx, ctxSubrouteKey{}, s) } // StreamTypeHandler is a type safe handler for streaming requests. type StreamTypeHandler[Payload, Req, Resp RoundTripper] struct { WithPayload bool // Override the default capacities (1)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 17:15:52 GMT 2024 - 27.1K bytes - Viewed (0) -
cni/pkg/install/kubeconfig.go
} const contextName = "istio-cni-context" const clusterName = "local" const userName = "istio-cni" kcfg := &api.Config{ Kind: "Config", APIVersion: "v1", Preferences: api.Preferences{}, Clusters: map[string]*api.Cluster{ clusterName: cluster, }, AuthInfos: map[string]*api.AuthInfo{ userName: { Token: string(token), }, }, Contexts: map[string]*api.Context{ contextName: {
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) -
src/cmd/api/api_test.go
if *flagCheck { // slow, not worth repeating in -check t.Skip("skipping with -check set") } testenv.MustHaveGoBuild(t) context := new(build.Context) *context = build.Default context.Dir = filepath.Join(testenv.GOROOT(t), "src") w := NewWalker(context, context.Dir) for _, pkg := range w.stdPackages { if strings.HasPrefix(pkg, "vendor/") || strings.HasPrefix(pkg, "golang.org/x/") {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
src/cmd/api/main_test.go
t.Fatal(err) } nextFiles = next } for _, c := range contexts { c.Compiler = build.Default.Compiler } walkers := make([]*Walker, len(contexts)) var wg sync.WaitGroup for i, context := range contexts { i, context := i, context wg.Add(1) go func() { defer wg.Done() walkers[i] = NewWalker(context, filepath.Join(testenv.GOROOT(t), "src")) }() } wg.Wait()
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 09 20:48:51 GMT 2024 - 31.4K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
func remoteSecretNameFromClusterName(clusterName string) string { return remoteSecretPrefix + clusterName } // NewCreateRemoteSecretCommand creates a new command for joining two contexts // together in a multi-cluster mesh. func NewCreateRemoteSecretCommand(ctx cli.Context) *cobra.Command { opts := RemoteSecretOptions{ AuthType: RemoteSecretAuthTypeBearerToken, AuthPluginConfig: make(map[string]string),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0) -
istioctl/pkg/multicluster/options.go
configAccess := clientcmd.NewDefaultPathOptions() configAccess.GlobalFile = o.Kubeconfig if config, err := configAccess.GetStartingConfig(); err == nil { if context, ok := config.Contexts[config.CurrentContext]; ok && context.Namespace != "" { o.Namespace = context.Namespace } } }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 01 23:59:49 GMT 2023 - 1.6K bytes - Viewed (0)