istio: Index | Files

package istioctl

import ""


Package Files

istioctl.go kube.go native.go

type Config Uses

type Config struct {

Config is structured config for the istioctl component

type Instance Uses

type Instance interface {
    // Invoke invokes an istioctl command and returns the output and exception.
    // Cobra commands don't make it easy to separate stdout and stderr and the string parameter
    // will receive both.
    Invoke(args []string) (string, error)

    // InvokeOrFail calls Invoke and fails tests if it returns en err
    InvokeOrFail(t *testing.T, args []string) string

Instance represents "istioctl"

func New Uses

func New(ctx resource.Context, cfg Config) (i Instance, err error)

New returns a new instance of "istioctl".

func NewOrFail Uses

func NewOrFail(_ *testing.T, c resource.Context, config Config) Instance

NewOrFail returns a new instance of "istioctl".

Package istioctl imports 8 packages (graph) and is imported by 2 packages. Updated 2020-01-20. Refresh now. Tools for package owners.