Documentation
¶
Index ¶
- Variables
- func BinaryPath(cfg cula.Config, fallback string) string
- func CommandEnv(input cula.SessionInput, cfg cula.Config) []string
- func Emit(events chan<- cula.Event, done <-chan struct{}, ev cula.Event) (ok bool)
- func ExitCode(err error) int
- func LookupRuntime(binary, name string, kind cula.RuntimeKind, displayName string) cula.RuntimeInfo
- func NormalizeInput(input cula.SessionInput) cula.SessionInput
- func ParseArguments(args string) map[string]any
- func StringMapSummary(input map[string]any) string
- func Truncate(s string, n int) string
- func WriteJSONLine(w io.Writer, v any) error
- type RawValue
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSessionClosed = errors.New("session is closed")
Functions ¶
func CommandEnv ¶
func CommandEnv(input cula.SessionInput, cfg cula.Config) []string
func LookupRuntime ¶
func LookupRuntime(binary, name string, kind cula.RuntimeKind, displayName string) cula.RuntimeInfo
func NormalizeInput ¶
func NormalizeInput(input cula.SessionInput) cula.SessionInput
func ParseArguments ¶
func StringMapSummary ¶
Types ¶
type RawValue ¶
type RawValue struct {
// contains filtered or unexported fields
}
func (RawValue) Raw ¶
func (r RawValue) Raw() json.RawMessage
func (*RawValue) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.