Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for instanceOf (0.21 sec)

  1. cmd/admin-handlers.go

    	# Start MinIO instance using the options
    	START_CMD="CI=on _MINIO_AUTO_DRIVE_HEALING=off minio server ${MINIO_OPTS} &"
    	echo
    	echo "Starting MinIO instance: ${START_CMD}"
    	echo
    	eval "$START_CMD"
    	MINIO_SRVR_PID="$!"
    	echo "MinIO Server PID: ${MINIO_SRVR_PID}"
    	echo
    	echo "Waiting for MinIO instance to get ready!"
    	sleep 10
    }
    
    main "$@"`, scheme)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  2. gorm.go

    		Logger: db.Logger.LogMode(logger.Info),
    	})
    }
    
    // Set store value with key into current db instance's context
    func (db *DB) Set(key string, value interface{}) *DB {
    	tx := db.getInstance()
    	tx.Statement.Settings.Store(key, value)
    	return tx
    }
    
    // Get get value with key from current db instance's context
    func (db *DB) Get(key string) (interface{}, bool) {
    	return db.Statement.Settings.Load(key)
    }
    
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Sun Aug 20 11:46:56 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig.go

    		Use:   "cluster [<type>/]<name>[.<namespace>]",
    		Short: "Retrieves cluster configuration for the Envoy in the specified pod",
    		Long:  `Retrieve information about cluster configuration for the Envoy instance in the specified pod.`,
    		Example: `  # Retrieve summary about cluster configuration for a given pod from Envoy.
      istioctl proxy-config clusters <pod-name[.namespace]>
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  4. cmd/ftp-server.go

    	"net"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/logger"
    	ftp "goftp.io/server/v2"
    )
    
    var globalRemoteFTPClientTransport = NewRemoteTargetHTTPTransport(true)()
    
    // minioLogger use an instance of this to log in a standard format
    type minioLogger struct{}
    
    // Print implement Logger
    func (log *minioLogger) Print(sessionID string, message interface{}) {
    	if serverDebugLog {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  5. misc/cgo/gmp/gmp.go

    be told to initialize this pointer).  For example, if the gmp library
    provided
    
    	mpz_t zero;
    
    then cgo would rewrite a reference to C.zero by introducing
    
    	var _C_zero *C.mpz_t
    
    and then replacing all instances of C.zero with (*_C_zero).
    
    Cgo's most interesting translation is for functions.  If xxx is a C
    function, then cgo rewrites C.xxx into a new function _C_xxx that
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  6. internal/kms/kes.go

    	for _, endpoint := range c.client.Endpoints {
    		client := kes.Client{
    			Endpoints:  []string{endpoint},
    			HTTPClient: c.client.HTTPClient,
    		}
    
    		// 1. Get stats for the KES instance
    		state, err := client.Status(ctx)
    		if err != nil {
    			results = append(results, VerifyResult{Status: "offline", Endpoint: endpoint})
    			continue
    		}
    
    		// 2. Generate a new key using the KMS.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  7. cmd/erasure.go

    	// some may be local and some remote.
    	getEndpointStrings func() []string
    
    	// Locker mutex map.
    	nsMutex *nsLockMap
    }
    
    // NewNSLock - initialize a new namespace RWLocker instance.
    func (er erasureObjects) NewNSLock(bucket string, objects ...string) RWLocker {
    	return er.nsMutex.NewNSLock(er.getLockers, bucket, objects...)
    }
    
    // Shutdown function for object storage interface.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  8. operator/cmd/mesh/install.go

    			return fmt.Errorf("verification failed with the following error: %v", err)
    		}
    	}
    
    	return nil
    }
    
    // InstallManifests generates manifests from the given istiooperator instance and applies them to the
    // cluster. See GenManifests for more description of the manifest generation process.
    //
    //	force   validation warnings are written to logger but command is not aborted
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  9. internal/s3select/sql/parser.go

    	ObjectWildcard bool       `parser:"| @\".*\""`          // .* form
    	ArrayWildcard  bool       `parser:"| @\"[*]\""`         // [*] form
    }
    
    // JSONPath represents a keypath.
    // Instances should be treated idempotent and not change once created.
    type JSONPath struct {
    	BaseKey  *Identifier        `parser:" @@"`
    	PathExpr []*JSONPathElement `parser:"(@@)*"`
    
    	// Cached values:
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  10. internal/dsync/drwmutex.go

    	unlocksFailed := 0
    	for lockID := range locks {
    		if isLocked(locks[lockID]) {
    			unlocksFailed++
    		}
    	}
    
    	// Unlock failures are higher than tolerance limit
    	// for this instance of unlocker, we should let the
    	// caller know that lock is not successfully released
    	// yet.
    	if len(locks)-tolerance == tolerance {
    		// In case of split brain scenarios where
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
Back to top