Versions in this module Expand all Collapse all v8 v8.4.0 Aug 22, 2024 v8.3.0 Jul 9, 2024 Changes in this version + var ErrStructValidation = errors.New("struct validation") + type GetZonesDNSSecStatusRequest struct + Zones []string + func (r GetZonesDNSSecStatusRequest) Validate() error + type GetZonesDNSSecStatusResponse struct + DNSSecStatuses []SecStatus type Mock + func (d *Mock) GetZonesDNSSecStatus(ctx context.Context, params GetZonesDNSSecStatusRequest) (*GetZonesDNSSecStatusResponse, error) + type SecRecords struct + DNSKeyRecord string + DSRecord string + ExpectedTTL int64 + LastModifiedDate time.Time + type SecStatus struct + Alerts []string + CurrentRecords SecRecords + NewRecords *SecRecords + Zone string type Zones + GetZonesDNSSecStatus func(context.Context, GetZonesDNSSecStatusRequest) (*GetZonesDNSSecStatusResponse, error) v8.2.0 May 21, 2024 v8.1.0 Apr 11, 2024 v8.0.0 Mar 19, 2024 Changes in this version + var ErrBadRequest = errors.New("missing argument") + var ErrListGroups = errors.New("list groups") + func ValidateZone(zone *ZoneCreate) error + type Authorities interface + GetAuthorities func(context.Context, string) (*AuthorityResponse, error) + GetNameServerRecordList func(context.Context, string) ([]string, error) + 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 Data interface + ListGroups func(context.Context, ListGroupRequest) (*ListGroupResponse, error) + 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 Group struct + ContractIDs []string + GroupID int + GroupName string + Permissions []string + type ListGroupRequest struct + GroupID string + type ListGroupResponse struct + Groups []Group + type ListMetadata struct + ContractIDs []string + Page int + PageSize int + ShowAll bool + TotalElements int + type Metadata 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) 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) ListGroups(ctx context.Context, request ListGroupRequest) (*ListGroupResponse, 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) 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) 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 + type Option func(*dns) + type RecordBody struct + Active bool + Name string + RecordType string + TTL int + Target []string + func (rec *RecordBody) Validate() 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 RecordSetResponse struct + Metadata Metadata + RecordSets []RecordSet + type RecordSets struct + RecordSets []RecordSet + func (rs *RecordSets) Validate() error + type Records interface + CreateRecord func(context.Context, *RecordBody, string, ...bool) error + DeleteRecord func(context.Context, *RecordBody, string, ...bool) error + 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) + ParseRData func(context.Context, string, []string) map[string]interface{} + ProcessRdata func(context.Context, []string, string) []string + UpdateRecord func(context.Context, *RecordBody, string, ...bool) error + type Recordsets interface + CreateRecordSets func(context.Context, *RecordSets, string, ...bool) error + GetRecordSets func(context.Context, string, ...RecordSetQueryArgs) (*RecordSetResponse, error) + UpdateRecordSets func(context.Context, *RecordSets, string, ...bool) 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) + 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 + TSIGKey *TSIGKey + Target string + 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 + TSIGKey *TSIGKey + Target string + 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) + 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) + 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 Other modules containing this package 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/v6 github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 github.com/akamai/AkamaiOPEN-edgegrid-golang/v9