dnsiface

package
v0.0.0-...-8dfb9f7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL