cockroach: github.com/cockroachdb/cockroach/pkg/cmd/roachprod/vm/flagstub Index | Files

package flagstub

import "github.com/cockroachdb/cockroach/pkg/cmd/roachprod/vm/flagstub"

Index

Package Files

flagstub.go

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 3 packages. Updated 2019-08-17. Refresh now. Tools for package owners.