Documentation
¶
Index ¶
- type EfficientIPAPI
- func (e *EfficientIPAPI) RecordAdd(rr *endpoint.Endpoint) error
- func (e *EfficientIPAPI) RecordDelete(rr *endpoint.Endpoint) error
- func (e *EfficientIPAPI) RecordList(zone ZoneAuth) (endpoints []*endpoint.Endpoint, _ error)
- func (e *EfficientIPAPI) ZonesList(config *EfficientIPConfig) ([]*ZoneAuth, error)
- type EfficientIPConfig
- type EfficientipClient
- type Provider
- func (p *Provider) AdjustEndpoints(endpoints []*endpoint.Endpoint) ([]*endpoint.Endpoint, error)
- func (p *Provider) ApplyChanges(ctx context.Context, changes *plan.Changes) error
- func (p *Provider) CreateChanges(_ context.Context, changes *endpoint.Endpoint) error
- func (p *Provider) DeleteChanges(_ context.Context, changes *endpoint.Endpoint) error
- func (p *Provider) Records(ctx context.Context) (endpoints []*endpoint.Endpoint, err error)
- func (p *Provider) Zones() ([]*ZoneAuth, error)
- type ZoneAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EfficientIPAPI ¶
type EfficientIPAPI struct {
// contains filtered or unexported fields
}
func NewEfficientipAPI ¶
func NewEfficientipAPI(ctx context.Context, config *eip.Configuration) EfficientIPAPI
func (*EfficientIPAPI) RecordDelete ¶
func (e *EfficientIPAPI) RecordDelete(rr *endpoint.Endpoint) error
func (*EfficientIPAPI) RecordList ¶
func (e *EfficientIPAPI) RecordList(zone ZoneAuth) (endpoints []*endpoint.Endpoint, _ error)
func (*EfficientIPAPI) ZonesList ¶
func (e *EfficientIPAPI) ZonesList(config *EfficientIPConfig) ([]*ZoneAuth, error)
type EfficientIPConfig ¶
type EfficientIPConfig struct { Host string `env:"EIP_HOST,required" envDefault:"localhost"` Port int `env:"EIP_PORT,required" envDefault:"443"` Username string `env:"EIP_USER,required"` Password string `env:"EIP_PASSWORD,required"` DnsSmart string `env:"EIP_SMART,required"` DnsView string `env:"EIP_VIEW" envDefault:""` SSLVerify bool `env:"EIP_SSL_VERIFY" envDefault:"true"` DryRun bool `env:"EIP_DRY_RUN" envDefault:"false"` MaxResults int `env:"EIP_MAX_RESULTS" envDefault:"1500"` CreatePTR bool `env:"EIP_CREATE_PTR" envDefault:"false"` DefaultTTL int `env:"EIP_DEFAULT_TTL" envDefault:"300"` FQDNRegEx string NameRegEx string }
type EfficientipClient ¶
type Provider ¶
type Provider struct { provider.BaseProvider // contains filtered or unexported fields }
func NewEfficientIPProvider ¶
func NewEfficientIPProvider(config *EfficientIPConfig, domainFilter endpoint.DomainFilter) (*Provider, error)
Creates a new EfficientIP provider.
func (*Provider) AdjustEndpoints ¶
func (*Provider) ApplyChanges ¶
ApplyChanges applies the given changes.
func (*Provider) CreateChanges ¶
func (*Provider) DeleteChanges ¶
type ZoneAuth ¶
func NewZoneAuth ¶
func NewZoneAuth(zone eip.DnsZoneDataData) *ZoneAuth
Click to show internal directories.
Click to hide internal directories.