Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Configuration ¶
type Configuration struct { APIKey string `env:"IONOS_API_KEY,notEmpty"` APIEndpointURL string `env:"IONOS_API_URL"` AuthHeader string `env:"IONOS_AUTH_HEADER"` Debug bool `env:"IONOS_DEBUG" envDefault:"false"` DryRun bool `env:"DRY_RUN" envDefault:"false"` }
Configuration holds configuration from environmental variables
type EndpointCollection ¶ added in v0.4.0
type EndpointCollection struct {
// contains filtered or unexported fields
}
func NewEndpointCollection ¶ added in v0.4.0
func NewEndpointCollection[R any](records []R, creator func(R) *endpoint.Endpoint, identifier func(R) string) *EndpointCollection
func (*EndpointCollection) RetrieveEndPoints ¶ added in v0.4.0
func (epc *EndpointCollection) RetrieveEndPoints() []*endpoint.Endpoint
type RecordCollection ¶ added in v0.4.0
type RecordCollection[R any] struct { // contains filtered or unexported fields }
func NewRecordCollection ¶ added in v0.4.0
type ZoneTree ¶ added in v0.4.0
type ZoneTree[Z any] struct { // contains filtered or unexported fields }
func NewZoneTree ¶ added in v0.4.0
NewZoneTree creates a new ZoneTree.
func (*ZoneTree[Z]) FindZoneByDomainName ¶ added in v0.4.0
FindZoneByDomainName returns the zone that matches the given domain name.
func (*ZoneTree[Z]) GetZonesCount ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.