aws

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultServicePort = "http"
)

Variables

View Source
var (
	UnableToGetServiceIpError = func(err error) error {
		return errors.Wrapf(err, "unable to get service ip")
	}

	UnableToCreateDnsMappingError = func(err error) error {
		return errors.Wrapf(err, "unable to create dns mapping")
	}
)

Functions

This section is empty.

Types

type DnsEntry

type DnsEntry struct {
	Domain string `json:"domain" valet:"key=Domain"`
	// This is "HostedZone" in AWS / Route53 DNS
	HostedZone string           `json:"hostedZone" valet:"key=HostedZone"`
	Service    check.ServiceRef `json:"service"`
}

func (*DnsEntry) GetDescription

func (d *DnsEntry) GetDescription(ctx *api.WorkflowContext, values render.Values) (string, error)

func (*DnsEntry) GetDocs

func (d *DnsEntry) GetDocs(ctx *api.WorkflowContext, values render.Values, flags render.Flags) (string, error)

func (*DnsEntry) Run

func (d *DnsEntry) Run(ctx *api.WorkflowContext, values render.Values) error

Jump to

Keyboard shortcuts

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