3.5.2. odo catalog
odo
는 다양한 카탈로그 를 사용하여 구성 요소 및 서비스를 배포합니다.
3.5.2.1. components
odo
는 이식 가능한 devfile 형식을 사용하여 구성 요소를 설명합니다. 다양한 devfile 레지스트리에 연결하여 다양한 언어 및 프레임워크에 대한 devfile을 다운로드할 수 있습니다. 자세한 내용은 odo
Registry를 참조하십시오.
3.5.2.1.1. 구성 요소 나열
다른 레지스트리에서 사용 가능한 모든 devfile 을 나열하려면 명령을 실행합니다.
$ odo catalog list components
출력 예
NAME DESCRIPTION REGISTRY go Stack with the latest Go version DefaultDevfileRegistry java-maven Upstream Maven and OpenJDK 11 DefaultDevfileRegistry nodejs Stack with Node.js 14 DefaultDevfileRegistry php-laravel Stack with Laravel 8 DefaultDevfileRegistry python Python Stack with Python 3.7 DefaultDevfileRegistry [...]
3.5.2.1.2. 구성 요소에 대한 정보 가져오기
특정 구성 요소에 대한 자세한 내용을 보려면 명령을 실행합니다.
$ odo catalog describe component
예를 들어 다음 명령을 실행합니다.
$ odo catalog describe component nodejs
출력 예
* Registry: DefaultDevfileRegistry 1 Starter Projects: 2 --- name: nodejs-starter attributes: {} description: "" subdir: "" projectsource: sourcetype: "" git: gitlikeprojectsource: commonprojectsource: {} checkoutfrom: null remotes: origin: https://github.com/odo-devfiles/nodejs-ex.git zip: null custom: null
starter 프로젝트에서 프로젝트를 생성하는 방법에 대한 자세한 내용은 odo create
를 참조하십시오.