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
v1.1.4-beta.0
Published
Dec 7, 2015
Platform
js/wasm
Imports
3 packages
Last checked
36 seconds ago

Tools for package owners.