controller

package
v0.0.0-...-59647e1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(c *cli.Context) error

func Query

func Query(c *cli.Context) error

func Remove

func Remove(c *cli.Context) error

func Run

func Run(c *cli.Context) error

Types

type Controller

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

func (*Controller) LaunchAPI

func (ctr *Controller) LaunchAPI() (*engine.Container, error)

func (*Controller) Stop

func (ctr *Controller) Stop() error

type Project

type Project struct {
	ID       string
	Name     string
	Store    store.Store
	Services []string
}

func GetProject

func GetProject(id string, st store.Store) (*Project, error)

func NewProject

func NewProject(name string, st store.Store) (*Project, error)

func (*Project) GetContainer

func (p *Project) GetContainer(service string) (*engine.Container, error)

func (*Project) GetPipes

func (p *Project) GetPipes() ([]string, error)

func (*Project) Query

func (p *Project) Query(query string) error

func (*Project) RemoveContainer

func (p *Project) RemoveContainer(service string, cont *engine.Container) error

func (*Project) Running

func (p *Project) Running() bool

func (*Project) SetContainer

func (p *Project) SetContainer(service string, container *engine.Container) error

func (*Project) SetServices

func (p *Project) SetServices(services []string) error

func (*Project) Stop

func (p *Project) Stop() error

Jump to

Keyboard shortcuts

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