copilot-setup
No long description provided.
Installation
dagger install github.com/StaytunedLLP/devops/dagger-modules/copilot-setup@29f67fb1fe060e6226b7b1d0dae2647e87223abbEntrypoint
Return Type
CopilotSetup Example
dagger -m github.com/StaytunedLLP/devops/dagger-modules/copilot-setup@29f67fb1fe060e6226b7b1d0dae2647e87223abb call \
func (m *MyModule) Example() *dagger.CopilotSetup {
return dag.
CopilotSetup()
}@function
def example() -> dagger.CopilotSetup:
return (
dag.copilot_setup()
)@func()
example(): CopilotSetup {
return dag
.copilotSetup()
}Types
CopilotSetup 🔗
prepareNodeWorkspace() 🔗
Return Type
String !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory ! | - | No description provided |
| nodeAuthToken | Secret ! | - | No description provided |
| packagePaths | String ! | "." | No description provided |
| playwrightInstall | Boolean ! | false | No description provided |
| firebaseTools | Boolean ! | false | No description provided |
Example
dagger -m github.com/StaytunedLLP/devops/dagger-modules/copilot-setup@29f67fb1fe060e6226b7b1d0dae2647e87223abb call \
prepare-node-workspace --source DIR_PATH --node-auth-token env:MYSECRET --package-paths string --playwright-install boolean --firebase-tools booleanfunc (m *MyModule) Example(ctx context.Context, source *dagger.Directory, nodeAuthToken *dagger.Secret, packagePaths string, playwrightInstall bool, firebaseTools bool) string {
return dag.
CopilotSetup().
PrepareNodeWorkspace(ctx, source, nodeAuthToken, packagePaths, playwrightInstall, firebaseTools)
}@function
async def example(source: dagger.Directory, node_auth_token: dagger.Secret, package_paths: str, playwright_install: bool, firebase_tools: bool) -> str:
return await (
dag.copilot_setup()
.prepare_node_workspace(source, node_auth_token, package_paths, playwright_install, firebase_tools)
)@func()
async example(source: Directory, nodeAuthToken: Secret, packagePaths: string, playwrightInstall: boolean, firebaseTools: boolean): Promise<string> {
return dag
.copilotSetup()
.prepareNodeWorkspace(source, nodeAuthToken, packagePaths, playwrightInstall, firebaseTools)
}prepareNodeWorkspaceDirectory() 🔗
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory ! | - | No description provided |
| nodeAuthToken | Secret ! | - | No description provided |
| packagePaths | String ! | "." | No description provided |
| buildPaths | String ! | "" | No description provided |
| playwrightInstall | Boolean ! | false | No description provided |
| firebaseTools | Boolean ! | false | No description provided |
Example
dagger -m github.com/StaytunedLLP/devops/dagger-modules/copilot-setup@29f67fb1fe060e6226b7b1d0dae2647e87223abb call \
prepare-node-workspace-directory --source DIR_PATH --node-auth-token env:MYSECRET --package-paths string --build-paths string --playwright-install boolean --firebase-tools booleanfunc (m *MyModule) Example(source *dagger.Directory, nodeAuthToken *dagger.Secret, packagePaths string, buildPaths string, playwrightInstall bool, firebaseTools bool) *dagger.Directory {
return dag.
CopilotSetup().
PrepareNodeWorkspaceDirectory(source, nodeAuthToken, packagePaths, buildPaths, playwrightInstall, firebaseTools)
}@function
def example(source: dagger.Directory, node_auth_token: dagger.Secret, package_paths: str, build_paths: str, playwright_install: bool, firebase_tools: bool) -> dagger.Directory:
return (
dag.copilot_setup()
.prepare_node_workspace_directory(source, node_auth_token, package_paths, build_paths, playwright_install, firebase_tools)
)@func()
example(source: Directory, nodeAuthToken: Secret, packagePaths: string, buildPaths: string, playwrightInstall: boolean, firebaseTools: boolean): Directory {
return dag
.copilotSetup()
.prepareNodeWorkspaceDirectory(source, nodeAuthToken, packagePaths, buildPaths, playwrightInstall, firebaseTools)
}