route53

package
v1.7.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

route53 is the implementation of pkg/dnsprovider interface for AWS Route53

Index

Constants

View Source
const (
	ProviderName = "aws-route53"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface struct {
	// contains filtered or unexported fields
}

func New added in v1.6.0

func New(service stubs.Route53API) *Interface

New builds an Interface, with a specified Route53API implementation. This is useful for testing purposes, but also if we want an instance with with custom AWS options.

func (Interface) Zones

func (i Interface) Zones() (zones dnsprovider.Zones, supported bool)

type ResourceRecordChangeset added in v1.4.2

type ResourceRecordChangeset struct {
	// contains filtered or unexported fields
}

func (*ResourceRecordChangeset) Add added in v1.4.2

func (*ResourceRecordChangeset) Apply added in v1.4.2

func (c *ResourceRecordChangeset) Apply() error

func (*ResourceRecordChangeset) IsEmpty added in v1.6.0

func (c *ResourceRecordChangeset) IsEmpty() bool

func (*ResourceRecordChangeset) Remove added in v1.4.2

func (*ResourceRecordChangeset) ResourceRecordSets added in v1.6.0

func (c *ResourceRecordChangeset) ResourceRecordSets() dnsprovider.ResourceRecordSets

ResourceRecordSets returns the parent ResourceRecordSets

func (*ResourceRecordChangeset) Upsert added in v1.6.0

type ResourceRecordSet

type ResourceRecordSet struct {
	// contains filtered or unexported fields
}

func (ResourceRecordSet) Name

func (rrset ResourceRecordSet) Name() string

func (ResourceRecordSet) Route53ResourceRecordSet added in v1.6.0

func (rrset ResourceRecordSet) Route53ResourceRecordSet() *route53.ResourceRecordSet

Route53ResourceRecordSet returns the route53 ResourceRecordSet object for the ResourceRecordSet This is a "back door" that allows for limited access to the ResourceRecordSet, without having to requery it, so that we can expose AWS specific functionality. Using this method should be avoided where possible; instead prefer to add functionality to the cross-provider ResourceRecordSet interface.

func (ResourceRecordSet) Rrdatas

func (rrset ResourceRecordSet) Rrdatas() []string

func (ResourceRecordSet) Ttl

func (rrset ResourceRecordSet) Ttl() int64

func (ResourceRecordSet) Type

func (rrset ResourceRecordSet) Type() rrstype.RrsType

type ResourceRecordSets

type ResourceRecordSets struct {
	// contains filtered or unexported fields
}

func (ResourceRecordSets) Get added in v1.6.0

func (ResourceRecordSets) List

func (ResourceRecordSets) New

func (r ResourceRecordSets) New(name string, rrdatas []string, ttl int64, rrstype rrstype.RrsType) dnsprovider.ResourceRecordSet

func (ResourceRecordSets) StartChangeset added in v1.4.2

func (ResourceRecordSets) Zone added in v1.6.0

func (rrset ResourceRecordSets) Zone() dnsprovider.Zone

Zone returns the parent zone

type Zone

type Zone struct {
	// contains filtered or unexported fields
}

func (*Zone) ID added in v1.5.1

func (zone *Zone) ID() string

func (*Zone) Name

func (zone *Zone) Name() string

func (*Zone) ResourceRecordSets

func (zone *Zone) ResourceRecordSets() (dnsprovider.ResourceRecordSets, bool)

func (*Zone) Route53HostedZone added in v1.6.0

func (zone *Zone) Route53HostedZone() *route53.HostedZone

Route53HostedZone returns the route53 HostedZone object for the zone. This is a "back door" that allows for limited access to the HostedZone, without having to requery it, so that we can expose AWS specific functionality. Using this method should be avoided where possible; instead prefer to add functionality to the cross-provider Zone interface.

type Zones

type Zones struct {
	// contains filtered or unexported fields
}

func (Zones) Add

func (zones Zones) Add(zone dnsprovider.Zone) (dnsprovider.Zone, error)

func (Zones) List

func (zones Zones) List() ([]dnsprovider.Zone, error)

func (Zones) New

func (zones Zones) New(name string) (dnsprovider.Zone, error)

func (Zones) Remove

func (zones Zones) Remove(zone dnsprovider.Zone) error

Directories

Path Synopsis
internal implements a stub for the AWS Route53 API, used primarily for unit testing purposes
internal implements a stub for the AWS Route53 API, used primarily for unit testing purposes

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL