MCPcopy Create free account
hub / github.com/devfile/devworkspace-operator / buildConfig

Function buildConfig

pkg/config/common_test.go:68–76  ·  view source on GitHub ↗
(config *v1alpha1.OperatorConfiguration)

Source from the content-addressed store, hash-verified

66}
67
68func buildConfig(config *v1alpha1.OperatorConfiguration) *v1alpha1.DevWorkspaceOperatorConfig {
69 return &v1alpha1.DevWorkspaceOperatorConfig{
70 ObjectMeta: metav1.ObjectMeta{
71 Name: OperatorConfigName,
72 Namespace: testNamespace,
73 },
74 Config: config,
75 }
76}
77
78func buildExternalConfig(config *v1alpha1.OperatorConfiguration) *v1alpha1.DevWorkspaceOperatorConfig {
79 return &v1alpha1.DevWorkspaceOperatorConfig{

Calls

no outgoing calls

Tested by

no test coverage detected