Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 208 for Must (0.39 sec)

  1. internal/cachevalue/cache.go

    	NoWait bool
    }
    
    // Cache contains a synchronized value that is considered valid
    // for a specific amount of time.
    // An Update function must be set to provide an updated value when needed.
    type Cache[T any] struct {
    	// updateFn must return an updated value.
    	// If an error is returned the cached value is not set.
    	// Only one caller will call this function at any time, others will be blocking.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 16:00:42 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. internal/grid/handlers.go

    		Handle StatelessHandlerFn
    		// OutCapacity is the output capacity on the caller.
    		// If <= 0 capacity will be 1.
    		OutCapacity int
    	}
    
    	// StreamHandlerFn must process a request with an optional initial payload.
    	// It must keep consuming from 'in' until it returns.
    	// 'in' and 'out' are independent.
    	// The handler should never close out.
    	// Buffers received from 'in'  can be recycled with PutByteBuffer.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  3. istioctl/pkg/internaldebug/internal-debug.go

    	for _, response := range xdsResponses {
    		for _, resource := range response.Resources {
    			eString := string(resource.Value)
    			switch {
    			case strings.Contains(eString, "You must provide a proxyID in the query string"):
    				return nil, fmt.Errorf(" You must provide a proxyID in the query string, e.g. [%s]",
    					"edsz?proxyID=istio-ingressgateway")
    
    			case strings.Contains(eString, "404 page not found"):
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/asm.go

    				prog.To = a[2]
    				break
    			}
    			if arch.IsARMBFX(op) {
    				// a[0] and a[1] must be constants, a[2] must be a register
    				prog.From = a[0]
    				prog.AddRestSource(a[1])
    				prog.To = a[2]
    				break
    			}
    			// Otherwise the 2nd operand (a[1]) must be a register.
    			prog.From = a[0]
    			prog.Reg = p.getRegister(prog, op, &a[1])
    			prog.To = a[2]
    		case sys.AMD64:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  5. internal/crypto/sse-kms.go

    	}
    
    	// There are two possibilities:
    	// - We use a KMS -> There must be non-empty key ID and a KMS data key.
    	// - We use a K/V -> There must be no key ID and no KMS data key.
    	// Otherwise, the caller has passed an invalid argument combination.
    	if keyID == "" && len(kmsKey) != 0 {
    		logger.CriticalIf(context.Background(), errors.New("The key ID must not be empty if a KMS data key is present"))
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/filter.go

    package lifecycle
    
    import (
    	"encoding/xml"
    	"io"
    
    	"github.com/minio/minio-go/v7/pkg/tags"
    )
    
    var errInvalidFilter = Errorf("Filter must have exactly one of Prefix, Tag, or And specified")
    
    // Filter - a filter for a lifecycle configuration Rule.
    type Filter struct {
    	XMLName xml.Name `xml:"Filter"`
    	set     bool
    
    	Prefix Prefix
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. internal/grid/stream.go

    import (
    	"context"
    	"errors"
    )
    
    // A Stream is a two-way stream.
    // All responses *must* be read by the caller.
    // If the call is canceled through the context,
    // the appropriate error will be returned.
    type Stream struct {
    	// responses from the remote server.
    	// Channel will be closed after error or when remote closes.
    	// All responses *must* be read by the caller until either an error is returned or the channel is closed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 18:05:18 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. cmd/api-errors.go

    	},
    	ErrInvalidMaxUploads: {
    		Code:           "InvalidArgument",
    		Description:    "Argument max-uploads must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidMaxKeys: {
    		Code:           "InvalidArgument",
    		Description:    "Argument maxKeys must be an integer between 0 and 2147483647",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidEncodingMethod: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  9. internal/crypto/key.go

    	"github.com/minio/minio/internal/hash/sha256"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/sio"
    )
    
    // ObjectKey is a 256 bit secret key used to encrypt the object.
    // It must never be stored in plaintext.
    type ObjectKey [32]byte
    
    // GenerateKey generates a unique ObjectKey from a 256 bit external key
    // and a source of randomness. If random is nil the default PRNG of the
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 20:28:10 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/delmarker-expiration.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"encoding/xml"
    	"time"
    )
    
    var errInvalidDaysDelMarkerExpiration = Errorf("Days must be a positive integer with DelMarkerExpiration")
    
    // DelMarkerExpiration used to xml encode/decode ILM action by the same name
    type DelMarkerExpiration struct {
    	XMLName xml.Name `xml:"DelMarkerExpiration"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top