Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 246 for Karn (0.17 sec)

  1. internal/arn/arn.go

    func (arn ARN) String() string {
    	return strings.Join(
    		[]string{
    			arnPrefixArn,
    			arn.Partition,
    			arn.Service,
    			arn.Region,
    			"", // account-id is always empty in this implementation
    			arn.ResourceType + "/" + arn.ResourceID,
    		},
    		":",
    	)
    }
    
    // Parse - parses an ARN string into a type.
    func Parse(arnStr string) (arn ARN, err error) {
    	ps := strings.Split(arnStr, ":")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. internal/arn/arn_test.go

    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN partition must fail",
    			args: args{
    				arnStr: "arn:invalid:iam:us-east-1::role/my-role",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    			name: "invalid ARN service must fail",
    			args: args{
    				arnStr: "arn:minio:invalid:us-east-1::role/my-role",
    			},
    			wantArn: ARN{},
    			wantErr: true,
    		},
    		{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		d, ok := dsc.targetsMap[tgt.Arn]
    		if !ok {
    			continue
    		}
    		if !d.Replicate {
    			continue
    		}
    		r.targets[d.Arn] = resyncTarget(oi, tgt.Arn, tgt.ResetID, tgt.ResetBeforeDate, tgtStatuses[tgt.Arn])
    	}
    	return
    }
    
    func targetResetHeader(arn string) string {
    	return fmt.Sprintf("%s-%s", ReservedMetadataPrefixLower+ReplicationReset, arn)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  4. src/main/java/org/codelibs/fess/util/UpgradeUtil.java

                        logger.info("Register {} to {}", path, indexName);
                        return true;
                    }
                    logger.warn("Invalid request for {}", path);
                }
            } catch (final Exception e) {
                logger.warn("Failed to register {}", filePath, e);
            }
            return false;
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

                thumbnailQueueThread.join(10000);
            } catch (final InterruptedException e) {
                logger.warn("Thumbnail thread is timeouted.", e);
            }
            generatorList.forEach(g -> {
                try {
                    g.destroy();
                } catch (final Exception e) {
                    logger.warn("Failed to stop thumbnail generator.", e);
                }
            });
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.5K bytes
    - Viewed (0)
  6. cni/pkg/log/uds_test.go

    	loggingOptions.WithTeeToUDS(udsSock, constants.UDSLogPath)
    	assert.NoError(t, log.Configure(loggingOptions))
    	log.FindScope("default").SetOutputLevel(log.DebugLevel)
    	log.Debug("debug log")
    	log.Info("info log")
    	log.Warn("warn log")
    	log.Error("error log")
    	// This will error because stdout cannot sync, but the UDS part should sync
    	// Ideally we would fail if the UDS part fails but the error library makes it kind of tricky
    	_ = log.Sync()
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Mar 16 00:20:01 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

                if (!p.waitFor(commandTimeout + commandDestroyTimeout, TimeUnit.MILLISECONDS)) {
                    logger.warn("Destroying {} because of the process timeout.", getName());
                    p.destroy();
                }
    
                final int exitValue = p.exitValue();
                if (exitValue != 0) {
                    logger.warn("{} is failed (exit code:{}, timeout:{}): {}", getName(), exitValue, task.isExecuted(), commandList);
                }
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                        } catch (final Exception e) {
                            logger.warn("Failed to install {}", filename, e);
                        } finally {
                            if (tempFile.exists() && !tempFile.delete()) {
                                logger.warn("Failed to delete {}.", tempFile.getAbsolutePath());
                            }
                        }
                    }).start();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                } catch (RepositoryMetadataReadException e) {
                    if (getLogger().isDebugEnabled()) {
                        getLogger().warn(e.getMessage(), e);
                    } else {
                        getLogger().warn(e.getMessage());
                    }
                    return setRepository;
                }
    
                if (repoMetadata.isSnapshot() && (previousMetadata != null)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  10. cmd/bucket-targets.go

    			}
    		}
    		sys.incTargetErr(bucket, arn)
    	}()
    	return nil
    }
    
    // GetRemoteBucketTargetByArn returns BucketTarget for a ARN
    func (sys *BucketTargetSys) GetRemoteBucketTargetByArn(ctx context.Context, bucket, arn string) madmin.BucketTarget {
    	sys.RLock()
    	defer sys.RUnlock()
    	var tgt madmin.BucketTarget
    	for _, t := range sys.targetsMap[bucket] {
    		if t.Arn == arn {
    			tgt = t.Clone()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top