Documentation
¶
Index ¶
- type GCSConfig
- type GCSPlugin
- func (p *GCSPlugin) GetConnectionInfo() (*plugin.ConnectionInfo, error)
- func (p *GCSPlugin) GetLogs(ctx context.Context, opts *plugin.LogOptions) ([]string, error)
- func (p *GCSPlugin) IsReady(ctx context.Context) (bool, error)
- func (p *GCSPlugin) Launch(ctx context.Context, config map[string]interface{}) error
- func (p *GCSPlugin) Name() string
- func (p *GCSPlugin) Stop(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCSConfig ¶
type GCSConfig struct {
Image string `json:"image"`
Port string `json:"port"`
ProjectID string `json:"project-id"`
Buckets []string `json:"buckets"`
ContainerName string `json:"container-name"`
}
GCSConfig holds GCS-specific configuration
type GCSPlugin ¶
type GCSPlugin struct {
// contains filtered or unexported fields
}
GCSPlugin implements the ServicePlugin interface for the fake-gcs-server Google Cloud Storage emulator.
func NewGCSPlugin ¶
NewGCSPlugin creates a new GCS service plugin
func (*GCSPlugin) GetConnectionInfo ¶
func (p *GCSPlugin) GetConnectionInfo() (*plugin.ConnectionInfo, error)
GetConnectionInfo returns connection details
Click to show internal directories.
Click to hide internal directories.