Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToJSONOutput ¶
func ToJSONOutput(resultSet []*awsu.GetRecordAliasesResult, pretty bool) ([]byte, error)
Types ¶
type AWSAuthInput ¶
type AWSAuthInput struct {
AWSProfile string
}
type HostedZoneOutput ¶
type HostedZoneOutput struct { Name string `json:"name"` Id string `json:"id"` WebUrl string `json:"url"` TotalRecords int64 `json:"totalRecords"` Private bool `json:"private"` }
func NewHostedZoneOutput ¶
func NewHostedZoneOutput(a *awsu.GetRecordAliasesResult) HostedZoneOutput
type Input ¶
type RecordOutput ¶
type RecordOutput struct { HzID string `json:"hostedZoneId"` Record string `json:"record"` Type string `json:"type"` Alias string `json:"alias"` WebURL string `json:"url"` Routing RoutingOutput `json:"routing,omitempty"` Resources []string `json:"resources,omitempty"` }
func NewRecordOutput ¶
func NewRecordOutput(a awsu.RecordAccessor) RecordOutput
type ResultOutput ¶
type ResultOutput struct { Records []RecordOutput `json:"records"` HostedZones map[string]HostedZoneOutput `json:"hostedZones"` }
func ToSimpleOutput ¶
func ToSimpleOutput(resultSet []*awsu.GetRecordAliasesResult) *ResultOutput
type RoutingOutput ¶
type RoutingOutput struct { Policy awsu.RoutingPolicy `json:"policy,omitempty"` Differentiator string `json:"differentiator,omitempty"` }
Click to show internal directories.
Click to hide internal directories.