# Packages
No description provided by the author
# Functions
No description provided by the author
GetKubeClient will get a kubernetes client from the following sources: - a path to the kubeconfig file passed on the command line (--kubeconfig) - an environment variable that specifies the path (export KUBECONFIG) - the user's $HOME/.kube/config file - in-cluster connection for when the sdk is run within a cluster instead of the command line
TODO(joelanford): migrate scorecard use `internal/operator.Configuration`.
GetKubeNamespace returns the kubernetes namespace to use for scorecard pod creation the order of how the namespace is determined is as follows: - a namespace command line argument - a namespace determined from the kubeconfig file - the kubeconfig file is determined in the following order: - from the kubeconfig flag if set - from the KUBECONFIG env var if set - from the $HOME/.kube/config path if exists - returns 'default' as the namespace if not set in the kubeconfig
TODO(joelanford): migrate scorecard to use `internal/operator.Configuration`.
LoadConfig will find and return the scorecard config, the config file is found from a bundle location (TODO bundle image) scorecard config.yaml is expected to be in the bundle at the following location: tests/scorecard/config.yaml the user can override this location using the --config CLI flag TODO: version this.
untar a file into a location.
WritePathsToTar walks paths to create tar file tarName.
No description provided by the author
# Constants
ConfigFileName is the scorecard's hard-coded config file name.
DefaultConfigDir is the default scorecard path within a bundle.
PodBundleRoot is the directory containing all bundle data within a test pod.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author