krico

package
v0.0.0-...-b44688a Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig(cgroup string, domain string) snap.SessionConfig

DefaultConfig returns default configuration for KRICO session.

Types

type Session

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

Session configures & launches snap workflow for KRICO.

func NewSessionLauncher

func NewSessionLauncher(config snap.SessionConfig) (*Session, error)

NewSessionLauncher creates KRICO session.

func (*Session) Launch

func (s *Session) Launch() (executor.TaskHandle, error)

Launch starts Snap Collection session and returns handle to that session.

func (*Session) String

func (s *Session) String() string

String returns human readable name for job.

Jump to

Keyboard shortcuts

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