Documentation
¶
Index ¶
- Constants
- func AddStackLabel(namespace Namespace, labels map[string]string) map[string]string
- func Configs(namespace Namespace, configs map[string]composetypes.ConfigObjConfig) ([]swarm.ConfigSpec, error)
- func Networks(namespace Namespace, networks networkMap, servicesNetworks map[string]struct{}) (map[string]network.CreateOptions, []string)
- func Secrets(namespace Namespace, secrets map[string]composetypes.SecretConfig) ([]swarm.SecretSpec, error)
- func Service(apiVersion string, namespace Namespace, service composetypes.ServiceConfig, ...) (swarm.ServiceSpec, error)
- func Services(ctx context.Context, namespace Namespace, config *composetypes.Config, ...) (map[string]swarm.ServiceSpec, error)
- func Volumes(serviceVolumes []composetypes.ServiceVolumeConfig, stackVolumes volumes, ...) ([]mount.Mount, error)
- type Namespace