actions-sandbox-3
No long description provided.
Installation
dagger install github.com/jerboa88/actions-sandbox-2/dagger@a1344e1fe43ee3bf8ed5c5c4a3eae083c86e37a5
Entrypoint
Return Type
ActionsSandbox3 !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
sourceDir | Directory ! | - | No description provided |
defaultTemplatesDir | Directory | - | No description provided |
token | Secret | - | No description provided |
nunjucksConfigJson | String | - | No description provided |
nunjucksContextMetadataKey | String | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@a1344e1fe43ee3bf8ed5c5c4a3eae083c86e37a5 call \
--source-dir DIR_PATH
func (m *myModule) example(sourceDir *Directory) *ActionsSandbox3 {
return dag.
ActionsSandbox3(sourceDir)
}
@function
def example(source_dir: dagger.Directory, ) -> dag.ActionsSandbox3:
return (
dag.actions_sandbox_3(source_dir)
)
@func()
example(sourceDir: Directory, ): ActionsSandbox3 {
return dag
.actionsSandbox3(sourceDir)
}
Types
ActionsSandbox3 🔗
withNunjucksContext() 🔗
Return Type
ActionsSandbox3 !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
inputKey | String | - | No description provided |
outputKey | String | - | No description provided |
dataUrl | String | - | No description provided |
dataFile | File | - | No description provided |
dataSecret | Secret | - | No description provided |
dataJson | String | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@a1344e1fe43ee3bf8ed5c5c4a3eae083c86e37a5 call \
--source-dir DIR_PATH with-nunjucks-context
func (m *myModule) example(sourceDir *Directory) *ActionsSandbox3 {
return dag.
ActionsSandbox3(sourceDir).
WithNunjucksContext()
}
@function
def example(source_dir: dagger.Directory, ) -> dag.ActionsSandbox3:
return (
dag.actions_sandbox_3(source_dir)
.with_nunjucks_context()
)
@func()
example(sourceDir: Directory, ): ActionsSandbox3 {
return dag
.actionsSandbox3(sourceDir)
.withNunjucksContext()
}
withNunjucksContextFromGithub() 🔗
Return Type
ActionsSandbox3 !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
repoOwner | String | - | No description provided |
repoName | String | - | No description provided |
apiBaseUrl | String | - | No description provided |
githubContextJson | String | - | No description provided |
envContextJson | String | - | No description provided |
varsContextJson | String | - | No description provided |
jobContextJson | String | - | No description provided |
jobsContextJson | String | - | No description provided |
stepsContextJson | String | - | No description provided |
runnerContextJson | String | - | No description provided |
secretsContextJson | String | - | No description provided |
strategyContextJson | String | - | No description provided |
matrixContextJson | String | - | No description provided |
needsContextJson | String | - | No description provided |
inputsContextJson | String | - | No description provided |
githubContextSecret | Secret | - | No description provided |
envContextSecret | Secret | - | No description provided |
varsContextSecret | Secret | - | No description provided |
jobContextSecret | Secret | - | No description provided |
jobsContextSecret | Secret | - | No description provided |
stepsContextSecret | Secret | - | No description provided |
runnerContextSecret | Secret | - | No description provided |
secretsContextSecret | Secret | - | No description provided |
strategyContextSecret | Secret | - | No description provided |
matrixContextSecret | Secret | - | No description provided |
needsContextSecret | Secret | - | No description provided |
inputsContextSecret | Secret | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@a1344e1fe43ee3bf8ed5c5c4a3eae083c86e37a5 call \
--source-dir DIR_PATH with-nunjucks-context-from-github
func (m *myModule) example(sourceDir *Directory) *ActionsSandbox3 {
return dag.
ActionsSandbox3(sourceDir).
WithNunjucksContextFromGithub()
}
@function
def example(source_dir: dagger.Directory, ) -> dag.ActionsSandbox3:
return (
dag.actions_sandbox_3(source_dir)
.with_nunjucks_context_from_github()
)
@func()
example(sourceDir: Directory, ): ActionsSandbox3 {
return dag
.actionsSandbox3(sourceDir)
.withNunjucksContextFromGithub()
}
buildDocs() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
withPaths | [String ! ] | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@a1344e1fe43ee3bf8ed5c5c4a3eae083c86e37a5 call \
--source-dir DIR_PATH build-docs
func (m *myModule) example(sourceDir *Directory) *Directory {
return dag.
ActionsSandbox3(sourceDir).
BuildDocs()
}
@function
def example(source_dir: dagger.Directory, ) -> dagger.Directory:
return (
dag.actions_sandbox_3(source_dir)
.build_docs()
)
@func()
example(sourceDir: Directory, ): Directory {
return dag
.actionsSandbox3(sourceDir)
.buildDocs()
}
getBaseContainerWithGit() 🔗
Return Type
Container !
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@a1344e1fe43ee3bf8ed5c5c4a3eae083c86e37a5 call \
--source-dir DIR_PATH get-base-container-with-git
func (m *myModule) example(sourceDir *Directory) *Container {
return dag.
ActionsSandbox3(sourceDir).
GetBaseContainerWithGit()
}
@function
def example(source_dir: dagger.Directory, ) -> dagger.Container:
return (
dag.actions_sandbox_3(source_dir)
.get_base_container_with_git()
)
@func()
example(sourceDir: Directory, ): Container {
return dag
.actionsSandbox3(sourceDir)
.getBaseContainerWithGit()
}
getBaseContainer() 🔗
Return Type
Container !
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@a1344e1fe43ee3bf8ed5c5c4a3eae083c86e37a5 call \
--source-dir DIR_PATH get-base-container
func (m *myModule) example(sourceDir *Directory) *Container {
return dag.
ActionsSandbox3(sourceDir).
GetBaseContainer()
}
@function
def example(source_dir: dagger.Directory, ) -> dagger.Container:
return (
dag.actions_sandbox_3(source_dir)
.get_base_container()
)
@func()
example(sourceDir: Directory, ): Container {
return dag
.actionsSandbox3(sourceDir)
.getBaseContainer()
}