timpkg
No long description provided.
Installation
dagger install github.com/anthonybrice/timpkg@9bb4d66aea1c601b3790114ca088c85b68377ebf
Entrypoint
Return Type
Timpkg
Example
dagger -m github.com/anthonybrice/timpkg@9bb4d66aea1c601b3790114ca088c85b68377ebf call \
func (m *myModule) example() *Timpkg {
return dag.
Timpkg()
}
@function
def example() -> dag.Timpkg:
return (
dag.timpkg()
)
@func()
example(): Timpkg {
return dag
.timpkg()
}
Types
Timpkg 🔗
withDev() 🔗
Return Type
Timpkg !
Example
dagger -m github.com/anthonybrice/timpkg@9bb4d66aea1c601b3790114ca088c85b68377ebf call \
with-dev
func (m *myModule) example() *Timpkg {
return dag.
Timpkg().
WithDev()
}
@function
def example() -> dag.Timpkg:
return (
dag.timpkg()
.with_dev()
)
@func()
example(): Timpkg {
return dag
.timpkg()
.withDev()
}
pushDirs() 🔗
Publish all modules in the directory to the container registry.
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
registryRoot | String ! | "ghcr.io/anthonybrice" | No description provided |
token | String | - | No description provided |
Example
dagger -m github.com/anthonybrice/timpkg@9bb4d66aea1c601b3790114ca088c85b68377ebf call \
push-dirs --dir DIR_PATH --registry-root string
func (m *myModule) example(ctx context.Context, dir *Directory, registryRoot string) string {
return dag.
Timpkg().
PushDirs(ctx, dir, registryRoot)
}
@function
async def example(dir: dagger.Directory, registry_root: str) -> str:
return await (
dag.timpkg()
.push_dirs(dir, registry_root)
)
@func()
async example(dir: Directory, registryRoot: string): Promise<string> {
return dag
.timpkg()
.pushDirs(dir, registryRoot)
}
pushDir() 🔗
Publish module at directory to the container registry.
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
registryRoot | String ! | "ghcr.io/anthonybrice" | No description provided |
token | String | - | No description provided |
Example
dagger -m github.com/anthonybrice/timpkg@9bb4d66aea1c601b3790114ca088c85b68377ebf call \
push-dir --dir DIR_PATH --registry-root string
func (m *myModule) example(ctx context.Context, dir *Directory, registryRoot string) string {
return dag.
Timpkg().
PushDir(ctx, dir, registryRoot)
}
@function
async def example(dir: dagger.Directory, registry_root: str) -> str:
return await (
dag.timpkg()
.push_dir(dir, registry_root)
)
@func()
async example(dir: Directory, registryRoot: string): Promise<string> {
return dag
.timpkg()
.pushDir(dir, registryRoot)
}