timpkg
No long description provided.
Installation
dagger install github.com/anthonybrice/timpkg@9e36dfbf9ab83fb877657d432b73eb3a7b8a5cef
Entrypoint
Return Type
Timpkg
Example
dagger -m github.com/anthonybrice/timpkg@9e36dfbf9ab83fb877657d432b73eb3a7b8a5cef 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@9e36dfbf9ab83fb877657d432b73eb3a7b8a5cef 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@9e36dfbf9ab83fb877657d432b73eb3a7b8a5cef 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@9e36dfbf9ab83fb877657d432b73eb3a7b8a5cef 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)
}