datastore

package
v0.0.0-...-aedf96a Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 (d DatastoreContainerInitializer) GetService(serviceId services.ServiceID, ipAddr string) services.Service

func (DatastoreContainerInitializer) GetStartCommand

func (d DatastoreContainerInitializer) GetStartCommand(mountedFileFilepaths map[string]string, ipPlaceholder string) ([]string, error)

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) Exists

func (service DatastoreService) Exists(key string) (bool, error)

func (DatastoreService) Get

func (service DatastoreService) Get(key string) (string, error)

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

func (DatastoreService) Upsert

func (service DatastoreService) Upsert(key string, value string) error

Jump to

Keyboard shortcuts

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