examples
Examples for Svix module.
Installation
dagger install github.com/sagikazarmark/daggerverse/svix/examples/go@d7173b382eea02af93f8cabfd244118ab7ba6c6c
Entrypoint
Return Type
Examples
Example
dagger -m github.com/sagikazarmark/daggerverse/svix/examples/go@d7173b382eea02af93f8cabfd244118ab7ba6c6c call \
func (m *myModule) example() *Examples {
return dag.
Examples()
}
@function
def example() -> dag.Examples:
return (
dag.examples()
)
@func()
example(): Examples {
return dag
.examples()
}
Types
Examples 🔗
all() 🔗
All executes all examples.
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/svix/examples/go@d7173b382eea02af93f8cabfd244118ab7ba6c6c call \
all
func (m *myModule) example(ctx context.Context) {
return dag.
Examples().
All(ctx)
}
@function
async def example() -> None:
return await (
dag.examples()
.all()
)
@func()
async example(): Promise<void> {
return dag
.examples()
.all()
}
svixDefaults() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/svix/examples/go@d7173b382eea02af93f8cabfd244118ab7ba6c6c call \
svix-defaults
func (m *myModule) example(ctx context.Context) {
return dag.
Examples().
SvixDefaults(ctx)
}
@function
async def example() -> None:
return await (
dag.examples()
.svix_defaults()
)
@func()
async example(): Promise<void> {
return dag
.examples()
.svixDefaults()
}
svixPostgres() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/svix/examples/go@d7173b382eea02af93f8cabfd244118ab7ba6c6c call \
svix-postgres
func (m *myModule) example(ctx context.Context) {
return dag.
Examples().
SvixPostgres(ctx)
}
@function
async def example() -> None:
return await (
dag.examples()
.svix_postgres()
)
@func()
async example(): Promise<void> {
return dag
.examples()
.svixPostgres()
}