metadata

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Client          metadata.Client
	EnvironmentName string
	EnvironmentUUID string
}

func NewClient

func NewClient(metadataURL string) (*Client, error)

func (*Client) GetCerts

func (m *Client) GetCerts() (certs map[string]string, err error)

func (*Client) GetVersion

func (m *Client) GetVersion() (string, error)

func (*Client) Services

func (m *Client) Services(self bool) (services []Service, err error)

type Service

type Service struct {
	Name            string
	StackName       string
	EnvironmentName string
	EnvironmentUUID string
	HostName        string
	IP              string
	Port            int
}

Jump to

Keyboard shortcuts

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