kubernetesk8s.io/kubernetes/pkg/types Index | Files

package types

import "k8s.io/kubernetes/pkg/types"

Package types implements various generic types used throughout kubernetes.

Index

Types

type NamespacedName

type NamespacedName struct {
	Namespace string
	Name      string
}

func (NamespacedName) String

func (n NamespacedName) String() string

String returns the general purpose string representation

type UID

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.

Source Files

doc.go namespacedname.go uid.go

Version
v0.19.3
Published
Jun 22, 2015
Platform
windows/amd64
Last checked
59 seconds ago

Tools for package owners.