Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DeleteRecord (0.06 sec)

  1. 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)
  2. 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