Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DeleteRecord (0.22 sec)

  1. internal/config/dns/store.go

    }
    
    // Store dns record store
    type Store interface {
    	Put(bucket string) error
    	Get(bucket string) ([]SrvRecord, error)
    	Delete(bucket string) error
    	List() (map[string][]SrvRecord, error)
    	DeleteRecord(record SrvRecord) error
    	Close() error
    	String() string
    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. internal/config/dns/operator_dns.go

    		return fmt.Errorf("request to delete the service for bucket %s, failed with status %s", bucket, resp.Status)
    	}
    	return nil
    }
    
    // DeleteRecord - Removes a specific DNS entry
    // No Op for Operator because operator deals on with bucket entries
    func (c *OperatorDNS) DeleteRecord(record SrvRecord) error {
    	return ErrNotImplemented
    }
    
    // Close closes the internal http client
    func (c *OperatorDNS) Close() 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)
  3. internal/config/dns/etcd_dns.go

    		_, err := c.etcdClient.Delete(ctx, key+etcdPathSeparator, clientv3.WithPrefix())
    		cancel()
    		if err != nil {
    			return err
    		}
    	}
    	return nil
    }
    
    // DeleteRecord - Removes a specific DNS entry
    func (c *CoreDNS) DeleteRecord(record SrvRecord) error {
    	for _, domainName := range c.domainNames {
    		key := msgPath(fmt.Sprintf("%s.%s.", record.Key, domainName), c.prefixPath)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top