Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 173 for Jasmin (0.14 sec)

  1. cmd/warm-backend-azure.go

    	"io"
    	"net/http"
    	"net/url"
    	"strings"
    	"time"
    
    	"github.com/Azure/azure-storage-blob-go/azblob"
    	"github.com/Azure/go-autorest/autorest/adal"
    	"github.com/Azure/go-autorest/autorest/azure"
    	"github.com/minio/madmin-go/v3"
    )
    
    type warmBackendAzure struct {
    	serviceURL   azblob.ServiceURL
    	Bucket       string
    	Prefix       string
    	StorageClass string
    }
    
    func (az *warmBackendAzure) getDest(object string) string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  2. cmd/warm-backend-minio.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"io"
    	"math"
    	"net/url"
    	"strings"
    
    	"github.com/minio/madmin-go/v3"
    	minio "github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    type warmBackendMinIO struct {
    	warmBackendS3
    }
    
    var _ WarmBackend = (*warmBackendMinIO)(nil)
    
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/comparator.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package compare
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"strings"
    
    	admin "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	legacyproto "github.com/golang/protobuf/proto" // nolint: staticcheck
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 3.7K bytes
    - Viewed (1)
  4. cmd/object-api-datatypes.go

    	// Multi disk BackendErasure (single, distributed) backend.
    	BackendErasure = BackendType(madmin.Erasure)
    	// Add your own backend.
    )
    
    // StorageInfo - represents total capacity of underlying storage.
    type StorageInfo = madmin.StorageInfo
    
    // objectHistogramInterval is an interval that will be
    // used to report the histogram of objects data sizes
    type objectHistogramInterval struct {
    	name       string
    	start, end int64
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  5. cmd/server-rlimit.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"runtime"
    	"runtime/debug"
    
    	"github.com/dustin/go-humanize"
    	"github.com/minio/cli"
    	"github.com/minio/madmin-go/v3/kernel"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/sys"
    )
    
    func oldLinux() bool {
    	currentKernel, err := kernel.CurrentVersion()
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils_test.go

    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	_, err = globalIAMSys.CreateUser(ctx, ucreds.AccessKey, madmin.AddOrUpdateUserReq{
    		SecretKey: ucreds.SecretKey,
    		Status:    madmin.AccountEnabled,
    	})
    	if err != nil {
    		t.Fatalf("unable create credential, %s", err)
    	}
    
    	_, owner, s3Err = checkKeyValid(req, ucreds.AccessKey)
    	if s3Err != ErrNone {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  7. clause/benchmarks_test.go

    				clause.Or(clause.Gt{Column: "score", Value: 100}, clause.Like{Column: "name", Value: "%linus%"}),
    			}},
    			clause.GroupBy{Columns: []clause.Column{{Name: "role"}}, Having: []clause.Expression{clause.Eq{"role", "admin"}}},
    			clause.Limit{Limit: &limit10, Offset: 20},
    			clause.OrderBy{Columns: []clause.OrderByColumn{{Column: clause.PrimaryColumn, Desc: true}}},
    		}
    
    		for _, clause := range clauses {
    			stmt.AddClause(clause)
    		}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Oct 07 12:14:14 GMT 2022
    - 1.9K bytes
    - Viewed (0)
  8. cmd/admin-handlers-config-kv.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	globalNotificationSys.SignalConfigReload(subSys)
    	// Tell the client that dynamic config was applied.
    	w.Header().Set(madmin.ConfigAppliedHeader, madmin.ConfigAppliedTrue)
    }
    
    type badConfigErr struct {
    	Err error
    }
    
    // Error - return the error message
    func (bce badConfigErr) Error() string {
    	return bce.Err.Error()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"sigs.k8s.io/yaml"
    )
    
    // ConfigWriter is a writer for processing responses from the Ztunnel Admin config_dump endpoint
    type ConfigWriter struct {
    	Stdout      io.Writer
    	ztunnelDump *ZtunnelDump
    	FullDump    []byte
    }
    
    // Prime loads the config dump into the writer ready for printing
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. tests/hooks_test.go

    	}
    
    	if s.Name == "Invalid" {
    		return errors.New("invalid")
    	}
    
    	return nil
    }
    
    func (s *Product2) BeforeUpdate(tx *gorm.DB) (err error) {
    	tx.Statement.Where("owner != ?", "admin")
    	return
    }
    
    func TestUseDBInHooks(t *testing.T) {
    	DB.Migrator().DropTable(&Product2{})
    	DB.AutoMigrate(&Product2{})
    
    	product := Product2{Name: "Invalid", Price: 100}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Sat Feb 18 01:20:29 GMT 2023
    - 15.9K bytes
    - Viewed (0)
Back to top