MCPcopy Create free account
hub / github.com/composable-operator/composable / LoadComposable

Function LoadComposable

controllers/test/template.go:104–106  ·  view source on GitHub ↗

LoadComposable loads the YAML spec into Composable object

(filename string)

Source from the content-addressed store, hash-verified

102
103// LoadComposable loads the YAML spec into Composable object
104func LoadComposable(filename string) v1alpha1.Composable {
105 return *LoadObject(filename, &v1alpha1.Composable{}).(*v1alpha1.Composable)
106}
107
108// LoadObject loads the YAML spec into obj
109func LoadObject(filename string, obj client.Object) client.Object {

Callers 1

Calls 1

LoadObjectFunction · 0.85

Tested by

no test coverage detected