package upid

import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/mesos/mesos-go/upid"

Package upid defines the UPID type and some utilities of the UPID.

Index

Types

type UPID

type UPID struct {
	ID   string
	Host string
	Port string
}

UPID is a equivalent of the UPID in libprocess.

func Parse

func Parse(input string) (*UPID, error)

Parse parses the UPID from the input string.

func (*UPID) Equal

func (u *UPID) Equal(upid *UPID) bool

Equal returns true if two upid is equal

func (*UPID) String

func (u *UPID) String() string

String returns the string representation.

Source Files

doc.go upid.go

Version
v0.19.0
Published
Jun 10, 2015
Platform
linux/amd64
Imports
3 packages
Last checked
9 minutes ago

Tools for package owners.