Documentation ¶
Index ¶
- Constants
- type Interface
- type ResourceRecordChangeset
- func (c *ResourceRecordChangeset) Add(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
- func (c *ResourceRecordChangeset) Apply() error
- func (c *ResourceRecordChangeset) IsEmpty() bool
- func (c *ResourceRecordChangeset) Remove(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
- func (c *ResourceRecordChangeset) ResourceRecordSets() dnsprovider.ResourceRecordSets
- func (c *ResourceRecordChangeset) Upsert(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
- type ResourceRecordSet
- type ResourceRecordSets
- func (rrsets ResourceRecordSets) Get(name string) ([]dnsprovider.ResourceRecordSet, error)
- func (rrsets ResourceRecordSets) List() ([]dnsprovider.ResourceRecordSet, error)
- func (rrsets ResourceRecordSets) New(name string, rrdatas []string, ttl int64, rrstype rrstype.RrsType) dnsprovider.ResourceRecordSet
- func (rrsets ResourceRecordSets) StartChangeset() dnsprovider.ResourceRecordChangeset
- func (rrset ResourceRecordSets) Zone() dnsprovider.Zone
- type Zone
- type Zones
Constants ¶
View Source
const (
// ProviderName is the name of this DNS provider
ProviderName = "openstack-designate"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
func New ¶
func New(sc *gophercloud.ServiceClient) *Interface
New builds an Interface, with a specified Designate implementation. This is useful for testing purposes, but also if we want an instance with custom OpenStack options.
type ResourceRecordChangeset ¶
type ResourceRecordChangeset struct {
// contains filtered or unexported fields
}
func (*ResourceRecordChangeset) Add ¶
func (c *ResourceRecordChangeset) Add(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
func (*ResourceRecordChangeset) Apply ¶
func (c *ResourceRecordChangeset) Apply() error
func (*ResourceRecordChangeset) IsEmpty ¶
func (c *ResourceRecordChangeset) IsEmpty() bool
func (*ResourceRecordChangeset) Remove ¶
func (c *ResourceRecordChangeset) Remove(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
func (*ResourceRecordChangeset) ResourceRecordSets ¶
func (c *ResourceRecordChangeset) ResourceRecordSets() dnsprovider.ResourceRecordSets
ResourceRecordSets returns the parent ResourceRecordSets
func (*ResourceRecordChangeset) Upsert ¶
func (c *ResourceRecordChangeset) Upsert(rrset dnsprovider.ResourceRecordSet) dnsprovider.ResourceRecordChangeset
type ResourceRecordSet ¶
type ResourceRecordSet struct {
// contains filtered or unexported fields
}
func (ResourceRecordSet) Name ¶
func (rrset ResourceRecordSet) Name() string
func (ResourceRecordSet) Rrdatas ¶
func (rrset ResourceRecordSet) Rrdatas() []string
func (ResourceRecordSet) Ttl ¶
func (rrset ResourceRecordSet) Ttl() int64
func (ResourceRecordSet) Type ¶
func (rrset ResourceRecordSet) Type() rrstype.RrsType
type ResourceRecordSets ¶
type ResourceRecordSets struct {
// contains filtered or unexported fields
}
func (ResourceRecordSets) Get ¶
func (rrsets ResourceRecordSets) Get(name string) ([]dnsprovider.ResourceRecordSet, error)
func (ResourceRecordSets) List ¶
func (rrsets ResourceRecordSets) List() ([]dnsprovider.ResourceRecordSet, error)
func (ResourceRecordSets) New ¶
func (rrsets ResourceRecordSets) New(name string, rrdatas []string, ttl int64, rrstype rrstype.RrsType) dnsprovider.ResourceRecordSet
func (ResourceRecordSets) StartChangeset ¶
func (rrsets ResourceRecordSets) StartChangeset() dnsprovider.ResourceRecordChangeset
func (ResourceRecordSets) Zone ¶
func (rrset ResourceRecordSets) Zone() dnsprovider.Zone
Zone returns the parent zone
type Zone ¶
type Zone struct {
// contains filtered or unexported fields
}
func (*Zone) ResourceRecordSets ¶
func (z *Zone) ResourceRecordSets() (dnsprovider.ResourceRecordSets, bool)
type Zones ¶
type Zones struct {
// contains filtered or unexported fields
}
func (Zones) Add ¶
func (kzs Zones) Add(zone dnsprovider.Zone) (dnsprovider.Zone, error)
Click to show internal directories.
Click to hide internal directories.