cockroach: Index | Files

package flagstub

import ""


Package Files


func New Uses

func New(delegate vm.Provider, unimplemented string) vm.Provider

New wraps a delegate vm.Provider to only return its name and flags. This allows roachprod to provide a consistent tooling experience. Operations that can be reasonably stubbed out are implemented as no-op or no-value. All other operations will return the provided error.

Package flagstub imports 3 packages (graph) and is imported by 2 packages. Updated 2019-08-17. Refresh now. Tools for package owners.