MCPcopy Create free account
hub / github.com/SeldonIO/seldon-core / Unload

Method Unload

tests/integration/pkg/resources/seldon_api.go:53–60  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

51}
52
53func (s *SeldonAPI) Unload(filename string) error {
54 dat, err := os.ReadFile(filename)
55 if err != nil {
56 return err
57 }
58 _, err = s.schedulerClient.Unload(dat)
59 return err
60}
61
62func (s *SeldonAPI) IsLoaded(filename string) (bool, error) {
63 dat, err := os.ReadFile(filename)

Callers

nothing calls this directly

Calls 1

UnloadMethod · 0.65

Tested by

no test coverage detected