MCPcopy Create free account
hub / github.com/encoder-run/operator / newScheme

Function newScheme

cmd/repositoryembedder/main.go:632–637  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

630}
631
632func newScheme() *runtime.Scheme {
633 scheme := runtime.NewScheme()
634 _ = corev1.AddToScheme(scheme)
635 _ = v1alpha1.AddToScheme(scheme)
636 return scheme
637}
638
639func defaultClient() (client.Client, error) {
640 config, err := rest.InClusterConfig()

Callers 1

defaultClientFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected