metadata

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2017 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPFinderFromMetadata

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

IPFinderFromMetadata is used to hold information related to Metadata client and other stuff.

func NewIPFinderFromMetadata

func NewIPFinderFromMetadata() (*IPFinderFromMetadata, error)

NewIPFinderFromMetadata returns a new instance of the IPFinderFromMetadata

func (*IPFinderFromMetadata) GetIP

func (ipf *IPFinderFromMetadata) GetIP(cid, rancherid string) string

GetIP returns the IP address for the given container id, return an empty string if not found

Jump to

Keyboard shortcuts

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