package
0.10.0
Repository: https://github.com/flexkube/libflexkube.git
Documentation: pkg.go.dev

# Packages

Package resource stores a wrapper over container.Containers, which implements types.Resource interface.
Package runtime provides interfaces describing container runtimes in generic way and their functionality.
Package types contains types used for managing the containers.

# Functions

FromYaml allows to load containers configuration and state from YAML format.

# Constants

ConfigMountpoint is where host file-system is mounted in the -config container.
StatusMissing is a value, which is set to ContainerStatus.Status field, if stored container ID is not found.

# Structs

Container allows managing single container on directly reachable, configured container runtime, for example Docker using 'unix:///run/docker.sock' address.
Containers allow to orchestrate and update multiple containers spread across multiple hosts and update their configurations.
Hooks defines type of hooks HostConfiguredContainer supports.
HostConfiguredContainer represents single container, running on remote host with it's configuration files.
RuntimeConfig is a collection of various runtime configurations which can be defined by user.

# Interfaces

ContainersInterface represents capabilities of containers struct.
ContainersStateInterface represents 'constainersState' capabilities.
HostConfiguredContainerInterface defines capabilities of validated HostConfiguredContainer.
InstanceInterface represents operations, which can be executed on existing container.
Interface represents container capabilities, which may or may not exist.
ResourceInstance interface represents struct, which can be converted to HostConfiguredContainer.

# Type aliases

ContainersState represents states of multiple containers.
Hook is an action, which may be called before or after certain container operation, like starting or creating.