2.44. hammer lifecycle-environment
サーバーで lifecycle_environments を操作します。
Usage: hammer lifecycle-environment [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND Subcommand [ARG] ... Subcommand arguments Subcommands: create Create an environment delete, destroy Destroy an environment info, show Show an environment list, index List environments in an organization paths List environment paths update Update an environment Options: -h, --help Print help
2.44.1. hammer lifecycle-environment create
環境を作成します。
Usage: hammer lifecycle-environment create [OPTIONS] Options: --description DESCRIPTION Description of the environment --label LABEL Label of the environment --name NAME Name of the environment --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Name of organization --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --prior PRIOR Name of the prior environment --prior-id PRIOR_ID ID of an environment that is prior to the new environment in the chain. It has to be either the ID of Library or the ID of an environment at the end of a chain. --registry-name-pattern REGISTRY_NAME_PATTERN Pattern for container image names --registry-unauthenticated-pull REGISTRY_UNAUTHENTICATED_PULL Allow unauthenticed pull of container images One of true/false, yes/no, 1/0. -h, --help Print help
2.44.2. hammer lifecycle-environment delete
環境を破棄します。
Usage: hammer lifecycle-environment <delete|destroy> [OPTIONS] Options: --id ID ID of the environment --name NAME Lifecycle environment name to search by --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization identifier --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title -h, --help Print help
2.44.3. hammer lifecycle-environment info
環境を表示します。
Usage: hammer lifecycle-environment <info|show> [OPTIONS] Options: --fields FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --id ID ID of the environment --name NAME Lifecycle environment name to search by --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID ID of the organization --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title -h, --help Print help Predefined field sets: ----------------------------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN ----------------------------|-----|---------|----- Id | x | x | x Name | x | x | x Label | x | x | Description | x | x | Organization | x | x | Library | x | x | Prior lifecycle environment | x | x | Unauthenticated pull | x | x | Registry name pattern | x | x | ----------------------------|-----|---------|-----
2.44.4. hammer lifecycle-environment list
組織の環境の一覧を表示します。
Usage: hammer lifecycle-environment <list|index> [OPTIONS] Options: --fields FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --full-result FULL_RESULT Whether or not to show all results One of true/false, yes/no, 1/0. --library LIBRARY Set true if you want to see only library environments Possible value(s): 'true', 'false' --name NAME Filter only environments containing this name --order ORDER Sort field and order, eg. 'id DESC' --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization identifier --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --page PAGE Page number, starting at 1 --per-page PER_PAGE Number of results per page to return --search SEARCH Search string -h, --help Print help Predefined field sets: -------|-----|---------|----- FIELDS | ALL | DEFAULT | THIN -------|-----|---------|----- Id | x | x | x Name | x | x | x Prior | x | x | -------|-----|---------|----- Search / Order fields: id integer name string organization_id integer
2.44.5. hammer lifecycle-environment paths
環境パスの一覧を表示します。
Usage: hammer lifecycle-environment paths [OPTIONS] Options: --fields FIELDS Show specified fields or predefined field sets only. (See below) Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization identifier --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --permission-type PERMISSION_TYPE The associated permission type. One of (readable | promotable) Default: readable -h, --help Print help Predefined field sets: ---------------|-----|-------- FIELDS | ALL | DEFAULT ---------------|-----|-------- Lifecycle path | x | x ---------------|-----|--------
2.44.6. hammer lifecycle-environment update
環境を更新します。
Usage: hammer lifecycle-environment update [OPTIONS] Options: --async ASYNC Do not wait for the update action to finish. Default: true One of true/false, yes/no, 1/0. --description DESCRIPTION Description of the environment --id ID ID of the environment --name NAME Lifecycle environment name to search by --new-name NEW_NAME New name to be given to the environment --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Name of the organization --organization-label ORGANIZATION_LABEL Organization label to search by --organization-title ORGANIZATION_TITLE Organization title --registry-name-pattern REGISTRY_NAME_PATTERN Pattern for container image names --registry-unauthenticated-pull REGISTRY_UNAUTHENTICATED_PULL Allow unauthenticed pull of container images One of true/false, yes/no, 1/0. -h, --help Print help