Results
No results found.
Methods:
createEnvironment: (data: { name: string; externalUrl: string; description?: string }) => Promise<Environment>
Example:
// 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'
})