Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Cluster to be used in a multicluster environment Cluster cluster.Cluster // IstioNamespace where istio is deployed IstioNamespace string }
Config is structured config for the istioctl component
type Filenamer ¶
type Filenamer interface {
Filename() string
}
Filenamer is an interface to avoid importing kubecluster package, instead build our own interface to extract kube context
type Instance ¶
type Instance interface { // WaitForConfig will wait until all passed in config has been distributed WaitForConfig(defaultNamespace string, configs string) error // Invoke invokes an istioctl command and returns the output and exception. // stdout and stderr will be returned as different strings Invoke(args []string) (string, string, error) // InvokeOrFail calls Invoke and fails tests if it returns en err InvokeOrFail(t test.Failer, args []string) (string, string) }
Instance represents "istioctl"
Click to show internal directories.
Click to hide internal directories.