service

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func New

func New() (*Service, error)

func (*Service) Build

func (a *Service) Build(ctx context.Context, p *project.Project) error

func (*Service) Down

func (a *Service) Down(ctx context.Context, p *project.Project, deleteVolumes bool) error

func (*Service) GetRunningServices

func (a *Service) GetRunningServices(ctx context.Context, p *project.Project, all bool, filter string) ([]string, error)

func (*Service) IsRunning

func (a *Service) IsRunning(ctx context.Context, p *project.Project) (bool, error)

func (*Service) Logs added in v0.1.7

func (a *Service) Logs(ctx context.Context, p *project.Project, services []string) error

func (*Service) Ps

func (a *Service) Ps(ctx context.Context, p *project.Project) error

func (*Service) Run

func (a *Service) Run(ctx context.Context, p *project.Project, command string, args []string) error

func (*Service) Shell added in v0.1.10

func (a *Service) Shell(ctx context.Context, p *project.Project, serviceName string) error

func (*Service) Up

func (a *Service) Up(ctx context.Context, p *project.Project) error

Jump to

Keyboard shortcuts

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