propellor-3.2.3: property-based host configuration management in haskell

Propellor.Types.Container

Synopsis

# Documentation

data Bound v Source #

A value that can be bound between the host and a container.

For example, a Bound Port is a Port on the container that is bound to a Port on the host.

Constructors

 Bound FieldshostSide :: v containerSide :: v

Instances

 Source # Methods Source # Methods Source # Methods Source # Methods Source # MethodstoPublish :: (Proto, Bound Port) -> String

(-<-) :: (hostv ~ v, containerv ~ v) => hostv -> containerv -> Bound v Source #

Create a Bound value, from two different values for the host and container.

For example, Port 8080 -<- Port 80 means that port 8080 on the host is bound to port 80 from the container.

(->-) :: (containerv ~ v, hostv ~ v) => containerv -> hostv -> Bound v Source #

Flipped version of -<- with the container value first and host value second.

same :: v -> Bound v Source #

Create a Bound value, that is the same on both the host and container.