pipeline

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// KafkaImage is the image used for kafka.
	KafkaImage = "bitnami/kafka:3.5.1"
	// GolangImage is the image used for golang execution.
	GolangImage = "golang:1.21.4"
	// LinterImage is the image used for linter.
	LinterImage = "golangci/golangci-lint:v1.55"
	// NATSImage is the image used for NATS.
	NATSImage = "nats:2.10"
)

Variables

This section is empty.

Functions

func BindBrokers

func BindBrokers(brokers map[string]*dagger.Service) func(r *dagger.Container) *dagger.Container

BindBrokers is used as a helper to bind brokers to a container.

func BrokerKafka

func BrokerKafka(client *dagger.Client) *dagger.Service

BrokerKafka returns a service for the Kafka broker.

func BrokerNATS

func BrokerNATS(client *dagger.Client) *dagger.Service

BrokerNATS returns a service for the NATS broker.

func Brokers

func Brokers(client *dagger.Client) map[string]*dagger.Service

Brokers returns a map of containers for each broker as service.

func Examples

func Examples(client *dagger.Client, brokers map[string]*dagger.Service) map[string]*dagger.Container

Examples returns a container that runs all examples.

func Generator

func Generator(client *dagger.Client) *dagger.Container

Generator returns a container that generates code.

func Linter

func Linter(client *dagger.Client) *dagger.Container

Linter returns a container that runs the linter.

func Tests

func Tests(client *dagger.Client, brokers map[string]*dagger.Service) map[string]*dagger.Container

Tests returns containers for all tests.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL