Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateRecord(ctx context.Context, zoneId string, d *schema.ResourceData) (recordResponse dns.RecordRead, responseInfo utils.ApiResponseInfo, err error)
- func (c *Client) CreateZone(ctx context.Context, d *schema.ResourceData) (zoneResponse dns.ZoneRead, responseInfo utils.ApiResponseInfo, err error)
- func (c *Client) DeleteRecord(ctx context.Context, zoneId, recordID string) (utils.ApiResponseInfo, error)
- func (c *Client) DeleteZone(ctx context.Context, id string) (utils.ApiResponseInfo, error)
- func (c *Client) GetRecordById(ctx context.Context, zoneId, recordID string) (dns.RecordRead, *dns.APIResponse, error)
- func (c *Client) GetZoneById(ctx context.Context, id string) (dns.ZoneRead, *dns.APIResponse, error)
- func (c *Client) IsRecordCreated(ctx context.Context, d *schema.ResourceData) (bool, error)
- func (c *Client) IsRecordDeleted(ctx context.Context, d *schema.ResourceData) (bool, error)
- func (c *Client) IsZoneCreated(ctx context.Context, d *schema.ResourceData) (bool, error)
- func (c *Client) IsZoneDeleted(ctx context.Context, d *schema.ResourceData) (bool, error)
- func (c *Client) ListRecords(ctx context.Context, recordName string) (dns.RecordReadList, *dns.APIResponse, error)
- func (c *Client) ListZones(ctx context.Context, filterName string) (dns.ZoneReadList, *dns.APIResponse, error)
- func (c *Client) SetRecordData(d *schema.ResourceData, record dns.RecordRead) error
- func (c *Client) SetZoneData(d *schema.ResourceData, zone dns.ZoneRead) error
- func (c *Client) UpdateRecord(ctx context.Context, zoneId, recordID string, d *schema.ResourceData) (dns.RecordRead, utils.ApiResponseInfo, error)
- func (c *Client) UpdateZone(ctx context.Context, id string, d *schema.ResourceData) (dns.ZoneRead, utils.ApiResponseInfo, error)
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 (*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 (*Client) DeleteZone ¶
func (*Client) GetRecordById ¶
func (c *Client) GetRecordById(ctx context.Context, zoneId, recordID string) (dns.RecordRead, *dns.APIResponse, error)
func (*Client) GetZoneById ¶
func (*Client) IsRecordCreated ¶
func (*Client) IsRecordDeleted ¶
func (*Client) IsZoneCreated ¶
func (*Client) IsZoneDeleted ¶
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 (*Client) UpdateRecord ¶
func (c *Client) UpdateRecord(ctx context.Context, zoneId, recordID string, d *schema.ResourceData) (dns.RecordRead, utils.ApiResponseInfo, error)
func (*Client) UpdateZone ¶
Click to show internal directories.
Click to hide internal directories.