Versions in this module Expand all Collapse all v1 v1.6.4 Sep 27, 2023 Changes in this version type DNSBackend + ListAll func(string) (DNSRecordList, error) type DNSClient + func (c *DNSClient) ListAll(zone string) (result DNSRecordList, err error) type DNSRecordParams + PageNum int + type DNSZone struct + Active types.FlexInt + Contact string + DelegationStatus string + ID types.FlexInt + Name string + NotifiedSerial *types.FlexInt + PrimaryNameserver string + type DNSZoneBackend interface + Create func(DNSZoneCreateParams) (DNSZone, error) + DeleteByName func(string) error + Details func(string) (DNSZone, error) + List func(liquidweb.ListMeta) (DNSZoneList, error) + ListAll func() (DNSZoneList, error) + type DNSZoneClient struct + Backend liquidweb.Backend + func (c *DNSZoneClient) Create(params DNSZoneCreateParams) (result DNSZone, err error) + func (c *DNSZoneClient) DeleteByName(zoneName string) (err error) + func (c *DNSZoneClient) Details(zoneName string) (zone DNSZone, err error) + func (c *DNSZoneClient) List(params liquidweb.ListMeta) (result DNSZoneList, err error) + func (c *DNSZoneClient) ListAll() (result DNSZoneList, err error) + type DNSZoneCreateParams struct + ImportRecords types.FlexInt + Name string + SkipCreateCommonRecords types.FlexInt + type DNSZoneList struct + Items []DNSZone v1.6.3 Feb 19, 2021 v1.6.2 Feb 2, 2021 v1.6.1 Aug 19, 2019 v1.6.0 Aug 15, 2019 Changes in this version + const VIPActiveStatus + const VIPBucketPart + const VIPDisabledStatus + const VIPNewStatus + const VIPPendingActivation + const VIPPendingConfig + const VIPPendingPayment + const VIPPendingTermination + const VIPTerminatedStatus + var PendingStatuses = []string + type DNSBackend interface + Create func(*DNSRecordParams) (*DNSRecord, error) + Delete func(*DNSRecordParams) (*DNSRecordDeletion, error) + Details func(int) (*DNSRecord, error) + List func(*DNSRecordParams) (*DNSRecordList, error) + Update func(*DNSRecordParams) (*DNSRecord, error) + type DNSClient struct + Backend liquidweb.Backend + func (c *DNSClient) Create(params *DNSRecordParams) (*DNSRecord, error) + func (c *DNSClient) Delete(params *DNSRecordParams) (*DNSRecordDeletion, error) + func (c *DNSClient) Details(id int) (*DNSRecord, error) + func (c *DNSClient) List(params *DNSRecordParams) (*DNSRecordList, error) + func (c *DNSClient) Update(params *DNSRecordParams) (*DNSRecord, error) + type DNSRecord struct + AdminEmail string + Created string + Exchange string + Expiry types.FlexInt + FullData string + ID types.FlexInt + LastUpdated string + Minimum types.FlexInt + Name string + Nameserver string + Port types.FlexInt + Prio types.FlexInt + RData string + RefreshInterval types.FlexInt + RegionOverrides *RegionOverrides + Retry types.FlexInt + Serial types.FlexInt + TTL types.FlexInt + Target string + Type string + Weight types.FlexInt + Zone string + ZoneID types.FlexInt + type DNSRecordDeletion struct + Deleted types.FlexInt + type DNSRecordList struct + Items []DNSRecord + type DNSRecordParams struct + AdminEmail string + Created string + Exchange string + Expiry int + FullData string + ID int + LastUpdated string + Minimum int + Name string + Nameserver string + Port int + Prio int + RData string + RefreshInterval int + RegionOverrides *RegionOverrides + Retry int + Serial int + TTL int + Target string + Type string + Weight int + Zone string + ZoneID int + type LoadBalancer struct + Name string + Nodes []LoadBalancerNode + RegionID types.FlexInt + SSLIncludes types.NumericalBoolean + SSLTermination types.NumericalBoolean + Services []LoadBalancerService + SessionPersistence types.NumericalBoolean + Strategy string + UniqID string + VIP types.IPAddr + type LoadBalancerBackend interface + Create func(LoadBalancerParams) (*LoadBalancer, error) + Delete func(string) (*LoadBalancerDeletion, error) + Details func(string) (*LoadBalancer, error) + Update func(LoadBalancerParams) (*LoadBalancer, error) + type LoadBalancerClient struct + Backend liquidweb.Backend + func (c *LoadBalancerClient) Create(params LoadBalancerParams) (*LoadBalancer, error) + func (c *LoadBalancerClient) Delete(uniqID string) (*LoadBalancerDeletion, error) + func (c *LoadBalancerClient) Details(uniqID string) (*LoadBalancer, error) + func (c *LoadBalancerClient) Update(params LoadBalancerParams) (*LoadBalancer, error) + type LoadBalancerDeletion struct + Destroyed string + type LoadBalancerNode struct + Domain string + IP net.IP + UniqID string + type LoadBalancerNodeParams struct + Domain string + IP net.IP + UniqID string + type LoadBalancerParams struct + Name string + Nodes []string + Region int + SSLCert string + SSLIncludes bool + SSLInt string + SSLKey string + SSLTermination bool + Services []LoadBalancerServiceParams + SessionPersistence bool + Strategy string + UniqID string + type LoadBalancerService struct + DestPort types.FlexInt + Protocol string + SrcPort types.FlexInt + UniqID string + type LoadBalancerServiceParams struct + DestPort int + SrcPort int + UniqID string + type RegionOverrides struct + RData string + Region string + RegionID int + type VIP struct + Active types.NumericalBoolean + ActiveStatus string + Destroyed string + Domain string + IP string + UniqID string + type VIPBackend interface + Create func(VIPParams) (*VIP, error) + Destroy func(string) (*VIPDeletion, error) + Details func(string) (*VIP, error) + type VIPClient struct + Backend liquidweb.Backend + func (c *VIPClient) Create(params VIPParams) (*VIP, error) + func (c *VIPClient) Destroy(uniqID string) (*VIPDeletion, error) + func (c *VIPClient) Details(uniqID string) (*VIP, error) + type VIPDeletion struct + Destroyed string + type VIPParams struct + Domain string + SubAccount string + UniqID string + Zone int + type Zone struct + ID types.FlexInt + IsDefault types.NumericalBoolean + Name string + Region ZoneRegion + Status string + ValidSourceHVS map[string]types.NumericalBoolean + type ZoneBackend interface + Details func(int) (*Zone, error) + List func(*ZoneListParams) (*ZoneList, error) + type ZoneClient struct + Backend liquidweb.Backend + func (c *ZoneClient) Details(id int) (*Zone, error) + func (c *ZoneClient) List(params *ZoneListParams) (*ZoneList, error) + type ZoneList struct + Items []Zone + type ZoneListParams struct + PageNum int + PageSize int + Region string + type ZoneParams struct + ID int + type ZoneRegion struct + ID int + Name string