models

package
v0.0.0-...-4bf040d Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pane

type Pane struct {
	Name              string
	StartingDirectory string
	Commands          []string
	IsActive          bool
	Split             enums.Split
	Size              string
	Placement         enums.Placement
	Full              enums.Full
	Envs              map[string]string
}

func (*Pane) Decode

func (p *Pane) Decode(value cty.Value) hcl.Diagnostics

type Session

type Session struct {
	Name              string
	ReattachOnStart   bool
	StartingDirectory string
	Envs              map[string]string
	Windows           collection.Collection[*Window]
}

func (*Session) Decode

func (s *Session) Decode(value cty.Value) hcl.Diagnostics

type Window

type Window struct {
	Name              string
	Layout            enums.Layout
	Focus             bool
	StartingDirectory string
	Envs              map[string]string
	Panes             collection.Collection[*Pane]
}

func (*Window) Decode

func (w *Window) Decode(value cty.Value) hcl.Diagnostics

Jump to

Keyboard shortcuts

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