services

package
v0.0.0-...-7b28b5b Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultOptions

func DefaultOptions() map[string]string

func DefaultPrompts

func DefaultPrompts(port int) []*survey.Question

func EnableService

func EnableService(service Service, useDefaults bool)

func GetServiceNames

func GetServiceNames() []string

Get the names of all enabled services

func PortIsInUse

func PortIsInUse(port uint16) bool

Types

type BeanstalkdService

type BeanstalkdService struct{}

func (*BeanstalkdService) GetDefaultPort

func (s *BeanstalkdService) GetDefaultPort() int

func (*BeanstalkdService) GetDefaults

func (s *BeanstalkdService) GetDefaults() map[string]string

func (*BeanstalkdService) GetDockerCommandArgs

func (s *BeanstalkdService) GetDockerCommandArgs(options map[string]string) []string

func (*BeanstalkdService) GetImageName

func (s *BeanstalkdService) GetImageName() string

func (*BeanstalkdService) GetName

func (s *BeanstalkdService) GetName() string

func (*BeanstalkdService) GetOrganization

func (s *BeanstalkdService) GetOrganization() string

func (*BeanstalkdService) Prompt

func (s *BeanstalkdService) Prompt() (map[string]string, error)

type ClickHouseService

type ClickHouseService struct{}

func (*ClickHouseService) GetDefaultPort

func (s *ClickHouseService) GetDefaultPort() int

func (*ClickHouseService) GetDefaults

func (s *ClickHouseService) GetDefaults() map[string]string

func (*ClickHouseService) GetDockerCommandArgs

func (s *ClickHouseService) GetDockerCommandArgs(options map[string]string) []string

func (*ClickHouseService) GetImageName

func (s *ClickHouseService) GetImageName() string

func (*ClickHouseService) GetName

func (s *ClickHouseService) GetName() string

func (*ClickHouseService) GetOrganization

func (s *ClickHouseService) GetOrganization() string

func (*ClickHouseService) Prompt

func (s *ClickHouseService) Prompt() (map[string]string, error)

type CouchDbService

type CouchDbService struct{}

func (*CouchDbService) GetDefaultPort

func (s *CouchDbService) GetDefaultPort() int

func (*CouchDbService) GetDefaults

func (s *CouchDbService) GetDefaults() map[string]string

func (*CouchDbService) GetDockerCommandArgs

func (s *CouchDbService) GetDockerCommandArgs(options map[string]string) []string

func (*CouchDbService) GetImageName

func (s *CouchDbService) GetImageName() string

func (*CouchDbService) GetName

func (s *CouchDbService) GetName() string

func (*CouchDbService) GetOrganization

func (s *CouchDbService) GetOrganization() string

func (*CouchDbService) Prompt

func (s *CouchDbService) Prompt() (map[string]string, error)

type DynamoDBService

type DynamoDBService struct{}

func (*DynamoDBService) GetDefaultPort

func (s *DynamoDBService) GetDefaultPort() int

func (*DynamoDBService) GetDefaults

func (s *DynamoDBService) GetDefaults() map[string]string

func (*DynamoDBService) GetDockerCommandArgs

func (s *DynamoDBService) GetDockerCommandArgs(options map[string]string) []string

func (*DynamoDBService) GetImageName

func (s *DynamoDBService) GetImageName() string

func (*DynamoDBService) GetName

func (s *DynamoDBService) GetName() string

func (*DynamoDBService) GetOrganization

func (s *DynamoDBService) GetOrganization() string

func (*DynamoDBService) Prompt

func (s *DynamoDBService) Prompt() (map[string]string, error)

type ElasticSearchService

type ElasticSearchService struct{}

func (*ElasticSearchService) GetDefaultPort

func (s *ElasticSearchService) GetDefaultPort() int

func (*ElasticSearchService) GetDefaults

func (s *ElasticSearchService) GetDefaults() map[string]string

func (*ElasticSearchService) GetDockerCommandArgs

func (s *ElasticSearchService) GetDockerCommandArgs(options map[string]string) []string

func (*ElasticSearchService) GetImageName

func (s *ElasticSearchService) GetImageName() string

func (*ElasticSearchService) GetName

func (s *ElasticSearchService) GetName() string

func (*ElasticSearchService) GetOrganization

func (s *ElasticSearchService) GetOrganization() string

func (*ElasticSearchService) Prompt

func (s *ElasticSearchService) Prompt() (map[string]string, error)

type EventStoreDbService

type EventStoreDbService struct{}

func (*EventStoreDbService) GetDefaultPort

func (s *EventStoreDbService) GetDefaultPort() int

func (*EventStoreDbService) GetDefaults

func (s *EventStoreDbService) GetDefaults() map[string]string

func (*EventStoreDbService) GetDockerCommandArgs

func (s *EventStoreDbService) GetDockerCommandArgs(options map[string]string) []string

func (*EventStoreDbService) GetImageName

func (s *EventStoreDbService) GetImageName() string

func (*EventStoreDbService) GetName

func (s *EventStoreDbService) GetName() string

func (*EventStoreDbService) GetOrganization

func (s *EventStoreDbService) GetOrganization() string

func (*EventStoreDbService) Prompt

func (s *EventStoreDbService) Prompt() (map[string]string, error)

type ExposeService

type ExposeService struct{}

func (*ExposeService) GetDefaultPort

func (s *ExposeService) GetDefaultPort() int

func (*ExposeService) GetDefaults

func (s *ExposeService) GetDefaults() map[string]string

func (*ExposeService) GetDockerCommandArgs

func (s *ExposeService) GetDockerCommandArgs(options map[string]string) []string

func (*ExposeService) GetImageName

func (s *ExposeService) GetImageName() string

func (*ExposeService) GetName

func (s *ExposeService) GetName() string

func (*ExposeService) GetOrganization

func (s *ExposeService) GetOrganization() string

func (*ExposeService) Prompt

func (s *ExposeService) Prompt() (map[string]string, error)

type InfluxDBService

type InfluxDBService struct{}

func (*InfluxDBService) GetDefaultPort

func (s *InfluxDBService) GetDefaultPort() int

func (*InfluxDBService) GetDefaults

func (s *InfluxDBService) GetDefaults() map[string]string

func (*InfluxDBService) GetDockerCommandArgs

func (s *InfluxDBService) GetDockerCommandArgs(options map[string]string) []string

func (*InfluxDBService) GetImageName

func (s *InfluxDBService) GetImageName() string

func (*InfluxDBService) GetName

func (s *InfluxDBService) GetName() string

func (*InfluxDBService) GetOrganization

func (s *InfluxDBService) GetOrganization() string

func (*InfluxDBService) Prompt

func (s *InfluxDBService) Prompt() (map[string]string, error)

type MailDevService

type MailDevService struct{}

func (*MailDevService) GetDefaultPort

func (s *MailDevService) GetDefaultPort() int

func (*MailDevService) GetDefaults

func (s *MailDevService) GetDefaults() map[string]string

func (*MailDevService) GetDockerCommandArgs

func (s *MailDevService) GetDockerCommandArgs(options map[string]string) []string

func (*MailDevService) GetImageName

func (s *MailDevService) GetImageName() string

func (*MailDevService) GetName

func (s *MailDevService) GetName() string

func (*MailDevService) GetOrganization

func (s *MailDevService) GetOrganization() string

func (*MailDevService) Prompt

func (s *MailDevService) Prompt() (map[string]string, error)

type MailHogService

type MailHogService struct{}

func (*MailHogService) GetDefaultPort

func (s *MailHogService) GetDefaultPort() int

func (*MailHogService) GetDefaults

func (s *MailHogService) GetDefaults() map[string]string

func (*MailHogService) GetDockerCommandArgs

func (s *MailHogService) GetDockerCommandArgs(options map[string]string) []string

func (*MailHogService) GetImageName

func (s *MailHogService) GetImageName() string

func (*MailHogService) GetName

func (s *MailHogService) GetName() string

func (*MailHogService) GetOrganization

func (s *MailHogService) GetOrganization() string

func (*MailHogService) Prompt

func (s *MailHogService) Prompt() (map[string]string, error)

type MariaDBService

type MariaDBService struct{}

func (*MariaDBService) GetDefaultPort

func (s *MariaDBService) GetDefaultPort() int

func (*MariaDBService) GetDefaults

func (s *MariaDBService) GetDefaults() map[string]string

func (*MariaDBService) GetDockerCommandArgs

func (s *MariaDBService) GetDockerCommandArgs(options map[string]string) []string

func (*MariaDBService) GetImageName

func (s *MariaDBService) GetImageName() string

func (*MariaDBService) GetName

func (s *MariaDBService) GetName() string

func (*MariaDBService) GetOrganization

func (s *MariaDBService) GetOrganization() string

func (*MariaDBService) Prompt

func (s *MariaDBService) Prompt() (map[string]string, error)

type MeiliSearchService

type MeiliSearchService struct{}

func (*MeiliSearchService) GetDefaultPort

func (s *MeiliSearchService) GetDefaultPort() int

func (*MeiliSearchService) GetDefaults

func (s *MeiliSearchService) GetDefaults() map[string]string

func (*MeiliSearchService) GetDockerCommandArgs

func (s *MeiliSearchService) GetDockerCommandArgs(options map[string]string) []string

func (*MeiliSearchService) GetImageName

func (s *MeiliSearchService) GetImageName() string

func (*MeiliSearchService) GetName

func (s *MeiliSearchService) GetName() string

func (*MeiliSearchService) GetOrganization

func (s *MeiliSearchService) GetOrganization() string

func (*MeiliSearchService) Prompt

func (s *MeiliSearchService) Prompt() (map[string]string, error)

type MemcachedService

type MemcachedService struct{}

func (*MemcachedService) GetDefaultPort

func (s *MemcachedService) GetDefaultPort() int

func (*MemcachedService) GetDefaults

func (s *MemcachedService) GetDefaults() map[string]string

func (*MemcachedService) GetDockerCommandArgs

func (s *MemcachedService) GetDockerCommandArgs(options map[string]string) []string

func (*MemcachedService) GetImageName

func (s *MemcachedService) GetImageName() string

func (*MemcachedService) GetName

func (s *MemcachedService) GetName() string

func (*MemcachedService) GetOrganization

func (s *MemcachedService) GetOrganization() string

func (*MemcachedService) Prompt

func (s *MemcachedService) Prompt() (map[string]string, error)

type MinioService

type MinioService struct{}

func (*MinioService) GetDefaultPort

func (s *MinioService) GetDefaultPort() int

func (*MinioService) GetDefaults

func (s *MinioService) GetDefaults() map[string]string

func (*MinioService) GetDockerCommandArgs

func (s *MinioService) GetDockerCommandArgs(options map[string]string) []string

func (*MinioService) GetImageName

func (s *MinioService) GetImageName() string

func (*MinioService) GetName

func (s *MinioService) GetName() string

func (*MinioService) GetOrganization

func (s *MinioService) GetOrganization() string

func (*MinioService) Prompt

func (s *MinioService) Prompt() (map[string]string, error)

type MongoService

type MongoService struct{}

func (*MongoService) GetDefaultPort

func (s *MongoService) GetDefaultPort() int

func (*MongoService) GetDefaults

func (s *MongoService) GetDefaults() map[string]string

func (*MongoService) GetDockerCommandArgs

func (s *MongoService) GetDockerCommandArgs(options map[string]string) []string

func (*MongoService) GetImageName

func (s *MongoService) GetImageName() string

func (*MongoService) GetName

func (s *MongoService) GetName() string

func (*MongoService) GetOrganization

func (s *MongoService) GetOrganization() string

func (*MongoService) Prompt

func (s *MongoService) Prompt() (map[string]string, error)

type MsSqlService

type MsSqlService struct{}

func (*MsSqlService) GetDefaultPort

func (s *MsSqlService) GetDefaultPort() int

func (*MsSqlService) GetDefaults

func (s *MsSqlService) GetDefaults() map[string]string

func (*MsSqlService) GetDockerCommandArgs

func (s *MsSqlService) GetDockerCommandArgs(options map[string]string) []string

func (*MsSqlService) GetImageName

func (s *MsSqlService) GetImageName() string

func (*MsSqlService) GetName

func (s *MsSqlService) GetName() string

func (*MsSqlService) GetOrganization

func (s *MsSqlService) GetOrganization() string

func (*MsSqlService) Prompt

func (s *MsSqlService) Prompt() (map[string]string, error)

type MySqlService

type MySqlService struct{}

func (*MySqlService) GetDefaultPort

func (s *MySqlService) GetDefaultPort() int

func (*MySqlService) GetDefaults

func (s *MySqlService) GetDefaults() map[string]string

func (*MySqlService) GetDockerCommandArgs

func (s *MySqlService) GetDockerCommandArgs(options map[string]string) []string

func (*MySqlService) GetImageName

func (s *MySqlService) GetImageName() string

func (*MySqlService) GetName

func (s *MySqlService) GetName() string

func (*MySqlService) GetOrganization

func (s *MySqlService) GetOrganization() string

func (*MySqlService) Prompt

func (s *MySqlService) Prompt() (map[string]string, error)

type Neo4jService

type Neo4jService struct{}

func (*Neo4jService) GetDefaultPort

func (s *Neo4jService) GetDefaultPort() int

func (*Neo4jService) GetDefaults

func (s *Neo4jService) GetDefaults() map[string]string

func (*Neo4jService) GetDockerCommandArgs

func (s *Neo4jService) GetDockerCommandArgs(options map[string]string) []string

func (*Neo4jService) GetImageName

func (s *Neo4jService) GetImageName() string

func (*Neo4jService) GetName

func (s *Neo4jService) GetName() string

func (*Neo4jService) GetOrganization

func (s *Neo4jService) GetOrganization() string

func (*Neo4jService) Prompt

func (s *Neo4jService) Prompt() (map[string]string, error)

type PostGisService

type PostGisService struct{}

func (*PostGisService) GetDefaultPort

func (s *PostGisService) GetDefaultPort() int

func (*PostGisService) GetDefaults

func (s *PostGisService) GetDefaults() map[string]string

func (*PostGisService) GetDockerCommandArgs

func (s *PostGisService) GetDockerCommandArgs(options map[string]string) []string

func (*PostGisService) GetImageName

func (s *PostGisService) GetImageName() string

func (*PostGisService) GetName

func (s *PostGisService) GetName() string

func (*PostGisService) GetOrganization

func (s *PostGisService) GetOrganization() string

func (*PostGisService) Prompt

func (s *PostGisService) Prompt() (map[string]string, error)

type PostgresService

type PostgresService struct{}

func (*PostgresService) GetDefaultPort

func (s *PostgresService) GetDefaultPort() int

func (*PostgresService) GetDefaults

func (s *PostgresService) GetDefaults() map[string]string

func (*PostgresService) GetDockerCommandArgs

func (s *PostgresService) GetDockerCommandArgs(options map[string]string) []string

func (*PostgresService) GetImageName

func (s *PostgresService) GetImageName() string

func (*PostgresService) GetName

func (s *PostgresService) GetName() string

func (*PostgresService) GetOrganization

func (s *PostgresService) GetOrganization() string

func (*PostgresService) Prompt

func (s *PostgresService) Prompt() (map[string]string, error)

type RabbitMqService

type RabbitMqService struct{}

func (*RabbitMqService) GetDefaultPort

func (s *RabbitMqService) GetDefaultPort() int

func (*RabbitMqService) GetDefaults

func (s *RabbitMqService) GetDefaults() map[string]string

func (*RabbitMqService) GetDockerCommandArgs

func (s *RabbitMqService) GetDockerCommandArgs(options map[string]string) []string

func (*RabbitMqService) GetImageName

func (s *RabbitMqService) GetImageName() string

func (*RabbitMqService) GetName

func (s *RabbitMqService) GetName() string

func (*RabbitMqService) GetOrganization

func (s *RabbitMqService) GetOrganization() string

func (*RabbitMqService) Prompt

func (s *RabbitMqService) Prompt() (map[string]string, error)

type RedisService

type RedisService struct{}

func (*RedisService) GetDefaultPort

func (s *RedisService) GetDefaultPort() int

func (*RedisService) GetDefaults

func (s *RedisService) GetDefaults() map[string]string

func (*RedisService) GetDockerCommandArgs

func (s *RedisService) GetDockerCommandArgs(options map[string]string) []string

func (*RedisService) GetImageName

func (s *RedisService) GetImageName() string

func (*RedisService) GetName

func (s *RedisService) GetName() string

func (*RedisService) GetOrganization

func (s *RedisService) GetOrganization() string

func (*RedisService) Prompt

func (s *RedisService) Prompt() (map[string]string, error)

type Service

type Service interface {
	GetName() string
	GetDefaultPort() int
	GetOrganization() string
	GetImageName() string
	GetDefaults() map[string]string
	Prompt() (map[string]string, error)
	GetDockerCommandArgs(map[string]string) []string
}

func GetService

func GetService(name string) Service

Get a service by name

func GetServices

func GetServices() []Service

Get all available services

type SftpService

type SftpService struct{}

func (*SftpService) GetDefaultPort

func (s *SftpService) GetDefaultPort() int

func (*SftpService) GetDefaults

func (s *SftpService) GetDefaults() map[string]string

func (*SftpService) GetDockerCommandArgs

func (s *SftpService) GetDockerCommandArgs(options map[string]string) []string

func (*SftpService) GetImageName

func (s *SftpService) GetImageName() string

func (*SftpService) GetName

func (s *SftpService) GetName() string

func (*SftpService) GetOrganization

func (s *SftpService) GetOrganization() string

func (*SftpService) Prompt

func (s *SftpService) Prompt() (map[string]string, error)

type SingleStoreService

type SingleStoreService struct{}

func (*SingleStoreService) GetDefaultPort

func (s *SingleStoreService) GetDefaultPort() int

func (*SingleStoreService) GetDefaults

func (s *SingleStoreService) GetDefaults() map[string]string

func (*SingleStoreService) GetDockerCommandArgs

func (s *SingleStoreService) GetDockerCommandArgs(options map[string]string) []string

func (*SingleStoreService) GetImageName

func (s *SingleStoreService) GetImageName() string

func (*SingleStoreService) GetName

func (s *SingleStoreService) GetName() string

func (*SingleStoreService) GetOrganization

func (s *SingleStoreService) GetOrganization() string

func (*SingleStoreService) Prompt

func (s *SingleStoreService) Prompt() (map[string]string, error)

type SqsService

type SqsService struct{}

func (*SqsService) GetDefaultPort

func (s *SqsService) GetDefaultPort() int

func (*SqsService) GetDefaults

func (s *SqsService) GetDefaults() map[string]string

func (*SqsService) GetDockerCommandArgs

func (s *SqsService) GetDockerCommandArgs(options map[string]string) []string

func (*SqsService) GetImageName

func (s *SqsService) GetImageName() string

func (*SqsService) GetName

func (s *SqsService) GetName() string

func (*SqsService) GetOrganization

func (s *SqsService) GetOrganization() string

func (*SqsService) Prompt

func (s *SqsService) Prompt() (map[string]string, error)

Jump to

Keyboard shortcuts

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