Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ErrInvalidBucketName (0.1 sec)

  1. internal/config/dns/store.go

    package dns
    
    // Error - DNS related errors error.
    type Error struct {
    	Bucket string
    	Err    error
    }
    
    // ErrInvalidBucketName for buckets with invalid name
    type ErrInvalidBucketName Error
    
    func (e ErrInvalidBucketName) Error() string {
    	return e.Bucket + " invalid bucket name error: " + e.Err.Error()
    }
    
    func (e Error) Error() string {
    	return "dns related error: " + e.Err.Error()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. cmd/api-errors_test.go

    	{err: IncompleteBody{}, errCode: ErrIncompleteBody},
    	{err: ObjectExistsAsDirectory{}, errCode: ErrObjectExistsAsDirectory},
    	{err: BucketNameInvalid{}, errCode: ErrInvalidBucketName},
    	{err: BucketExists{}, errCode: ErrBucketAlreadyOwnedByYou},
    	{err: ObjectNotFound{}, errCode: ErrNoSuchKey},
    	{err: ObjectNameInvalid{}, errCode: ErrInvalidObjectName},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 15:13:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  3. internal/config/dns/operator_dns.go

    	}
    	return nil
    }
    
    func newError(bucket string, err error) error {
    	e := Error{bucket, err}
    	if strings.Contains(err.Error(), "invalid bucket name") {
    		return ErrInvalidBucketName(e)
    	}
    	return e
    }
    
    // Delete - Removes DNS entries added in Put().
    func (c *OperatorDNS) Delete(bucket string) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Mar 06 16:56:10 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top