openring
This module allows you to generate a webring snippet for your blog using theopenring library.
Installation
dagger install github.com/levlaz/daggerverse/openring@v0.3.0Entrypoint
Return Type
Openring Example
dagger -m github.com/levlaz/daggerverse/openring@b242096244c2d5508636987dff7bda64864562b2 call \
func (m *MyModule) Example() *dagger.Openring {
return dag.
Openring()
}@function
def example() -> dagger.Openring:
return (
dag.openring()
)@func()
example(): Openring {
return dag
.openring()
}Types
Openring 🔗
openring() 🔗
generate openring snippet
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| sources | File ! | - | File containing list of feeds to include |
| template | File | - | Optional HTML template file |
Example
dagger -m github.com/levlaz/daggerverse/openring@b242096244c2d5508636987dff7bda64864562b2 call \
openring --sources file:pathfunc (m *MyModule) Example(sources *dagger.File) *dagger.File {
return dag.
Openring().
Openring(sources)
}@function
def example(sources: dagger.File) -> dagger.File:
return (
dag.openring()
.openring(sources)
)@func()
example(sources: File): File {
return dag
.openring()
.openring(sources)
}test() 🔗
Test for Openring Function
Return Type
File !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| sources | File ! | - | No description provided |
Example
dagger -m github.com/levlaz/daggerverse/openring@b242096244c2d5508636987dff7bda64864562b2 call \
test --sources file:pathfunc (m *MyModule) Example(sources *dagger.File) *dagger.File {
return dag.
Openring().
Test(sources)
}@function
def example(sources: dagger.File) -> dagger.File:
return (
dag.openring()
.test(sources)
)@func()
example(sources: File): File {
return dag
.openring()
.test(sources)
}