Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ErrDiffFound = fmt.Errorf("Differences found.")
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { ClientPool dynamic.ClientPool Discovery discovery.DiscoveryInterface Namespace string // Name of the remote client to identify changes against. This field is Optional. Name string // APIObjects are the Kubernetes objects being diffed against APIObjects []*unstructured.Unstructured }
Client holds the necessary information to connect with a remote Kubernetes cluster.
type Diff ¶
type Diff struct {
DiffStrategy string
}
Diff is a base representation of the `diff` functionality.
type DiffCmd ¶
DiffCmd is an interface containing a set of functions that allow diffing between two sets of data containing Kubernetes resouces.
type DiffLocalCmd ¶
DiffLocalCmd extends DiffCmd and is meant to represent diffing between two sets of Kubernetes objects.
type DiffRemoteCmd ¶
DiffRemoteCmd extends DiffCmd and is meant to represent diffing between some set of Kubernetes objects and the Kubernetes objects located on a remote client.
type DiffRemotesCmd ¶
DiffRemotesCmd extends DiffCmd and is meant to represent diffing between the Kubernetes objects on two remote clients.
type LocalEnv ¶
type LocalEnv struct { Name string APIObjects []*unstructured.Unstructured }
LocalEnv holds the local Kubernetes objects for an environment and relevant environment details, such as, environment name