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