Documentation
¶
Index ¶
- type MinIOConfig
- type MinIOPlugin
- func (p *MinIOPlugin) GetConnectionInfo() (*plugin.ConnectionInfo, error)
- func (p *MinIOPlugin) GetLogs(ctx context.Context, opts *plugin.LogOptions) ([]string, error)
- func (p *MinIOPlugin) IsReady(ctx context.Context) (bool, error)
- func (p *MinIOPlugin) Launch(ctx context.Context, config map[string]interface{}) error
- func (p *MinIOPlugin) Name() string
- func (p *MinIOPlugin) Stop(ctx context.Context) error
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
Click to show internal directories.
Click to hide internal directories.