pubsub

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// DefaultProjectID is the default project ID for the Pubsub container.
	DefaultProjectID = "test-project"
)

Variables

View Source
var WithProjectID = shared.WithProjectID

WithProjectID re-exports the common GCloud WithProjectID option

Functions

This section is empty.

Types

type Container

type Container struct {
	testcontainers.Container
	// contains filtered or unexported fields
}

Container represents the Pubsub container type used in the module

func Run

Run creates an instance of the Pubsub GCloud container type. The URI uses the empty string as the protocol.

func (*Container) ProjectID

func (c *Container) ProjectID() string

ProjectID returns the project ID of the Pubsub container.

func (*Container) URI

func (c *Container) URI() string

URI returns the URI of the Pubsub container.

type Option

type Option = shared.Option

Option aliases the common GCloud option type

Jump to

Keyboard shortcuts

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