docker

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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultConfig

func DefaultConfig() snap.SessionConfig

DefaultConfig returns default configuration for Docker Session Launcher.

Types

type Session

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

Session configures and launches snap workflow for docker

func NewSessionLauncher

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

NewSessionLauncher constructs Docker Session Launcher.

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