Documentation ¶
Index ¶
- func DumpPodData(workDir, namespace string, accessor *kube.Accessor)
- func DumpPodState(namespace string, accessor *kube.Accessor)
- func ExtractAttributeManifest(workDir string) (string, error)
- func HelmTemplate(deploymentName, namespace, chartDir, workDir, valuesFile string, ...) (string, error)
- type HelmConfig
- type Instance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DumpPodData ¶
DumpPodData copies pod logs from Kubernetes to the specified workDir.
func DumpPodState ¶
DumpPodState logs the current pod state.
func ExtractAttributeManifest ¶
ExtractAttributeManifest extracts attribute manifest from Helm charts.
Types ¶
type HelmConfig ¶
type HelmConfig struct { Accessor *kube.Accessor Namespace string WorkDir string ChartDir string CrdsFilesDir string // Can be either a file name under ChartDir or an absolute file path. ValuesFile string Values map[string]string }
HelmConfig configuration for a Helm-based deployment.
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance represents an Istio deployment instance that has been performed by this test code.
func NewHelmDeployment ¶
func NewHelmDeployment(c HelmConfig) (*Instance, error)
NewHelmDeployment creates a new Helm-based deployment instance.
func NewYamlContentDeployment ¶
NewYamlContentDeployment creates a new deployment from the contents of a yaml document.
func NewYamlDeployment ¶
NewYamlDeployment creates a new deployment from a yaml file.
Click to show internal directories.
Click to hide internal directories.