svix
This module allows running Svix for development and testing purposes.Installation
dagger install github.com/sagikazarmark/daggerverse/svix@a2a82eaee0a9f6668ee7f191de08c9fc61d7b3dc
Entrypoint
Return Type
Svix !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | - | Version (image tag) to use from the official image repository as a base container. |
container | Container | - | Custom container to use as a base container. Takes precedence over version. |
postgres | Interface | - | Postgres service. |
database | String | - | Override the database name provided by the Postgres service. |
jwtSecret | Secret | - | The JWT secret for authentication. (defaults to a generated secret) |
config | File | - | Svix configuration file. |
Example
dagger -m github.com/sagikazarmark/daggerverse/svix@a2a82eaee0a9f6668ee7f191de08c9fc61d7b3dc call \
func (m *myModule) example() *Svix {
return dag.
Svix()
}
@function
def example() -> dag.Svix:
return (
dag.svix()
)
@func()
example(): Svix {
return dag
.svix()
}
Types
Svix 🔗
service() 🔗
Return Type
Service !
Example
dagger -m github.com/sagikazarmark/daggerverse/svix@a2a82eaee0a9f6668ee7f191de08c9fc61d7b3dc call \
service
func (m *myModule) example() *Service {
return dag.
Svix().
Service()
}
@function
def example() -> dagger.Service:
return (
dag.svix()
.service()
)
@func()
example(): Service {
return dag
.svix()
.service()
}