Kết quả
No results found.
Phương pháp:
createEnvironment: (data: { name: string; externalUrl: string; description?: string }) => Promise<Environment>
Ví dụ:
// Create a new environment
const env1 = await locker.createEnvironment({
name: 'prod',
externalUrl: 'product.prod',
description: 'testing'
})
// This will throw an error
const env2 = await locker.createEnvironment({
name: 'prod',
externalUrl: 'product.prod.example'
})