core
A utility module to query the Dagger core API directly from the CLI
Installation
dagger install github.com/shykes/daggerverse/core@v0.1.0Entrypoint
Return Type
CoreExample
dagger -m github.com/shykes/daggerverse/core@9438d69d583c0d06c5db34c1a1ce5ca474c71ad2 call \
func (m *MyModule) Example() *dagger.Core  {
	return dag.
			Core()
}@function
def example() -> dagger.Core:
	return (
		dag.core()
	)@func()
example(): Core {
	return dag
		.core()
}Types
Core 🔗
loadContainer() 🔗
Load the state of a container by ID
Return Type
Container !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| load | String ! | - | No description provided | 
Example
dagger -m github.com/shykes/daggerverse/core@9438d69d583c0d06c5db34c1a1ce5ca474c71ad2 call \
 load-container --load stringfunc (m *MyModule) Example(load string) *dagger.Container  {
	return dag.
			Core().
			LoadContainer(load)
}@function
def example(load: str) -> dagger.Container:
	return (
		dag.core()
		.load_container(load)
	)@func()
example(load: string): Container {
	return dag
		.core()
		.loadContainer(load)
}container() 🔗
Initialize a container
Return Type
Container !Example
dagger -m github.com/shykes/daggerverse/core@9438d69d583c0d06c5db34c1a1ce5ca474c71ad2 call \
 containerfunc (m *MyModule) Example() *dagger.Container  {
	return dag.
			Core().
			Container()
}@function
def example() -> dagger.Container:
	return (
		dag.core()
		.container()
	)@func()
example(): Container {
	return dag
		.core()
		.container()
}git() 🔗
Query a remote git repository
Return Type
GitRepository !Arguments
| Name | Type | Default Value | Description | 
|---|---|---|---|
| url | String ! | - | No description provided | 
Example
dagger -m github.com/shykes/daggerverse/core@9438d69d583c0d06c5db34c1a1ce5ca474c71ad2 call \
 git --url stringfunc (m *MyModule) Example(url string) *dagger.GitRepository  {
	return dag.
			Core().
			Git(url)
}@function
def example(url: str) -> dagger.GitRepository:
	return (
		dag.core()
		.git(url)
	)@func()
example(url: string): GitRepository {
	return dag
		.core()
		.git(url)
}