dns

package
v0.6.0-rc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDomainFailErrMocked

func CreateDomainFailErrMocked(t *testing.T, domainIn *types.Domain) *types.Domain

CreateDomainFailErrMocked test mocked function

func CreateDomainFailJSONMocked

func CreateDomainFailJSONMocked(t *testing.T, domainIn *types.Domain) *types.Domain

CreateDomainFailJSONMocked test mocked function

func CreateDomainFailStatusMocked

func CreateDomainFailStatusMocked(t *testing.T, domainIn *types.Domain) *types.Domain

CreateDomainFailStatusMocked test mocked function

func CreateDomainMocked

func CreateDomainMocked(t *testing.T, domainIn *types.Domain) *types.Domain

CreateDomainMocked test mocked function

func CreateDomainRecordFailErrMocked

func CreateDomainRecordFailErrMocked(t *testing.T, domainRecordIn *types.DomainRecord) *types.DomainRecord

CreateDomainRecordFailErrMocked test mocked function

func CreateDomainRecordFailJSONMocked

func CreateDomainRecordFailJSONMocked(t *testing.T, domainRecordIn *types.DomainRecord) *types.DomainRecord

CreateDomainRecordFailJSONMocked test mocked function

func CreateDomainRecordFailStatusMocked

func CreateDomainRecordFailStatusMocked(t *testing.T, domainRecordIn *types.DomainRecord) *types.DomainRecord

CreateDomainRecordFailStatusMocked test mocked function

func CreateDomainRecordMocked

func CreateDomainRecordMocked(t *testing.T, dr *types.DomainRecord) *types.DomainRecord

CreateDomainRecordMocked test mocked function

func DeleteDomainFailErrMocked

func DeleteDomainFailErrMocked(t *testing.T, domainIn *types.Domain)

DeleteDomainFailErrMocked test mocked function

func DeleteDomainFailStatusMocked

func DeleteDomainFailStatusMocked(t *testing.T, domainIn *types.Domain)

DeleteDomainFailStatusMocked test mocked function

func DeleteDomainMocked

func DeleteDomainMocked(t *testing.T, domainIn *types.Domain)

DeleteDomainMocked test mocked function

func DeleteDomainRecordFailErrMocked

func DeleteDomainRecordFailErrMocked(t *testing.T, domainRecordIn *types.DomainRecord)

DeleteDomainRecordFailErrMocked test mocked function

func DeleteDomainRecordFailStatusMocked

func DeleteDomainRecordFailStatusMocked(t *testing.T, domainRecordIn *types.DomainRecord)

DeleteDomainRecordFailStatusMocked test mocked function

func DeleteDomainRecordMocked

func DeleteDomainRecordMocked(t *testing.T, dr *types.DomainRecord)

DeleteDomainRecordMocked test mocked function

func GetDomainFailErrMocked

func GetDomainFailErrMocked(t *testing.T, domain *types.Domain) *types.Domain

GetDomainFailErrMocked test mocked function

func GetDomainFailJSONMocked

func GetDomainFailJSONMocked(t *testing.T, domain *types.Domain) *types.Domain

GetDomainFailJSONMocked test mocked function

func GetDomainFailStatusMocked

func GetDomainFailStatusMocked(t *testing.T, domain *types.Domain) *types.Domain

GetDomainFailStatusMocked test mocked function

func GetDomainListFailErrMocked

func GetDomainListFailErrMocked(t *testing.T, domainsIn *[]types.Domain) *[]types.Domain

GetDomainListFailErrMocked test mocked function

func GetDomainListFailJSONMocked

func GetDomainListFailJSONMocked(t *testing.T, domainsIn *[]types.Domain) *[]types.Domain

GetDomainListFailJSONMocked test mocked function

func GetDomainListFailStatusMocked

func GetDomainListFailStatusMocked(t *testing.T, domainsIn *[]types.Domain) *[]types.Domain

GetDomainListFailStatusMocked test mocked function

func GetDomainListMocked

func GetDomainListMocked(t *testing.T, domainsIn *[]types.Domain) *[]types.Domain

GetDomainListMocked test mocked function

func GetDomainMocked

func GetDomainMocked(t *testing.T, domain *types.Domain) *types.Domain

GetDomainMocked test mocked function

func GetDomainRecordFailErrMocked

func GetDomainRecordFailErrMocked(t *testing.T, domainRecord *types.DomainRecord) *types.DomainRecord

GetDomainRecordFailErrMocked test mocked function

func GetDomainRecordFailJSONMocked

func GetDomainRecordFailJSONMocked(t *testing.T, domainRecord *types.DomainRecord) *types.DomainRecord

GetDomainRecordFailJSONMocked test mocked function

func GetDomainRecordFailStatusMocked

func GetDomainRecordFailStatusMocked(t *testing.T, domainRecord *types.DomainRecord) *types.DomainRecord

GetDomainRecordFailStatusMocked test mocked function

func GetDomainRecordListFailErrMocked

func GetDomainRecordListFailErrMocked(t *testing.T, domainRecordsIn *[]types.DomainRecord, domainID string) *[]types.DomainRecord

GetDomainRecordListFailErrMocked test mocked function

func GetDomainRecordListFailJSONMocked

func GetDomainRecordListFailJSONMocked(t *testing.T, domainRecordsIn *[]types.DomainRecord, domainID string) *[]types.DomainRecord

GetDomainRecordListFailJSONMocked test mocked function

func GetDomainRecordListFailStatusMocked

func GetDomainRecordListFailStatusMocked(t *testing.T, domainRecordsIn *[]types.DomainRecord, domainID string) *[]types.DomainRecord

GetDomainRecordListFailStatusMocked test mocked function

func GetDomainRecordListMocked

func GetDomainRecordListMocked(t *testing.T, domainRecordsIn *[]types.DomainRecord, domainID string) *[]types.DomainRecord

GetDomainRecordListMocked test mocked function

func GetDomainRecordMocked

func GetDomainRecordMocked(t *testing.T, dr *types.DomainRecord) *types.DomainRecord

GetDomainRecordMocked test mocked function

func UpdateDomainFailErrMocked

func UpdateDomainFailErrMocked(t *testing.T, domainIn *types.Domain) *types.Domain

UpdateDomainFailErrMocked test mocked function

func UpdateDomainFailJSONMocked

func UpdateDomainFailJSONMocked(t *testing.T, domainIn *types.Domain) *types.Domain

UpdateDomainFailJSONMocked test mocked function

func UpdateDomainFailStatusMocked

func UpdateDomainFailStatusMocked(t *testing.T, domainIn *types.Domain) *types.Domain

UpdateDomainFailStatusMocked test mocked function

func UpdateDomainMocked

func UpdateDomainMocked(t *testing.T, domainIn *types.Domain) *types.Domain

UpdateDomainMocked test mocked function

func UpdateDomainRecordFailErrMocked

func UpdateDomainRecordFailErrMocked(t *testing.T, domainRecordIn *types.DomainRecord) *types.DomainRecord

UpdateDomainRecordFailErrMocked test mocked function

func UpdateDomainRecordFailJSONMocked

func UpdateDomainRecordFailJSONMocked(t *testing.T, domainRecordIn *types.DomainRecord) *types.DomainRecord

UpdateDomainRecordFailJSONMocked test mocked function

func UpdateDomainRecordFailStatusMocked

func UpdateDomainRecordFailStatusMocked(t *testing.T, domainRecordIn *types.DomainRecord) *types.DomainRecord

UpdateDomainRecordFailStatusMocked test mocked function

func UpdateDomainRecordMocked

func UpdateDomainRecordMocked(t *testing.T, dr *types.DomainRecord) *types.DomainRecord

UpdateDomainRecordMocked test mocked function

Types

type DomainService

type DomainService struct {
	// contains filtered or unexported fields
}

DomainService manages domain operations

func NewDomainService

func NewDomainService(concertoService utils.ConcertoService) (*DomainService, error)

NewDomainService returns a Concerto domain service

func (*DomainService) CreateDomain

func (dm *DomainService) CreateDomain(domainVector *map[string]interface{}) (domain *types.Domain, err error)

CreateDomain creates a domain

func (*DomainService) CreateDomainRecord

func (dm *DomainService) CreateDomainRecord(domainRecordVector *map[string]interface{}, domID string) (domainRecord *types.DomainRecord, err error)

CreateDomainRecord returns a list of domainRecord

func (*DomainService) DeleteDomain

func (dm *DomainService) DeleteDomain(ID string) (err error)

DeleteDomain deletes a domain by its ID

func (*DomainService) DeleteDomainRecord

func (dm *DomainService) DeleteDomainRecord(domID string, ID string) (err error)

DeleteDomainRecord deletes a domain record

func (*DomainService) GetDomain

func (dm *DomainService) GetDomain(ID string) (domain *types.Domain, err error)

GetDomain returns a domain by its ID

func (*DomainService) GetDomainList

func (dm *DomainService) GetDomainList() (domains []types.Domain, err error)

GetDomainList returns the list of domains as an array of Domain

func (*DomainService) GetDomainRecord

func (dm *DomainService) GetDomainRecord(domID string, ID string) (domainRecord *types.DomainRecord, err error)

GetDomainRecord returns a domainRecord

func (*DomainService) GetDomainRecordList

func (dm *DomainService) GetDomainRecordList(domainID string) (domainRecord *[]types.DomainRecord, err error)

GetDomainRecordList returns a list of domainRecord by domain ID

func (*DomainService) UpdateDomain

func (dm *DomainService) UpdateDomain(domainVector *map[string]interface{}, ID string) (domain *types.Domain, err error)

UpdateDomain updates a domain by its ID

func (*DomainService) UpdateDomainRecord

func (dm *DomainService) UpdateDomainRecord(domainRecordVector *map[string]interface{}, domID string, ID string) (domainRecord *types.DomainRecord, err error)

UpdateDomainRecord returns a list of domainRecord

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL