Documentation
¶
Index ¶
- func AddToFrameworkScheme(addToScheme addToSchemeFunc, obj runtime.Object) error
- func MainEntry(m *testing.M)
- type Framework
- type TestCtx
- func (ctx *TestCtx) AddFinalizerFn(fn finalizerFn)
- func (ctx *TestCtx) Cleanup(t *testing.T)
- func (ctx *TestCtx) CreateFromYAML(yamlFile []byte) error
- func (ctx *TestCtx) GetCRClient(yamlCR []byte) (*rest.RESTClient, error)
- func (ctx *TestCtx) GetID() string
- func (ctx *TestCtx) GetNamespace() (string, error)
- func (ctx *TestCtx) GetObjID() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToFrameworkScheme ¶
Types ¶
type Framework ¶
type Framework struct { KubeConfig *rest.Config KubeClient kubernetes.Interface Scheme *runtime.Scheme DynamicClient dynclient.Client DynamicDecoder runtime.Decoder ImageName *string }
var ( // Global framework struct Global *Framework )
Source Files
¶
- context.go
- framework.go
- main_entry.go
- resource_creator.go
Click to show internal directories.
Click to hide internal directories.