...

Package initoption

import "k8s.io/kubernetes/test/utils/ktesting/initoption"
Overview
Index

Overview ▾

type InitOption

InitOption is a functional option for Init and InitCtx.

type InitOption func(c *internal.InitConfig)

func PerTestOutput

func PerTestOutput(enabled bool) InitOption

PerTestOutput controls whether a per-test logger gets set up by Init. Has no effect in InitCtx.