Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRRSetNotFound = fmt.Errorf("rrset not found") ErrEmptyRRSet = fmt.Errorf("empty rrset") )
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.RecordSet, error) CreateRRSet(ctx context.Context, rrSet stackitdnsclient.RecordSet) error UpdateRRSet(ctx context.Context, rrSet stackitdnsclient.RecordSet) error DeleteRRSet(ctx context.Context, rrSetId string) error }
type RRSetRepositoryFactory ¶
type RRSetRepositoryFactory interface {
NewRRSetRepository(config Config, zoneId string) (RRSetRepository, error)
}
func NewRRSetRepositoryFactory ¶
func NewRRSetRepositoryFactory() RRSetRepositoryFactory
type ZoneRepository ¶
type ZoneRepositoryFactory ¶
type ZoneRepositoryFactory interface {
NewZoneRepository(config Config) (ZoneRepository, error)
}
func NewZoneRepositoryFactory ¶
func NewZoneRepositoryFactory() ZoneRepositoryFactory
Click to show internal directories.
Click to hide internal directories.