package internal const ( exampleDomain = "example.com" exampleSubDomain = "_acme-challenge" exampleRdata = "LHDhK3oGRvkiefQnx7OOczTY5Tic_xZ6HcMOc_gmtoM" ) // Testdata based on real traffic between an xml-rpc client and the api. const responseOk = ` OK ` const responseAuthError = ` AUTH_ERROR ` const responseUnknownError = ` UNKNOWN_ERROR ` const responseRPCError = ` faultCode 201 faultString Method signature error: 42 ` const addZoneRecordGoodAuth = ` addZoneRecord apiuser goodpassword example.com _acme-challenge type TXT ttl 123 priority 0 rdata TXTrecord record_id 0 ` const addZoneRecordBadAuth = ` addZoneRecord apiuser badpassword example.com _acme-challenge type TXT ttl 123 priority 0 rdata TXTrecord record_id 0 ` const addZoneRecordNonValidDomain = ` addZoneRecord apiuser goodpassword badexample.com _acme-challenge type TXT ttl 123 priority 0 rdata TXTrecord record_id 0 ` const addZoneRecordEmptyResponse = ` addZoneRecord apiuser goodpassword empty.com _acme-challenge type TXT ttl 123 priority 0 rdata TXTrecord record_id 0 ` const getZoneRecords = ` getZoneRecords apiuser goodpassword example.com _acme-challenge ` const getZoneRecordsResponse = ` rdata LHDhK3oGRvkiefQnx7OOczTY5Tic_xZ6HcMOc_gmtoM record_id 12345678 priority 0 ttl 300 type TXT ` const removeRecordGoodAuth = ` removeZoneRecord apiuser goodpassword example.com _acme-challenge 12345678 ` const removeRecordBadAuth = ` removeZoneRecord apiuser badpassword example.com _acme-challenge 12345678 ` const removeRecordNonValidDomain = ` removeZoneRecord apiuser goodpassword badexample.com _acme-challenge 12345678 ` const removeRecordEmptyResponse = ` removeZoneRecord apiuser goodpassword empty.com _acme-challenge 12345678 ` const removeSubdomainGoodAuth = ` removeSubdomain apiuser goodpassword example.com _acme-challenge ` const removeSubdomainBadAuth = ` removeSubdomain apiuser badpassword example.com _acme-challenge ` const removeSubdomainNonValidDomain = ` removeSubdomain apiuser goodpassword badexample.com _acme-challenge ` const removeSubdomainEmptyResponse = ` removeSubdomain apiuser goodpassword empty.com _acme-challenge `