Dagger
Search

tracetest

Tracetest module run https://tracetest.io/ assertions in your pipeline

Installation

dagger install github.com/kubeshop/tracetest@8c44d01e33e677518a555d1b958cf7be0d70f940

Entrypoint

Return Type
Tracetest !
Arguments
NameTypeDescription
apiKeySecret No description provided
environmentString No description provided
organizationString No description provided
serverString No description provided
versionString 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
NameTypeDefault ValueDescription
nameString !-No description provided
svcService !-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()
}