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