metadata

package
v0.0.0-...-a9fa796 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2017 License: MIT Imports: 4 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 {
	MetadataClient  metadata.Client
	EnvironmentName string
	CronLabelName   string
}

Client is a Struct that holds all metadata-specific data

func NewClient

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

NewClient creates a new metadata client

func (*Client) GetContainersFromService

func (m *Client) GetContainersFromService(service metadata.Service) ([]string, error)

GetContainersFromService returns an array of UUIDs for the containers within a service

func (*Client) GetServices

func (m *Client) GetServices() ([]metadata.Service, error)

GetServices returns the services from the metadata client

func (*Client) GetVersion

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

GetVersion grabs the version of metadata client we're using

Jump to

Keyboard shortcuts

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