core
No long description provided.
Installation
dagger install github.com/shykes/core@770692357aeac6bf898f28177614763ae5cc620c
Entrypoint
Return Type
Core
Example
dagger -m github.com/shykes/core@770692357aeac6bf898f28177614763ae5cc620c call \
func (m *myModule) example() *Core {
return dag.
Core()
}
@function
def example() -> dag.Core:
return (
dag.core()
)
@func()
example(): Core {
return dag
.core()
}
Types
Core 🔗
loadContainerFromId() 🔗
Return Type
Container !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
identifier | String ! | - | No description provided |
Example
dagger -m github.com/shykes/core@770692357aeac6bf898f28177614763ae5cc620c call \
load-container-from-id --identifier string
func (m *myModule) example(identifier string) *Container {
return dag.
Core().
LoadContainerFromId(identifier)
}
@function
def example(identifier: str) -> dagger.Container:
return (
dag.core()
.load_container_from_id(identifier)
)
@func()
example(identifier: string): Container {
return dag
.core()
.loadContainerFromId(identifier)
}
container() 🔗
Return Type
Container !
Example
dagger -m github.com/shykes/core@770692357aeac6bf898f28177614763ae5cc620c call \
container
func (m *myModule) example() *Container {
return dag.
Core().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.core()
.container()
)
@func()
example(): Container {
return dag
.core()
.container()
}
loadGitRepositoryFromId() 🔗
Return Type
GitRepository !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
identifier | String ! | - | No description provided |
Example
dagger -m github.com/shykes/core@770692357aeac6bf898f28177614763ae5cc620c call \
load-git-repository-from-id --identifier string
func (m *myModule) example(identifier string) *GitRepository {
return dag.
Core().
LoadGitRepositoryFromId(identifier)
}
@function
def example(identifier: str) -> dag.GitRepository:
return (
dag.core()
.load_git_repository_from_id(identifier)
)
@func()
example(identifier: string): GitRepository {
return dag
.core()
.loadGitRepositoryFromId(identifier)
}
git() 🔗
Return Type
GitRepository !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
url | String ! | - | No description provided |
Example
dagger -m github.com/shykes/core@770692357aeac6bf898f28177614763ae5cc620c call \
git --url string
func (m *myModule) example(url string) *GitRepository {
return dag.
Core().
Git(url)
}
@function
def example(url: str) -> dag.GitRepository:
return (
dag.core()
.git(url)
)
@func()
example(url: string): GitRepository {
return dag
.core()
.git(url)
}
loadDirectoryFromId() 🔗
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
identifier | String ! | - | No description provided |
Example
dagger -m github.com/shykes/core@770692357aeac6bf898f28177614763ae5cc620c call \
load-directory-from-id --identifier string
func (m *myModule) example(identifier string) *Directory {
return dag.
Core().
LoadDirectoryFromId(identifier)
}
@function
def example(identifier: str) -> dagger.Directory:
return (
dag.core()
.load_directory_from_id(identifier)
)
@func()
example(identifier: string): Directory {
return dag
.core()
.loadDirectoryFromId(identifier)
}
directory() 🔗
Return Type
Directory !
Example
dagger -m github.com/shykes/core@770692357aeac6bf898f28177614763ae5cc620c call \
directory
func (m *myModule) example() *Directory {
return dag.
Core().
Directory()
}
@function
def example() -> dagger.Directory:
return (
dag.core()
.directory()
)
@func()
example(): Directory {
return dag
.core()
.directory()
}