Dagger
Search

envhub

This module provides a function to load dotfiles and packages from a envhub environment.

Installation

dagger install github.com/tsirysndr/daggerverse/envhub@52d171ecd0f3bf2c268fec5cbf6df716f5bcec92

Entrypoint

Return Type
Envhub
Example
dagger -m github.com/tsirysndr/daggerverse/envhub@52d171ecd0f3bf2c268fec5cbf6df716f5bcec92 call \
func (m *myModule) example() *Envhub  {
	return dag.
			Envhub()
}
@function
def example() -> dag.Envhub:
	return (
		dag.envhub()
	)
@func()
example(): Envhub {
	return dag
		.envhub()
}

Types

Envhub 🔗

use() 🔗

Load dotfiles and packages from a envhub environment.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory !-No description provided
environmentString !-No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/envhub@52d171ecd0f3bf2c268fec5cbf6df716f5bcec92 call \
 use --src DIR_PATH --environment string
func (m *myModule) example(src *Directory, environment string) *Container  {
	return dag.
			Envhub().
			Use(src, environment)
}
@function
def example(src: dagger.Directory, environment: str) -> dagger.Container:
	return (
		dag.envhub()
		.use(src, environment)
	)
@func()
example(src: Directory, environment: string): Container {
	return dag
		.envhub()
		.use(src, environment)
}

dev() 🔗

Returns a container with envhub installed and environment loaded.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
srcDirectory -No description provided
environmentString -No description provided
Example
dagger -m github.com/tsirysndr/daggerverse/envhub@52d171ecd0f3bf2c268fec5cbf6df716f5bcec92 call \
 dev
func (m *myModule) example() *Container  {
	return dag.
			Envhub().
			Dev()
}
@function
def example() -> dagger.Container:
	return (
		dag.envhub()
		.dev()
	)
@func()
example(): Container {
	return dag
		.envhub()
		.dev()
}