dns

package
v6.5.5 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(username, password, token, url, version, terraformVersion string) *Client

func (*Client) CreateRecord

func (c *Client) CreateRecord(ctx context.Context, zoneId string, d *schema.ResourceData) (recordResponse dns.RecordRead, responseInfo utils.ApiResponseInfo, err error)

func (*Client) CreateZone

func (c *Client) CreateZone(ctx context.Context, d *schema.ResourceData) (zoneResponse dns.ZoneRead, responseInfo utils.ApiResponseInfo, err error)

func (*Client) DeleteRecord

func (c *Client) DeleteRecord(ctx context.Context, zoneId, recordID string) (utils.ApiResponseInfo, error)

func (*Client) DeleteZone

func (c *Client) DeleteZone(ctx context.Context, id string) (utils.ApiResponseInfo, error)

func (*Client) GetRecordById

func (c *Client) GetRecordById(ctx context.Context, zoneId, recordID string) (dns.RecordRead, *dns.APIResponse, error)

func (*Client) GetZoneById

func (c *Client) GetZoneById(ctx context.Context, id string) (dns.ZoneRead, *dns.APIResponse, error)

func (*Client) IsRecordCreated

func (c *Client) IsRecordCreated(ctx context.Context, d *schema.ResourceData) (bool, error)

func (*Client) IsRecordDeleted

func (c *Client) IsRecordDeleted(ctx context.Context, d *schema.ResourceData) (bool, error)

func (*Client) IsZoneCreated

func (c *Client) IsZoneCreated(ctx context.Context, d *schema.ResourceData) (bool, error)

func (*Client) IsZoneDeleted

func (c *Client) IsZoneDeleted(ctx context.Context, d *schema.ResourceData) (bool, error)

func (*Client) ListRecords

func (c *Client) ListRecords(ctx context.Context, recordName string) (dns.RecordReadList, *dns.APIResponse, error)

func (*Client) ListZones

func (c *Client) ListZones(ctx context.Context, filterName string) (dns.ZoneReadList, *dns.APIResponse, error)

func (*Client) SetRecordData

func (c *Client) SetRecordData(d *schema.ResourceData, record dns.RecordRead) error

func (*Client) SetZoneData

func (c *Client) SetZoneData(d *schema.ResourceData, zone dns.ZoneRead) error

func (*Client) UpdateRecord

func (c *Client) UpdateRecord(ctx context.Context, zoneId, recordID string, d *schema.ResourceData) (dns.RecordRead, utils.ApiResponseInfo, error)

func (*Client) UpdateZone

Jump to

Keyboard shortcuts

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