Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudDNSService ¶
type CloudDNSService struct {
Service *dns.Service
}
CloudDNSService implements the DNS Service interface.
func (*CloudDNSService) ChangeCreate ¶
func (c *CloudDNSService) ChangeCreate(ctx context.Context, project string, zone string, change *dns.Change) (*dns.Change, error)
ChangeCreate applies the given change set.
func (*CloudDNSService) ResourceRecordSetsGet ¶
func (c *CloudDNSService) ResourceRecordSetsGet(ctx context.Context, project string, zone string, name string, rtype string) (*dns.ResourceRecordSet, error)
ResourceRecordSetsGet gets an existing resource record set, if present.
type Service ¶
type Service interface { ResourceRecordSetsGet(ctx context.Context, project string, zone string, name string, type_ string) (*dns.ResourceRecordSet, error) ChangeCreate(ctx context.Context, project string, zone string, change *dns.Change) (*dns.Change, error) }
Service interface used by the dnsx logic.
Click to show internal directories.
Click to hide internal directories.