session

package
v0.0.0-...-cfd7cab Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Session

type Session struct {
	Stack    *stacks.Parameters
	Loader   client.Loader
	Provider client.Provider
}

type SessionLoader

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

func NewSessionLoader

func NewSessionLoader(client client.FabricClient, maybeSm StacksManager, opts SessionLoaderOptions) *SessionLoader

func (*SessionLoader) LoadSession

func (sl *SessionLoader) LoadSession(ctx context.Context) (*Session, error)

type SessionLoaderOptions

type SessionLoaderOptions struct {
	ProjectName      string
	ComposeFilePaths []string
	stacks.GetStackOpts
}

type StacksManager

type StacksManager interface {
	TargetDirectory(context.Context) string
	GetStack(ctx context.Context, opts stacks.GetStackOpts) (*stacks.Parameters, string, error)
}

Jump to

Keyboard shortcuts

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