package
0.9.1
Repository: https://github.com/kwoodson/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
ClientMapperForCommand returns a ClientMapper for the given command and factory.
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.
DefaultClientConfig creates a clientcmd.ClientConfig with the following hierarchy: 1.
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
No description provided by the author
NewFactory creates a factory with the default Kubernetes resources defined.
PrinterForCommand returns the default printer for this command.
PrinterForMapping returns a printer suitable for displaying the provided resource type.
PrintObject prints an api object given command line flags to modify the output format.
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.
RunGet implements the generic Get command TODO: convert all direct flag accessors to a struct and pass that instead of cmd TODO: return an error instead of using glog.Fatal and checkErr.
No description provided by the author

# Constants

No description provided by the author

# Structs

Factory provides abstractions that allow the Kubectl command to be extended across multiple types of resources and different API sets.