Dagger
Search

core

No long description provided.

Installation

dagger install github.com/shykes/core@770692357aeac6bf898f28177614763ae5cc620c

Entrypoint

Return Type
Core
Example
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
NameTypeDefault ValueDescription
identifierString !-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
NameTypeDefault ValueDescription
identifierString !-No description provided
Example
Function Core.loadGitRepositoryFromId is not accessible from the core module
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
NameTypeDefault ValueDescription
urlString !-No description provided
Example
Function Core.git is not accessible from the core module
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
NameTypeDefault ValueDescription
identifierString !-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()
}