Versions in this module Expand all Collapse all v6 v6.0.0 May 23, 2023 Changes in this version + var ErrBadRequest = errors.New("missing argument") + var ErrStructValidation = errors.New("struct validation") + type Authorities interface + GetAuthorities func(context.Context, string) (*AuthorityResponse, error) + GetNameServerRecordList func(context.Context, string) ([]string, error) + NewAuthorityResponse func(context.Context, string) *AuthorityResponse + type AuthorityResponse struct + Contracts []Contract + type BulkCreateResultResponse struct + FailedZones []*BulkFailedZone + RequestId string + SuccessfullyCreatedZones []string + type BulkDeleteResultResponse struct + FailedZones []*BulkFailedZone + RequestId string + SuccessfullyDeletedZones []string + type BulkFailedZone struct + FailureReason string + Zone string + type BulkStatusResponse struct + ExpirationDate string + FailureCount int + IsComplete bool + RequestId string + SuccessCount int + ZonesSubmitted int + type BulkZonesCreate struct + Zones []*ZoneCreate + type BulkZonesResponse struct + ExpirationDate string + RequestId string + type ChangeListResponse struct + ChangeTag string + LastModifiedDate string + Stale bool + Zone string + ZoneVersionID string + type ClientFunc func(sess session.Session, opts ...Option) DNS + type Contract struct + Authorities []string + ContractID string + type DNS interface + func Client(sess session.Session, opts ...Option) DNS + type Error struct + BehaviorName string + Detail string + ErrorLocation string + Instance string + StatusCode int + Title string + Type string + func (e *Error) Error() string + func (e *Error) Is(target error) bool + type ListMetadata struct + ContractIDs []string + Page int + PageSize int + ShowAll bool + TotalElements int + type MetadataH struct + LastPage int + Page int + PageSize int + ShowAll bool + TotalElements int + type Mock struct + func (d *Mock) CreateBulkZones(ctx context.Context, param *BulkZonesCreate, param2 ZoneQueryString) (*BulkZonesResponse, error) + func (d *Mock) CreateRecord(ctx context.Context, param *RecordBody, param2 string, param3 ...bool) error + func (d *Mock) CreateRecordsets(ctx context.Context, param *Recordsets, param2 string, param3 ...bool) error + func (d *Mock) CreateZone(ctx context.Context, param1 *ZoneCreate, param2 ZoneQueryString, ...) error + func (d *Mock) DeleteBulkZones(ctx context.Context, param *ZoneNameListResponse, param2 ...bool) (*BulkZonesResponse, error) + func (d *Mock) DeleteRecord(ctx context.Context, param *RecordBody, param2 string, param3 ...bool) error + func (d *Mock) DeleteTsigKey(ctx context.Context, param1 string) error + func (d *Mock) DeleteZone(ctx context.Context, param1 *ZoneCreate, param2 ZoneQueryString) error + func (d *Mock) FullIPv6(ctx context.Context, param1 net.IP) string + func (d *Mock) GetAuthorities(ctx context.Context, param string) (*AuthorityResponse, error) + func (d *Mock) GetBulkZoneCreateResult(ctx context.Context, param string) (*BulkCreateResultResponse, error) + func (d *Mock) GetBulkZoneCreateStatus(ctx context.Context, param string) (*BulkStatusResponse, error) + func (d *Mock) GetBulkZoneDeleteResult(ctx context.Context, param string) (*BulkDeleteResultResponse, error) + func (d *Mock) GetBulkZoneDeleteStatus(ctx context.Context, param string) (*BulkStatusResponse, error) + func (d *Mock) GetChangeList(ctx context.Context, param string) (*ChangeListResponse, error) + func (d *Mock) GetMasterZoneFile(ctx context.Context, param string) (string, error) + func (d *Mock) GetNameServerRecordList(ctx context.Context, param string) ([]string, error) + func (d *Mock) GetRdata(ctx context.Context, param string, param2 string, param3 string) ([]string, error) + func (d *Mock) GetRecord(ctx context.Context, param string, param2 string, param3 string) (*RecordBody, error) + func (d *Mock) GetRecordList(ctx context.Context, param string, param2 string, param3 string) (*RecordSetResponse, error) + func (d *Mock) GetRecordsets(ctx context.Context, param string, param2 ...RecordsetQueryArgs) (*RecordSetResponse, error) + func (d *Mock) GetTsigKey(ctx context.Context, param string) (*TSIGKeyResponse, error) + func (d *Mock) GetTsigKeyAliases(ctx context.Context, param string) (*ZoneNameListResponse, error) + func (d *Mock) GetTsigKeyZones(ctx context.Context, param *TSIGKey) (*ZoneNameListResponse, error) + func (d *Mock) GetZone(ctx context.Context, name string) (*ZoneResponse, error) + func (d *Mock) GetZoneNameTypes(ctx context.Context, param1 string, param2 string) (*ZoneNameTypesResponse, error) + func (d *Mock) GetZoneNames(ctx context.Context, param string) (*ZoneNamesResponse, error) + func (d *Mock) ListTsigKeys(ctx context.Context, param *TSIGQueryString) (*TSIGReportResponse, error) + func (d *Mock) ListZones(ctx context.Context, query ...ZoneListQueryArgs) (*ZoneListResponse, error) + func (d *Mock) NewAuthorityResponse(ctx context.Context, param string) *AuthorityResponse + func (d *Mock) NewChangeListResponse(ctx context.Context, param string) *ChangeListResponse + func (d *Mock) NewRecordBody(ctx context.Context, param RecordBody) *RecordBody + func (d *Mock) NewRecordSetResponse(ctx context.Context, param string) *RecordSetResponse + func (d *Mock) NewTsigKey(ctx context.Context, param string) *TSIGKey + func (d *Mock) NewTsigQueryString(ctx context.Context) *TSIGQueryString + func (d *Mock) NewZone(ctx context.Context, params ZoneCreate) *ZoneCreate + func (d *Mock) NewZoneQueryString(ctx context.Context, param1 string, _ string) *ZoneQueryString + func (d *Mock) NewZoneResponse(ctx context.Context, param string) *ZoneResponse + func (d *Mock) PadCoordinates(ctx context.Context, param1 string) string + func (d *Mock) ParseRData(ctx context.Context, param string, param2 []string) map[string]interface{} + func (d *Mock) PostMasterZoneFile(ctx context.Context, param string, param2 string) error + func (d *Mock) ProcessRdata(ctx context.Context, param []string, param2 string) []string + func (d *Mock) RecordToMap(ctx context.Context, param *RecordBody) map[string]interface{} + func (d *Mock) SaveChangelist(ctx context.Context, param *ZoneCreate) error + func (d *Mock) SubmitChangelist(ctx context.Context, param *ZoneCreate) error + func (d *Mock) TsigKeyBulkUpdate(ctx context.Context, param1 *TSIGKeyBulkPost) error + func (d *Mock) UpdateRecord(ctx context.Context, param *RecordBody, param2 string, param3 ...bool) error + func (d *Mock) UpdateRecordsets(ctx context.Context, param *Recordsets, param2 string, param3 ...bool) error + func (d *Mock) UpdateTsigKey(ctx context.Context, param1 *TSIGKey, param2 string) error + func (d *Mock) UpdateZone(ctx context.Context, param1 *ZoneCreate, param2 ZoneQueryString) error + func (d *Mock) ValidateZone(ctx context.Context, param1 *ZoneCreate) error + type Option func(*dns) + type RecordBody struct + Active bool + Name string + RecordType string + TTL int + Target []string + func (rec *RecordBody) Validate() error + type RecordSetResponse struct + Metadata MetadataH + Recordsets []Recordset + type RecordSets interface + CreateRecordsets func(context.Context, *Recordsets, string, ...bool) error + GetRecordsets func(context.Context, string, ...RecordsetQueryArgs) (*RecordSetResponse, error) + NewRecordSetResponse func(context.Context, string) *RecordSetResponse + UpdateRecordsets func(context.Context, *Recordsets, string, ...bool) error + type Records interface + CreateRecord func(context.Context, *RecordBody, string, ...bool) error + DeleteRecord func(context.Context, *RecordBody, string, ...bool) error + FullIPv6 func(context.Context, net.IP) string + GetRdata func(context.Context, string, string, string) ([]string, error) + GetRecord func(context.Context, string, string, string) (*RecordBody, error) + GetRecordList func(context.Context, string, string, string) (*RecordSetResponse, error) + NewRecordBody func(context.Context, RecordBody) *RecordBody + PadCoordinates func(context.Context, string) string + ParseRData func(context.Context, string, []string) map[string]interface{} + ProcessRdata func(context.Context, []string, string) []string + RecordToMap func(context.Context, *RecordBody) map[string]interface{} + UpdateRecord func(context.Context, *RecordBody, string, ...bool) error + type Recordset struct + Name string + Rdata []string + TTL int + Type string + type RecordsetQueryArgs struct + Page int + PageSize int + Search string + ShowAll bool + SortBy string + Types string + type Recordsets struct + Recordsets []Recordset + func (rs *Recordsets) Validate() error + type TSIGKey struct + Algorithm string + Name string + Secret string + func (key *TSIGKey) Validate() error + type TSIGKeyBulkPost struct + Key *TSIGKey + Zones []string + func (bulk *TSIGKeyBulkPost) Validate() error + type TSIGKeyResponse struct + ZoneCount int64 + type TSIGKeys interface + DeleteTsigKey func(context.Context, string) error + GetTsigKey func(context.Context, string) (*TSIGKeyResponse, error) + GetTsigKeyAliases func(context.Context, string) (*ZoneNameListResponse, error) + GetTsigKeyZones func(context.Context, *TSIGKey) (*ZoneNameListResponse, error) + ListTsigKeys func(context.Context, *TSIGQueryString) (*TSIGReportResponse, error) + NewTsigKey func(context.Context, string) *TSIGKey + NewTsigQueryString func(context.Context) *TSIGQueryString + TsigKeyBulkUpdate func(context.Context, *TSIGKeyBulkPost) error + UpdateTsigKey func(context.Context, *TSIGKey, string) error + type TSIGQueryString struct + ContractIds []string + Gid int64 + Search string + SortBy []string + type TSIGReportMeta struct + Contracts []string + Gid int64 + Search string + SortBy []string + TotalElements int64 + type TSIGReportResponse struct + Keys []*TSIGKeyResponse + Metadata *TSIGReportMeta + type TSIGZoneAliases struct + Aliases []string + type ZoneCreate struct + Comment string + ContractID string + EndCustomerID string + Masters []string + SignAndServe bool + SignAndServeAlgorithm string + Target string + TsigKey *TSIGKey + Type string + Zone string + type ZoneListQueryArgs struct + ContractIDs string + Page int + PageSize int + Search string + ShowAll bool + SortBy string + Types string + type ZoneListResponse struct + Metadata *ListMetadata + Zones []*ZoneResponse + type ZoneNameListResponse struct + Aliases []string + Zones []string + type ZoneNameTypesResponse struct + Types []string + type ZoneNamesResponse struct + Names []string + type ZoneQueryString struct + Contract string + Group string + type ZoneResponse struct + ActivationState string + AliasCount int64 + Comment string + ContractID string + EndCustomerID string + LastActivationDate string + LastModifiedBy string + LastModifiedDate string + Masters []string + SignAndServe bool + SignAndServeAlgorithm string + Target string + TsigKey *TSIGKey + Type string + VersionId string + Zone string + type Zones interface + CreateBulkZones func(context.Context, *BulkZonesCreate, ZoneQueryString) (*BulkZonesResponse, error) + CreateZone func(context.Context, *ZoneCreate, ZoneQueryString, ...bool) error + DeleteBulkZones func(context.Context, *ZoneNameListResponse, ...bool) (*BulkZonesResponse, error) + DeleteZone func(context.Context, *ZoneCreate, ZoneQueryString) error + GetBulkZoneCreateResult func(ctx context.Context, requestid string) (*BulkCreateResultResponse, error) + GetBulkZoneCreateStatus func(context.Context, string) (*BulkStatusResponse, error) + GetBulkZoneDeleteResult func(context.Context, string) (*BulkDeleteResultResponse, error) + GetBulkZoneDeleteStatus func(context.Context, string) (*BulkStatusResponse, error) + GetChangeList func(context.Context, string) (*ChangeListResponse, error) + GetMasterZoneFile func(context.Context, string) (string, error) + GetZone func(context.Context, string) (*ZoneResponse, error) + GetZoneNameTypes func(context.Context, string, string) (*ZoneNameTypesResponse, error) + GetZoneNames func(context.Context, string) (*ZoneNamesResponse, error) + ListZones func(context.Context, ...ZoneListQueryArgs) (*ZoneListResponse, error) + NewChangeListResponse func(context.Context, string) *ChangeListResponse + NewZone func(context.Context, ZoneCreate) *ZoneCreate + NewZoneQueryString func(context.Context, string, string) *ZoneQueryString + NewZoneResponse func(context.Context, string) *ZoneResponse + PostMasterZoneFile func(context.Context, string, string) error + SaveChangelist func(context.Context, *ZoneCreate) error + SubmitChangelist func(context.Context, *ZoneCreate) error + UpdateZone func(context.Context, *ZoneCreate, ZoneQueryString) error + ValidateZone func(context.Context, *ZoneCreate) error Other modules containing this package github.com/akamai/AkamaiOPEN-edgegrid-golang/v10 github.com/akamai/AkamaiOPEN-edgegrid-golang/v3 github.com/akamai/AkamaiOPEN-edgegrid-golang/v4 github.com/akamai/AkamaiOPEN-edgegrid-golang/v5 github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 github.com/akamai/AkamaiOPEN-edgegrid-golang/v8 github.com/akamai/AkamaiOPEN-edgegrid-golang/v9