- Sort Score
- Result 10 results
- Languages All
Results 1011 - 1020 of 1,524 for Var (0.06 sec)
-
istioctl/pkg/authz/analyzer.go
return nil, fmt.Errorf("failed to get dynamic listener dump: %s", err) } return &Analyzer{listenerDump: listeners}, nil } // Print print the analysis results. func (a *Analyzer) Print(writer io.Writer) { var listeners []*listener.Listener for _, l := range a.listenerDump.DynamicListeners { listenerTyped := &listener.Listener{} // Support v2 or v3 in config dump. See ads.go:RequestedTypes for more info.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 13 01:59:17 UTC 2022 - 2.1K bytes - Viewed (0) -
istioctl/pkg/authz/analyzer_test.go
}, LastUpdated: timestamppb.Now(), }, ClientStatus: 453, }, }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { var buf bytes.Buffer a.Print(&buf) expectedOutput := "ACTION AuthorizationPolicy RULES\n" actualOutput := buf.String() if !reflect.DeepEqual(expectedOutput, actualOutput) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
return Platform.get().newSSLContext().apply { init(arrayOf<KeyManager>(keyManager), arrayOf<TrustManager>(trustManager), SecureRandom()) } } class Builder { private var heldCertificate: HeldCertificate? = null private var intermediates: Array<X509Certificate>? = null private val trustedCertificates = mutableListOf<X509Certificate>() private val insecureHosts = mutableListOf<String>() /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 8.5K bytes - Viewed (0) -
internal/kms/kes.go
Endpoint string ItemState madmin.ItemState } var wg sync.WaitGroup results := make([]Result, len(c.client.Endpoints)) for i := range c.client.Endpoints { wg.Add(1) go func(i int) { defer wg.Done() client := kes.Client{ Endpoints: []string{c.client.Endpoints[i]}, HTTPClient: c.client.HTTPClient, } var item madmin.ItemState if _, err := client.Status(ctx); err == nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 7.3K bytes - Viewed (0) -
internal/bucket/lifecycle/rule.go
NoncurrentVersionExpiration NoncurrentVersionExpiration `xml:"NoncurrentVersionExpiration,omitempty"` NoncurrentVersionTransition NoncurrentVersionTransition `xml:"NoncurrentVersionTransition,omitempty"` } var ( errInvalidRuleID = Errorf("ID length is limited to 255 characters") errEmptyRuleStatus = Errorf("Status should not be empty")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 01 01:11:10 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/last-minute.go
l.forwardTo(sec) winIdx := sec % 60 l.Totals[winIdx].merge(a) l.LastSec = sec } // Merge all recorded latencies of last minute into one func (l *lastMinuteLatency) getTotal() AccElem { var res AccElem sec := time.Now().Unix() l.forwardTo(sec) for _, elem := range l.Totals[:] { res.merge(elem) } return res } // forwardTo time t, clearing any entries in between.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/config-migrate.go
configFile, } newServerCfg := func() (config.Config, error) { // Initialize server config. srvCfg := newServerConfig() return srvCfg, saveServerConfig(ctx, objAPI, srvCfg) } var data []byte var err error cfg := &serverConfigV33{} for _, cfgFile := range configFiles { if _, err = Load(cfgFile, cfg); err != nil { if !osIsNotExist(err) && !osIsPermission(err) { return nil, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 20 14:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
istioctl/pkg/authz/authz.go
"istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/completion" "istio.io/istio/istioctl/pkg/util" "istio.io/istio/istioctl/pkg/util/configdump" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/log" ) var configDumpFile string func checkCmd(ctx cli.Context) *cobra.Command { cmd := &cobra.Command{ Use: "check [<type>/]<name>[.<namespace>]", Short: "Check AuthorizationPolicy applied in the pod.",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 5K bytes - Viewed (0) -
tests/test_tutorial/test_conditional_openapi/test_tutorial001.py
client = TestClient(tutorial001.app) return client @needs_pydanticv2 def test_disable_openapi(monkeypatch): monkeypatch.setenv("OPENAPI_URL", "") # Load the client after setting the env var client = get_client() response = client.get("/openapi.json") assert response.status_code == 404, response.text response = client.get("/docs") assert response.status_code == 404, response.text
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 1.8K bytes - Viewed (0)