- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 425 for Initialized (0.05 seconds)
-
cmd/object-handlers_test.go
expectedRespStatus: http.StatusForbidden, }, } // Iterating over the cases, fetching the object validating the response. for i, testCase := range testCases { // initialize HTTP NewRecorder, this records any mutations to response writer inside the handler. rec := httptest.NewRecorder() // construct HTTP request for Get Object end point.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 163.1K bytes - Click Count (0) -
cmd/tier-sweeper.go
TransitionStatus string TransitionTier string TransitionVersionID string RemoteObject string } // newObjSweeper returns an objSweeper for a given bucket and object. // It initializes the versioning information using bucket name. func newObjSweeper(bucket, object string) *objSweeper { return &objSweeper{ Object: object, Bucket: bucket, } } // WithVersion sets the version ID from v
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Apr 17 05:09:58 GMT 2024 - 4.7K bytes - Click Count (0) -
internal/config/identity/openid/provider/keycloak.go
p.adminURL = url } } // WithRealm provide realm configuration for Keycloak func WithRealm(realm string) Option { return func(p *KeycloakProvider) { p.realm = realm } } // KeyCloak initializes a new keycloak provider func KeyCloak(opts ...Option) (Provider, error) { p := &KeycloakProvider{} for _, opt := range opts { opt(p) } if p.adminURL == "" {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Jul 14 18:12:07 GMT 2024 - 4.6K bytes - Click Count (0) -
internal/config/policy/plugin/config.go
AuthToken: getCfg(AuthToken), Transport: transport, CloseRespFn: closeRespFn, } if err = args.Validate(); err != nil { return args, err } return args, nil } // New - initializes Authorization Management Plugin. func New(args Args) *AuthZPlugin { if args.URL == nil || args.URL.Scheme == "" && args.AuthToken == "" { return nil } return &AuthZPlugin{ args: args,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 5.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
* * <p>On different platforms AggregateFutureState uses different strategies for its core * synchronization primitives. The strategies are all implemented as subtypes of AtomicHelper and * the strategy is selected in the static initializer of AggregateFutureState. This is convenient * and performant but introduces some testing difficulties. This test exercises the two fallback * strategies. * * <ul>
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
logger/logger.go
RecorderParamsFilter = func(ctx context.Context, sql string, params ...interface{}) (string, []interface{}) { return sql, params } ) // New initialize logger func New(writer Writer, config Config) Interface { var ( infoStr = "%s\n[info] " warnStr = "%s\n[warn] " errStr = "%s\n[error] " traceStr = "%s\n[%.3fms] [rows:%v] %s"
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Jan 12 10:19:28 GMT 2025 - 6.3K bytes - Click Count (0) -
cmd/lock-rest-server.go
) // lockMaintenance loops over all locks and discards locks // that have not been refreshed for some time. func lockMaintenance(ctx context.Context) { if !globalIsDistErasure { return } // Initialize a new ticker with 1 minute between each ticks. lkTimer := time.NewTimer(lockMaintenanceInterval) // Stop the timer upon returning. defer lkTimer.Stop() for {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Jan 31 19:54:34 GMT 2025 - 6.3K bytes - Click Count (0) -
internal/config/identity/openid/providercfg.go
UserReadableClaim: getCfgVal(UserReadableClaim), UserIDClaim: getCfgVal(UserIDClaim), } } const ( keyCloakVendor = "keycloak" ) // initializeProvider initializes if any additional vendor specific information // was provided, initialization will return an error initial login fails. func (p *providerCfg) initializeProvider(cfgGet func(string) string, transport http.RoundTripper) error {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 4.7K bytes - Click Count (0) -
internal/logger/target/console/console.go
apiString, timeString, deploymentID, requestID, remoteHost, host, userAgent, msg, tagString, strings.Join(trace, "\n")) fmt.Fprintln(c.output, output) return nil } // New initializes a new logger target // which prints log directly in the standard // output. func New(w io.Writer) *Target { return &Target{output: w}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 3.9K bytes - Click Count (0) -
cmd/metrics-v3-types.go
Descriptors: descriptors, bucketLoader: loader, } mg.validate() return mg } // AddExtraLabels - adds extra (constant) label KV pairs to the metrics group. // This is a helper to initialize the `ExtraLabels` field. The argument is a // list of ordered label name and value pairs. func (mg *MetricsGroup) AddExtraLabels(labels ...string) { if len(labels)%2 != 0 {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Feb 28 19:33:08 GMT 2025 - 15.6K bytes - Click Count (0)