spec

package
v0.0.0-...-c4caace Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	Name    string        `json:"name"`
	Runtime string        `json:"runtime"`
	ID      string        `json:"id"`
	Image   string        `json:"image,omitempty"`
	Mounts  []specs.Mount `json:"mounts"`
	State   string        `json:"state,omitempty"`
}

Container holds the data to be sent when creating a container component

type ContainerUtil

type ContainerUtil interface {
	GetContainers(ctx context.Context) ([]*Container, error)
}

ContainerUtil is an interface for util classes capable of getting a list of Container

Jump to

Keyboard shortcuts

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