viewsession

package
v0.0.0-...-fcb1105 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Command creates a new view-session command instance.

func Handler

func Handler(ctx context.Context, cfg Config, deps *Deps) (*act.NoOutput, error)

Handler contains the business logic for viewing a session.

Types

type Config

type Config struct {
	Project        string
	MetadataBucket string
	LogsBucket     string
	SessionID      string
}

Config holds all configuration for the view-session command.

func (Config) Validate

func (c Config) Validate() error

Validate ensures the configuration is valid.

type Deps

type Deps struct {
	IO cli.IO
}

Deps holds dependencies for the command.

func InitDeps

func InitDeps(context.Context) (*Deps, error)

InitDeps initializes Deps.

func (*Deps) SetIO

func (d *Deps) SetIO(cio cli.IO)

Jump to

Keyboard shortcuts

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