fixtures

package
v0.0.0-...-ab20bf9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateLayersMetaFile

func GenerateLayersMetaFile(t *testing.T, appsRootDir string) string

func WithLayersManifest

func WithLayersManifest(addLayerManifest bool) func(opts *PublishOpts)

func WithLayersMeta

func WithLayersMeta(layersMetaFile bool) func(opts *PublishOpts)

func WithRegistry

func WithRegistry(registry string) func(opts *PublishOpts)

Types

type App

type App struct {
	Name         string
	PublishedUri string
	Dir          string
}

func NewApp

func NewApp(t *testing.T, composeDef string, name ...string) *App

func (*App) CheckFetched

func (a *App) CheckFetched(t *testing.T)

func (*App) CheckInstalled

func (a *App) CheckInstalled(t *testing.T)

func (*App) CheckRunning

func (a *App) CheckRunning(t *testing.T)

func (*App) GetInstallCheckRes

func (a *App) GetInstallCheckRes(t *testing.T) (checkRes *composectl.AppInstallCheckResult)

func (*App) GetRunningStatus

func (a *App) GetRunningStatus(t *testing.T) (appStatus *composectl.App)

func (*App) Install

func (a *App) Install(t *testing.T)

func (*App) Publish

func (a *App) Publish(t *testing.T, publishOpts ...func(*PublishOpts))

func (*App) Pull

func (a *App) Pull(t *testing.T)

func (*App) Remove

func (a *App) Remove(t *testing.T)

func (*App) Run

func (a *App) Run(t *testing.T)

func (*App) Stop

func (a *App) Stop(t *testing.T)

func (*App) Uninstall

func (a *App) Uninstall(t *testing.T)

func (*App) Up

func (a *App) Up(t *testing.T)

type PublishOpts

type PublishOpts struct {
	PublishLayersManifest bool
	PublishLayersMetaFile bool
	Registry              string
}

Jump to

Keyboard shortcuts

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