package
0.11.0
Repository: https://github.com/sallyom/kubernetes.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
CompareNamespace returns an error if the namespace the user has provided on the CLI or via the default namespace file does not match the namespace of an input file.
Returns the first non-empty string out of the ones provided.
Return a list of file names of a certain type within a given directory.
No description provided by the author
Returns nil if the flag wasn't set.
No description provided by the author
Assumes the flag has a default value.
No description provided by the author
No description provided by the author
OutputVersion returns the preferred output version for generic content (JSON, YAML, or templates).
PrinterForCommand returns the default printer for this command.
ReadConfigData reads the bytes from the specified filesytem or network location or from stdin if location == "-".
TODO: replace with resource.Builder.
ResourceFromArgs expects two arguments with a given type, and extracts the fields necessary to uniquely locate a resource.
ResourceFromArgsOrFile expects two arguments or a valid file with a given type, and extracts the fields necessary to uniquely locate a resource.
ResourceFromFile retrieves the name and namespace from a valid file.
ResourceFromArgs expects two arguments with a given type, and extracts the fields necessary to uniquely locate a resource.
ResourcesFromArgsOrFile computes a list of Resources by extracting info from filename or args.
No description provided by the author