# Packages
Package k8smeta implements metadata discovery and normalization of K8s resources.
# Functions
GetPristineVersionForDiff interrogates annotations and extracts the pristine version of the supplied live object.
NewConfig returns a new configuration, adding flags to the supplied command to set k8s access overrides, prefixed by the supplied string.
# Constants
Constants for special context values.
object was created.
object was deleted.
sync was a noop due to local and remote being identical.
object was skipped for sync (e.g.
object was updated.
# Variables
returned due to an authn/ authz error.
returned when a remote object does not exist.
# Structs
Client is a thick remote client that provides high-level operations for commands as opposed to granular ones.
Config provides clients for specific contexts out of a kubeconfig file, with overrides for auth.
ConnectOpts are the connection options required for the config.
ContextInfo has information we care about a K8s context.
DeleteOptions provides the caller with options for the delete operation.
KubeAttributes is a collection k8s attributes pertaining to an connection.
ListQueryConfig is the config with which to execute list queries.
ListQueryScope defines the scope at which list queries need to be executed.
SyncOptions provides the caller with options for the sync operation.
SyncResult is the result of a sync operation.
TypeWaitOptions are options for waiting on a custom type.
# Interfaces
Collection represents a set of k8s objects with the ability to remove a subset of objects from it.
# Type aliases
ConditionFunc returns if a specific condition tests as true for the supplied object.
GVKFilter returns true if a gvk needs to be processed.
SyncResultType indicates what notionally happened in a sync operation.