diff options
author | Zach Koopmans <zkoopmans@google.com> | 2021-04-16 14:26:29 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-16 14:28:23 -0700 |
commit | 025cff180cb412ec49a85b99c60b8ce2e267704b (patch) | |
tree | 22453ab64e5120925d1833c06daad338bc3906cc /runsc/cmd/mitigate_extras.go | |
parent | 064a849f367a5a65a248daab4642e2b06b39d562 (diff) |
Internal change
PiperOrigin-RevId: 368919504
Diffstat (limited to 'runsc/cmd/mitigate_extras.go')
-rw-r--r-- | runsc/cmd/mitigate_extras.go | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/runsc/cmd/mitigate_extras.go b/runsc/cmd/mitigate_extras.go new file mode 100644 index 000000000..2cb2833f0 --- /dev/null +++ b/runsc/cmd/mitigate_extras.go @@ -0,0 +1,33 @@ +// Copyright 2021 The gVisor Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package cmd + +import ( + "gvisor.dev/gvisor/runsc/flag" + "gvisor.dev/gvisor/runsc/mitigate" +) + +// usage returns any extra bits of the usage string. +func (m *Mitigate) usage() string { + return "" +} + +// setFlags sets extra flags for the command Mitigate. +func (m *Mitigate) setFlags(f *flag.FlagSet) {} + +// postMitigate handles any postMitigate actions. +func (m *Mitigate) postMitigate(_ mitigate.CPUSet) error { + return nil +} |