github.com/niedbalski/juju@v0.0.0-20190215020005-8ff100488e47/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      config
    29      deploy
    30      disable-user
    31      destroy-controller
    32      destroy-model
    33      enable-ha
    34      enable-user
    35      expose
    36      import-ssh-key
    37      model-config
    38      remove-application
    39      remove-machine
    40      remove-relation
    41      remove-ssh-key
    42      remove-unit
    43      resolved
    44      retry-provisioning
    45      run
    46      set-constraints
    47      sync-agents
    48      unexpose
    49      upgrade-charm
    50      upgrade-model
    51  	`