kubernetes.v0: gopkg.in/kubernetes/kubernetes.v0/pkg/types Index | Files

package types

import "gopkg.in/kubernetes/kubernetes.v0/pkg/types"

Package types implements various generic types used throughout kubernetes.


Package Files

doc.go namespacedname.go uid.go

type NamespacedName Uses

type NamespacedName struct {
    Namespace string
    Name      string

func (NamespacedName) String Uses

func (n NamespacedName) String() string

String returns the general purpose string representation

type UID Uses

type UID string

UID is a type that holds unique ID values, including UUIDs. Because we don't ONLY use UUIDs, this is an alias to string. Being a type captures intent and helps make sure that UIDs and names do not get conflated.

Updated 2018-12-06. Refresh now. Tools for package owners.