istio: istio.io/istio/pkg/test/framework/components/istioctl Index | Files

package istioctl

import "istio.io/istio/pkg/test/framework/components/istioctl"

Index

Package Files

istioctl.go kube.go native.go

type Config Uses

type Config struct {
}

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
}

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(t *testing.T, c resource.Context, config Config) Instance

NewOrFail returns a new instance of "istioctl".

Package istioctl imports 7 packages (graph). Updated 2019-10-20. Refresh now. Tools for package owners.