Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock Drivers Refactor #155

Merged
merged 1 commit into from Oct 22, 2015
Merged

Mock Drivers Refactor #155

merged 1 commit into from Oct 22, 2015

Commits on Oct 22, 2015

  1. Mock Drivers Refactor

    This path refactors the mock (and bad mock) drivers formerly in the
    `github.com/emccode/rexray/test` package into the
    `github.com/emccode/rexray/drivers/mock` package. This is to support
    mock drivers during normal operations and not just automated tests.
    
    The mock drivers are not automatically registered. To elect to use the
    mock drivers an environment variable of `REXRAY_MOCKDRIVERS` must be
    set to a value that evaluates to boolean true.
    
    At this point it is possible to use `mockOSDriver`, `mockVolumeDriver`,
    and `mockStorageDriver` as values for the environment variables, config
    options, and CLI flags that control which drivers should be initialized.
    akutz committed Oct 22, 2015
    Copy the full SHA
    3dcde26 View commit details
    Browse the repository at this point in the history