...

Package config

import "github.com/chaos-mesh/chaos-mesh/test/e2e/config"
Overview
Index

Overview ▾

Variables

TestConfig for the test config

var TestConfig = test.NewDefaultConfig()

func LoadClientRawConfig

func LoadClientRawConfig() (clientcmdapi.Config, error)

LoadClientRawConfig would provide client raw config

func NewSimpleRESTClientGetter

func NewSimpleRESTClientGetter(config clientcmdapi.Config) genericclioptions.RESTClientGetter

NewSimpleRESTClientGetter initializes a new genericclioptions.RESTClientGetter from clientcmdapi.Config.

func RegisterOperatorFlags

func RegisterOperatorFlags(flags *flag.FlagSet)

RegisterOperatorFlags registers flags for chaos-mesh.