Versions in this module Expand all Collapse all v0 v0.0.2 Jun 27, 2023 v0.0.1 May 16, 2023 Changes in this version + const LabelImage + const LabelNamespace + func AddStackLabel(namespace Namespace, labels map[string]string) map[string]string + func Configs(namespace Namespace, configs map[string]composego.ConfigObjConfig) ([]swarm.ConfigSpec, error) + func Networks(namespace Namespace, networks composego.Networks, ...) (map[string]types.NetworkCreate, []string) + func Secrets(namespace Namespace, secrets composego.Secrets) ([]swarm.SecretSpec, error) + func Service(apiVersion string, namespace Namespace, service composego.ServiceConfig, ...) (swarm.ServiceSpec, error) + func Services(namespace Namespace, config *composego.Config, client client.CommonAPIClient) (map[string]swarm.ServiceSpec, error) + func Volumes(serviceVolumes []composego.ServiceVolumeConfig, stackVolumes composego.Volumes, ...) ([]mount.Mount, error) + type Namespace struct + func NewNamespace(name string) Namespace + func (n Namespace) Descope(name string) string + func (n Namespace) Name() string + func (n Namespace) Scope(name string) string + type SwarmFileObject struct + Annotations swarm.Annotations + Data []byte + type SwarmReferenceObject struct + File SwarmReferenceTarget + ID string + Name string + type SwarmReferenceTarget struct + GID string + Mode os.FileMode + Name string + UID string