containers

package
v0.0.0-...-f162aa9 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileModeRead   os.FileMode = 0o600 // For secret files.
	FileModeShared os.FileMode = 0o644 // For normal files.
	FileModeExec   os.FileMode = 0o755 // For directory or execute files.
)

Variables

View Source
var (
	Log = slog.Default().WithGroup("container")
)

Functions

func NewSlogLogConsumer

func NewSlogLogConsumer(name string) testcontainers.LogConsumer

func NewSlogLogger

func NewSlogLogger(name string) testcontainers.Logging

Types

type SlogLogConsumer

type SlogLogConsumer struct {
	Name string
	// contains filtered or unexported fields
}

func (*SlogLogConsumer) Accept

func (g *SlogLogConsumer) Accept(l testcontainers.Log)

type SlogLogger

type SlogLogger struct {
	Name string
	// contains filtered or unexported fields
}

func (*SlogLogger) Printf

func (g *SlogLogger) Printf(format string, v ...interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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