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

Move configuration into a Config object #158

Merged
merged 2 commits into from
Aug 4, 2019

Commits on Jul 29, 2019

  1. Move configuration into a Config object

    This commit introduces the `Config` object, which contains all the
    configuration information that `kubeval.Validate` might need. The default
    settings can be obtained by using the `NewDefaultConfig` function.
    Functions `Validate` and `ValidateWithCache` have been modified to
    accept an optional Config object - if none is provided, the default is
    used.
    
    Unit tests have also been updated to reflect these changes.
    ian-howell committed Jul 29, 2019
    Configuration menu
    Copy the full SHA
    fe7303a View commit details
    Browse the repository at this point in the history
  2. Use config.FileName

    ian-howell committed Jul 29, 2019
    Configuration menu
    Copy the full SHA
    fdd1738 View commit details
    Browse the repository at this point in the history