repository

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Installed added in v0.1.0

func Installed() ([]string, error)

Types

type App

type App struct {
	Environment Environment
	Image       string
	Installed   bool
	Name        string
	Port        int
	Resources   Resources
}

func Get

func Get(name string) (*App, error)

func List

func List() ([]App, error)

func (*App) Container

func (a *App) Container() (*docker.Container, error)

type Environment

type Environment struct {
	// contains filtered or unexported fields
}

func (*Environment) Get

func (e *Environment) Get(name string) (string, error)

func (*Environment) Map

func (e *Environment) Map() (map[string]string, error)

func (*Environment) Names

func (e *Environment) Names() []string

func (*Environment) UnmarshalYAML

func (e *Environment) UnmarshalYAML(unmarshal func(interface{}) error) error

type EnvironmentVariable

type EnvironmentVariable interface {
	String() (string, error)
}

type EnvironmentVariableResource

type EnvironmentVariableResource struct {
	// contains filtered or unexported fields
}

func (*EnvironmentVariableResource) String

func (v *EnvironmentVariableResource) String() (string, error)

type EnvironmentVariableSecret

type EnvironmentVariableSecret struct {
	// contains filtered or unexported fields
}

func (*EnvironmentVariableSecret) String

func (v *EnvironmentVariableSecret) String() (string, error)

type EnvironmentVariableStatic

type EnvironmentVariableStatic struct {
	// contains filtered or unexported fields
}

func (*EnvironmentVariableStatic) String

func (v *EnvironmentVariableStatic) String() (string, error)

type Resource

type Resource interface {
	Container() (*docker.Container, error)
	Name() string
	URL() (*url.URL, error)
}

type ResourcePostgres

type ResourcePostgres struct {
	// contains filtered or unexported fields
}

func (*ResourcePostgres) Container

func (r *ResourcePostgres) Container() (*docker.Container, error)

func (*ResourcePostgres) Name

func (r *ResourcePostgres) Name() string

func (*ResourcePostgres) URL

func (r *ResourcePostgres) URL() (*url.URL, error)

type Resources

type Resources struct {
	// contains filtered or unexported fields
}

func (Resources) Get

func (rs Resources) Get(name string) (Resource, error)

func (Resources) List

func (rs Resources) List() []Resource

func (*Resources) UnmarshalYAML

func (rs *Resources) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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