# Functions
Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
CheckDuplicates returns error if the provided object slice contains multiple objects sharing the same version/kind/namespace/name combination.
ClientForResource returns the ResourceClient for a given object.
CompactDecodeObject does the reverse of CompactEncodeObject.
CompactEncodeObject returns a compact string representation (json->gzip->base64) of an object, intended for use in last-applied-configuration annotation.
DeleteMetaDataAnnotation removes an annotation value.
DeleteMetaDataLabel removes a label value.
DependencyOrder is a `sort.Interface` that *best-effort* sorts the objects so that known dependencies appear earlier in the list.
FetchVersion fetches version information from discovery client, and parses.
FlattenToV1 expands any List-type objects into their members, and cooerces everything to v1.Unstructured.
FqName returns "namespace.name".
GetDefaultVersion returns a default server version.
MakeUniversalImporter creates an importer that handles resolving imports from the filesystem and HTTP/S.
MaybeMarkStale calls MarkStale on the discovery client, if the client is a memcachedClient.
MustAsset is like Asset but panics when Asset would return an error.
NewIdentityResolver returns a resolver that does only trivial :latest canonicalisation.
NewmemcachedDiscoveryClient creates a new CachedDiscoveryInterface which caches discovery information in memory and will stay up-to-date if Invalidate is called with regularity.
NewOpenAPISchemaFor returns the OpenAPISchema object ready to validate objects of given GroupVersion.
NewRegistryResolver returns a resolver that looks up a docker registry to resolve digests.
ParseImageName parses a docker image into an ImageName struct.
ParseVersion parses version.Info into a ServerVersion struct.
Read fetches and decodes K8s objects by path.
RegisterNativeFuncs adds kubecfg's native jsonnet functions to provided VM.
ResourceNameFor returns a lowercase plural form of a type, for human messages.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
SetMetaDataAnnotation sets an annotation value.
SetMetaDataLabel sets an annotation value.
# Variables
Error Constants.
# Structs
ImageName represents the parts of a docker image name.
OpenAPISchema represents an OpenAPI schema for a given GroupVersionKind.
ServerVersion captures k8s major.minor version in a parsed form.
# Interfaces
Resolver is able to resolve docker image names into more specific forms.
# Type aliases
AlphabeticalOrder is a `sort.Interface` that sorts the objects by namespace/name/kind alphabetical order.