Documentation
¶
Index ¶
- type Provider
- type RecordSet
- type Route53
- func (r Route53) ChangeRecordSet(action, recordSetName, recordSetValue string) (string, error)
- func (r Route53) CreateRecordSet(recordSetName, recordSetValue string) (string, error)
- func (r Route53) DeleteRecordSet(recordSetName, recordSetValue string) (string, error)
- func (r Route53) GetDomainName() (string, error)
- func (r Route53) GetRecordSet(recordSetName string) (string, error)
- func (r Route53) UpdateRecordSet(recordSetName, recordSetValue string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { CreateRecordSet(recordSetName, recordSetValue string) (string, error) UpdateRecordSet(recordSetName, recordSetValue string) (string, error) DeleteRecordSet(recordSetName, recordSetValue string) (string, error) GetRecordSet(recordSetName string) (string, error) GetDomainName() (string, error) }
type Route53 ¶
type Route53 struct { RecordSet RecordSet HostedZoneID string SVC route53iface.Route53API DeafultEnvVars bool }
Route53 represnets a Route53 client
func (Route53) ChangeRecordSet ¶
ChangeRecordSet change record set according to the specified action
func (Route53) CreateRecordSet ¶
CreateRecordSet creates a record set
func (Route53) DeleteRecordSet ¶
DeleteRecordSet deletes a record set
func (Route53) GetDomainName ¶
GetDomainName returns domain name of the associated hosted zone
func (Route53) GetRecordSet ¶
GetRecordSet returns a record set according to the specified name
Click to show internal directories.
Click to hide internal directories.