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
Click to show internal directories.
Click to hide internal directories.