Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRRSetNotFound = fmt.Errorf("rrset not found")
View Source
var ErrZoneNotFound = fmt.Errorf("zone not found")
Functions ¶
This section is empty.
Types ¶
type RRSetRepository ¶
type RRSetRepository interface { FetchRRSetForZone(ctx context.Context, rrSetName string, rrSetType string) (*stackitdnsclient.DomainRrSet, error) CreateRRSet(ctx context.Context, rrSet stackitdnsclient.RrsetRrSetPost) error UpdateRRSet(ctx context.Context, rrSet stackitdnsclient.DomainRrSet) error DeleteRRSet(ctx context.Context, rrSetId string) error }
type RRSetRepositoryFactory ¶
type RRSetRepositoryFactory interface {
NewRRSetRepository(config Config, zoneId string) RRSetRepository
}
func NewRRSetRepositoryFactory ¶
func NewRRSetRepositoryFactory() RRSetRepositoryFactory
type ZoneRepository ¶
type ZoneRepository interface {
FetchZone(ctx context.Context, zoneDnsName string) (*stackitdnsclient.DomainZone, error)
}
type ZoneRepositoryFactory ¶
type ZoneRepositoryFactory interface {
NewZoneRepository(config Config) ZoneRepository
}
func NewZoneRepositoryFactory ¶
func NewZoneRepositoryFactory() ZoneRepositoryFactory
Click to show internal directories.
Click to hide internal directories.