- Sort Score
- Result 10 results
- Languages All
Results 351 - 360 of 1,074 for context_b (0.09 sec)
-
cmd/sftp-server_test.go
if err == nil || !errors.Is(err, errNoSuchUser) { c.Fatalf("expected err(%s) but got (%s)", errNoSuchUser, err) } } func (s *TestSuiteIAM) SFTPInvalidServiceAccountPassword(c *check) { ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout) defer cancel() accessKey, secretKey := mustGenerateCredentials(c) err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 09:06:25 UTC 2024 - 8.3K bytes - Viewed (0) -
cmd/bootstrap-peer-server.go
} // client to talk to bootstrap NEndpoints. type bootstrapRESTClient struct { gridConn *grid.Connection } // Verify function verifies the server config. func (client *bootstrapRESTClient) Verify(ctx context.Context, srcCfg *ServerSystemConfig) (err error) { if newObjectLayerFn() != nil { return nil } recvCfg, err := serverVerifyHandler.Call(ctx, client.gridConn, grid.NewMSS()) if err != nil { return err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 8.4K bytes - Viewed (0) -
internal/http/listener_test.go
} nextTest: for i, testCase := range testCases { listener, errs := newHTTPListener(context.Background(), testCase.serverAddrs, TCPOptions{}, ) for _, err := range errs { if err != nil { if strings.Contains(err.Error(), "The requested address is not valid in its context") { // Ignore if IP is unbindable. continue nextTest }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 17:41:02 UTC 2024 - 11.8K bytes - Viewed (0) -
cmd/metrics-v3-ilm.go
) // loadILMMetrics - `MetricsLoaderFn` for ILM metrics. func loadILMMetrics(_ context.Context, m MetricValues, _ *metricsCache) error { if globalExpiryState != nil { m.Set(expiryPendingTasks, float64(globalExpiryState.PendingTasks())) } if globalTransitionState != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 06 09:36:25 UTC 2024 - 2.3K bytes - Viewed (0) -
cmd/bootstrap-messages.go
bs.mu.RLock() for _, i := range bs.info { traceInfo = append(traceInfo, i) } bs.mu.RUnlock() return traceInfo } func (bs *bootstrapTracer) Publish(ctx context.Context, trace *pubsub.PubSub[madmin.TraceInfo, madmin.TraceType]) { for _, bsEvent := range bs.Events() { if bsEvent.Message != "" { select { case <-ctx.Done(): default: trace.Publish(bsEvent) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 23 10:07:06 UTC 2023 - 1.7K bytes - Viewed (0) -
internal/http/check_port_others.go
func CheckPortAvailability(host, port string, opts TCPOptions) (err error) { lc := &net.ListenConfig{} ctx, cancel := context.WithTimeout(context.Background(), time.Second) defer cancel() l, err := lc.Listen(ctx, "tcp", net.JoinHostPort(host, port)) if err != nil { return err } // As we are able to listen on this network, the port is not in use. // Close the listener and continue check other networks.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed May 03 21:12:25 UTC 2023 - 1.5K bytes - Viewed (0) -
cmd/copy-part-range.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package cmd import ( "context" "net/http" "net/url" ) // Writes S3 compatible copy part range error. func writeCopyPartErr(ctx context.Context, w http.ResponseWriter, err error, url *url.URL) { switch err { case errInvalidRange:
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 18 03:27:04 UTC 2021 - 2.5K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/clusters.go
package proxyconfig import ( "context" "encoding/json" "fmt" "io" "text/tabwriter" "github.com/spf13/cobra" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/pkg/cluster" ) // TODO move to multicluster package; requires exposing some private funcs/vars in this package func ClustersCommand(ctx cli.Context) *cobra.Command {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2.3K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/UpgradePropertiesRulePostProcess.java
@SuppressWarnings("unchecked") public void execute(ViolationCheckContextWithViolations context) { Set<AccessorKey> seenUpgradedAccessorsChanges = (Set<AccessorKey>) context.getUserData().get(SEEN_OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES); Map<AccessorKey, ReplacedAccessor> oldAccessorsOfUpgradedProperties = (Map<AccessorKey, ReplacedAccessor>) context.getUserData().get(OLD_REMOVED_ACCESSORS_OF_UPGRADED_PROPERTIES);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:30:48 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
val context: Any? = readFieldOrNull( sslSocketFactory, paramClass, "sslParameters", ) val x509TrustManager = readFieldOrNull( context!!, X509TrustManager::class.java, "x509TrustManager", ) return x509TrustManager ?: readFieldOrNull( context, X509TrustManager::class.java,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0)