dockerrx

package
v0.8.34 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MySQL added in v0.8.34

type MySQL struct {
	Version  string
	Name     string
	Image    string
	User     string
	Password string
	Port     string
}

MySQL docker recipe

func (*MySQL) Compose added in v0.8.34

func (m *MySQL) Compose() (*typdocker.Recipe, error)

Compose to return the recipe

type MySQLWithEnv added in v0.8.34

type MySQLWithEnv struct {
	Version     string
	Name        string
	Image       string
	UserEnv     string
	PasswordEnv string
	PortEnv     string
}

MySQLWithEnv same with MySQL but with env parameter

func (*MySQLWithEnv) Compose added in v0.8.34

func (m *MySQLWithEnv) Compose() (*typdocker.Recipe, error)

Compose for docker-compose

type Postgres

type Postgres struct {
	Version  string
	Name     string
	Image    string
	User     string
	Password string
	Port     string
}

Postgres docker recipe

func (*Postgres) Compose

func (p *Postgres) Compose() (*typdocker.Recipe, error)

Compose to return the recipe

type PostgresWithEnv added in v0.8.33

type PostgresWithEnv struct {
	Version     string
	Name        string
	Image       string
	UserEnv     string
	PasswordEnv string
	PortEnv     string
}

PostgresWithEnv same with postgres with env parameter

func (*PostgresWithEnv) Compose added in v0.8.33

func (p *PostgresWithEnv) Compose() (*typdocker.Recipe, error)

Compose for docker-compose

type Redis

type Redis struct {
	Version  string
	Name     string
	Image    string
	Password string
	Port     string
}

Redis docker recipe

func (*Redis) Compose

func (r *Redis) Compose() (*typdocker.Recipe, error)

Compose to return redis recipe

type RedisWithEnv added in v0.8.33

type RedisWithEnv struct {
	Version     string
	Name        string
	Image       string
	PasswordEnv string
	PortEnv     string
}

RedisWithEnv same with redis with env parameter

func (*RedisWithEnv) Compose added in v0.8.33

func (r *RedisWithEnv) Compose() (*typdocker.Recipe, error)

Compose for docker-compose

Jump to

Keyboard shortcuts

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