• Michail Kargakis's avatar
    Break deployment controller into separate self-contained files · 332d151d
    Michail Kargakis authored
    * rolling.go (has all the logic for rolling deployments)
    * recreate.go (has all the logic for recreate deployments)
    * sync.go (has all the logic for getting and scaling replica sets)
    * rollback.go (has all the logic for rolling back a deployment)
    * util.go (contains all the utilities used throughout the controller)
    
    Leave back at deployment_controller.go all the necessary bits for
    creating, setting up, and running the controller loop.
    
    Also add package documentation.
    332d151d
deployment_controller_test.go 8.03 KB