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
v1.1.4-beta.0
Published
Dec 7, 2015
Platform
js/wasm
Last checked
1 minute ago

Tools for package owners.