getsessions

package
v0.0.0-...-2eac4b3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2026 License: Apache-2.0 Imports: 8 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 get-sessions command instance.

func Handler

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

Handler contains the business logic for getting sessions.

Types

type Config

type Config struct {
	Project string
	RunID   string
}

Config holds all configuration for the get-sessions 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