Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DNSAPI ¶
type DNSAPI interface { RemoveDNSEntry(ctx context.Context, project, zone string, record *dns.ResourceRecordSet) error LookupDNSEntry(ctx context.Context, project, zone, name, address, recordType string, recordTTL int64) (*dns.ResourceRecordSet, error) }
DNSAPI abstracts access to DNS API in GCP
type DNSAPIWrapper ¶
DNSAPIWrapper abstracts GCP DNS Service API
func (*DNSAPIWrapper) LookupDNSEntry ¶
func (daw *DNSAPIWrapper) LookupDNSEntry(ctx context.Context, project, zone, name, address, recordType string, recordTTL int64) (*dns.ResourceRecordSet, error)
LookupDNSEntry delegates to DNS.Service.ResourceRecordSets.List(project, zone, name, address, recordType, recordTTL) function
func (*DNSAPIWrapper) RemoveDNSEntry ¶
func (daw *DNSAPIWrapper) RemoveDNSEntry(ctx context.Context, project, zone string, record *dns.ResourceRecordSet) error
RemoveDNSEntry delegates to DNS.Service.Changes.Create(project, zone, *record) function
type DNSEntryRemover ¶
type DNSEntryRemover struct {
// contains filtered or unexported fields
}
DNSEntryRemover deletes IPs provisioned by gke-long-lasting prow jobs.
Click to show internal directories.
Click to hide internal directories.