()
| 155 | } |
| 156 | |
| 157 | func (rc *ResourceControl) GetDefaultResourceConfig() *runtimeapi.ResourceConfig { |
| 158 | return rc.defaultResourceConfig |
| 159 | } |
| 160 | |
| 161 | func (rc *ResourceControl) GetResourceConfigByReadableMemory(memoryStr string) (config *runtimeapi.ResourceConfig, err error) { |
| 162 | targetMem, err := bytefmt.ToBytes(memoryStr) |
nothing calls this directly
no outgoing calls
no test coverage detected