package
0.13.1
Repository: https://github.com/aplsek/ksonnet.git
Documentation: pkg.go.dev

# Functions

ClientForResource returns the ResourceClient for a given object.
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".
GroupVersionKindFor returns a lowercased kind for an Kubernete's object.
NewMemcachedDiscoveryClient creates a new DiscoveryClient that caches results in memory.
ParseVersion parses version.Info into a ServerVersion struct.
Read fetches and decodes K8s objects by path.
ResourceNameFor returns a lowercase plural form of a type, for human messages.

# Structs

ServerVersion captures k8s major.minor version in a parsed form.

# Type aliases

AlphabeticalOrder is a `sort.Interface` that sorts the objects by namespace/name/kind alphabetical order.
DependencyOrder is a `sort.Interface` that *best-effort* sorts the objects so that known dependencies appear earlier in the list.