actions-sandbox-3
No long description provided.
Installation
dagger install github.com/jerboa88/actions-sandbox-2/dagger@4760b0bc46aea4860d911dd4a9405ebab449d8c9
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@4760b0bc46aea4860d911dd4a9405ebab449d8c9 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 |
dataJson | String | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@4760b0bc46aea4860d911dd4a9405ebab449d8c9 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@4760b0bc46aea4860d911dd4a9405ebab449d8c9 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@4760b0bc46aea4860d911dd4a9405ebab449d8c9 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()
}
withCommitConfig() 🔗
Return Type
ActionsSandbox3 !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
authorName | String | - | No description provided |
authorEmail | String | - | No description provided |
committerName | String | - | No description provided |
committerEmail | String | - | No description provided |
message | String | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@4760b0bc46aea4860d911dd4a9405ebab449d8c9 call \
--source-dir DIR_PATH with-commit-config
func (m *myModule) example(sourceDir *Directory) *ActionsSandbox3 {
return dag.
ActionsSandbox3(sourceDir).
WithCommitConfig()
}
@function
def example(source_dir: dagger.Directory, ) -> dag.ActionsSandbox3:
return (
dag.actions_sandbox_3(source_dir)
.with_commit_config()
)
@func()
example(sourceDir: Directory, ): ActionsSandbox3 {
return dag
.actionsSandbox3(sourceDir)
.withCommitConfig()
}
buildAndCommitDocs() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
withPaths | [String ! ] | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@4760b0bc46aea4860d911dd4a9405ebab449d8c9 call \
--source-dir DIR_PATH build-and-commit-docs
func (m *myModule) example(ctx context.Context, sourceDir *Directory) string {
return dag.
ActionsSandbox3(sourceDir).
BuildAndCommitDocs(ctx)
}
@function
async def example(source_dir: dagger.Directory, ) -> str:
return await (
dag.actions_sandbox_3(source_dir)
.build_and_commit_docs()
)
@func()
async example(sourceDir: Directory, ): Promise<string> {
return dag
.actionsSandbox3(sourceDir)
.buildAndCommitDocs()
}
commitChanges() 🔗
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
buildDir | Directory ! | - | No description provided |
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@4760b0bc46aea4860d911dd4a9405ebab449d8c9 call \
--source-dir DIR_PATH commit-changes --build-dir DIR_PATH
func (m *myModule) example(ctx context.Context, sourceDir *Directory, buildDir *Directory) string {
return dag.
ActionsSandbox3(sourceDir).
CommitChanges(ctx, buildDir)
}
@function
async def example(source_dir: dagger.Directory, build_dir: dagger.Directory) -> str:
return await (
dag.actions_sandbox_3(source_dir)
.commit_changes(build_dir)
)
@func()
async example(sourceDir: Directory, buildDir: Directory): Promise<string> {
return dag
.actionsSandbox3(sourceDir)
.commitChanges(buildDir)
}
getBaseContainerWithGit() 🔗
Return Type
Container !
Example
dagger -m github.com/jerboa88/actions-sandbox-2/dagger@4760b0bc46aea4860d911dd4a9405ebab449d8c9 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@4760b0bc46aea4860d911dd4a9405ebab449d8c9 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()
}