Documentation ¶
Index ¶
- func DumpPodEvents(workDir, namespace string, accessor *kube.Accessor)
- func DumpPodState(workDir string, 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 DumpPodEvents ¶
DumpPodEvents logs the current pod event.
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 }
const (
namespaceTemplate = `apiVersion: v1
kind: Namespace metadata:
name: %s labels: istio-injection: disabled
`
zeroCRDInstallFile = "crd-10.yaml" oneCRDInstallFile = "crd-11.yaml" twoCRDInstallFile = "crd-12.yaml" certManagerCRDInstallFile = "crd-certmanager-10.yaml"
)
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 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.