MCPcopy Create free account
hub / github.com/cloudbase/garm / UpdateInstance

Method UpdateInstance

database/sql/instances.go:402–404  ·  view source on GitHub ↗
(ctx context.Context, instanceName string, param params.UpdateInstanceParams)

Source from the content-addressed store, hash-verified

400}
401
402func (s *sqlDatabase) UpdateInstance(ctx context.Context, instanceName string, param params.UpdateInstanceParams) (params.Instance, error) {
403 return s.updateInstance(ctx, instanceName, param, false)
404}
405
406func (s *sqlDatabase) updateInstance(ctx context.Context, instanceName string, param params.UpdateInstanceParams, force bool) (params.Instance, error) {
407 var rowsAffected int64

Callers

nothing calls this directly

Calls 1

updateInstanceMethod · 0.95

Tested by

no test coverage detected