Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 757 for type (0.33 sec)

  1. internal/bucket/replication/datatypes_gen.go

    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    func (z *Type) DecodeMsg(dc *msgp.Reader) (err error) {
    	{
    		var zb0001 int
    		zb0001, err = dc.ReadInt()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		(*z) = Type(zb0001)
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z Type) EncodeMsg(en *msgp.Writer) (err error) {
    	err = en.WriteInt(int(z))
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    	switch ef.Type {
    	case BatchJobExpireObject:
    		if obj.DeleteMarker {
    			return false
    		}
    	case BatchJobExpireDeleted:
    		if !obj.DeleteMarker {
    			return false
    		}
    	default:
    		// we should never come here, Validate should have caught this.
    		batchLogOnceIf(context.Background(), fmt.Errorf("invalid filter type: %s", ef.Type), ef.Type)
    		return false
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  3. cmd/object-api-datatypes.go

    // client during CompleteMultipartUpload request.
    type CompleteMultipartUpload struct {
    	Parts []CompletePart `xml:"Part"`
    }
    
    // NewMultipartUploadResult contains information about a newly created multipart upload.
    type NewMultipartUploadResult struct {
    	UploadID     string
    	ChecksumAlgo string
    }
    
    type getObjectAttributesResponse struct {
    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)
  4. istioctl/pkg/writer/compare/sds/writer.go

    // SDSWriter takes lists of SecretItem or SecretItemDiff and prints them through supplied output writer
    type SDSWriter interface {
    	PrintSecretItems([]SecretItem) error
    	PrintDiffs([]SecretItemDiff) error
    }
    
    type Format int
    
    const (
    	JSON Format = iota
    	TABULAR
    )
    
    // includeConfigType is a flag to indicate whether to include the config type in the output
    var includeConfigType bool
    
    func SetPrintConfigTypeInSummary(p bool) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 21 14:17:23 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  5. internal/hash/reader.go

    // ContentCRCType returns the content checksum type.
    func (r *Reader) ContentCRCType() ChecksumType {
    	return r.contentHash.Type
    }
    
    // ContentCRC returns the content crc if set.
    func (r *Reader) ContentCRC() map[string]string {
    	if r.contentHash.Type == ChecksumNone || !r.contentHash.Valid() {
    		return nil
    	}
    	if r.contentHash.Type.Trailing() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  6. internal/grid/handlers.go

    }
    
    // RoundTripper provides an interface for type roundtrip serialization.
    type RoundTripper interface {
    	msgp.Unmarshaler
    	msgp.Marshaler
    	msgp.Sizer
    
    	comparable
    }
    
    // SingleHandler is a type safe handler for single roundtrip requests.
    type SingleHandler[Req, Resp RoundTripper] struct {
    	id            HandlerID
    	sharedResp    bool
    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)
  7. istioctl/pkg/util/configdump/wrapper.go

    		msg := exprpb.Type{TypeKind: &exprpb.Type_Dyn{Dyn: &emptypb.Empty{}}}
    		return msg.ProtoReflect().Type(), nil
    	}
    	return typ, nil
    }
    
    // Wrapper is a wrapper around the Envoy ConfigDump
    // It has extra helper functions for handling any/struct/marshal protobuf pain
    type Wrapper struct {
    	*admin.ConfigDump
    }
    
    // UnmarshalJSON is a custom unmarshaller to handle protobuf pain
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sun Apr 21 17:42:54 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  8. migrator/migrator.go

    // TODO:? Create const vars for raw sql queries ?
    
    var _ gorm.Migrator = (*Migrator)(nil)
    
    // Migrator m struct
    type Migrator struct {
    	Config
    }
    
    // Config schema config
    type Config struct {
    	CreateIndexAfterCreateTable bool
    	DB                          *gorm.DB
    	gorm.Dialector
    }
    
    type printSQLLogger struct {
    	logger.Interface
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 07:15:49 GMT 2024
    - 29K bytes
    - Viewed (0)
  9. istioctl/pkg/util/formatting/formatter.go

    	return fmt.Sprintf("%s%v%s [%v]%s %s",
    		colorPrefix(m, colorize), m.Type.Level(), colorSuffix(colorize),
    		m.Type.Code(), m.Origin(), fmt.Sprintf(m.Type.Template(), m.Parameters...),
    	)
    }
    
    func colorPrefix(m diag.Message, colorize bool) string {
    	if !colorize {
    		return ""
    	}
    
    	prefix, ok := colorPrefixes[m.Type.Level()]
    	if !ok {
    		return ""
    	}
    	return prefix
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jul 11 02:41:45 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  10. docs/debugging/inspect/export.go

    	tmp := struct {
    		VersionID string
    		ModTime   time.Time
    		Signature string
    		Type      uint8
    		Flags     uint8
    	}{
    		VersionID: hex.EncodeToString(z.VersionID[:]),
    		ModTime:   time.Unix(0, z.ModTime),
    		Signature: hex.EncodeToString(z.Signature[:]),
    		Type:      z.Type,
    		Flags:     z.Flags,
    	}
    	return json.Marshal(tmp)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 08 15:58:02 GMT 2022
    - 9.1K bytes
    - Viewed (0)
Back to top