- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for transform (0.15 sec)
-
istioctl/pkg/kubeinject/kubeinject.go
if err != nil { return nil, err } } tlsClientConfig := &tls.Config{RootCAs: certPool, MinVersion: tls.VersionTLS12} client := http.Client{ Timeout: time.Second * 5, Transport: &http.Transport{ TLSClientConfig: tlsClientConfig, }, } if cc.Service != nil { svc, err := e.client.Kube().CoreV1().Services(cc.Service.Namespace).Get(context.Background(), cc.Service.Name, metav1.GetOptions{})
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
istioctl/pkg/kubeinject/google.go
creds, err := google.FindDefaultCredentials(ctx, "https://www.googleapis.com/auth/cloud-platform") if err != nil { return nil, fmt.Errorf("finding default GCP credentials: %w", err) } return &oauth2.Transport{ Base: tr, Source: creds.TokenSource, }, nil
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.2K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
package sdscompare import ( "crypto/x509" "encoding/pem" "fmt" "time" envoy_admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" auth "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3" "istio.io/istio/istioctl/pkg/util/configdump" "istio.io/istio/pkg/log" ) // SecretItemDiff represents a secret that has been diffed between nodeagent and proxy type SecretItemDiff struct {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jun 06 15:14:48 GMT 2023 - 6.6K bytes - Viewed (0) -
istioctl/pkg/util/configdump/secret.go
package configdump import ( "encoding/base64" "fmt" admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3" extapi "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/tls/v3" anypb "google.golang.org/protobuf/types/known/anypb" ) // GetSecretConfigDump retrieves a secret dump from a config dump wrapper func (w *Wrapper) GetSecretConfigDump() (*admin.SecretsConfigDump, error) {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 25 04:09:53 GMT 2023 - 2.2K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient.go
type CNIEventClient struct { client *http.Client url string } func buildClient(address, path string) CNIEventClient { c := &http.Client{ Transport: &http.Transport{ DialContext: func(_ context.Context, _, _ string) (net.Conn, error) { return net.Dial("unix", address) }, }, Timeout: 1000 * time.Millisecond, } eventC := CNIEventClient{ client: c,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 2.4K bytes - Viewed (0) -
operator/cmd/mesh/test-util_test.go
g.Expect(err).Should(BeNil(), "path %s should exist (%s)", path, err) g.Expect(f).Should(BeTrue(), "path %s should exist", path) return got.Node } // toMap transforms a comma separated key:value list (e.g. "a:aval, b:bval") to a map. func toMap(s string) map[string]any { out := make(map[string]any) for _, l := range strings.Split(s, ",") { l = strings.TrimSpace(l)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Oct 31 14:48:28 GMT 2023 - 15.3K bytes - Viewed (0)