Versions in this module Expand all Collapse all v4 v4.0.2 Jun 12, 2023 Changes in this version + const DefaultIdentityURL + type APIKeyCredentials struct + APIKey string + Username string + type Access struct + ServiceCatalog []ServiceCatalog + Token Token + User User + type Auth struct + type AuthData struct + type Client struct + HTTPClient *http.Client + func NewClient(endpoint string, token string) (*Client, error) + func (c *Client) AddRecord(ctx context.Context, zoneID string, record Record) error + func (c *Client) DeleteRecord(ctx context.Context, zoneID, recordID string) error + func (c *Client) FindTxtRecord(ctx context.Context, fqdn string, zoneID string) (*Record, error) + func (c *Client) GetHostedZoneID(ctx context.Context, fqdn string) (string, error) + type Endpoint struct + InternalURL string + PublicURL string + Region string + TenantID string + type HostedZone struct + ID string + Name string + type Identifier struct + func NewIdentifier(httpClient *http.Client, baseURL string) *Identifier + func (a *Identifier) Login(ctx context.Context, apiUser, apiKey string) (*Identity, error) + type Identity struct + Access Access + type Record struct + Data string + ID string + Name string + TTL int + Type string + type Records struct + Records []Record + TotalEntries int + type Role struct + Description string + ID string + Name string + TenantID string + type ServiceCatalog struct + Endpoints []Endpoint + Name string + Type string + type Tenant struct + ID string + Name string + type Token struct + Expires string + ID string + RAXAUTHAuthenticatedBy []string + Tenant Tenant + type User struct + ID string + Name string + RAXAUTHDefaultRegion string + Roles []Role + type ZoneSearchResponse struct + HostedZones []HostedZone + TotalEntries int