tracetest
Tracetest module run https://tracetest.io/ assertions in your pipeline
Installation
dagger install github.com/kubeshop/tracetest@v1.6.0
Entrypoint
Return Type
Tracetest !
Arguments
Name | Type | Description |
---|---|---|
apiKey | Secret | No description provided |
environment | String | No description provided |
organization | String | No description provided |
server | String | No description provided |
version | String | No description provided |
Example
dagger -m github.com/kubeshop/tracetest@8c44d01e33e677518a555d1b958cf7be0d70f940 call \
func (m *myModule) example() *Tracetest {
return dag.
Tracetest()
}
@function
def example() -> dag.Tracetest:
return (
dag.tracetest()
)
@func()
example(): Tracetest {
return dag
.tracetest()
}
Types
Tracetest 🔗
agent() 🔗
Retruns a Tracetest container configured to be used as a Dagger service
Return Type
Container !
Example
dagger -m github.com/kubeshop/tracetest@8c44d01e33e677518a555d1b958cf7be0d70f940 call \
agent
func (m *myModule) example() *Container {
return dag.
Tracetest().
Agent()
}
@function
def example() -> dagger.Container:
return (
dag.tracetest()
.agent()
)
@func()
example(): Container {
return dag
.tracetest()
.agent()
}
withService() 🔗
Return Type
Tracetest !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String ! | - | No description provided |
svc | Service ! | - | No description provided |
Example
dagger -m github.com/kubeshop/tracetest@8c44d01e33e677518a555d1b958cf7be0d70f940 call \
with-service --name string --svc PROTOCOL://HOST:PORT
func (m *myModule) example(name string, svc *Service) *Tracetest {
return dag.
Tracetest().
WithService(name, svc)
}
@function
def example(name: str, svc: dagger.Service) -> dag.Tracetest:
return (
dag.tracetest()
.with_service(name, svc)
)
@func()
example(name: string, svc: Service): Tracetest {
return dag
.tracetest()
.withService(name, svc)
}
cli() 🔗
Runs Tracetest CLI commands.
Return Type
Container !
Example
dagger -m github.com/kubeshop/tracetest@8c44d01e33e677518a555d1b958cf7be0d70f940 call \
cli
func (m *myModule) example() *Container {
return dag.
Tracetest().
Cli()
}
@function
def example() -> dagger.Container:
return (
dag.tracetest()
.cli()
)
@func()
example(): Container {
return dag
.tracetest()
.cli()
}