examples
Examples for Svix module.
Installation
dagger install github.com/sagikazarmark/daggerverse/svix/examples/go@b0afc374e21a16c403005a6fd633fae12eb4bff8
Entrypoint
Return Type
Examples
Example
dagger -m github.com/sagikazarmark/daggerverse/svix/examples/go@b0afc374e21a16c403005a6fd633fae12eb4bff8 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@b0afc374e21a16c403005a6fd633fae12eb4bff8 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@b0afc374e21a16c403005a6fd633fae12eb4bff8 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@b0afc374e21a16c403005a6fd633fae12eb4bff8 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()
}