servicediscovery

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DnsRecord

type DnsRecord struct {
	TTL  int64
	Type string
}

type Namespace

type Namespace struct {
	Id      string
	Name    string
	Private bool
}

type Service

type Service struct {
	Id         string
	DnsRecords []DnsRecord
	Name       string
	Namespace  Namespace
}

type ServiceDiscovery

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

func New

func New(sess *session.Session) ServiceDiscovery

func (*ServiceDiscovery) GetNamespace

func (sd *ServiceDiscovery) GetNamespace(namespaceId string) Namespace

func (*ServiceDiscovery) GetService

func (sd *ServiceDiscovery) GetService(registryArn string) Service

Jump to

Keyboard shortcuts

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