Documentation
¶
Overview ¶
Package types implements various generic types used throughout kubernetes.
Index ¶
Constants ¶
View Source
const (
Separator = '/'
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamespacedName ¶
func NewNamespacedNameFromString ¶
func NewNamespacedNameFromString(s string) NamespacedName
NewNamespacedNameFromString parses the provided string and returns a NamespacedName. The expected format is as per String() above. If the input string is invalid, the returned NamespacedName has all empty string field values. This allows a single-value return from this function, while still allowing error checks in the caller. Note that an input string which does not include exactly one Separator is not a valid input (as it could never have neem returned by String() )
func (NamespacedName) String ¶
func (n NamespacedName) String() string
String returns the general purpose string representation
Source Files
¶
- doc.go
- namespacedname.go
- uid.go
- unix_user_id.go
Click to show internal directories.
Click to hide internal directories.