kubernetes: github.com/erimatnor/kubernetes/pkg/types Index | Files

package types

import "github.com/erimatnor/kubernetes/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 2017-05-11. Refresh now. Tools for package owners.