tester

package
v0.29.4-dev-56e4e32 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SudoRun

func SudoRun(ctx context.Context, args ...string) ([]byte, error)

Types

type ImmichController

type ImmichController struct {
	Env            map[string]string
	ComposePath    string
	ComposeEnvPath string
	AppPath        string
	AppURL         string
	UploadLocation string
	APIKey         string
	AccessToken    string
}

func (*ImmichController) CreateAPIKey

func (s *ImmichController) CreateAPIKey(ctx context.Context) error

func (*ImmichController) CreateAdminLogin

func (s *ImmichController) CreateAdminLogin(ctx context.Context) error

func (*ImmichController) DockerCompose

func (s *ImmichController) DockerCompose(ctx context.Context, args ...string) error

run the docker compose command

func (*ImmichController) DockerRun

func (s *ImmichController) DockerRun(ctx context.Context, args ...string) ([]byte, error)

run the docker command

func (*ImmichController) DockerVolumes

func (s *ImmichController) DockerVolumes(ctx context.Context) ([]string, error)

run the docker volume ls command

func (*ImmichController) Down

func (s *ImmichController) Down(ctx context.Context) error

func (*ImmichController) FactoryReset

func (s *ImmichController) FactoryReset(ctx context.Context) error

func (*ImmichController) RemoveDockerVolumes

func (s *ImmichController) RemoveDockerVolumes(ctx context.Context) error

func (*ImmichController) Up

func (*ImmichController) WaitImmich

func (s *ImmichController) WaitImmich(ctx context.Context, wait time.Duration) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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