timpkg
No long description provided.
Installation
dagger install github.com/anthonybrice/timpkg@c92913e858d5a029c4adf06bec5f7c2c214e0660
Entrypoint
Return Type
Timpkg
Example
dagger -m github.com/anthonybrice/timpkg@c92913e858d5a029c4adf06bec5f7c2c214e0660 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@c92913e858d5a029c4adf06bec5f7c2c214e0660 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() 🔗
Push all modules in the directory to the registry.
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
token | String | - | No description provided |
Example
dagger -m github.com/anthonybrice/timpkg@c92913e858d5a029c4adf06bec5f7c2c214e0660 call \
push-dirs --dir DIR_PATH
func (m *myModule) example(ctx context.Context, dir *Directory) string {
return dag.
Timpkg().
PushDirs(ctx, dir)
}
@function
async def example(dir: dagger.Directory) -> str:
return await (
dag.timpkg()
.push_dirs(dir)
)
@func()
async example(dir: Directory): Promise<string> {
return dag
.timpkg()
.pushDirs(dir)
}
pushDir() 🔗
Push module at directory to the registry.
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
dir | Directory ! | - | No description provided |
token | String | - | No description provided |
Example
dagger -m github.com/anthonybrice/timpkg@c92913e858d5a029c4adf06bec5f7c2c214e0660 call \
push-dir --dir DIR_PATH
func (m *myModule) example(ctx context.Context, dir *Directory) string {
return dag.
Timpkg().
PushDir(ctx, dir)
}
@function
async def example(dir: dagger.Directory) -> str:
return await (
dag.timpkg()
.push_dir(dir)
)
@func()
async example(dir: Directory): Promise<string> {
return dag
.timpkg()
.pushDir(dir)
}