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 ¶
func DumpPodData(workDir, namespace string, accessor *kube.Accessor)
DumpPodData copies pod logs from Kubernetes to the specified workDir.
func DumpPodState ¶
func DumpPodState(namespace string, accessor *kube.Accessor)
DumpPodState logs the current pod state.
func ExtractAttributeManifest ¶
func ExtractAttributeManifest(workDir string) (string, error)
ExtractAttributeManifest extracts attribute manifest from Helm charts.
func HelmTemplate ¶
func HelmTemplate(deploymentName, namespace, chartDir, workDir, valuesFile string, values map[string]string) (string, error)
HelmTemplate calls "helm template".
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 ¶
func NewYamlContentDeployment(namespace, yamlContents string) *Instance
NewYamlContentDeployment creates a new deployment from the contents of a yaml document.
func NewYamlDeployment ¶
func NewYamlDeployment(namespace, yamlFile string) *Instance
NewYamlDeployment creates a new deployment from a yaml file.
Click to show internal directories.
Click to hide internal directories.