github.com/axw/juju@v0.0.0-20161005053422-4bd6544d08d4/cmd/juju/block/doc.go (about)

     1  // Copyright 2016 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  package block
     5  
     6  const commandSets = `
     7  Commands that can be disabled are grouped based on logical operations as follows:
     8  
     9  "destroy-model" prevents:
    10      destroy-controller
    11      destroy-model
    12  
    13  "remove-object" prevents:
    14      destroy-controller
    15      destroy-model
    16      remove-machine
    17      remove-relation
    18      remove-application
    19      remove-unit
    20  
    21  "all" prevents:
    22      add-machine
    23      add-relation
    24      add-unit
    25      add-ssh-key
    26      add-user
    27      change-user-password
    28      deploy
    29      disable-user
    30      destroy-controller
    31      destroy-model
    32      enable-ha
    33      enable-user
    34      expose
    35      import-ssh-key
    36      remove-application
    37      remove-machine
    38      remove-relation
    39      remove-ssh-key
    40      remove-unit
    41      resolved
    42      retry-provisioning
    43      run
    44      set-config
    45      set-constraints
    46      set-model-config
    47      sync-tools
    48      unexpose
    49      unset-config
    50      unset-model-config
    51      upgrade-charm
    52      upgrade-juju
    53  	`