Versions in this module Expand all Collapse all v0 v0.1.1 Oct 16, 2024 v0.1.0 Oct 9, 2024 Changes in this version + type Container struct + func (c *Container) Name() string + func (c *Container) Purge(ctx context.Context, dc *docker.Client) (bool, error) + func (c *Container) Start(ctx context.Context, dc *docker.Client) (bool, error) + func (c *Container) Stop(ctx context.Context, dc *docker.Client) (bool, error) + func (c *Container) String() string + type ContainerGroup struct + func NewContainerGroup(groupConfig *config.ContainerGroup) *ContainerGroup + func (c *ContainerGroup) String() string + type ContainerGroupMap map[string]*ContainerGroup + type ContainerList []*Container + type Deployment struct + Config *config.Homelab + Groups ContainerGroupMap + GroupsOrder []string + Networks NetworkMap + NetworksOrder []string + func FromConfig(ctx context.Context, conf *config.Homelab) (*Deployment, error) + func FromConfigsPath(ctx context.Context, configsPath string) (*Deployment, error) + func FromReader(ctx context.Context, reader io.Reader) (*Deployment, error) + func (d *Deployment) QueryAllContainersInAllGroups(ctx context.Context) (ContainerList, error) + func (d *Deployment) QueryAllContainersInGroup(ctx context.Context, group string) (ContainerList, error) + func (d *Deployment) QueryContainer(ctx context.Context, group, container string) (ContainerList, error) + func (d *Deployment) String() string + type Network struct + func (n *Network) String() string + type NetworkMap map[string]*Network