Documentation ¶
Index ¶
- type DatastoreContainerInitializer
- func (d DatastoreContainerInitializer) GetDockerImage() string
- func (d DatastoreContainerInitializer) GetFilesArtifactMountpoints() map[services.FilesArtifactID]string
- func (d DatastoreContainerInitializer) GetFilesToMount() map[string]bool
- func (d DatastoreContainerInitializer) GetService(serviceId services.ServiceID, ipAddr string) services.Service
- func (d DatastoreContainerInitializer) GetStartCommand(mountedFileFilepaths map[string]string, ipPlaceholder string) ([]string, error)
- func (d DatastoreContainerInitializer) GetTestVolumeMountpoint() string
- func (d DatastoreContainerInitializer) GetUsedPorts() map[string]bool
- func (d DatastoreContainerInitializer) InitializeMountedFiles(mountedFiles map[string]*os.File) error
- type DatastoreService
- func (service DatastoreService) Exists(key string) (bool, error)
- func (service DatastoreService) Get(key string) (string, error)
- func (service DatastoreService) GetIPAddress() string
- func (service DatastoreService) GetPort() int
- func (service DatastoreService) GetServiceID() services.ServiceID
- func (service DatastoreService) IsAvailable() bool
- func (service DatastoreService) Upsert(key string, value string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DatastoreContainerInitializer ¶
type DatastoreContainerInitializer struct {
// contains filtered or unexported fields
}
func NewDatastoreContainerInitializer ¶
func NewDatastoreContainerInitializer(dockerImage string) *DatastoreContainerInitializer
func (DatastoreContainerInitializer) GetDockerImage ¶
func (d DatastoreContainerInitializer) GetDockerImage() string
func (DatastoreContainerInitializer) GetFilesArtifactMountpoints ¶
func (d DatastoreContainerInitializer) GetFilesArtifactMountpoints() map[services.FilesArtifactID]string
func (DatastoreContainerInitializer) GetFilesToMount ¶
func (d DatastoreContainerInitializer) GetFilesToMount() map[string]bool
func (DatastoreContainerInitializer) GetService ¶
func (DatastoreContainerInitializer) GetStartCommand ¶
func (DatastoreContainerInitializer) GetTestVolumeMountpoint ¶
func (d DatastoreContainerInitializer) GetTestVolumeMountpoint() string
func (DatastoreContainerInitializer) GetUsedPorts ¶
func (d DatastoreContainerInitializer) GetUsedPorts() map[string]bool
func (DatastoreContainerInitializer) InitializeMountedFiles ¶
func (d DatastoreContainerInitializer) InitializeMountedFiles(mountedFiles map[string]*os.File) error
type DatastoreService ¶
type DatastoreService struct {
// contains filtered or unexported fields
}
func NewDatastoreService ¶
func NewDatastoreService(serviceId services.ServiceID, ipAddr string, port int) *DatastoreService
func (DatastoreService) GetIPAddress ¶
func (service DatastoreService) GetIPAddress() string
func (DatastoreService) GetPort ¶
func (service DatastoreService) GetPort() int
===========================================================================================
Datastore service-specific methods
===========================================================================================
func (DatastoreService) GetServiceID ¶
func (service DatastoreService) GetServiceID() services.ServiceID
===========================================================================================
Service interface methods
===========================================================================================
func (DatastoreService) IsAvailable ¶
func (service DatastoreService) IsAvailable() bool
Click to show internal directories.
Click to hide internal directories.