MCPcopy
hub / github.com/vmware-tanzu/sonobuoy / NewGenConfig

Function NewGenConfig

pkg/client/defaults.go:26–31  ·  view source on GitHub ↗

NewGenConfig is a GenConfig using the default config and NonDisruptiveConformance mode

()

Source from the content-addressed store, hash-verified

24
25// NewGenConfig is a GenConfig using the default config and NonDisruptiveConformance mode
26func NewGenConfig() *GenConfig {
27 return &GenConfig{
28 Config: config.New(),
29 EnableRBAC: true,
30 }
31}
32
33// NewRunConfig is a RunConfig with DefaultGenConfig and and preflight checks enabled.
34func NewRunConfig() *RunConfig {

Callers 1

NewRunConfigFunction · 0.85

Calls 1

NewFunction · 0.92

Tested by

no test coverage detected