Giter VIP home page Giter VIP logo

sandbox-cleaner's Introduction

sandbox-cleaner

Given an app prefix, goes through your OpenShift project and deletes all related objects.

Was created with the Developer Sandbox for Red Hat OpenShift in mind, since you will probably have all your ojects in one project.

For example:

./sandbox-cleaner.sh --app-prefix=myappprefix

You can optionally provide a project name:

./sandbox-cleaner.sh --project=myproject --app-prefix=myappprefix

sandbox-cleaner's People

Contributors

donschenck avatar ammbra avatar

Watchers

James Cloos avatar  avatar

Forkers

ammbra

sandbox-cleaner's Issues

Add --project and --app-prefix command line options

--project allows user to specify a project. If none is specified, the CURRENT project is used.

--app-prefix allows user to specify an application prefix, where objects are deleted using pattern matching 'begins with'. If none is specified, ALL user objects in the project are deleted.

Deletes too much! Require app prefix or '-all' flag

Initially, this utility asked for an application prefix so that you could selectively delete objects. For example, you might have two applications in your sandbox and only want to delete one of them.

The latest PR changes this behavior; Now, EVERYTHING in the current project gets deleted.

Please change this utility so that an application prefix is required OR the use can use an '-all' flag.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.