Versions in this module Expand all Collapse all v4 v4.14.4 Oct 15, 2023 v4.14.3 Oct 15, 2023 v4.8.2 Oct 15, 2023 Changes in this version + const DefaultIdentityEndpoint + type Auth struct + Identity Identity + Scope Scope + type Catalog struct + Endpoints []Endpoint + ID string + Name string + Type string + type Client struct + HTTPClient *http.Client + IdentityEndpoint string + func NewClient(username string, password string, domainName string, projectName string) *Client + func (c *Client) CreateRecordSet(ctx context.Context, zoneID string, record RecordSets) error + func (c *Client) DeleteRecordSet(ctx context.Context, zoneID, recordID string) error + func (c *Client) GetRecordSetID(ctx context.Context, zoneID, fqdn string) (string, error) + func (c *Client) GetZoneID(ctx context.Context, zone string) (string, error) + func (c *Client) Login(ctx context.Context) error + type DNSServerMock struct + func NewDNSServerMock(t *testing.T) *DNSServerMock + func (m *DNSServerMock) GetServerURL() string + func (m *DNSServerMock) HandleAuthSuccessfully() + func (m *DNSServerMock) HandleDeleteRecordsetsSuccessfully() + func (m *DNSServerMock) HandleListRecordsetsEmpty() + func (m *DNSServerMock) HandleListRecordsetsSuccessfully() + func (m *DNSServerMock) HandleListZonesEmpty() + func (m *DNSServerMock) HandleListZonesSuccessfully() + func (m *DNSServerMock) ShutdownServer() + type Domain struct + ID string + Name string + type Endpoint struct + ID string + Interface string + Region string + RegionID string + URL string + type Identity struct + Methods []string + Password Password + type Links struct + Next string + Self string + type LoginRequest struct + Auth Auth + type Metadata struct + TotalCount int + type Password struct + User User + type Project struct + Name string + type RecordSets struct + CreateAt string + Default bool + Description string + ID string + Links *Links + Name string + ProjectID string + Records []string + Status string + TTL int + Type string + UpdateAt string + ZoneID string + ZoneName string + type RecordSetsResponse struct + Links Links + Metadata Metadata + RecordSets []RecordSets + type Role struct + ID string + Name string + type Scope struct + Project Project + type Token struct + Catalog []Catalog + Domain Domain + ExpiresAt string + IssuedAt string + Methods []string + Roles []Role + User UserR + type TokenResponse struct + Token Token + type User struct + Domain Domain + Name string + Password string + type UserR struct + Domain Domain + ID string + Name string + PasswordExpiresAt string + type Zone struct + CreatedAt string + Description string + Email string + ID string + Links *Links + Name string + PoolID string + ProjectID string + RecordNum int + Serial int + Status string + TTL int + UpdatedAt string + ZoneType string + type ZonesResponse struct + Links Links + Metadata Metadata + Zones []Zone