gale
No long description provided.
Installation
dagger install github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5
Entrypoint
Return Type
Gale
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
func (m *myModule) example() *Gale {
return dag.
Gale()
}
@function
def example() -> dag.Gale:
return (
dag.gale()
)
@func()
example(): Gale {
return dag
.gale()
}
Types
Gale 🔗
Gale is a Dagger module for running Github Actions workflows.
repo() 🔗
Repo returns a Repo with the given name.
Return Type
Repo !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String ! | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string
func (m *myModule) example(name string) *GaleRepo {
return dag.
Gale().
Repo(name)
}
@function
def example(name: str) -> dag.GaleRepo:
return (
dag.gale()
.repo(name)
)
@func()
example(name: string): GaleRepo {
return dag
.gale()
.repo(name)
}
Repo 🔗
Repo represents a Github repository to use.
repoName() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
repo-name
func (m *myModule) example(ctx context.Context, name string) string {
return dag.
Gale().
Repo(name).
RepoName(ctx)
}
@function
async def example(name: str) -> str:
return await (
dag.gale()
.repo(name)
.repo_name()
)
@func()
async example(name: string): Promise<string> {
return dag
.gale()
.repo(name)
.repoName()
}
workflowsDir() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflows-dir
func (m *myModule) example(ctx context.Context, name string) string {
return dag.
Gale().
Repo(name).
WorkflowsDir(ctx)
}
@function
async def example(name: str) -> str:
return await (
dag.gale()
.repo(name)
.workflows_dir()
)
@func()
async example(name: string): Promise<string> {
return dag
.gale()
.repo(name)
.workflowsDir()
}
branch() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
branch
func (m *myModule) example(ctx context.Context, name string) string {
return dag.
Gale().
Repo(name).
Branch(ctx)
}
@function
async def example(name: str) -> str:
return await (
dag.gale()
.repo(name)
.branch()
)
@func()
async example(name: string): Promise<string> {
return dag
.gale()
.repo(name)
.branch()
}
tag() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
tag
func (m *myModule) example(ctx context.Context, name string) string {
return dag.
Gale().
Repo(name).
Tag(ctx)
}
@function
async def example(name: str) -> str:
return await (
dag.gale()
.repo(name)
.tag()
)
@func()
async example(name: string): Promise<string> {
return dag
.gale()
.repo(name)
.tag()
}
withWorkflowsDir() 🔗
WithWorkflowsDir sets the workflows directory. If not set, the default is “.github/workflows”.
Return Type
Repo !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | String ! | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
with-workflows-dir --dir string
func (m *myModule) example(name string, dir string) *GaleRepo {
return dag.
Gale().
Repo(name).
WithWorkflowsDir(dir)
}
@function
def example(name: str, dir: str) -> dag.GaleRepo:
return (
dag.gale()
.repo(name)
.with_workflows_dir(dir)
)
@func()
example(name: string, dir: string): GaleRepo {
return dag
.gale()
.repo(name)
.withWorkflowsDir(dir)
}
withBranch() 🔗
WithBranch sets the branch to use for the repository. If not set, the default is the default branch of the repository.
Return Type
Repo !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
branch | String ! | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
with-branch --branch string
func (m *myModule) example(name string, branch string) *GaleRepo {
return dag.
Gale().
Repo(name).
WithBranch(branch)
}
@function
def example(name: str, branch: str) -> dag.GaleRepo:
return (
dag.gale()
.repo(name)
.with_branch(branch)
)
@func()
example(name: string, branch: string): GaleRepo {
return dag
.gale()
.repo(name)
.withBranch(branch)
}
withTag() 🔗
WithTag sets the tag to use for the repository. If not set, the default is the default branch of the repository.
Return Type
Repo !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
tag | String ! | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
with-tag --tag string
func (m *myModule) example(name string, tag string) *GaleRepo {
return dag.
Gale().
Repo(name).
WithTag(tag)
}
@function
def example(name: str, tag: str) -> dag.GaleRepo:
return (
dag.gale()
.repo(name)
.with_tag(tag)
)
@func()
example(name: string, tag: string): GaleRepo {
return dag
.gale()
.repo(name)
.withTag(tag)
}
list() 🔗
List lists the workflows in the repository.
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
token | String ! | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
list --token string
func (m *myModule) example(ctx context.Context, name string, token string) string {
return dag.
Gale().
Repo(name).
List(ctx, token)
}
@function
async def example(name: str, token: str) -> str:
return await (
dag.gale()
.repo(name)
.list(token)
)
@func()
async example(name: string, token: string): Promise<string> {
return dag
.gale()
.repo(name)
.list(token)
}
workflow() 🔗
Workflow returns a Workflow with the given name.
Return Type
Workflow !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String ! | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string
func (m *myModule) example(name string, name1 string) *GaleWorkflow {
return dag.
Gale().
Repo(name).
Workflow(name1)
}
@function
def example(name: str, name1: str) -> dag.GaleWorkflow:
return (
dag.gale()
.repo(name)
.workflow(name1)
)
@func()
example(name: string, name1: string): GaleWorkflow {
return dag
.gale()
.repo(name)
.workflow(name1)
}
Workflow 🔗
Workflow represents a Github workflow to run.
repoName() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
repo-name
func (m *myModule) example(ctx context.Context, name string, name1 string) string {
return dag.
Gale().
Repo(name).
Workflow(name1).
RepoName(ctx)
}
@function
async def example(name: str, name1: str) -> str:
return await (
dag.gale()
.repo(name)
.workflow(name1)
.repo_name()
)
@func()
async example(name: string, name1: string): Promise<string> {
return dag
.gale()
.repo(name)
.workflow(name1)
.repoName()
}
workflowsDir() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
workflows-dir
func (m *myModule) example(ctx context.Context, name string, name1 string) string {
return dag.
Gale().
Repo(name).
Workflow(name1).
WorkflowsDir(ctx)
}
@function
async def example(name: str, name1: str) -> str:
return await (
dag.gale()
.repo(name)
.workflow(name1)
.workflows_dir()
)
@func()
async example(name: string, name1: string): Promise<string> {
return dag
.gale()
.repo(name)
.workflow(name1)
.workflowsDir()
}
branch() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
branch
func (m *myModule) example(ctx context.Context, name string, name1 string) string {
return dag.
Gale().
Repo(name).
Workflow(name1).
Branch(ctx)
}
@function
async def example(name: str, name1: str) -> str:
return await (
dag.gale()
.repo(name)
.workflow(name1)
.branch()
)
@func()
async example(name: string, name1: string): Promise<string> {
return dag
.gale()
.repo(name)
.workflow(name1)
.branch()
}
tag() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
tag
func (m *myModule) example(ctx context.Context, name string, name1 string) string {
return dag.
Gale().
Repo(name).
Workflow(name1).
Tag(ctx)
}
@function
async def example(name: str, name1: str) -> str:
return await (
dag.gale()
.repo(name)
.workflow(name1)
.tag()
)
@func()
async example(name: string, name1: string): Promise<string> {
return dag
.gale()
.repo(name)
.workflow(name1)
.tag()
}
workflowName() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
workflow-name
func (m *myModule) example(ctx context.Context, name string, name1 string) string {
return dag.
Gale().
Repo(name).
Workflow(name1).
WorkflowName(ctx)
}
@function
async def example(name: str, name1: str) -> str:
return await (
dag.gale()
.repo(name)
.workflow(name1)
.workflow_name()
)
@func()
async example(name: string, name1: string): Promise<string> {
return dag
.gale()
.repo(name)
.workflow(name1)
.workflowName()
}
job() 🔗
Return Type
String !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
job
func (m *myModule) example(ctx context.Context, name string, name1 string) string {
return dag.
Gale().
Repo(name).
Workflow(name1).
Job(ctx)
}
@function
async def example(name: str, name1: str) -> str:
return await (
dag.gale()
.repo(name)
.workflow(name1)
.job()
)
@func()
async example(name: string, name1: string): Promise<string> {
return dag
.gale()
.repo(name)
.workflow(name1)
.job()
}
debug() 🔗
Return Type
Boolean !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
debug
func (m *myModule) example(ctx context.Context, name string, name1 string) bool {
return dag.
Gale().
Repo(name).
Workflow(name1).
Debug(ctx)
}
@function
async def example(name: str, name1: str) -> bool:
return await (
dag.gale()
.repo(name)
.workflow(name1)
.debug()
)
@func()
async example(name: string, name1: string): Promise<boolean> {
return dag
.gale()
.repo(name)
.workflow(name1)
.debug()
}
withJob() 🔗
WithJob sets the job to run. If not set, the default is running all jobs in the workflow.
Return Type
Workflow !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String ! | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
with-job --name string
func (m *myModule) example(name string, name1 string, name2 string) *GaleWorkflow {
return dag.
Gale().
Repo(name).
Workflow(name1).
WithJob(name2)
}
@function
def example(name: str, name1: str, name2: str) -> dag.GaleWorkflow:
return (
dag.gale()
.repo(name)
.workflow(name1)
.with_job(name2)
)
@func()
example(name: string, name1: string, name2: string): GaleWorkflow {
return dag
.gale()
.repo(name)
.workflow(name1)
.withJob(name2)
}
withDebug() 🔗
WithDebug sets the debug mode. If not set, the default is false.
Return Type
Workflow !
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
with-debug
func (m *myModule) example(name string, name1 string) *GaleWorkflow {
return dag.
Gale().
Repo(name).
Workflow(name1).
WithDebug()
}
@function
def example(name: str, name1: str) -> dag.GaleWorkflow:
return (
dag.gale()
.repo(name)
.workflow(name1)
.with_debug()
)
@func()
example(name: string, name1: string): GaleWorkflow {
return dag
.gale()
.repo(name)
.workflow(name1)
.withDebug()
}
run() 🔗
Run runs the workflow.
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
token | String ! | - | No description provided |
Example
dagger -m github.com/aweris/daggerverse/gale@828419aa4ddf7a9bfb64929bd6e853adf1016ae5 call \
repo --name string \
workflow --name string \
run --token string
func (m *myModule) example(ctx context.Context, name string, name1 string, token string) string {
return dag.
Gale().
Repo(name).
Workflow(name1).
Run(ctx, token)
}
@function
async def example(name: str, name1: str, token: str) -> str:
return await (
dag.gale()
.repo(name)
.workflow(name1)
.run(token)
)
@func()
async example(name: string, name1: string, token: string): Promise<string> {
return dag
.gale()
.repo(name)
.workflow(name1)
.run(token)
}