package
6.4.3+incompatible
Repository: https://github.com/chenbh/concourse.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Code generated by counterfeiter.
No description provided by the author

# Functions

MaxValid computes what the highest possible id in a permission map is.
No description provided by the author
No description provided by the author
No description provided by the author
NewGardenBackend instantiates a GardenBackend with tweakable configurations passed as Config.
No description provided by the author
No description provided by the author
No description provided by the author
NewRootfsManager instantiates a rootfsManager .
No description provided by the author
No description provided by the author
WithCNIBinariesDir is the directory where the binaries necessary for setting up the network live.
WithCNIClient is an implementor of the CNI interface for reaching out to CNI plugins.
WithCNIFileStore changes the default FileStore used to store files that belong to network configurations for containers.
WithCNINetworkConfig provides a custom CNINetworkConfig to be used by the CNI client at startup time.
WithGracePeriod configures the grace period used when waiting for a process to be gracefully finished.
WithIptables allows for a custom implementation of the iptables.Iptables interface to be provided.
WithKiller configures the killer used to terminate tasks.
WithMaxContainers configures the max number of containers that can be created .
WithMkdirAll configures the function to be used for creating directories recursively.
WithNameServers sets the set of nameservers to be configured for the /etc/resolv.conf inside the containers.
WithNetwork configures the network used by the backend.
WithProcessKiller modifies the default process killer used by the task killer.
WithRequestTimeout configures the request timeout Currently only used as timeout for acquiring the create container lock.
WithRestrictedNetworks defines the network ranges that containers will be restricted from accessing.
WithRootfsManager configures the RootfsManager used by the backend.
No description provided by the author

# Constants

GracefulSignal is the signal sent to processes when giving them the opportunity to shut themselves down by their own means.
GracePeriod is the duration by which a graceful killer would let a set of processes finish by themselves before going ungraceful.
No description provided by the author
No description provided by the author
No description provided by the author
UngracefulSignal is the signal sent to the init process in the pid namespace to force its shutdown.

# Variables

ErrGracePeriodTimeout indicates that the grace period for a graceful termination has been reached.
ErrNotImplemented indicates that a method is not implemented.

# Structs

CNINetworkConfig provides configuration for CNINetwork to override the defaults.
No description provided by the author
GardenBackend implements a Garden backend backed by `containerd`.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

FileStore is responsible for managing files associated with containers.
Killer terminates tasks.
No description provided by the author
No description provided by the author
RootfsManager is responsible for mutating and reading from the rootfs of a container.
No description provided by the author

# Type aliases

CNINetworkOpt defines a functional option that when applied, modifies the configuration of a CNINetwork.
ErrInvalidInput indicates a bad input was supplied.
ErrNotFound indicates that something wasn't found.
GardenBackendOpt defines a functional option that when applied, modifies the configuration of a GardenBackend.
No description provided by the author
KillerOpt is a functional option that modifies the behavior of a killer.
RootfsManagerOpt defines a functional option that when applied, modifies the configuration of a rootfsManager.