minio

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinIOConfig

type MinIOConfig struct {
	Image         string `json:"image"`
	Port          string `json:"port"`
	ConsolePort   string `json:"console-port"`
	AccessKey     string `json:"access-key"`
	SecretKey     string `json:"secret-key"`
	ContainerName string `json:"container-name"`
}

MinIOConfig holds MinIO-specific configuration

type MinIOPlugin

type MinIOPlugin struct {
	// contains filtered or unexported fields
}

MinIOPlugin implements the ServicePlugin interface for MinIO (S3-compatible storage)

func NewMinIOPlugin

func NewMinIOPlugin(dockerClient *docker.Client, logger *zap.Logger) *MinIOPlugin

NewMinIOPlugin creates a new MinIO service plugin

func (*MinIOPlugin) GetConnectionInfo

func (p *MinIOPlugin) GetConnectionInfo() (*plugin.ConnectionInfo, error)

GetConnectionInfo returns connection details

func (*MinIOPlugin) GetLogs

func (p *MinIOPlugin) GetLogs(ctx context.Context, opts *plugin.LogOptions) ([]string, error)

GetLogs retrieves service logs

func (*MinIOPlugin) IsReady

func (p *MinIOPlugin) IsReady(ctx context.Context) (bool, error)

IsReady checks if the MinIO service is ready to accept connections

func (*MinIOPlugin) Launch

func (p *MinIOPlugin) Launch(ctx context.Context, config map[string]interface{}) error

Launch starts the MinIO service with given configuration

func (*MinIOPlugin) Name

func (p *MinIOPlugin) Name() string

Name returns the service identifier

func (*MinIOPlugin) Stop

func (p *MinIOPlugin) Stop(ctx context.Context) error

Stop terminates the MinIO service

Jump to

Keyboard shortcuts

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